SMC Networks SMC8748L2 User Manual

TigerSwitch 1000
L2 Gigabit Standalone Switch
48 auto-MDI/MDI-X 10/100/1000BASE-T ports
4 ports shared with 4 SFP transceiver slots
Non-blocking switching architecture
Support for a redundant power unit
Spanning Tree Protocol, and Rapid STP
Up to six LACP or static 8-port trunks
Full support for VLANs with GVRP
IGMP multicast filtering and snooping
Support for jumbo frames up to 9 KB
Manageable via console, Web, and SNMP/RMON
Management Guide
SMC8748L2
TigerSwitch 1000 Management Guide
From SMC’s Tiger line of feature-rich workgroup LAN solutions
38 Tesla Irvine, CA 92618 Phone: (949) 679-8000
November 2005
Information furnished by SMC Networks, Inc. (SMC) is believed to be accurate and reliable. However , no re sponsibility is assumed by SMC for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or oth­erwise under any patent or patent rights of SMC. SMC reserves the right to change specifications at any time without notice.
Copyright © 2005 by
SMC Networks, Inc.
38 Tesla
Irvine, CA 92618
All rights reserved. Printed in Taiwan
Trademarks:
SMC is a registered trademark; and EZ Switch, TigerStack and TigerSwitch are trademarks of SMC Networks, Inc. Other product and company names are trademarks or registered trademarks of their respective holders.
L
IMITED
Limited Warranty Statement: SMC Net works, Inc. (“SMC”) warrants its products to be free from defects in workmanship and materials, under normal use and service, for the applicable warranty term. All SMC products carry a standard 90-day limited warranty from the date of purchase from SMC or its Authorized Reseller. SMC may, at its own discretion, repair or replace any product not operating as warranted with a similar or functionally equivalent product, during the applicable warranty term. SMC will endeavor to repair or replace any product returned under warranty within 30 days of receipt of the product.
The standard limited warranty can be upgraded to a Limited Lifetime* warra nt y b y re gi st e ri ng new products within 30 days of purchase from SMC or its Authorized Reseller. Registration can be accomplished via the enclosed product registration card or online via the SMC web site. Failure to register will not affect the standard limited warranty. The Limited Lifetime warranty covers a product during the Life of that Product, which is defined as the period of time during which the product is an “Active” SMC product. A product is considered to be “Active” while it is listed on the current SMC price list. As new technologies emerge, older technologies become obsolete and SMC will, at its discretion, replace an older product in its product line with one that incorporates these newer technologies. At that point, the obsolete product is discontinued and is no longer an “Active” SMC product. A list of discontinued products with their respective dates of discontinuance can be found at: http://www.smc.com/index.cfm?action=customer_service_warranty.
All products that are replaced become the property of SMC. Replacement products may be either new or reconditioned. Any replaced or repaired product carries either a 30-day limited warranty or the remainder of the initial warranty, whichever is longer. SMC is not responsible for any custom software or firmware, configuration information, or memory data of Customer contained in, stored on, or integrated with any products returned to SMC pursuant to any warranty. Products returned to SMC should have any customer-installed accessory or add-on components, such as expansion modules, removed prior to returning the product for replacement. SMC is not responsible for these items if they are returned with the product.
Customers must contact SMC for a Return Material Authorization number prio r to returning any product to SMC. Proof of purchase may be required. Any product returned to SMC without a valid Return Material Authorization (RMA) number clearly marked on the outside of the package will be returned to customer at customer’ s expense. F or warranty claims within North America, please call our toll-free customer support number at (800) 762-4968. Customers are responsible for all shipping charges from their facility to SMC. SMC is responsible for return shipping charges from SMC to customer.
W
ARRANTY
i
L
IMITED WARRANTY
WARRANTIES EXCLUSIVE: IF AN SMC PRODUCT DOES NOT OPERATE AS WARRANTED ABOVE, CUSTOMER’S SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT OF THE PRODUCT IN QUESTION, AT SMC’S OPTION. THE FOREGOING WARRANTIES AND REMEDIES ARE EXCLUSIVE AND ARE IN LIEU OF ALL OTHER WARRANTIES OR CONDITIONS, EXPRESS OR IMPLIED, EITHER IN FACT OR BY OPERATION OF LAW, STATUTORY OR OTHERWISE, INCLUDING WARRANTIES OR CONDITIONS OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SMC NEITHER ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR IT ANY OTHER LIABILITY IN CONNECTION WITH THE SALE, INSTALLATION, MAINTENANCE OR USE OF ITS PRODUCTS. SMC SHALL NOT BE LIABLE UNDER THIS W ARRANTY IF ITS TESTING AND EXAMINA TION DISCLOSE THE ALLEGED DEFECT IN THE PRODUCT DOES NOT EXIST OR WAS CAUSED BY CUSTOMER’S OR ANY THIRD PERSON’S MISUSE, NEGLECT, IMPROPER INSTALLATION OR TESTING, UNAUTHORIZED A TTEMPTS TO REPAIR, OR ANY OTHER CAUSE BEYOND THE RANGE OF THE INTENDED USE, OR BY ACCIDENT, FIRE, LIGHTNING, OR OTHER HAZARD.
LIMITATION OF LIABILITY: IN NO EVENT, WHETHER BASED IN CONTRACT OR TORT (INCLUDING NEGLIGENCE), SHALL SMC BE LIABLE FOR INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL, OR PUNITIVE DAMAGES OF ANY KIND, OR FOR LOSS OF REVENUE, LOSS OF BUSINESS, OR OTHER FINANCIAL LOSS ARISING OUT OF OR IN CONNECTION WITH THE SALE, INSTALLATION, MAINTENANCE, USE, PERFORMANCE, FAILURE, OR INTERRUPTION OF ITS PRODUCTS, EVEN IF SMC OR ITS AUTHORIZED RESELLER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR THE LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR CONSUMER PRODUCTS, SO THE ABOVE LIMITATIONS AND EXCLUSIONS MAY NOT APPL Y TO YOU. THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, WHICH MAY VARY FROM STATE TO STATE. NOTHING IN THIS WARRANTY SHALL BE TAKEN TO AFFECT YOUR STATUTORY RIGHTS.
* SMC will provide warranty service for one year following discontinuance from the active SMC price list. Under the limited lifetime warranty, internal and external power supplies, fans, and cables are covered by a standard one-year warranty from date of purchase.
SMC Networks, Inc.
38 Tesla
Irvine, CA 92618
ii
C
ONTENTS
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Description of Software Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
System Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
2 Initial Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Connecting to the Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Required Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Remote Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Console Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Setting Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Setting an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Manual Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Dynamic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Enabling SNMP Management Access . . . . . . . . . . . . . . . . . . . . . 2-8
Community Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Trap Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Saving Configuration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Managing System Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
3 Configuring the Switch . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Using the Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Navigating the Web Browser Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Panel Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Displaying System Information . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Displaying Switch Hardware/Software Versions . . . . . . . . . . . 3-13
Displaying Bridge Extension Capabilities . . . . . . . . . . . . . . . . . 3-15
Setting the Switch’s IP Address . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Manual Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
iii
C
ONTENTS
Using DHCP/BOOTP . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 - 19
Managing Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
Downloading System Software from a Server . . . . . . . . . . 3-22
Saving or Restoring Configuration Settings . . . . . . . . . . . . . . . 3-23
Downloading Configuration Settings from a Server . . . . . 3-25
Console Port Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Telnet Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
Configuring Event Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
System Log Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Remote Log Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 3 -33
Displaying Log Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 3 -35
Resetting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Setting the System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Configuring SNTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
Setting the Time Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Simple Network Management Protocol . . . . . . . . . . . . . . . . . . . . . . . . 3-39
Setting Community Access Strings . . . . . . . . . . . . . . . . . . . . . . 3-39
Specifying Trap Managers and Trap Types . . . . . . . . . . . . . . . . 3-40
User Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
Configuring User Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
Configuring Local/Remote Logon Authentication . . . . . . . . . 3-44
Configuring HTTPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
Replacing the Default Secure-site Certificate . . . . . . . . . . 3-49
Configuring the Secure Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50
Generating the Host Key Pair . . . . . . . . . . . . . . . . . . . . . . 3-53
Configuring the SSH Server . . . . . . . . . . . . . . . . . . . . . . . . 3-55
Configuring Port Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-57
Configuring 802.1x Port Authentication . . . . . . . . . . . . . . . . . . 3-59
Displaying 802.1x Global Settings . . . . . . . . . . . . . . . . . . . 3-61
Configuring 802.1x Global Settings . . . . . . . . . . . . . . . . . . 3-62
Configuring Port Settings for 802.1x . . . . . . . . . . . . . . . . . 3-63
Displaying 802.1x Statistics . . . . . . . . . . . . . . . . . . . . . . . . 3-66
Access Control Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-68
Configuring Access Control Lists . . . . . . . . . . . . . . . . . . . . . . . 3-68
Setting the ACL Name and Type . . . . . . . . . . . . . . . . . . . . 3-69
Configuring a Standard IP ACL . . . . . . . . . . . . . . . . . . . . . 3-70
Configuring an Extended IP ACL . . . . . . . . . . . . . . . . . . . 3-71
iv
C
ONTENTS
Binding a Port to an Access Control List . . . . . . . . . . . . . . . . . 3-73
Filtering Management Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-74
Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-76
Displaying Connection Status . . . . . . . . . . . . . . . . . . . . . . . . . . 3-76
Configuring Interface Connections . . . . . . . . . . . . . . . . . . . . . . 3-80
Creating Trunk Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-82
Statically Configuring a Trunk . . . . . . . . . . . . . . . . . . . . . . 3-83
Enabling LACP on Selected Ports . . . . . . . . . . . . . . . . . . . 3-85
Configuring LACP Parameters . . . . . . . . . . . . . . . . . . . . . . 3 - 87
Displaying LACP Port Counters . . . . . . . . . . . . . . . . . . . . 3-90
Displaying LACP Settings and Status for the Local Side . 3-92 Displaying LACP Settings and Status for the Remote Side . . .
3-95
Setting Broadcast Storm Thresholds . . . . . . . . . . . . . . . . . . . . . 3-97
Configuring Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-99
Configuring Rate Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-100
Rate Limit Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 3-100
Showing Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-101
Address Table Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-108
Setting Static Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-108
Displaying the Address Table . . . . . . . . . . . . . . . . . . . . . . . . . . 3-110
Changing the Aging Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-111
Spanning Tree Algorithm Configuration . . . . . . . . . . . . . . . . . . . . . . 3-112
Displaying Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-114
Configuring Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-117
Displaying Interface Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-121
Configuring Interface Settings . . . . . . . . . . . . . . . . . . . . . . . . . 3-125
VLAN Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-129
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-129
Assigning Ports to VLANs . . . . . . . . . . . . . . . . . . . . . . . . 3-130
Forwarding Tagged/Untagged Frames . . . . . . . . . . . . . . 3-132
Enabling or Disabling GVRP (Global Setting) . . . . . . . . . . . 3-133
Displaying Basic VLAN Information . . . . . . . . . . . . . . . . . . . 3-133
Displaying Current VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-134
Creating VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-136
Adding Static Members to VLANs (VLAN Index) . . . . . . . . 3-138
Adding Static Members to VLANs (Port Index) . . . . . . . . . . 3-140
v
C
ONTENTS
Configuring VLAN Behavior for Interfaces . . . . . . . . . . . . . . 3-141
Configuring Private VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . 3-145
Displaying Current Private VLANs . . . . . . . . . . . . . . . . . 3-146
Configuring Private VLANs . . . . . . . . . . . . . . . . . . . . . . . 3-147
Associating VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-148
Displaying Private VLAN Interface Information . . . . . . 3-149
Configuring Private VLAN Interfaces . . . . . . . . . . . . . . . 3-151
Class of Service Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-153
Setting the Default Priority for Interfaces . . . . . . . . . . . . . . . . 3-153
Mapping CoS Values to Egress Queues . . . . . . . . . . . . . . . . . 3-155
Selecting the Queue Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-157
Setting the Service Weight for Traffic Classes . . . . . . . . . . . . 3-158
Mapping Layer 3/4 Priorities to CoS Values . . . . . . . . . . . . . 3-159
Selecting IP DSCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-160
Mapping DSCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-160
Mapping CoS Values to ACLs . . . . . . . . . . . . . . . . . . . . . . . . . 3-162
Multicast Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-164
Layer 2 IGMP (Snooping and Query) . . . . . . . . . . . . . . . . . . . 3-165
Configuring IGMP Snooping and Query Parameters . . . 3-165 Displaying Interfaces Attached to a Multicast Router . . 3-168
Specifying Static Interfaces for a Multicast Router . . . . . 3-169
Displaying Port Members of Multicast Services . . . . . . . 3-170
Assigning Ports to Multicast Services . . . . . . . . . . . . . . . 3-171
4 Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . 4-1
Using the Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Accessing the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Console Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Telnet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Entering Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Keywords and Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Minimum Abbreviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Command Completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Getting Help on Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Showing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Partial Keyword Lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Negating the Effect of Commands . . . . . . . . . . . . . . . . . . . . . . . 4-6
vi
C
ONTENTS
Using Command History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Understanding Command Modes . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Exec Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Command Line Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Command Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
timeout login response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
exec-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
password-thresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
silent-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
databits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
stopbits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
show line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26
disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 27
configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27
show history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
System Management Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Device Designation Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-32
prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32
hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
User Access Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
enable password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35
IP Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36
vii
C
ONTENTS
management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36
show management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-37
Web Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38
ip http port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
ip http server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-39
ip http secure-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
ip http secure-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
Telnet Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
ip telnet server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
ip telnet server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
Secure Shell Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44
ip ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-47
ip ssh timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-48
ip ssh authentication-retries . . . . . . . . . . . . . . . . . . . . . . . . 4-49
ip ssh server-key size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-50
delete public-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-50
ip ssh crypto host-key generate . . . . . . . . . . . . . . . . . . . . . 4-51
ip ssh crypto zeroize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-52
ip ssh save host-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-52
show ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53
show ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53
show public-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-55
Event Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56
logging on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56
logging history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-57
logging host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-58
logging facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-59
logging trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-60
clear logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61
show logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61
show log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-63
SMTP Alert Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-64
logging sendmail host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-65
logging sendmail level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-66
logging sendmail source-email . . . . . . . . . . . . . . . . . . . . . . 4-66
logging sendmail destination-email . . . . . . . . . . . . . . . . . . 4-67
logging sendmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-68
viii
C
ONTENTS
show logging sendmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-68
Time Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
sntp client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
sntp server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-70
sntp poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-71
show sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-72
clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-72
calendar set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-73
show calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-74
System Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-75
show startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-75
show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-76
show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-79
show users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-80
show version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-80
Frame Size Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-81
jumbo frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-81
Flash/File Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83
copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83
delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-86
dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-87
whichboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-88
boot system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-89
Authentication Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
Authentication Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
authentication login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-91
authentication enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-92
RADIUS Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-93
radius-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-94
radius-server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 -95
radius-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-95
radius-server retransmit . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-96
radius-server timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97
show radius-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97
TACACS+ Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-98
tacacs-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4- 98
tacacs-server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-99
ix
C
ONTENTS
tacacs-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-99
show tacacs-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-100
Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-100
port security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-101
802.1X Port Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-103
dot1x system-auth-control . . . . . . . . . . . . . . . . . . . . . . . . 4- 104
dot1x default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-104
dot1x max-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-105
dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-105
dot1x operation-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-106
dot1x re-authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-107
dot1x re-authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-107
dot1x timeout quiet-period . . . . . . . . . . . . . . . . . . . . . . . . 4-108
dot1x timeout re-authperiod . . . . . . . . . . . . . . . . . . . . . . 4-108
dot1x timeout tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . 4-109
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-109
Access Control List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-112
IP ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-114
access-list ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-114
permit, deny (Standard ACL) . . . . . . . . . . . . . . . . . . . . . 4-115
permit, deny (Extended ACL) . . . . . . . . . . . . . . . . . . . . . 4-116
show ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-118
ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-119
show ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-119
map access-list ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-120
show map access-list ip . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-121
ACL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-122
show access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-122
show access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-123
SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-123
show snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-124
snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-125
snmp-server contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-126
snmp-server location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-126
snmp-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-127
snmp-server enable traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-129
Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-131
x
C
ONTENTS
interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-132
description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-132
speed-duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-133
negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-134
capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-135
flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-136
shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-137
switchport broadcast packet-rate . . . . . . . . . . . . . . . . . . . . . . . 4-138
clear counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-139
show interfaces status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-140
show interfaces counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4- 141
show interfaces switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-143
Mirror Port Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-145
port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-145
show port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-146
Rate Limit Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4- 147
rate-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-147
Link Aggregation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-149
channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-151
lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-151
lacp system-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-154
lacp admin-key (Ethernet Interface) . . . . . . . . . . . . . . . . . . . . 4-155
lacp admin-key (Port Channel) . . . . . . . . . . . . . . . . . . . . . . . . . 4-156
lacp port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-157
show lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-158
Address Table Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4- 162
mac-address-table static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-163
clear mac-address-table dynamic . . . . . . . . . . . . . . . . . . . . . . . 4- 164
show mac-address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-165
mac-address-table aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . 4- 166
show mac-address-table aging-time . . . . . . . . . . . . . . . . . . . . . 4-167
Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-167
spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-168
spanning-tree mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-169
spanning-tree forward-time . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-170
spanning-tree hello-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-171
spanning-tree max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-172
xi
C
ONTENTS
spanning-tree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-173
spanning-tree pathcost method . . . . . . . . . . . . . . . . . . . . . . . . 4-173
spanning-tree transmission-limit . . . . . . . . . . . . . . . . . . . . . . . 4-174
spanning-tree spanning-disabled . . . . . . . . . . . . . . . . . . . . . . . 4-175
spanning-tree cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-175
spanning-tree port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-176
spanning-tree edge-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-177
spanning-tree portfast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-178
spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-179
spanning-tree protocol-migration . . . . . . . . . . . . . . . . . . . . . . 4-180
show spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-181
VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
Editing VLAN Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
vlan database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-184
Configuring VLAN Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . 4-185
interface vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-186
switchport mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-187
switchport acceptable-frame-types . . . . . . . . . . . . . . . . . 4-188
switchport ingress-filtering . . . . . . . . . . . . . . . . . . . . . . . 4-189
switchport native vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-190
switchport allowed vlan . . . . . . . . . . . . . . . . . . . . . . . . . . 4-191
switchport forbidden vlan . . . . . . . . . . . . . . . . . . . . . . . . 4-192
Displaying VLAN Information . . . . . . . . . . . . . . . . . . . . . . . . 4-193
show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-193
Configuring Private VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . 4-194
private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-197
private vlan association . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-198
switchport mode private-vlan . . . . . . . . . . . . . . . . . . . . . . 4-199
switchport private-vlan host-association . . . . . . . . . . . . . 4-200
switchport private-vlan isolated . . . . . . . . . . . . . . . . . . . . 4-201
switchport private-vlan mapping . . . . . . . . . . . . . . . . . . . 4-202
show vlan private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-202
GVRP and Bridge Extension Commands . . . . . . . . . . . . . . . . . . . . . 4-203
bridge-ext gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-204
show bridge-ext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-204
switchport gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-205
xii
C
ONTENTS
show gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-206
garp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-206
show garp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-208
Priority Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-208
Priority Commands (Layer 2) . . . . . . . . . . . . . . . . . . . . . . . . . . 4-209
queue mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-209
switchport priority default . . . . . . . . . . . . . . . . . . . . . . . . 4-210
queue bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-212
queue cos-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-213
show queue mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-214
show queue bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-214
show queue cos-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-215
Priority Commands (Layer 3 and 4) . . . . . . . . . . . . . . . . . . . . . 4- 216
map ip dscp (Global Configuration) . . . . . . . . . . . . . . . . 4-216
map ip dscp (Interface Configuration) . . . . . . . . . . . . . . . 4-217
show map ip dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-218
Multicast Filtering Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-219
IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-220
ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-220
ip igmp snooping vlan static . . . . . . . . . . . . . . . . . . . . . . . 4-221
ip igmp snooping version . . . . . . . . . . . . . . . . . . . . . . . . . 4-222
show ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-222
show mac-address-table multicast . . . . . . . . . . . . . . . . . . 4-223
IGMP Query Commands (Layer 2) . . . . . . . . . . . . . . . . . . . . . 4-224
ip igmp snooping querier . . . . . . . . . . . . . . . . . . . . . . . . . 4-224
ip igmp snooping query-count . . . . . . . . . . . . . . . . . . . . . 4-225
ip igmp snooping query-interval . . . . . . . . . . . . . . . . . . . . 4-226
ip igmp snooping query-max-response-time . . . . . . . . . . 4-226
ip igmp snooping router-port-expire-time . . . . . . . . . . . . 4-227
Static Multicast Routing Commands . . . . . . . . . . . . . . . . . . . . 4-228
ip igmp snooping vlan mrouter . . . . . . . . . . . . . . . . . . . . 4-228
show ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . 4-229
IP Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-230
Basic IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-230
ip address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-231
ip dhcp restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-232
ip default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-233
xiii
C
ONTENTS
show ip interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-234
show ip redirects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-234
ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-235
A Software Specifications . . . . . . . . . . . . . . . . . . . . . . . . .A-1
Software Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Management Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-2
Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Management Information Bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-3
B Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B-1
Problems Accessing the Management Interface . . . . . . . . . . . . . . . . . . B-1
Using System Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Glossary Index
xiv
C
ONTENTS
xv
T
ABLES
Table 1-1. Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Table 1-2. System Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Table 3-1. Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Table 3-2. Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Table 3-3. Logging Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
Table 3-4. HTTPS Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48
Table 3-5. 802.1x Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-66
Table 3-6. LACP Port Counter Information . . . . . . . . . . . . . . . . . . . . 3-90
Table 3-7. LACP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-92
Table 3-8. LACP Remote Side Settings . . . . . . . . . . . . . . . . . . . . . . . . 3-95
Table 3-9. Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-102
Table 3-10.Egress Queue Priority Mapping . . . . . . . . . . . . . . . . . . . . 3-155
Table 3-11.CoS Priority Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-156
Table 3-12.Mapping DSCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . 3-161
Table 3-13.CoS to ACL Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-162
Table 4-1 Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Table 4-2 Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Table 4-3 Keystroke Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Table 4-4 Command Group Index . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Table 4-5 Line Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Table 4-6 General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
Table 4-7 System Management Commands . . . . . . . . . . . . . . . . . . . . 4-31
Table 4-8 Device Designation Commands . . . . . . . . . . . . . . . . . . . . . 4-32
Table 4-9 User Access Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33
Table 4-10 Default Login Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
Table 4-11 IP Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-36
Table 4-12 Web Server Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38
Table 4-13 HTTPS System Support . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
Table 4-14 Telnet Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43
Table 4-15 Secure Shell Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-45
Table 4-16 show ssh - display description . . . . . . . . . . . . . . . . . . . . . . 4-54
Table 4-17 Event Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . 4-56
Table 4-18 Logging Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-57
xvi
T
ABLES
Table 4-19 show logging flash/ram - display description . . . . . . . . . . 4-62
Table 4-20 show logging trap - display description . . . . . . . . . . . . . . . 4-63
Table 4-21 SMTP Alert Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-64
Table 4-22 Time Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-69
Table 4-23 System Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-75
Table 4-24 Frame Size Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-81
Table 4-25 Flash/File Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83
Table 4-26 File Directory Information . . . . . . . . . . . . . . . . . . . . . . . . . 4-88
Table 4-27 Authentication Commands . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
Table 4-28 Authentication Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
Table 4-29 RADIUS Client Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-93
Table 4-30 TACACS+ Client Commands . . . . . . . . . . . . . . . . . . . . . . 4-98
Table 4-31 Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . 4-101
Table 4-32 802.1X Port Authentication Commands . . . . . . . . . . . . . 4-103
Table 4-33 Access Control List Commands . . . . . . . . . . . . . . . . . . . . 4-113
Table 4-34 IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-114
Table 4-35 Egress Queue Priority Mapping . . . . . . . . . . . . . . . . . . . . 4-120
Table 4-36 ACL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-122
Table 4-37 SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-123
Table 4-38 Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-131
Table 4-39 show interfaces switchport - display description . . . . . . . 4-144
Table 4-40 Mirror Port Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-145
Table 4-41 Rate Limit Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-147
Table 4-42 Link Aggregation Commands . . . . . . . . . . . . . . . . . . . . . . 4-149
Table 4-43 show lacp counters - display description . . . . . . . . . . . . . 4-159
Table 4-44 show lacp internal - display description . . . . . . . . . . . . . . 4-159
Table 4-45 show lacp neighbors - display description . . . . . . . . . . . . 4-161
Table 4-47 Address Table Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-162
Table 4-46 show lacp sysid - display description . . . . . . . . . . . . . . . . 4-162
Table 4-48 Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-167
Table 4-49 VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
Table 4-50 Editing VLAN Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-183
Table 4-51 Configuring VLAN Interfaces . . . . . . . . . . . . . . . . . . . . . 4-185
Table 4-52 Displaying VLAN Information . . . . . . . . . . . . . . . . . . . . 4-193
Table 4-53 Private VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . 4-196
Table 4-54 GVRP and Bridge Extension Commands . . . . . . . . . . . . 4-203
Table 4-56 Priority Commands (Layer 2) . . . . . . . . . . . . . . . . . . . . . . 4-209
xvii
T
ABLES
Table 4-55 Priority Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-209
Table 4-57 Default CoS Priority Levels . . . . . . . . . . . . . . . . . . . . . . . 4-213
Table 4-58 Priority Commands (Layer 3 and 4) . . . . . . . . . . . . . . . . . 4-216
Table 4-59 Mapping IP DSCP to CoS Values . . . . . . . . . . . . . . . . . . 4-217
Table 4-60 Multicast Filtering Commands . . . . . . . . . . . . . . . . . . . . . 4-219
Table 4-61 IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . 4-220
Table 4-62 IGMP Query Commands (Layer 2) . . . . . . . . . . . . . . . . . 4-224
Table 4-63 Static Multicast Routing Commands . . . . . . . . . . . . . . . . 4-228
Table 4-64 IP Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 4-230
Table B-1 Troubleshooting Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B-1
xviii
T
ABLES
xix
F
IGURES
Figure 3-1. Homepage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Figure 3-2. Panel Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Figure 3-3. System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Figure 3-4. Switch Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Figure 3-5. Bridge Extension Configuration . . . . . . . . . . . . . . . . . . . 3-16
Figure 3-6. Manual IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . 3- 18
Figure 3-7. DHCP IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Figure 3-8. Copy Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Figure 3-9. Setting the Startup Code . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Figure 3-10. Deleti ng Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Figure 3-11. Downloading Configuration Settings for Startup . . . . . 3-25
Figure 3-12. Setting the Startup Configuration Settings . . . . . . . . . . . 3-25
Figure 3-13. Console Port Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Figure 3-14. Enabling Te lnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
Figure 3-15. System Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
Figure 3-16. Remo te Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
Figure 3-17. Displaying Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Figure 3-18. Resetting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
Figure 3-19. SNTP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
Figure 3-20. Setting the Time Zone . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
Figure 3-21. Configuring SNMP Community Strings . . . . . . . . . . . . 3-40
Figure 3-22. Configuring IP Trap Managers . . . . . . . . . . . . . . . . . . . . 3-41
Figure 3-23. Acce ss Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
Figure 3-24. Authent i cation Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47
Figure 3-25. HTTP S Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49
Figure 3-26. SSH Host-Key Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54
Figure 3-27. SSH Server Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-56
Figure 3-28. Configu ring Port Security . . . . . . . . . . . . . . . . . . . . . . . . 3-59
Figure 3-29. 802.1x Global Information . . . . . . . . . . . . . . . . . . . . . . . 3-61
Figure 3-30. 802.1x Global Configuration . . . . . . . . . . . . . . . . . . . . . 3-62
Figure 3-31. 802.1x Port Configuration . . . . . . . . . . . . . . . . . . . . . . . 3-64
Figure 3-32. Displaying 802.1x Port Statistics . . . . . . . . . . . . . . . . . . 3-67
Figure 3-33. Naming and Choosing ACLs . . . . . . . . . . . . . . . . . . . . . 3-70
xx
F
IGURES
Figure 3-34. Configu ring Standard IP ACLs . . . . . . . . . . . . . . . . . . . 3-71
Figure 3-35. Configu ring Ext ended IP ACLs . . . . . . . . . . . . . . . . . . . 3-72
Figure 3-36. Mapping ACL s to Port Ingress Queues . . . . . . . . . . . . . 3-74
Figure 3-37. Filtering Management Access . . . . . . . . . . . . . . . . . . . . . 3-76
Figure 3-38. Port Stat us Information . . . . . . . . . . . . . . . . . . . . . . . . . 3-77
Figure 3-39. Configu ring Port Attributes . . . . . . . . . . . . . . . . . . . . . . 3-81
Figure 3-40. Static Trunk C onfiguration . . . . . . . . . . . . . . . . . . . . . . . 3-84
Figure 3-41. LACP Port Configuratio . . . . . . . . . . . . . . . . . . . . . . . . . 3-86
Figure 3-42. LACP Ag gr egation Port Configuration . . . . . . . . . . . . . 3-89
Figure 3-43. Displaying LAC P Port Counters Information . . . . . . . . 3-91
Figure 3-44. Displaying LA C P Po rt Information . . . . . . . . . . . . . . . . 3-94
Figure 3-45. Displaying Rem o te LACP Port Information . . . . . . . . . 3-96
Figure 3-46. Enabling Port Broadcast Control . . . . . . . . . . . . . . . . . . 3-98
Figure 3-47. Configuring a Mirror Port . . . . . . . . . . . . . . . . . . . . . . . 3-100
Figure 3-48. Configuring Input Port Rate Limiting . . . . . . . . . . . . . 3-101
Figure 3-49. Displaying P o rt Stat istics . . . . . . . . . . . . . . . . . . . . . . . 3-106
Figure 3-50. Displaying Ether like a n d RM ON Sta ti stics . . . . . . . . . 3-107
Figure 3-51. Mapping Ports to Static A ddr esses . . . . . . . . . . . . . . . . 3- 109
Figure 3-52. Displaying the MAC Dynamic Address Table . . . . . . . 3-111
Figure 3-53. Setting the Aging Time . . . . . . . . . . . . . . . . . . . . . . . . . 3-112
Figure 3-54. Displaying the Spa nning Tree Algorithm . . . . . . . . . . . 3-116
Figure 3-55. Configuring the Spanning Tree Algorithm . . . . . . . . . 3-120
Figure 3-56. Displaying STA - Port Sta tu s Infor m a ti o n . . . . . . . . . . 3-124
Figure 3-57. Configuring Spanning Tree Algorithm per Port . . . . . 3- 128
Figure 3-58. Enabling GVRP Status . . . . . . . . . . . . . . . . . . . . . . . . . 3-133
Figure 3-59. Displaying Basic VLAN Information . . . . . . . . . . . . . . 3-134
Figure 3-60. Displaying VLAN Information by Port Membership . 3-135
Figure 3-61. Creati ng Vir tual LANs . . . . . . . . . . . . . . . . . . . . . . . . . 3-137
Figure 3-62. Configuring VLAN Port Attributes . . . . . . . . . . . . . . . 3-139
Figure 3-63. Assigning VLAN Port and Trunk Groups . . . . . . . . . 3-141
Figure 3-64. Configuring VLAN Ports . . . . . . . . . . . . . . . . . . . . . . . 3-144
Figure 3-65. Private V LA N Information . . . . . . . . . . . . . . . . . . . . . 3-147
Figure 3-66. Private V LAN Configuration . . . . . . . . . . . . . . . . . . . . 3-148
Figure 3-67. Private VLAN Association . . . . . . . . . . . . . . . . . . . . . . 3-149
Figure 3-68. Private V LA N Port Information . . . . . . . . . . . . . . . . . 3-150
Figure 3-69. Private V LAN Port Configuration . . . . . . . . . . . . . . . . 3-152
Figure 3-70. Port Priority Configuration . . . . . . . . . . . . . . . . . . . . . . 3-154
xxi
F
IGURES
Figure 3-71. Configuring Ports and Trunks for Class of Service . . . 3-156
Figure 3-72. Setting the Queue Mode . . . . . . . . . . . . . . . . . . . . . . . . 3-158
Figure 3-73. Configuring Queue Scheduling . . . . . . . . . . . . . . . . . . 3-159
Figure 3-74. IP DSCP Priority Status . . . . . . . . . . . . . . . . . . . . . . . . 3-160
Figure 3-75. Mapping IP DSCP Priority to Class of Service Values 3-161 Figure 3-76. Configuring Internet Group Management Protocol . . 3-167
Figure 3-77. Mapping Mult ica s t Swit ch Ports to VLANs . . . . . . . . 3-168
Figure 3-78. Static Multicast Router Port Configuration . . . . . . . . . 3-169
Figure 3-79. Displaying Port Members of Multicast Services . . . . . 3-171
Figure 3-80. Specifying Multicast Port Membership . . . . . . . . . . . . 3-172
xxii
C
HAPTER
I
NTRODUCTION
This switch provides a broad range of features for Layer 2 switching. It includes a management agent that allows you to configure the features listed in this manual. The default configuration can be used for most of the features provided by this switch. However , there are many options that you should configure to maximize the switch’ s performance for your particular network environment.

Key Features

Table 1-1. Key Features
Feature Description
Configuration Backup and Restore
Authentication Console, Telnet, web – User name / password, RADIUS,
Access Control Lists
DHCP Client Supported Port Configuration Speed, duplex mode and flow control Rate Limiting Input rate limiting per port Port Mirroring One port mirrored to single analysis port
Backup to TFTP server
TACACS+ Web – HTTPS; Telnet – SSH SNMP v1/2c– Community strings Port – IEEE 802.1x, MAC address filtering Supports up to 32 IP
1
1-1
I
NTRODUCTION
Table 1-1. Key Features (Continued)
Feature Description
Port Trunking Supports up to 25 trunks using either static or dynamic
trunking (LACP)
Broadcast Storm Control
Static Address Up to 8K MAC addresses in the forwarding table IEEE 802.1D
Bridge Store-and-Forward
Switching Spanning Tree
Protocol Virtual LANs Up to 255 using IEEE 802.1Q, port-based, protocol-based, or
Traffic Prioritization
Multicast Filtering Supports IGMP snooping and query
Supported
Supports dynamic data switching and addresses learning
Supported to ensure wire-speed switching while eliminating bad frames
Supports standard STP, and Rapid Spanning Tree Protocol (RSTP)
private VLANs Default port priority, traffic class map, queue scheduling,
Differentiated Services Code Point (DSCP), and TCP/UDP Port

Description of Software Features

The switch provides a wide range of advanced performance enhancing features. Flow control eliminates the loss of packets due to bottlenecks caused by port saturation. Broadcast storm suppression prevents broadcast traffic storms from engulfing the network. Port-based and protocol-based VLANs, plus support for automatic GVRP VLAN registration provide traffic security and efficient use of network bandwidth. CoS priority queueing ensures the minimum delay for moving real-time multimedia data across the network. While multicast filtering provides support for real-time network applications. Some of the management features are briefly described below.
1-2
D
ESCRIPTION OF SOFTWARE FEATURES
Configuration Backup and Restore – You can save the current configuration settings to a file on a TFTP server, and later download this file to restore the switch configuration settings.
Authentication – This switch authenticates management access via the console port, Telnet or web browser. User names and passwords can be configured locally or can be verified via a remote authentication server (i.e., RADIUS or TACACS+). Port-based authentication is also supported via the IEEE 802.1x protocol. This protocol uses the Extensible Authentication Protocol over LANs (EAPOL) to requ est a u ser name and password from the 802.1x client, and then verifies the client’s right to access the network via an authentication server.
Other authentication options include HTTPS for secure management access via the web, SSH for secure management access over a Telnet-equivalent connection, IP address filtering for SNMP/web/Telnet management access, and MAC address filtering for port access.
Access Control Lists – ACLs provide packet filtering for IP frames (based on address, protocol, TCP/UDP port number or TCP control code) or any frames (based on MAC address or Ethernet type). ACLs can by used to improve performance by blocking unnecessary network traffic or to implement security controls by restricting access to specific network resources or protocols.
Port Configuration – You can manually configure the speed, duplex mode, and flow control used on specific ports, or use auto-negotiation to detect the connection settings used by the attached device. Use the full-duplex mode on ports whenever possible to double the throughput of switch connections. Flow control should also be enabled to control network traffic during periods of congestion and prevent the loss of packets when port buffer thresholds are exceeded. The switch supports flow control based on the IEEE 802.3x standard.
1-3
I
NTRODUCTION
Rate Limiting – This feature controls the maximum rate for traffic received on an interface. Rate limiting is configured on interfaces at the edge of a network to limit traffic into the network. Packets that exceed the acceptable amount of traffic are dropped.
Port Mirroring – The switch can unobtrusively mirror traffic from any port to a monitor port. You can then attach a protocol analyzer or RMON probe to this port to perform traffic analysis and verify connection integrity.
Port Trunking – Ports can be combined into an aggregate connection. Trunks can be manually set up or dynamically configured using IEEE
802.3ad Link Aggregation Control Protocol (LACP). The additional ports dramatically increase the throughput across any connection, and provide redundancy by taking over the load if a port in the trunk should fail. The switch supports up to 25 trunks.
Broadcast Storm Control – Broadcast suppression prevents broadcast traffic from overwhelming the network. When enabled on a port, the level of broadcast traffic passing through the port is restricted. If broadcast traffic rises above a pre-defined threshold, it will be throttled until the level falls back beneath the threshold.
Static Addresses – A static address can be assigned to a specific interface on this switch. Static addresses are bound to the assigned interface and will not be moved. When a static address is seen on another interface, the address will be ignored and will not be written to the address table. Static addresses can be used to provide network security by restricting access for a known host to a specific port.
IEEE 802.1D Bridge – The switch supports IEEE 802.1D transparent bridging. The address table facilitates data switching by learning addresses, and then filtering or forwarding traffic based on this information. The address table supports up to 8K addresses.
1-4
Loading...
+ 450 hidden pages