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
D
ESCRIPTION OF SOFTWARE FEATURES
Store-and-Forward Switching – The switch copies each frame into its memory before forwarding them to another port. This ensures that all frames are a standard Ethernet size and have been verified for accuracy with the cyclic redundancy check (CRC). This prevents bad frames from entering the network and wasting bandwidth.
T o a v oid dropping f rames on congested ports, the switch pro vides 1.5 MB for frame buffering. This buffer can queue packets awaiting transmission on congested networks.
Spanning Tree Protocol – The switch supports these spanning tree protocols:
Spanning Tree Protocol (STP, IEEE 802.1D) – This protocol adds a level of fault tolerance by allowing two or more redundant connections to be created between a pair of LAN segments. When there are multiple ph ysical paths between segments, this protocol will choose a single path and disable all others to ensure that only one route exists between any two stations on the network. This prevents the creation of network loops. However, if the chosen path should fail for any reason, an alternate path will be activated to maintain the connection.
Rapid Spanning Tree Protocol (RSTP, IEEE 802.1w) – This protocol reduces the convergence time for network topology changes to about 10% of that required by the older IEEE 802.1D STP standard. It is intended as a complete replacement for STP, but can still interoperate with switches running the older standard by automatically reconfiguring ports to STP-compliant mode if they detect STP protocol messages from attached devices.
1-5
I
NTRODUCTION
Virtual LANs – The switch supports up to 255 VLANs. A Virtual LAN is a collection of network nodes that share the same collision domain regardless of their physical location or connection point in the network. The switch supports tagged VLANs based on the IEEE 802.1Q standard. Members of VLAN groups can be dynamically learned via GVRP , or ports can be manually assigned to a specific set of VLANs. This allows the switch to restrict traffic to the VLAN groups to which a user has been assigned. By segmenting your network into VLANs, you can:
Eliminate broadcast storms which severely degrade performance in a flat network.
Simplify network management for node changes/moves by remotely configuring VLAN membership for any port, rather than having to manually change the network connection.
Provide data security by restricting all traffic to the originating VLAN.
Use private VLANs to restrict traffic to pass only between data ports and the uplink ports, thereby isolating adjacent ports within the same VLAN, and allowing you to limit the total number of VLANs that need to be configured.
Traffic Prioritization – This switch prioritizes each packet based on the required level of service, using eight priority queues with strict or Weighted Round Robin Queuing. It uses IEEE 802.1p and 802.1Q tags to prioritize incoming traffic based on input from the end-station application. These functions can data and best-effort data.
be used to provide independent priorities for delay-sensitive
This switch also supports several common methods of prioritizing layer 3/ 4 traffic to meet application requirements. Traffic can be prioritized based on the DSCP field in the IP frame. When these services are enabled, the priorities are mapped to a Class of Service value by the switch, and the traffic then sent to the corresponding output queue.
1-6
S
YSTEM DEFAULTS
Multicast Filtering – Multicast filtering is a system where network devices forward multicast traffic only to the ports that are registered with the multicast group. Without mulicast filtering the data packet will be broadcast to all endstations within a LAN or VLAN. The purpose is to keep the non-multicast group members from receiving unsolicited packets and to prevent a possible reduction in network performance. The switch uses IGMP Snooping and Query at Layer 2 and IGMP at Layer 3 to manage multicast group registration.

System Defaults

The switch’s system defaults are provided in the configuration file “Factory_Default_Config.cfg.” To reset the switch defaults, this file should be set as the startup configuration file (page 3-23).
The following table lists some of the basic system defaults.
Table 1-2. System Defaults
Function Parameter Default
Console Port Connection
Authentication Privileged Exec Level Username “admin”
Baud Rate 9600 Data bits 8 Stop bits 1 Parity none Local Console Timeout 0 (disabled)
Password “admin”
Normal Exec Level Username “guest”
Enable Privileged Exec from Normal Exec Level
RADIUS Authentication Disabled TACACS Authentication Disabled
802.1x Port Authentication Disabled HTTPS Enabled SSH Disabled Port Security Disabled
Password “guest” Password “super”
1-7
I
NTRODUCTION
Table 1-2. System Defaults (Continued)
Function Parameter Default
IP Filtering Disabled
Web Management HTTP Server Enabled
HTTP Port Number 80 HTTP Secure Server Enabled HTTP Secure Port Number 443
SNMP Community Strings “public” (read only)
“private” (read/write)
Traps Authentication traps: enabled
Port Configuration
Rate Limiting Input limits Disabled Port Trunking Static Trunks None
Broadcast Storm Protection
Spanning Tree Protocol
Address Table A gin g Time 300 seconds Virtual LANs Default VLAN 1
Admin Status Enabled Auto-negotiation Enabled Flow Control Disabled
LACP (all ports) Disabled Status Enabled (all ports) Broadcast Limit Rate 500 packets per second Status Enabled, RSTP
Fast Forwarding (Edge Port) Disabled
PVID 1 Acceptable Frame Type All Ingress Filtering Enabled Switchport Mode (Egress
Mode) GVRP (global) Disabled GVRP (port interface) Disabled
Link-up-down events:
(Defaults: All values based on IEEE 802.1w)
Hybrid: tagged/untagged frames
enabled
1-8
S
YSTEM DEFAULTS
Table 1-2. System Defaults (Continued)
Function Parameter Default
Traffic Prioritization
IP Settings IP Address 0.0.0.0
Multicast Filtering IGMP Snooping Snooping: Enabled
System Log Status Enabled
SMTP Email Alerts
SNTP Clock Synchronization Disabled
Ingress Port Priority 0 Weighted Round Robin Queue: 0 1 2 3 4 5 6 7
Weight: 1 2 4 6 8 10 12 14
IP DSCP Priority Disabled
Subnet Mask 255.0.0.0 Default Gateway 0.0.0.0 DHCP Client: Disabled BOOTP Disabled
Querier: Enabled
Messages Logged Levels 0-6 (all) Messages Logged to Flash Levels 0-3 Event Handler Enabled (but no server
defined)
1-9
I
NTRODUCTION
1-10
C
HAPTER
I
NITIAL
C
ONFIGURATION

Connecting to the Switch

Configuration Options

The switch includes a built-in network management agent. The agent offers a variety of management options, including SNMP, RMON and a Web-based interface. A PC may also be connected directly to the switch for configuration and monitoring via a command line interface (CLI).
Note: The IP address for this switch is unassigned by default. To change
this address, see “Setting an IP Address” on page 2-6.
The switch’s HTTP Web agent allows you to configure switch parameters, monitor port connections, and display statistics using a standard Web browser such as Netscape Navigator version 6.2 and higher or Microsoft IE version 5.0 and higher. The switch’s Web management interface can be accessed from any computer attached to the network.
2
The CLI program can be accessed by a direct connection to the RS-232 serial console port on the switch, or remotely by a Telnet connection over the network.
The switch’s management agent also supports SNMP (Simple Network Management Protocol). This SNMP agent permits the switch to be managed from any system in the network using network management software such as SMC EliteView and HP OpenView.
2-1
I
NITIAL CONFIGURATION
The switch’s Web interface, CLI configuration program, and SNMP agent allow you to perform the following management functions:
Set user names and passwords
Set an IP interface for a management VLAN
Configure SNMP parameters
Enable/disable any port
Set the speed/duplex mode for any port
Configure the bandwidth of any port by limiting input rates
Control port access through IEEE 802.1X security or static address filtering
Filter packets using Access Control Lists (ACLs)
Configure up to 255 IEEE 802.1Q VLANs
Enable GVRP automatic VLAN registration
Configure IGMP multicast filtering
Upload and download system firmware via TFTP
Upload and download switch configuration files via TFTP
Configure Spanning Tree parameters
Configure Class of Service (CoS) priority queuing
Configure up to 25 static or LACP trunks
Enable port mirroring
Set broadcast storm control on any port
Display system information and statistics

Required Connections

The switch provides an RS-232 serial port that enables a connection to a PC or terminal for monitoring and configuring the switch. A null-modem console cable is provided with the switch.
Attach a VT100-compatible terminal, or a PC running a ter m inal emulation program to the switch. You can use the console cable provided with this package, or use a null-modem cable that complies with the wiring assignments shown in the Installation Guide.
2-2
C
ONNECTING TO THE SWITCH
To connect a terminal to the console port, complete the following steps:
1. Connect the console cable to the serial port on a terminal, or a PC running terminal emulation software, and tighten the captive retaining screws on the DB-9 connector.
2. Connect the other end of the cable to the RS-232 serial port on the switch.
3. Make sure the terminal emulation software is set as follows:
Select the appropriate serial port (COM port 1 or COM port 2).
Set to any of these baud rates: 9600, 19200, 38400, 57600, 115200 (Note: Set to 9600 baud to view all system initialization messages.)
Set the data format to 8 data bits, 1 stop bit, and no parity.
Set flow control to none.
Set the emulation mode to VT100.
With HyperTerminal, select Terminal keys, not Windows keys.
Notes: 1. When using HyperTerminal with Microsoft
make sure that you have Windows 2000 Service Pack 2 or later installed. Windows 2000 Service Pack 2 fixes the problem of arrow keys not functioning in HyperTerminal’s VT100 emulation. See www.microsoft.com for information on Windows 2000 service packs.
2. Refer to “Line Commands” on page 4-13 for a complete
description of console configuration options.
3. Once you have set up the terminal correctly, the console login
screen will be displayed.
For a description of how to use the CLI, see “Using the Command Line Interface” on page 4-1. For a list of all the CLI commands and detailed information on using the CLI, refer to “Command Groups” on page 4-11.
®
Windows® 2000,
2-3
I
NITIAL CONFIGURATION

Remote Connections

Prior to accessing the switch’s onboard agent via a network connection, you must first configure it with a valid IP address , subnet mask, and default gateway using a console connection, DHCP or BOOTP protocol.
The IP address for this switch is obtained via DHCP by default. To manually configure this address or enab l e dy nam i c address assignment via DHCP or BOOTP, see “Setting an IP Address” on page 2-6.
Note: This switch supports four concurrent Telnet/SSH sessions. After configuring the switch’s IP parameters, you can access the onboard
configuration program from anywhere within the attached network. The onboard configuration program can be accessed using Telnet from any computer attached to the network. The switch can also be managed by any computer using a web browser (Internet Explorer 5.0 or above, or Netscape Navigator 6.2 or above), or from a network computer using SNMP network management software.
Note: The onboard program only provides access to basic configuration
functions. To access the full range of SNMP management functions, you must use SNMP-based network management software.

Basic Configuration

Console Connection

The CLI program provides two different command levels — normal access level (Normal Exec) and privileged access level (Privileged Exec). The commands available at the Normal Exec level are a limited subset of those available at the Privileged Exec level and only allow you to display information and use basic utilities. To fully configure the switch parameters, you must access the CL I at the Privileged Exec level.
2-4
B
ASIC CONFIGURATION
Access to both CLI levels are controlled by user names and passwords. The switch has a default user name and password for each level. To log into the CLI at the Privileged Exec level using the default user name and password, perform these steps:
1. T o initiate your console connection, press <Enter>. The “User Access Verification” procedure starts.
2. At the Username prompt, enter “admin.”
3. At the Password prompt, also enter “admin.” (The password characters are not displayed on the console screen.)
4. The session is opened and the CLI displays the “Console#” prompt indicating you have access at the Privileged Exec level.

Setting Passwords

Note: If this is your first time to log into the CLI program, you should
define new passwords for both default user names using the “username” command, record them and put them in a safe place.
Passwords can consist of up to 8 alphanumeric characters and are case sensitive. To prevent unauthorized access to the switch, set the passwords as follows:
1. Open the console interface with the default user name and password “admin” to access the Privileged Exec level.
2. T y pe “configure” and press <Enter>.
3. Type “username guest password 0 password,” for the Normal Exec level, where password is your new password. Press <Enter>.
4. Type “username admin password 0 password,” for the Privileged Exec level, where password is your new password. Press <Enter>.
Note: ‘0’ specifies the password in plain text, ‘7’ specifies the password in
encrypted form.
2-5
I
NITIAL CONFIGURATION
Username: admin Password:
CLI session with the SMC8748L2 is opened. To end the CLI session, enter [Exit].
Console#configure Console(config)#username guest password 0 [password] Console(config)#username admin password 0 [password] Console(config)#

Setting an IP Address

You must establish IP address information for the switch to obtain management access through the network. This can be done in either of the following ways:
Manual — You have to input the information, including IP address and subnet mask. If your management station is not in the same IP subnet as the switch, you will also nee d to specify the default gateway router.
Dynamic — The switch sends IP configuration requests to BOOTP or DHCP address allocation servers on the network.
Manual Configuration
Y ou can manually assign an IP address to the switch. You may also need to specify a default gateway that resides between this device and management stations on another network segment. Valid IP addresses consist of four decimal numbers, 0 to 255, separated by periods. Anything outside this format will not be accepted by the CLI program.
Note: The IP address for this switch is obtained via DHCP by default. Before you can assign an IP address to the switch, you must obtain the
following information from your network administrator:
IP address for the switch
Default gateway for the network
Network mask for this network
2-6
B
ASIC CONFIGURATION
To assign an IP address to the switch, complete the following steps:
1. From the Privileged Exec level global configuration mode prompt, type “interface vlan 1” to access the interface-configuration mode. Press <Enter>.
2. T y pe “ip address ip-address netmask,” where “ip-address” is the switch IP address and “netmask” is the network mask for the network. Press <Enter>.
3. Type “exit” to return to the global configuration mode prompt. Press <Enter>.
4. To set the IP address of the default gateway for the network to which the switch belongs, type “ip default-gateway gateway,” where “gateway” is the IP address of the default gateway. Press <Enter>.
Console(config)#interface vlan 1 Console(config-if)#ip address 192.168.1.5 255.255.255.0 Console(config-if)#exit Console(config)#ip default-gateway 192.168.1.254 Console(config)#
Dynamic Configuration
If you select the “bootp” or “dhcp” option, IP will be enabled but will not function until a BOOTP or DHCP reply has been received. Y ou therefore need to use the “ip dhcp restart client” command to start broadcasting service requests. Requests will be sent periodically in an effort to obtain IP configuration information. (BOOTP and DHCP values can include the IP address, subnet mask, and default gateway.)
If the “bootp” or “dhcp” option is saved to the startup-config file (step 6), then the switch will start broadcasting service requests as soon as it is powered on.
To automatically configure the switch by communicating with BOOTP or DHCP address allocation servers on the network, complete the following steps:
2-7
I
NITIAL CONFIGURATION
1. From the Global Configuration mode prompt, type “interface vlan 1” to access the interface-configuration mode. Press <Enter>.
2. At the interface-configuration mode prompt, use one of the following commands:
To obtain IP settings via DHCP, type “ip address dhcp” and press <Enter>.
To obtain IP settings via BOOTP, type “ip address bootp” and press <Enter>.
3. Type “end” to return to the Privileged Exec mode. Press <Enter>.
4. Type “ip dhcp restart client” to begin broadcasting service requests. Press <Enter>.
5. Wait a few minutes, and then check the IP configuration settings by typing the “show ip interface” command. Press <Enter>.
6. Then save your configuration changes by typing “copy running-config startup-config.” Enter the startup file name and press <Enter>.
Console(config)#interface vlan 1 Console(config-if)#ip address dhcp Console(config-if)#end Console#ip dhcp restart client Console#show ip interface IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1, and address mode: User specified. Console#copy running-config startup-config Startup configuration file name []: startup \Write to FLASH Programming.
\Write to FLASH finish. Success.

Enabling SNMP Management Access

The switch can be configured to accept management commands from Simple Network Management Protocol (SNMP) applications such as SMC EliteView or HP OpenView. You can configure the switch to (1) respond to SNMP requests or (2) generate SNMP traps.
2-8
B
ASIC CONFIGURATION
When SNMP management stations send requests to the switch (either to return information or to set a parameter), the switch provides the requested data or sets the specified parameter. The switch can also be configured to send information to SNMP managers (without being requested by the managers) through trap messages, which inform the manager that certain events have occurred.
Community Strings
Community strings are used to control management access to SNMP stations, as well as to authorize SNMP stations to receive trap messages from the switch. You therefore need to assign community strings to specified users or user groups, and set the access level.
The default strings are:
public - with read-only access. Authorized management stations are
only able to retrieve MIB objects.
private - with read-write access. Authorized management stations are
able to both retrieve and modify MIB objects.
Note: If you do not intend to utilize SNMP, we recommend that you
delete both of the default community strings. If there are no community strings, then SNMP management access to the switch is disabled.
To prevent unauthorized access to the switch via SNMP, it is recommended that you change the default community strings.
To configure a community string, complete the following steps:
1. From the Privileged Exec level global configuration mode prompt, type “snmp-server community string mode,” wher e “string” is the community access string and “mode” is rw (read/write) or ro (read only). Press <Enter>. (Note that the default mode is read only.)
2-9
I
NITIAL CONFIGURATION
2. T o remov e an existing string, simply type “no snmp-server community string,” where “string” is t he com m u nity acce ss str ing to re move. Press <Enter>.
Console(config)#snmp-server community admin rw Console(config)#snmp-server community private Console(config)#
Trap Receivers
You can also specify SNMP stations that are to receive traps from the switch.
To configure a trap receiver, complete the following steps:
1. From the Privileged Exec level global configuration mode prompt, type “snmp-server host host-address community-string,” where “host-address” is the IP address for the trap receiver and “community-string” is the string associated with that host. Press <Enter>.
2. In order to configure the switch to send SNMP notifications, y ou must enter at least one snmp-server enable traps command. Type “snmp-server enable traps type,” where “type” is either authentication or link-up-down. Press <Enter>.
Console(config)#snmp-server enable traps link-up-down Console(config)#

Saving Configuration Settings

Configuration commands only modify the running configuration file and are not saved when the switch is rebooted. To save all your configuration changes in nonvolatile storage, you must copy the running configuration file to the start-up configuration file using the “copy” command.
To save the current configuration settings, enter the following command:
2-10
M
ANAGING SYSTEM FILES
1. From the Privileged Exec mode prompt, type “copy running-config startup-config” and press <Enter>.
2. Enter the name of the start-up file. Press <Enter>.
Console#copy running-config startup-config Startup configuration file name []: startup \Write to FLASH Programming. \Write to FLASH finish. Success. Console#

Managing System Files

The switch’ s flash memory supports three types of system files that can be managed by the CLI program, Web interface, or SNMP. The switch’s file system allows files to be uploaded and downloaded, copied, deleted, and set as a start-up file.
The three types of files are:
Configuration — This file stores system configuration information
and is created when configuration settings are saved. Saved configuration files can be selected as a system start-up file or can be uploaded via TFTP to a server for backup. A file named “Factory_Default_Config.cfg” contains all the system default settings and cannot be deleted from the system. See “Saving or Restoring Configuration Settings” on page 3-23 for more information.
Operation Code — System software that is executed after boot-up,
also known as run-time code. This code runs the switch operations and provides the CLI and Web management interfaces. See “Managing Firmware” on page 3-21 for more information.
Diagnostic Code — Software that is run during system boot-up, also
known as POST (Power On Self-Test).
2-11
I
NITIAL CONFIGURATION
Due to the size limit of the flash memory, the switch supports only two operation code files. However, you can have as many diagnostic code files and configuration files as available flash memory space allows.
In the system flash memory, one file of each type must be set as the start-up file. During a system boot, the diagnostic and operation code files set as the start-up file are run, and then the star t-up configuration file is loaded.
Note that configuration files should be downloaded using a file name that reflects the contents or usage of the file settings. If you download directly to the running-config, the system will reboot, and the settings will have to be copied from the running-config to a permanent file.
2-12
C
HAPTER
C
ONFIGURING THE
S
WITCH

Using the Web Interface

This switch provides an embedded HTTP Web agent. Using a Web browser you can configure the switch and view statistics to monitor network activity. The Web agent can be accessed by any computer on the network using a standard Web browser (Internet Explorer 5.0 or above, or Netscape Navigator 6.2 or above).
Note: You can also use the Command Line Interface (CLI) to manage
the switch over a serial connection to the console port or via Telnet. For more information on using the CLI, refer to Chapter 4 “Command Line Interface.”
Prior to accessing the switch from a Web browser, be sure you have first performed the following tasks:
1. Configure the switch with a valid IP address, subnet mask, and default
gateway using an out-of-band serial connection, BOOTP or DHCP protocol. (See “Setting an IP Address” on page 2-6.)
2. Set user names and passwords using an out-of-band serial connection.
Access to the Web agent is controlled by the same user names and passwords as the onboard configuration program. (See “Setting Passwords” on page 2-5.)
3. After you enter a user name and password, you will have access to the
system configuration program.
3
3-1
C
ONFIGURING THE SWITCH
Notes: 1. You are allowed three attempts to enter the correct password;
on the third failed attempt the current connection is terminated.
2. If you log into the Web interface as guest (Normal Exec level),
you can view the configuration settings or change the guest password. If you log in as “admin” (Privileged Exec level), you can change the settings on any page.
3. If the path between your management station and this switch
does not pass through any device that uses the Spanning Tree Algorithm, then you can set the switch port attached to your management station to fast forwarding (i.e., enable Admin Edge Port) to improve the switch’s response time to management commands issued through the web interface. See “Configuring Interface Settings” on page 3-125.
3-2
N
AVIGATING THE WEB BROWSER INTERFACE

Navigating the Web Browser Interface

To access the web-browser interface you must first enter a user name and password. The administrator has Read/Write access to all configuration parameters and statistics. The default user name and password for the administrator is “admin.”

Home Page

When your web browser connects with the switch’s web agent, the home page is displayed as shown below. The home page displays the Main Menu on the left side of the screen and System Information on the right side. The Main Menu links are used to navigate to other menus, and display configuration parameters and statistics.
Figure 3-1. Homepage
3-3
C
ONFIGURING THE SWITCH

Configuration Options

Configurable parameters have a dialog box or a drop-down list. Once a configuration change has been made on a page, be sure to click on the “Apply” button to confirm the new setting. The following table summarizes the web page configuration buttons.
Table 3-1. Configuration Options
Button Action
Revert Cancels specified values and restores current values
prior to pressing “Apply.” Apply Sets specified values to the system. Help Links directly to webhelp .
Notes: 1. To ensure proper screen refresh, be sure that Internet Explorer
5.x is configured as follows: Under the menu “Tools/Internet Options/General/Temporary Internet Files/Settings,” the setting for item “Check for newer versions of stored pages” should be “Every visit to the page.”
2. When using Internet Explorer 5.0, you may have to manually
refresh the screen after making configuration changes by pressing the browser’s refresh button.

Panel Display

The web agent displays an image of the switch’s ports. The Mode can be set to display different information for the ports, including Active (i.e., up or down), Duplex (i.e., half or full duplex, or Flow Control (i.e., with or without flow control). Clicking on the image of a port opens the Port Configuration page as described on page 3-80.
Figure 3-2. Panel Display
3-4
N
AVIGATING THE WEB BROWSER INTERFACE

Main Menu

Using the onboard web agent, you can define system parameters, manage and control the switch, and all its ports, or monitor network conditions. The following table briefly describes the selections available from this program.
Table 3-2. Main Menu
Menu Description Page
System 3-11
System Information Provides basic system description, including
contact information
Switch Information Shows the number of ports, hardware/
firmware version numbers, and power
status Bridge Extension Shows the bridge extension parameters 3-15 IP Configuration Sets the IP address for management access 3-17 File 3-22
Copy Allows the transfer an d copying files 3-22 Delete Allows deletion of files from the flash
memory
Set Startup Sets the startup file 3-22
Line 3-26
Console Sets console port connection paramete rs 3-26 Telnet Sets Telnet co nn ection parameters 3-29
Log 3-31
Logs Stores and displays error messages 3-31 System Logs Sends error messages to a logging process 3-31 Remote Logs Configures the logging of messages to a
remote logging process Reset Restarts the switch 3-35
3-11
3-13
3-23
3-33
3-5
C
ONFIGURING THE SWITCH
Table 3-2. Main Menu (Continued)
Menu Description Page
SNTP 3-36
Configuration Configures SNTP client settings, including
broadcast mode or a specified list of servers
Clock Time Zone Sets the local time zone for the system clock 3-38
SNMP 3-39
Configuration Configures community strings and related
trap functions
Security 3-42
User Accounts Assigns a new password for the current user 3-42 Authentication Settings Configures authentication sequence,
RADIUS and TACACS HTTPS Settings Configures secure HTTP settings 3-48 SSH 3-50
Settings Configures Secure Shell server settings 3-55 Host-Key Settings Generates the host key pair (public and
private) Port Security Configures per port secu rity, including
status, response for security breach, and
maximum allowed MAC addresses
802.1x Port authentication 3-59
Information Displays global configuration settings 3-61 Configuration Configures protocol parameters 3-62 Port Configuration Sets the authentication mode for individual
ports
Statistics Displays protocol statistics for the selected
port ACL 3-68
Configuration Configures packet filtering based on IP or
MAC addresses
Port Binding Binds a port to the specified ACL 3-73
3-36
3-39
3-44
3-53
3-57
3-63
3-66
3-68
3-6
N
AVIGATING THE WEB BROWSER INTERFACE
Table 3-2. Main Menu (Continued)
Menu Description Page
IP Filter Sets IP addresses of clients allowed
management access
Port 3-74
Port Information Displays port connection status 3-76 Trunk Information Displays trunk connection status 3-76 Port Configuration Configures port connection settings 3-80 Trunk Configuration Configures trunk connection settings 3-80 Trunk Membership Specifies ports to group into static trunks 3-83 LACP 3-85
Configuration Allows ports to dynamically join trunks 3-85 Aggregation Port Configures system priority, admin key, and
port priority
Port Counters Information
Port Internal Information
Port Neighbors Information
Port Broadcast Control Sets the broadcast storm threshold for each
Trunk Broadcast Control
Mirror Port Configuration
Rate Limit 3-100
Input Port Configuration
Input Trunk Configuration
Port Statistics Lists Ethernet and RMON port statistics 3-101
Displays statistics for LACP protocol messages
Displays settings and operational state for local side
Displays settings and operational state for remote side
port Sets the broadcast storm threshold for each
trunk Sets the source and target ports for
mirroring
Sets the input rate limit for each port 3-100
Sets the input rate limit for each trunk 3-100
3-74
3-87
3-90
3-92
3-95
3-97
3-97
3-99
3-7
C
ONFIGURING THE SWITCH
Table 3-2. Main Menu (Continued)
Menu Description Page
Address Table 3-108
Static Addresses Displays entries for interface, address or
VLAN Dynamic Addresses Displays or edits static entries in the
Address Table Address Aging Sets timeout for dynamically learned entries 3-111
Spanning Tree 3-112
STA
Information Displays STA values used for the bridge 3-114 Configuration Configures global bridge settings for STA,
and RSTP
Port Information Displays individual port settings for STA 3-121 Trunk Information Displays individual trunk settings for STA 3-121 Port Configuration Configures individual port settings for STA 3-125 Trunk Configuration Configures individual trunk settings for
STA
VLAN 3-129
802.1Q VLAN
GVRP Status Enables GVRP VLAN registratio n
protocol
Basic Information Displays information on the VLAN type
supported by this switch
Current Table Shows the current port members of each
VLAN and whether or not the port is
tagged or untagged
Static List Used to create or remove VLAN groups 3-136 Static Table Modifies the settings for an existing VLAN 3-138 Static Membership by
Port
Configures membership type for interfaces,
including tagged, untagged or forbidden
3-108
3-110
3-117
3-125
3-133
3-133
3-134
3-140
3-8
N
AVIGATING THE WEB BROWSER INTERFACE
Table 3-2. Main Menu (Continued)
Menu Description Page
Port Configuration Specifies default PVID and VLAN
attributes
Trunk Configuration Specifies default trunk VID and VLAN
attributes
Private VLAN 3-145
Information Displays Private VLAN feature information 3-146 Configuration This page is used to create/remove primary
or community VLANs
Association Each community VLAN must be associated
with a primary VLAN
Port Information Shows VLAN port type, and associated
primary or secondary VLANs
Port Configuration Sets the private VLAN interface type, and
associates the interfaces with a private VLAN
Trunk Information Shows VLAN port type, and associated
primary or secondary VLANs
Trunk Configuration Sets the private VLAN interface type, and
associates the interfaces with a private VLAN
Priority 3-149
Default Port Priority Sets the default priority for each port 3-153 Default Trunk Priority Sets the default priority for each trunk 3-153 Traffic Classes Maps IEEE 802.1p priority tags to output
queues
Traffic Classes Status Enables/disables traffic class priorities (not
implemented)
Queue Mode Sets queue mode to strict priority or
Weighted Round-Robin
Queue Scheduling Configures Weighted Round Robin
queueing
3-141
3-141
3-147
3-148
3-149
3-151
3-149
3-151
3-155
NA
3-157
3-158
3-9
C
ONFIGURING THE SWITCH
Table 3-2. Main Menu (Continued)
Menu Description Page
DSCP Priority Status Globally selects DSCP Priority, or disables
it. IP DSCP Priority Sets IP Differentiated Services Code Point
priority, mapping a DSCP tag to a
class-of-service value ACL CoS Priority Sets the CoS value and corresponding
output queue for packets matching an AC L
rule
IGMP Snooping 3-164
IGMP Configuration Enables multicast filtering; configures
parameters for multicast query Multicast Router
Port Information
Static Multicast Router Port Configuration
IP Multicast Registration Table
IGMP Member Port Table
Displays the ports that are attached to a
neighboring multicast router for each
VLAN ID
Assigns ports that are attached to a
neighboring multicast rout er
Displays all multicast groups active on this
switch, including multicast IP addresses and
VLAN ID
Indicates multicast addresses associated
with the selected VLAN
3-160
3-152
3-162
3-165
3-168
3-169
3-170
3-171
3-10
B
ASIC CONFIGURATION

Basic Configuration

Displaying System Information

You can easily identify the system by displaying the device name, location and contact information.
Field Attributes
System Name – Name assigned to the switch system.
Object ID – MIB II object ID for switch’s network management
subsystem.
Location – Specifies the system location.
Contact – Administrator responsible for the system.
System Up Time – Length of time the management agent has been
up.
These additional parameters are displayed for the CLI.
MAC Address – The physical layer address for this switch.
Web server – Shows if management access via HTTP is enabled.
Web server port – Shows the TCP port number used by the web
interface.
Web secure server – Shows if management access via HTTPS is
enabled.
Web secure server port – Shows the TCP port used by the HTTPS
interface.
Telnet server – Shows if management access via Telnet is enabled.
Telnet port – Shows the TCP port used by the Telnet interface.
Jumbo Frame – Shows if jumbo frames are enabled.
POST result – Shows results of the power-on self-test
3-11
C
ONFIGURING THE SWITCH
Web – Click System, System Information. Specify the system name, location, and contact information for the system administrator, then click Apply. (This page also Command Line Interface via Telnet.)
includes a Telnet button that allows access to the
Figure 3-3. System Information
3-12
B
ASIC CONFIGURATION
CLI – Specify the hostname, location and contact information.
Console(config)#hostname R&D 5 4-33 Console(config)#snmp-server location WC 9 4-126 Console(config)#snmp-server contact Geoff 4-126 Console(config)#exit Console#show system 4-79 System description : SMC8748L2; Layer 2 Gigabit Ethernet Intelligent Switch System OID string : 1.3.6.1.4.1.202.20.56 System information System Up time : 0 days, 0 hours, 18 minutes, and 46.50 seconds System Name : [NONE] System Location : [NONE] System Contact : [NONE] MAC address : 00-12-CF-0B-0D-00 Web server : enabled Web server port : 80 Web secure server : enabled Web secure server port : 443 Telnet server : enable Telnet port : 23 Jumbo Frame : Disabled POST result
UART Loopback Test ........... PASS
DRAM Test .................... PASS
Timer Test ................... PASS
PCI Device 1 Test ............ PASS
I2C Bus Initialization ....... PASS
Switch Int Loopback Test ..... PASS
Fan Speed Test ............... PASS
Done All Pass. Console#

Displaying Switch Hardware/Software Versions

Use the Switch Information page to display hardware/firmware version numbers for power status of the system.
Field Attributes
Main Board
Serial Number – The serial number of the switch.
Number of Ports – Number of built-in RJ-45 ports and expansion
ports.
the main board and management software, as well as the
3-13
C
ONFIGURING THE SWITCH
Hardware Version – Hardware version of the main board.
Internal Power Status – Displays the status of the internal power
supply.
Redundant Power Status – Displays the status of the redundant
power supply.
Management Software
Loader Version – Version number of loader code.
Boot-ROM Version – Version of Power-On Self-Test (POST) and
boot code.
Operation Code Version – Version number of runtime code.
Expansion Slot
Expansion Slot 1/2 – 10GBASE module slots. These additional parameters are displayed for the CLI.
Redundant Power Status – Displays the status of the redundant
power supply.
Web – Click System, Switch Information.
3-14
Figure 3-4. Switch Information
B
ASIC CONFIGURATION
CLI – Use the following command to display version information.
Console#show version 4-80 Serial number: 0012CF0B0D00 Service tag: Hardware version: R01 Module A type: XGBase Module B type: not present Number of ports: 49 Main power status: not present Redundant power status: down Loader version: 1.0.0.5 Boot ROM version: 1.0.0.5 Operation code version: 2.3.0.2
Console#

Displaying Bridge Extension Capabilities

The Bridge MIB includes extensions for managed devices that suppor t Multicast Filtering, Traffic Classes, and Virtual LANs . You can access these extensions to display default settings for the key variables.
Field Attributes
Extended Multicast Filtering Services – This switch does not
support the filtering of individual multicast addresses based on GMRP (GARP Multicast Registration Protocol).
Traffic Classes – This switch provides mapping of user priorities to
multiple traffic classes. (Refer to “Displaying Private VLAN Interface Information” on page 3-149.)
Static Entry Individual Port – This switch allows static filtering for
unicast and multicast addresses. (Refer to “Setting Static Addresses” on page 3-108.)
VLAN Learning – This switch uses Shared VLAN Learning (SVL),
where all VLANs share the same address table.
Configurable PVID Tagging – This switch allows you to override
the default Port VLAN ID (PVID used in frame tags) and egress status (VLAN-Tagged or Untagged) on each port. (Refer to “VLAN Configuration” on page 3-129.)
3-15
C
ONFIGURING THE SWITCH
Local VLAN Capable – This switch supports multiple local bridges;
i.e., multiple spanning trees. (Refer to “VLAN Configuration” on page 3-129.)
GMRP – GARP Multicast Registration Protocol (GMRP) allows
network devices to register endstations with multicast groups. This switch does not support GMRP; it uses the Internet Group Management Protocol (IGMP) to provide automatic multicast filtering.
Web – Click System, Bridge Extension.
Figure 3-5. Bridge Extension Configuration
CLI – Enter the following command.
Console#show bridge-ext 4-204 Max support VLAN numbers: 255 Max support VLAN ID: 4094 Extended multicast filtering services: No Static entry individual port: Yes VLAN learning: SVL Configurable PVID tagging: Yes Local VLAN capable: No Traffic classes: Enabled Global GVRP status: Disabled GMRP: Disabled Console#
3-16
B
ASIC CONFIGURATION

Setting the Switch’s IP Address

This section describes how to configure an IP interface for management access over the network. The IP address for this switch is unassigned by default. To manually config ure an addr ess, you need to change the switc h’s default settings (IP address 0.0.0.0 and netmask 255.0.0.0) to values that are compatible with your network. You may also need to a establish a default gateway between the switch and management stations that exist on another network segment.
You can manually configure a specific IP address, or direct the device to obtain an address from a BOOTP or DHCP server. Valid IP addresses consist of four decimal numbers, 0 to 255, separated by periods. Anything outside this format will not be accepted by the CLI program.
Command Attributes
•Management VLAN – ID of the configured VLAN (1-4094, no
leading zeroes). By default, all ports on the switch are members of VLAN 1. However, the management station can be attached to a port belonging to any VLAN, as long as that VLAN has been assigned an IP address.
IP Address Mode – Specifies whether IP functionality is enabled via
manual configuration (Static), Dynamic Host Configuration Protocol (DHCP), or Boot Protocol (BOOTP). If DHCP/BOOTP is enabled, IP will not function until a reply has been received from the server. Requests will be broadcast periodically by the switch for an IP address. (DHCP/BOOTP values can include the IP addr ess, subnet mask, and default gateway.)
IP Address – Address of the VLAN interface that is allowed
management access. Valid IP addresses consist of four numbers, 0 to 255, separated by periods. (Default: 0.0.0.0)
Subnet Mask – This mask identifies the host address bits used for
routing to specific subnets. (Default: 255.0.0.0)
3-17
C
ONFIGURING THE SWITCH
Gateway IP Address – IP address of the gatewa y router betwe en this
device and management stations that exist on other network segments. (Default: 0.0.0.0)
MAC Address – The physical layer address for this switch.
Restart DHCP – Requests a new IP address from the DHCP server.
Manual Configuration
Web – Click System, IP Configuration. Select the VLAN through which
the management station is attached, set the IP Address Mode to “Static,” enter the IP address, subnet mask and gateway, then click Apply.
Figure 3-6. Manual IP Configuration
CLI – Specify the management interface, IP address and default gateway.
Console#config Console(config)#interface vlan 1 4-132 Console(config-if)#ip address 10.1.0.254 255.255.255.0 4-231 Console(config-if)#exit Console(config)#ip default-gateway 192.168.1.254 4-233 Console(config)#
3-18
B
ASIC CONFIGURATION
Using DHCP/BOOTP
If your network provides DHCP/BOOTP services, you can configure the switch to be dynamically configured by these services.
Web – Click System, IP Configuration. Specify the VLAN to which the management station is attached, set the IP Address Mode to DHCP or BOOTP. Click Apply to save your changes. Then click Restart DHCP to immediately request a new address. Note that the switch will also broadcast a request for IP configuration settings on each power reset.
Figure 3-7. DHCP IP Configuration
Note: If you lose your management connection, use a console
connection and enter “show ip interface” to determine the new switch address.
3-19
C
ONFIGURING THE SWITCH
CLI – Specify the management interface, and set the IP address mode to DHCP or BOOTP, and then enter the “ip dhcp restart” command.
Console#config Console(config)#interface vlan 1 4-132 Console(config-if)#ip address dhcp 4-231 Console(config-if)#end Console#ip dhcp restart 4-232 Console#show ip interface 4-234 IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1, and address mode: User specified. Console#
Renewing DCHP – DHCP may lease addresses to clients indefinitely or for a specific period of time. If the address expires or the switch is moved to another network segment, you will lose management access to the switch. In this case, you can reboot the switch or submit a client request to restart DHCP service via the CLI.
Web – If the address assigned by DHCP is no longer functioning, you will not be able to renew the IP settings via the web interface. You can only restart DHCP service via the web interface if the current address is still available.
CLI – Enter the following command to restart DHCP service.
Console#ip dhcp restart 4-232 Console#
3-20
B
ASIC CONFIGURATION

Managing Firmware

You can upload/download firmware to or from a TFTP server. By saving runtime code to a file on a TFTP server, that file can later be downloaded to the switch to restore operation. You can also set the switch to use new firmware without overwriting the previous version.
Note: Runtime code can also be upgraded by using Batch Upgrade.
Batch Upgrade can discover switches on local, or other networks. After discovering the switches, Batch Upgrade can then be set to automatically upgrade the runtime code on all discovered switches. Batch Upgrade is provided in the Batch Upgrade folder in the CD provided with this switch. For details see the Batch Upgrade document in this Batch Upgrade folder.
Command Attributes
File Transfer Method – The firmware copy operation includes these
options.
- file to file – Copies a file within the switch directory, assigning it a new name.
- file to tftp – Copies a file from the switch to a TFTP server.
- tftp to file – Copies a file from a TFTP server to the switch.
TFTP Server IP Address – The IP address of a TFTP server.
•File Type – Specify opcode (operational code) to copy firmware.
File Name
leading letter of the file name should not be a period (.), and the maximum length for file names on the TFTP server is 127 characters or 31 characters for files on the switch. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)
The file name should not contain slashes (\ or /),
the
Note: Up to two copies of the system software (i.e., the runtime
firmware) can be stored in the file directory on the switch. The currently designated startup version of this file cannot be deleted.
3-21
C
ONFIGURING THE SWITCH
Downloading System Software from a Server
When downloading runtime code, you can specify the destination file name to replace the current image, or first download the file using a different name from the current runtime code file, and then set the new file as the startup file.
Web – Click System, File, Copy. Select “tftp to file” as the file transfer method, enter the IP address of the TFTP server, set the file type to “opcode,” enter the file name of the softwar e t o download, select a file on the switch to overwr it e or sp ecif y a new file name, then click Apply. If you replaced the current firmware used for startup and want to start using the new operation code, reboot the system via the System/Reset menu.
Figure 3-8. Copy Firmware
If you download to a new destination file, go to the System, File, Set Start-Up menu, mark the operation code file used at startup, and click Apply. To start the new firmware, reboot the system via the System/Reset menu.
Figure 3-9. Setting the Startup Code
3-22
B
ASIC CONFIGURATION
To delete a file select System, File, Delete. Select the file name from the given list by checking the tick box and click Apply. Note that the file currently designated as the startup code cannot be deleted.
Figure 3-10. Deleting Files
CLI – Enter the IP address of the TFTP server, select “config” or
“opcode” file type, then enter the source and destination file names, set the new file to start up the system, and then restart the switch.
.
Console#copy tftp file 4-83 TFTP server ip address: 10.1.0.19 Choose file type:
1. config: 2. opcode: <1-2>: 2 Source file name: v1000-18.bix Destination file name: V1.0 \Write to FLASH Programming.
-Write to FLASH finish. Success. Console#config Console(config)#boot system opcode:V1.0 4-89 Console(config)#exit Console#reload 4-29

Saving or Restoring Configuration Settings

You can upload/download configuration settings to/from a TFTP server. The configuration file can be later downloaded to restore the switch’s settings.
Command Attributes
File Transfer Method – The firmware copy operation includes these
options.
- file to file – Copies a file within the switch directory, assigning it a new name.
3-23
C
ONFIGURING THE SWITCH
- file to running-config – Copies a file in the switch to the running configuration.
- file to startup-config – Copies a file in the switch to the startup configuration.
- file to tftp – Copies a file from the switch to a TFTP server.
- running-config to file – Copies the running configuration to a file.
- running-config to startup-config – Copies the running config to the startup config.
- running-config to tftp – Copies the running configuration to a TFTP server.
- startup-config to file – Copies the startup configuration to a file on the switch.
- startup-config to running-config – Copies the startup config to the running config.
- startup-config to tftp – Copies the startup configuration to a TFTP server.
- tftp to file – Copies a file from a TFTP server to the switch.
- tftp to running-config – Copies a file from a TFTP server to the running config.
- tftp to startup-config – Copies a file from a TFTP server to the startup config.
TFTP Server IP Address – The IP address of a TFTP server.
File Type – Specify config (configuration) to copy firmware.
File Name
(\ or /), and the maximum length for file names on the TFTP server is 127 characters or 31 characters for files on the switch. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)
Note: The maximum number of user-defined configuration files is
limited only by available flash memory space.
— The configuration file name should not contain slashes
the leading letter of the file name should not be a period (.),
3-24
B
ASIC CONFIGURATION
Downloading Configuration Settings from a Server
You can download the configuration file under a new file name and then set it as the startup file, or you can specify the current startup configuration file as the destination file to directly replace it. Note that the file “Factory_Default_Config.cfg” can be copied to the TFTP server, but cannot be used as the destination on the switch.
Web – Click System, File, Copy. Select “tftp to startup-config” or “tftp to file” and enter the IP address of the TFTP server. Specify the name of the file to download and select a file on the switch to overwrite or specify a new file name, then click Apply.
Figure 3-11. Downloading Configuration Settings for Startup
If you download to a new file name using “tftp to startup-config” or “tftp to file,” the file is automatically set as the start-up configuration file. To use the new settings, reboot the system via the System/Reset menu.
Note: You can also select any configuration file as the start-up
configuration by using the System/File/Set Start-Up page.
Figure 3-12. Setting the Startup Configuration Settings
3-25
C
ONFIGURING THE SWITCH
CLI – Enter the IP address of the TFTP server, specify the source file on the server, set the startup file nam e on the switch, and then rest a rt the switch.
Console#copy tftp startup-config 4-83 TFTP server ip address: 192.168.1.19 Source configuration file name: config-1 Startup configuration file name [] : startup \Write to FLASH Programming.
-Write to FLASH finish. Success.
Console#reload
To select another configuration file as the start-up configuration, use the boot system command and then restart the switch.
Console#config Console(config)#boot system config: startup-new 4-89 Console(config)#exit Console#reload 4-29

Console Port Settings

You can access the onboard configuration program by attaching a VT100 compatible device to the switch’s serial console port. Management access through the console port is controlled by various parameters, including a password, timeouts, and basic communication settings. These parameters can be configured via the web or CLI interface.
Command Attributes
•Login Timeout – Sets the interval that the system waits for a u ser to
log into the CLI. If a login attempt is not detected within the timeout interval, the connection is terminated for the session. (Range: 0-300 seconds; Default: 0 seconds)
Exec Timeout – Sets the interval that the system waits until user input
is detected. If user input is not detected within the timeout interval, the current session is terminated. (Range: 0-65535 seconds; Default: 0 seconds)
3-26
B
ASIC CONFIGURATION
Password Threshold – Sets the password intrusion threshold, which
limits the number of failed logon attempts. When the logon attempt threshold is reached, the system interface becomes silent for a specified amount of time (set by the Silent Time parameter) before allowing the next logon attempt. (Range: 0-120; Default: 3 attempts)
•Silent Time Sets the amount of time the management console is
inaccessible after the number of unsuccessful logon attempts has been exceeded. (Range: 0-65535; Default: 0)
Data Bits – Sets the number of data bits per character that are
interpreted and generated by the console port. If parity is being generated, specify 7 data bits per character. If no parity is required, specify 8 data bits per character. (Default: 8 bits)
•Parity – Defines the generation of a parity bit. Communication
protocols provided by some terminals can require a specific parity bit setting. Specify Even, Odd, or None. (Default: None)
Speed – Sets the terminal line’s baud rate for transmit (to terminal) and
receive (from terminal). Set the speed to match the baud rate of the device connected to the serial port. (Range: 9600, 19200, 38400, 57600, or 115200 baud; Default: 9600 bps)
Stop Bits – Sets the number of the stop bits transmitted per byte.
(Range: 1-2; Default: 1 stop bit)
Available in CLI only:
•Password – Specifies a password for the line connection. When a
connection is started on a line with password protection, the system prompts for the password. If you enter the correct password, the system shows a prompt. (Default: No password)
•Login – Enables password checking at login. You can select
authentication by a single global password as configured for the Password parameter, or by passwords set up for specific user-name accounts. (Default: Local)
3-27
C
ONFIGURING THE SWITCH
Web – Click System, Line, Console. Specify the console port connection parameters as required, then click Apply.
Figure 3-13. Console Port Setting
CLI – Enter Line Configuration mode for the console, then specify the
connection parameters as required. To display the current console port settings, use the sho w line command from the Normal Exec level.
Console(config)#line console 4-10 Console(config-line)#login local 4-11 Console(config-line)#password 0 secret 4-12 Console(config-line)#timeout login response 0 4-13 Console(config-line)#exec-timeout 0 4-13 Console(config-line)#password-thresh 3 4-14 Console(config-line)#silent-time 60 4-15 Console(config-line)#databits 8 4-15 Console(config-line)#parity none 4-16 Console(config-line)#speed 115200 4-17 Console(config-line)#stopbits 1 4-17 Console(config-line)#end Console#show line 4-18 Console configuration: Password threshold: 3 times Interactive timeout: Disabled Login timeout: Disabled Silent time: 60 Baudrate: 115200 Databits: 8 Parity: none Stopbits: 1
VTY configuration: Password threshold: 3 times Interactive timeout: 600 sec Login timeout: 300 sec Console#
3-28
B
ASIC CONFIGURATION

Telnet Settings

Y ou can access the onboard configuration program over the network using Teln et (i.e., a virtual terminal). Management access via Telnet can be enabled/disabled and other various parameters set, including the TCP port number, timeouts, and a password. These parameters can be configured via the web or CLI interface.
Command Attributes
Telnet Status – Enables or disables Telnet access to the switch.
(Default: Enabled)
Telnet Port Number – Sets the TCP port number for Telnet on the
switch. (Default: 23)
Login Timeout – Sets the interval that the system waits for a user to
log into the CLI. If a login attempt is not detected within the timeout interval, the connection is terminated for the session. (Range: 0-300 seconds; Default: 300 seconds)
Exec Timeout – Sets the interval that the system waits until user input
is detected. If user input is not detected within the timeout interval, the current session is terminated. (Range: 0-65535 seconds; Default: 600 seconds)
Password Threshold – Sets the password intrusion threshold, which
limits the number of failed logon attempts. When the logon attempt threshold is reached, the system interface becomes silent for a specified amount of time (set by the Silent Time parameter) before allowing the next logon attempt. (Range: 0-120; Default: 3 attempts)
Available in CLI only:
•Password – Specifies a password for the line connection. When a
connection is started on a line with password protection, the system prompts for the password. If you enter the correct password, the system shows a prompt. (Default: No password)
3-29
C
ONFIGURING THE SWITCH
Login – Enables password checking at login. You can select
authentication by a single global password as configured for the Password parameter, or by passwords set up for specific user-name accounts. (Default: Local)
Web – Click System, Line, Telnet. Specify the connection parameters for Telnet access, then click Apply..
Figure 3-14. Enabling Telnet
CLI – Enter Line Configuration mode for a virtual terminal, then specify
the connection parameters as required. To display the current virtual terminal settings, use the show line command from the Normal Exec level.
Console(config)#line vty 4-10 Console(config-line)#login local 4-11 Console(config-line)#password 0 secret 4-12 Console(config-line)#timeout login response 300 4-13 Console(config-line)#exec-timeout 600 4-13 Console(config-line)#password-thresh 3 4-14 Console(config-line)#end Console#show line 4-18 Console configuration: Password threshold: 3 times Interactive timeout: Disabled Login timeout: Disabled Silent time: Disabled Baudrate: 9600 Databits: 8 Parity: none Stopbits: 1
VTY configuration: Password threshold: 3 times Interactive timeout: 600 sec Login timeout: 300 sec Console#
3-30
B
ASIC CONFIGURATION

Configuring Event Logging

The switch allows you to control the logging of error messages, including the type of events that are recorded in switch memory, logging to a remote System Log (syslog) server, and displays a list of recent event messages.
System Log Configuration
The system allows you to enable or disable event logging, and specify which levels are logged to RAM or flash memory.
Severe error messages that are logged to flash memory are permanently stored in the switch to assist in troubleshooting network problems. Up to 4096 log entries can be stored in the flash memory, with the oldest entries being overwritten first when the available log memory (256 kilobytes) has been exceeded.
The System Logs page allows you to configure and limit system messages that are logged to flash or RAM memory. The default is for event levels 0 to 3 to be logged to flash and levels 0 to 6 to be logged to RAM.
Command Attributes
System Log Status – Enables/disables the logging of debug or error
messages to the logging process. (Default: Enabled)
Flash Level – Limits log messages saved to the switch’s permanent
flash memory for all levels up to the specified level. For example, if level 3 is specified, all messages from level 0 to level 3 will be logged to
flash. (Range: 0-7, Default: 3)
3-31
C
ONFIGURING THE SWITCH
Table 3-3. Logging Levels
Level Severity Name Description
7 Debug Debugging messages 6 Informational Informational messages only 5 Notice Normal but significant condition, such as cold
start
4 Warning Warning conditions (e.g., return false,
unexpected return) 3 Error Error conditions (e.g., invalid input, default used) 2 Critical Critical conditions (e.g., memory allocation, or
free memory error - resource exhausted) 1 Alert Immediate action needed 0 Emergency System unusable * There are only Level 2, 5 and 6 error messages for the current firmware release.
RAM Level – Limits log messages saved to the switch’s temporary
RAM memory for all levels up to the specified level. For example, if level 7 is specified, all messages from level 0 to level 7 will be logged to RAM. (Range: 0-7, Default: 6)
Note: The Flash Level must be equal to or less than the RAM Level. Web – Click System, Log, System Logs. Specify System Log Status, set the
level of event messages to be logged to RAM and flash memory, then click Apply.
Figure 3-15. System Logs
3-32
B
ASIC CONFIGURATION
CLI – Enable system logging and then specify the level of messages to be logged to RAM and flash memory. Use the show logging command to display the current settings.
Console(config)#logging on 4-43 Console(config)#logging history ram 0 4-44 Console(config)#end Console#show logging flash 4-47 Syslog logging: Enabled History logging in FLASH: level emergencies Console#
Remote Log Configuration
The Remote Logs page allows you to configure the logging of messages that are sent to syslog servers or other management stations. You can also limit the error messages sent to only those messages below a specified level.
Command Attributes
Remote Log Status – Enables/disables the logging of debug or error
messages to the remote logging process. (Default: Enabled)
Logging Facility – Sets the facility type for remote logging of syslog
messages. There are eight facility types specified by values of 16 to 23. The facility type is used by the syslog server to dispatch log messages to an appropriate service. The attribute specifies the facility type tag sent in syslog messages. (See RFC 3164.) This type has no effect on the kind of messages reported by the switch. However, it may be used by the syslog server to process messages, such as sorting or storing messages in the corresponding database. (Range: 16-23, Default: 23)
Logging Trap – Limits log messages that are sent to the remote syslog
server for all levels up to the specified level. For example, if level 3 is specified, all messages from level 0 to level 3 will be sent to the remote server. (Range: 0-7, Default: 6)
Host IP List – Displays the list of remote server IP addresses that
receive the syslog messages. The maximum number of host IP addresses allowed is five.
3-33
C
ONFIGURING THE SWITCH
Host IP Address – Specifies a new server IP address to add to the
Host IP List.
Web – Click System, Log, Remote Logs. T o add an IP address to the Host IP List, type the new IP address in the Host IP Address box, and then click Add. To delete an IP address, click the entry in the Host IP List, and then click Remove.
Figure 3-16. Remote Logs
CLI – Enter the syslog server host IP address, choose the facility type and
set the logging trap.
Console(config)#logging host 192.168.1.15 4-45 Console(config)#logging facility 23 4-45 Console(config)#logging trap 4 4-46 Console(config)#end Console#show logging trap 4-46 Syslog logging: Enabled REMOTELOG status: Enabled REMOTELOG facility type: local use 7 REMOTELOG level type: Warning conditions REMOTELOG server ip address: 192.168.1.15 REMOTELOG server ip address: 0.0.0.0 REMOTELOG server ip address: 0.0.0.0 REMOTELOG server ip address: 0.0.0.0 REMOTELOG server ip address: 0.0.0.0 Console#
3-34
B
ASIC CONFIGURATION
Displaying Log Messages
The Logs page allows you to scroll through the logged system and event messages. The switch can store up to 2048 log entries in temporary random access memory (RAM; i.e., memory flushed on power reset) and up to 4096 entries in permanent flash memory.
Web – Click System, Log, Logs.
Figure 3-17. Displaying Logs
CLI – This example shows the event message stored in RAM.
Console#show log ram 4-47 [1] 00:01:37 2001-01-01 "DHCP request failed - will retry later." level: 4, module: 9, function: 0, and event no.: 10 [0] 00:00:35 2001-01-01 "System coldStart notification." level: 6, module: 6, function: 1, and event no.: 1 Console#

Resetting the System

Web – Click System, Reset, Reset to reboot the switch. When prompted,
confirm that you want reset the switch.
Figure 3-18. Resetting the System
3-35
C
ONFIGURING THE SWITCH
CLI – Use the reload command to restart the switch. When prompted, confirm that you want to reset the switch.
Console#reload 4-29 System will be restarted, continue <y/n>?
Note: When restarting the system, it will always run the Power-On
Self-Test.

Setting the System Clock

Simple Network Time Protocol (SNTP) allows the switch to set its internal clock based on periodic updates from a time server (SNTP or NTP). Maintaining an accurate time on the switch enables the system log to record meaningful dates and times for event entries. You can also manually set the clock using the CLI. (See “cal endar set” on page 4-73.) If the clock is not set, the switch will only record the time from the factory default set at the last bootup.
When the SNTP client is enabled, the switch periodically sends a request for a time update to a configured time server. You can configure up to three time server IP addresses. The switch will attempt to poll each server in the configured sequence.
Configuring SNTP
You can configure the switch to send time synchronization requests to specific time servers.
Command Attributes
SNTP Client – Configures the switch to operate as an SNTP client.
This requires at least one time server to be specified in the SNTP Server field. (Default: Disabled)
SNTP Poll Interval – Sets the interval between sending requests for
a time update from a time server. (Range: 16-16284 seconds; Default: 16 seconds)
3-36
B
ASIC CONFIGURATION
SNTP Server – Sets the IP address for up to three time servers. The
switch attempts to update the time from the first server, if this fails it attempts an update from the next server in the sequence.
Web – Select SNTP, Configuration. Modify any of the required parameters, and click Apply.
Figure 3-19. SNTP Configuration
CLI – This example configures the switch to operate as an SNTP unicast
client and then displays the current time and settings.
Console(config)#sntp client 4-70 Console(config)#sntp poll 604-71 Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2
4-70
Console(config)#exit Console#show sntp Current time: Jan 6 14:56:05 2004 Poll interval: 60 Current mode: unicast SNTP status : Enabled SNTP server 10.1.0.19 137.82.140.80 128.250.36.2 Current server: 128.250.36.2 Console#
3-37
C
ONFIGURING THE SWITCH
Setting the Time Zone
SNTP uses Coordinated Universal Time (or UTC, formerly Greenwich Mean Time, or GMT) based on the time at the Earth’s prime meridian, zero degrees longitude. To display a time corresponding to your local time, you must indicate the number of hours and minutes your time zone is east (before) or west (after) of UTC.
Command Attributes
Current Time – Displays the current time.
Name – Assigns a name to the time zone. (Range: 1-29 characters)
Hours (0-12) – The number of hours before/after UTC.
Minutes (0-59) – The number of minutes before/after UTC.
Direction – Configures the time zone to be before (east) or after
(west) UTC.
Web Select SNTP, Clock Time Zone. Set the offset for your time zone relative to the UTC, and click Apply.
Figure 3-20. Setting the Time Zone
CLI - This example shows how to set the time zone for the system clock.
Console(config)#clock timezone Dhaka hours 6 minute 0 after-UTC4-72 Console#
3-38
S
IMPLE NETWORK MANAGEMENT PROTOCOL

Simple Network Management Protocol

Simple Network Management Protocol (SNMP) is a communication protocol designed specifically for managing devices on a network. Equipment commonly managed with SNMP includes switches, routers and host computers. SNMP is typically used to configure these devices for proper operation in a network environment, as well as to monitor them to evaluate performance or detect potential problems.
The switch includes an onboard SNMP agent that continuously monitors the status of its hardware, as well as the traffic passing through its ports . A network management station can access this information using software such as SMC EliteView or HP OpenView. Access rights to the onboard agent are controlled by community strings. To com municate with the switch, the management station must first submit a valid community string for authentication. The options for configuring community strings, trap functions, and restricting access to clients with specified IP addresses are described in the following sections.

Setting Community Access Strings

You may configure up to five community strings authorized for management access. All community strings used for IP Trap Managers should be listed in this table. For security reasons, you should consider removing the default strings.
Command Attributes
SNMP Community Capability – Indicates that the switch supports
up to five community strings.
Community String – A community string that acts like a password
and permits access to the SNMP protocol. Default strings: “public” (read-only access), “private” (read/write
access) Range: 1-32 characters, case sensitive
3-39
C
ONFIGURING THE SWITCH
Access Mode
- Read-Only – Specifies read-only access. Authorized management
stations are only able to retrieve MIB objects.
- Read/Write – Specifies read-write access. Authorized management
stations are able to both retrieve and modify MIB objects.
Web – Click SNMP, Configuration. Add new community strings as required, select the access rights from the Access Mode drop-down list, then click Add.
Figure 3-21. Configuring SNMP Community Strings
CLI – The following example adds the string “spiderman” with read/write
access.
Console(config)#snmp-server community spiderman rw 4-125 Console(config)#

Specifying Trap Managers and Trap Types

Traps indicating status changes are issued by the switch to specified trap managers. You must specify trap managers so that k ey events are reported by this switch to your management station (using network management platforms such as SMC EliteView or HP OpenView). You can specify up to five management stations that will receive authentication failure messages and other trap messages from the switch.
3-40
S
IMPLE NETWORK MANAGEMENT PROTOCOL
Command Attributes
Trap Manager Capability – This switch supports up to five trap
managers.
Current – Displays a list of the trap managers currently configured.
Trap Manager IP Address – Internet address of the host (the
targeted recipient).
Trap Manager Community String – Community string sent with the
notification operation. (Range: 1-32 characters, case sensitive)
Trap Version – Specifies whether to send notifications as SNMP v1
or v2c traps. (The default is version 1.)
Enable Authentication Traps – Issues a trap message whenever an
invalid community string is submitted during the SNMP access authentication process. (The default is enabled.)
Enable Link-up and Link-down Traps – Issues link-up or
link-down traps. (The default is enabled.)
Web – Click SNMP, Configuration. Fill in the IP address and community string for each trap manager that will receive trap messages, and then click Add. Select the trap types required using the check boxes for Authentication and Link-up/down traps, and then click Apply.
Figure 3-22. Configuring IP Trap Managers
CLI – This example adds a trap manager and enables both authentication
and link-up, link-down traps.
Console(config)#snmp-server host 192.168.1.19 private version 2c
4-127 Console(config)#snmp-server enable traps 4-129
3-41
C
ONFIGURING THE SWITCH

User Authentication

You can restrict management access to this switch using the following options:
User Accounts – Manually configure access rights on the switch for specified users.
Authentication Settings – Use remote authentication to configure access rights.
HTTPS Settings – Provide a secure web connection.
SSH Settings – Provide a secure shell (for secure Telnet access).
Port Security – Configure secure addresses for individual ports.
802.1x – Use IEEE 802.1x port authentication to control access to specific ports.
IP Filter – Filters management access to the web, SNMP or T e lnet interface.

Configuring User Accounts

The guest only has read access for most configuration parameters. However, the administrator has write access for all parameters governing the onboard agent. You should therefore assign a new administrator password as soon as possible, and store it in a safe place.
The default guest name is “guest” with the password “guest.” The default administrator name is “admin” with the password “admin.”
Command Attributes
Account List – Displays the current list of user accounts and
associated access levels. (Default: admin, and guest)
New Account – Displays configuration settings for a new account.
- User Name – The name of the user.
- (Maximum length: 8 characters; maximum number of users: 16)
- Access Level – Specifies the user level.
- (Options: Normal and Privileged)
3-42
U
SER AUTHENTICATION
- Password – Specifies the user password. (Range: 0-8 characters plain text, case sensitive)
Change Password – Sets a new password for the specified user name.
Add/Remove – Adds or removes an account from the list. Web – Click Security, User Accounts. To configure a new user account,
specify a user name, select the user’s access level, then enter a password and confirm it. Click Add to save the new user account and add it to the Account List. To change the password for a specific user, enter the user name and new password, confirm the password by entering it again, then click Apply.
Figure 3-23. Access Levels
CLI – Assign a user name to access-level 15 (i.e., administrator), then
specify the password.
Console(config)#username bob access-level 15 4-34 Console(config)#username bob password 0 smith Console(config)#
3-43
C
ONFIGURING THE SWITCH

Configuring Local/Remote Logon Authentication

Use the Authentication Settings menu to restrict management access based on specified user names and passwords . Y ou can man ually configure access rights on the switch, or you can use a remote access authentication server based on RADIUS or TACACS+ protocols.
Web Telnet
RADIUS/ TACACS+ server
1. Client attempts management access.
2. Switch contacts authentication server.
3. Authentication server challenges client.
4. Client responds with proper password or key.
5. Authentication server approves access.
6. Switch grants management access.
console
Remote Authentication Dial-in User Service (RADIUS) and Terminal Access Controller Access Control System Plus (TACACS+) are logon authentication protocols that use software running on a central server to control access to RADIUS-aware or TACACS -aware devices on the network. An authentication server contains a database of multiple user name/password pairs with associated privilege levels for each user that requires management access to the switch.
RADIUS uses UDP while TACACS+ uses TCP. UDP only offers best effort delivery, while TCP offers a connection-oriented transport. Also, note that RADIUS encrypts only the password in the access-request packet from the client to the server, while TACACS+ encrypts the entire body of the packet.
3-44
U
SER AUTHENTICATION
Command Usage
By default, management access is always checked against the authentication database stored on the local switch. If a remote authentication server is used, you must specify the authentication sequence and the corresponding parameters for the remote authentication protocol. Local and remote logon authentication control management access via the console port, web browser, or Telnet.
RADIUS and TACACS+ logon authentication assign a specific privilege level for each user name/password pair. The user name, password, and privilege level must be configured on the authentication server.
You can specify up to three authentication methods for any user to indicate the authentication sequence. For example, if you select (1) RADIUS, (2) TACACS and (3) Local, the user name and password on the RADIUS server is verified first. If the RADIUS server is not available, then authentication is attempted using the TACACS+ server, and finally the local user name and password is checked.
Command Attributes
Authentication – Select the authentication, or authentication sequence required:
- Local – User authentication is performed only locally by the
switch.
- Radius – User authentication is performed using a RADIUS server
only.
- TACACS – User authentication is performed using a TACACS+
server only.
- [authentication sequence] – User authentication is performed by up
to three authentication methods in the indicated sequence.
3-45
C
ONFIGURING THE SWITCH
RADIUS Settings
- Global – Provides globally applicable RADIUS settings.
- ServerIndex – Specifies one of five RADIUS servers that may be
configured. The switch attempts authentication using the listed sequence of servers. The process ends when a server either approves or denies access to a user.
- Server Port Number – Network (UDP) port of authentication
server used for authentication messages. (Range: 1-65535; Default: 1812)
- Secret Text String – Encryption key used to authenticate logon
access for client. Do not use blank spaces in the string. (Maximum length: 20 characters)
- Number of Server Transmits – Number of times the swi tch trie s
to authenticate logon access via the authentication server. (Range: 1-30; Default: 2)
- Timeout for a reply – The number of seconds the switch waits for
a reply from the RADIUS server before it resends the request. (Range: 1-65535; Default: 5)
TACACS Settings
- Server IP Address – Address of the TACACS+ server.
(Default: 10.11.12.13)
- Server Port Number – Network (TCP) port of TACACS+ server
used for authentication messages. (Range: 1-65535; Default: 49)
- Secret Text String – Encryption key used to authenticate logon
access for client. Do not use blank spaces in the string. (Maximum length: 20 characters)
Note: The local switch user database has to be set up by manually
entering user names and passwords using the CLI. (See “username” on page 4-34.)
3-46
U
SER AUTHENTICATION
Web – Click Security, Authentication Settings. To configure local or remote authentication preferences, specify the authentication sequence (i.e., one to three methods), fill in the parameters for RADIUS or TACACS+ authentication if selected, and click Apply.
Figure 3-24. Authentication Settings
CLI – Specify all the required parameters to enable logon authentication.
Console(config)#authentication login radius 4-91 Console(config)#radius-server host 192.168.1.25 4-94 Console(config)#radius-server port 181 4-95 Console(config)#radius-server key green 4-95 Console(config)#radius-server retransmit 5 4-96 Console(config)#radius-server timeout 10 4-97 Console#show radius-server 4-97 Server IP address: 192.168.1.25 Communication key with radius server: Server port number: 181 Retransmit times: 5 Request timeout: 10 Console(config)#authentication login tacacs 4-91 Console(config)#tacacs-server host 10.20.30.40 4-98 Console(config)#tacacs-server port 200 4-99 Console(config)#tacacs-server key green 4-99 Console#show tacacs-server 4-100 Server IP address: 10.20.30.40 Communication key with tacacs server: green Server port number: 200 Console(config)#
3-47
C
ONFIGURING THE SWITCH

Configuring HTTPS

You can configure the switch to enable the Secure Hypertext Transfer Protocol (HTTPS) over the Secure Socket Layer (SSL), providing secure access (i.e., an encrypted connection) to the switch’s web interface.
Command Usage
Both the HTTP and HTTPS service can be enabled independently on the switch. However, you cannot configure both services to use the same UDP port.
If you enable HTTPS, you must indicate this in the URL that you specify in your browser: https://device[:port_number]
When you start HTTPS, the connection is established in this way:
- The client authenticates the server using the server’s digital
certificate.
- The client and server negotiate a set of security protocols to use for
the connection.
- The client and server generate session keys for encrypting and
decrypting data.
The client and server establish a secure encrypted connection. A padlock icon should appear in the status bar for Internet Explorer
5.x or above and Netscape Navigator 6.2 or above.
The following web browsers and operating systems currently support HTTPS:
Table 3-4. HTTPS Support
Web Browser Operating System
Internet Explorer 5.0 or later Windows 98,Windows NT (with
service pack 6a), Windows 2000, Windows XP
Netscape Navigator 6.2 or later Windows 98,Windows NT (with
service pack 6a), Windows 2000, Windows XP, Solaris 2.6
To specify a secure-site certificate, see “Replacing the Default Secure-site Certificate” on page 3-49.
3-48
U
SER AUTHENTICATION
Command Attributes
HTTPS Status – Allows you to enable/disable the HTTPS server
feature on the switch.
Change HTTPS Port Number – Specifies the UDP port number used for HTTPS/SSL connection to the switch’s web interface. (Default: Port 443)
Web – Click Security, HTTPS Settings. Enable HTTPS and specify the port number, then click Apply.
CLI – This example enables the HTTP secure server and modifies the port number.
Console(config)#ip http secure-server 4-40 Console(config)#ip http secure-port 441 4-41 Console(config)#
(Default: Enabled)
Figure 3-25. HTTPS Settings
Replacing the Default Secure-site Certificate
When you log onto the web interface using HTTPS (for secure access), a Secure Sockets Layer (SSL) certificate appears for the switch. By default, the certificate that Netscape and Internet Explorer display will be associated with a warning that the site is not recognized as a secure site. This is because the certificate has not been signed by an approved certification authority. If you want this warning to be replaced by a message confirming that the connection to the switch is secure, you must obtain a unique certificate and a private key and password from a recognized certification authority.
3-49
C
ONFIGURING THE SWITCH
Caution: For maximum security, we recom m end you obtain a unique
Secure Sockets Layer certificate at the earliest opportunity. This is because the default certificate for the switc h is not unique to the hardware you have purchased.
When you have obtained these, place them on your TFTP server, and use the following command at the switch's command-line interface to replace the default (unrecognized) certificate with an authorized one:
Console#copy tftp https-certificate 4-83 TFTP server ip address: <server ip-address> Source certificate file name: <certificate file name> Source private file name: <private key file name> Private password: <password for private key>
Note: The switch must be reset for the new certificate to be activated. To
reset the switch, type:
Console#reload

Configuring the Secure Shell

The Berkley-standard includes remote access tools originally designed for Unix systems. Some of these tools have also been implemented for Microsoft Windows and other environments. These tools, including commands such as rlogin (remote login), rsh (remote shell), and rcp (remote copy), are not secure from hostile attacks.
The Secure Shell (SSH) includes server/client applications intended as a secure replacement for the older Berkley remote acc ess tools . SSH can al so provide remote management access to this switch as a secure replacement for Telnet. When the client contacts the switch via the SSH protocol, the switch generates a public-key that the client uses along with a local user name and password for access authentication. SSH also encrypts all data transfers passing between the switch and SSH-enabled management station clients, and ensures that data traveling over the network arrives unaltered.
Notes: 1. You need to install an SSH client on the management station
to access the switch for management via the SSH protocol.
3-50
U
SER AUTHENTICATION
2. The switch supports both SSH Version 1.5 and 2.0.
Command Usage
The SSH server on this switch supports both password and public key authentication. If password authentication is specified by the SSH client, then the password can be authenticated either locally or via a RADIUS or TACACS+ remote authentication server, as specified on the Authentication Settings page (page 3-44). If public key authentication is specified by the client, then you must configure authentication keys on both the client and the switch as described in the following section. Note that regardless of whether you use public key or password authentication, you still have to generate authentication keys on the switc h (SSH Host Key Settings) and enable the SSH server (Authentication Settings).
To use the SSH server, complete these steps:
1. Generate a Host Key Pair – On the SSH Host Key Settings page, create a host public/private key pair.
2. Provide Host Public Key to Clients – Many SSH client prog rams automatically import the host public key during the initial connection setup with the switch . Otherw ise, yo u need to man ually create a kno wn hosts file on the management station and place the host public key in it. An entry for a public key in the known hosts file would appear similar to the following example:
10.1.0.54 1024 35 15684995401 867669259333946775054617325313674890836547254 15020245593199868544358361651999923329781766065830956 10825913212890233 76546801726272571413428762941301196195566782 59566410486957427888146206 51941746772984865468615717739390164779355942303577413098022737087794545240839 71752646358058176716709574804776117
3. Import Client’s Public Key to the Switch – Use the copy tftp public-key command (page 4-83) to copy a file containing the public key for all the SSH client’ s granted management access to the switch. (Note that these clients must be configured locally on the switch via the User Accounts page as described on page 3-42) The clients are subsequently
3-51
C
ONFIGURING THE SWITCH
authenticated using these keys. The current firmware only accepts public key files based on standard UNIX format as shown in the following example:
1024 35 1341081685609893921040944920155425347631641921872958921143173880 05553616163105177594083868631109291232226828519254374603100937187721199696317 81366277414168985132049117204830339254324101637997592371449011938006090253948 40848271781943722884025331159521348610229029789827213532671316294325328189150 45306393916643 steve@192.168.1.19
4. Set the Optional Parameters – On the SSH Settings page, configure the optional parameters, including the authentication timeout, the number of retries, and the server key size.
5. Enable SSH Service – On the SSH Settings page, enable the SSH server on the switch.
6. Challenge-Response Authentication – When an SSH client attempts to contact the switch, the SSH server uses the host key pair to negotiate a session key and encryption method. Only clients that have a private key corresponding to the public keys stored on the switch can access. The following exchanges take place during this process:
a. The client sends its public key to the switch. b. The switch compares the client's public key to those stored in
memory.
c. If a match is found, the switch uses the public key to encrypt a
random sequence of bytes, and sends this string to the client.
d. The client uses its private key to decrypt the bytes, and sends the
decrypted bytes back to the switch.
e. The switch compares the decrypted bytes to the original bytes it
sent. If the two sets match, this means that the client's private key corresponds to an authorized public key, and the client is authenticated.
Notes: 1. To use SSH with only password authentication, the host public
key must still be given to the client, either during initial connection or manually entered into the known host file. However, you do not need to configure the client’s keys.
3-52
Loading...