SMC Networks 6824MPE INT Management Manual

24-port fast ethernet poe switch
Hide thumbs Also See for 6824MPE INT:
Table of Contents

Advertisement

Quick Links

TigerStack III 10/100
24-Port Fast Ethernet PoE Switch

Management Guide

◆ 24 auto-MDI/MDI-X 10BASE-T/100BASE-TX ports
◆ 10BASE-T/100BASE-TX ports support PoE capabilities
◆ 2 Gigabit RJ-45 ports shared with 2 SFP transceiver slots
◆ 8.8 Gbps of aggregate bandwidth
◆ Stacks up to 8 units
◆ Non-blocking switching architecture
◆ Spanning Tree Protocol and Rapid STP
◆ Up to six LACP or static 4-port trunks
◆ RADIUS and TACACS+ authentication
◆ Rate limiting for bandwidth management
◆ CoS support for four-level priority
◆ Full support for VLANs with GVRP
◆ IP Multicasting with IGMP Snooping
◆ Manageable via console, Web, SNMP/RMON
Management Guide
SMC6824MPE

Advertisement

Table of Contents
loading

Summary of Contents for SMC Networks 6824MPE INT

  • Page 1: Management Guide

    TigerStack III 10/100 24-Port Fast Ethernet PoE Switch Management Guide ◆ 24 auto-MDI/MDI-X 10BASE-T/100BASE-TX ports ◆ 10BASE-T/100BASE-TX ports support PoE capabilities ◆ 2 Gigabit RJ-45 ports shared with 2 SFP transceiver slots ◆ 8.8 Gbps of aggregate bandwidth ◆ Stacks up to 8 units ◆...
  • Page 3 TigerStack III 10/100 Management Guide From SMC’s Tiger line of feature-rich workgroup LAN solutions 38 Tesla Irvine, CA 92618 October 2004 Phone: (949) 679-8000 Pub. # 150200037700A...
  • Page 4 38 Tesla Irvine, CA 92618 All rights reserved. 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.
  • Page 5 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.
  • Page 6 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.
  • Page 7: Table Of Contents

    ABLE OF ONTENTS Introduction ....... . . 1-1 Key Features ..........1-1 Description of Software Features .
  • Page 8 ABLE OF ONTENTS Manual Configuration ......3-19 Using DHCP/BOOTP ......3-20 Managing Firmware .
  • Page 9 ABLE OF ONTENTS Configuring 802.1x Global Settings ....3-80 Configuring Port Settings for 802.1x ....3-81 Displaying 802.1x Statistics .
  • Page 10 ABLE OF ONTENTS Changing the Aging Time ......3-145 Spanning Tree Algorithm Configuration ..... . 3-146 Displaying Global Settings .
  • Page 11 ABLE OF ONTENTS Assigning Ports to Multicast Services ....3-205 Configuring Domain Name Service ......3-206 Configuring General DNS Server Parameters .
  • Page 12 ABLE OF ONTENTS disconnect ......... . 4-25 show line .
  • Page 13 ABLE OF ONTENTS ip ssh save host-key ....... 4-55 show ip ssh ........4-56 show ssh .
  • Page 14 ABLE OF ONTENTS whichboot ......... . 4-90 boot system .
  • Page 15 ABLE OF ONTENTS dot1x timeout tx-period ......4-118 show dot1x ........4-119 Access Control List Commands .
  • Page 16 ABLE OF ONTENTS snmp-server enable traps ......4-162 show snmp ........4-163 snmp-server .
  • Page 17 ABLE OF ONTENTS mac-address-table static ......4-206 clear mac-address-table dynamic ..... . . 4-207 show mac-address-table .
  • Page 18 ABLE OF ONTENTS bridge-ext gvrp ........4-239 show bridge-ext .
  • Page 19 ABLE OF ONTENTS Static Multicast Routing Commands ....4-270 ip igmp snooping vlan mrouter ....4-270 show ip igmp snooping mrouter .
  • Page 20 ABLES Table 1-1 Key Features ........1-1 Table 1-2 System Defaults .
  • Page 21 ABLES Table 4-17 Event Logging Commands ......4-58 Table 4-18 Logging Levels ........4-60 Table 4-20 Remote Logging .
  • Page 22 ABLES Table 4-54 VLAN Commands ......4-227 Table 4-55 Editing VLAN Groups ......4-227 Table 4-56 Configuring VLAN Interfaces .
  • Page 23 IGURES Figure 3-1 Homepage ........3-3 Figure 3-2 Ports Panel .
  • Page 24 IGURES Figure 3-37 Displaying 802.1x Statistics ..... . . 3-85 Figure 3-38 IP Filter ........3-87 Figure 3-39 Selecting ACL Type .
  • Page 25 IGURES Figure 3-74 VLAN Static List - Creating VLANs ....3-170 Figure 3-75 VLAN Static Table - Adding Static Members ..3-172 Figure 3-76 VLAN Static Membership by Port .
  • Page 26 IGURES xxii...
  • Page 27: Introduction

    HAPTER NTRODUCTION The SMC6824MPE Power-over-Ethernet 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.
  • Page 28: Description Of Software Features

    NTRODUCTION Table 1-1 Key Features Feature Description Port Configuration Speed, duplex mode and flow control Rate Limiting Input and output rate limiting per port Port Mirroring One or more ports mirrored to single analysis port Port Trunking Supports port trunking using either static or dynamic trunking (LACP) Broadcast Storm Supported...
  • Page 29 ESCRIPTION OF OFTWARE EATURES 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 or Telnet.
  • Page 30 NTRODUCTION 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).
  • Page 31 ESCRIPTION OF OFTWARE EATURES To avoid dropping frames on congested ports, the switch provides 8 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) –...
  • Page 32 NTRODUCTION Members of VLAN groups 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: •...
  • Page 33: System Defaults

    YSTEM EFAULTS 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 (See “Downloading System Software from a Server” on page 3-22.) The following table lists some of the basic system defaults Table 1-2 System Defaults Function...
  • Page 34 NTRODUCTION Table 1-2 System Defaults Function Parameter Default Web Management HTTP Server Enabled HTTP Port Number HTTP Secure Server Enabled HTTP Secure Port Number SNMP SNMP Agent Enabled Community Strings “public” (read only) “private” (read/write) Traps Authentication traps: enabled Link-up-down events: enabled SNMP V3 View: defaultview Group: public (read only)
  • Page 35 YSTEM EFAULTS Table 1-2 System Defaults Function Parameter Default Power over Status Enabled (all ports) Ethernet Rate Limiting Input and output limits Disabled Port Trunking Static Trunks None LACP Disabled Broadcast Storm Status Enabled (all ports) Protection Broadcast Limit Rate 500 packets per second Spanning Tree Status...
  • Page 36 NTRODUCTION Table 1-2 System Defaults Function Parameter Default IP Settings Management VLAN IP Address 0.0.0.0 Subnet Mask 255.0.0.0 Default Gateway 0.0.0.0 DHCP Enabled BOOTP Disabled Multicast Filtering IGMP Snooping Snooping: Enabled Querier: Disabled System Log Status Enabled Messages Logged Levels 0-7 (all) Messages Logged to Flash Levels 0-3 SNTP...
  • Page 37: Initial Configuration

    HAPTER NITIAL ONFIGURATION Connecting to the Switch Configuration Options The SMC6824MPE Power-over-Ethernet 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 SMC6824MPE for configuration and monitoring via a command line interface (CLI).
  • Page 38 NITIAL ONFIGURATION The SMC6824MPE’s CLI configuration program, Web interface, and SNMP agent allow you to perform the following management functions: • Set user names and passwords • Control port access through IEEE 802.1x security or static address filtering • Set an IP interface for a management VLAN •...
  • Page 39: Required Connections

    ONNECTING TO THE WITCH Required Connections The SMC6824MPE provides an RS-232 serial port that enables a connection to a PC or terminal for monitoring and configuring the SMC6824MPE. A null-modem console cable is provided with the switch. Note: When the PoE switches are stacked together, you must connect to the RS-232 port on the Master unit to be able to access the CLI.
  • Page 40: Remote Connections

    NITIAL ONFIGURATION ® ® Notes: 1. When using HyperTerminal with Microsoft Windows 2000, 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.
  • Page 41: Basic Configuration

    ASIC ONFIGURATION 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).
  • Page 42: Setting Passwords

    NITIAL ONFIGURATION 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.
  • Page 43: Manual Configuration

    ASIC ONFIGURATION Dynamic — The switch sends IP configuration requests to BOOTP or DHCP address allocation servers on the network. Note: Only one VLAN interface can be assigned an IP address (the default is VLAN 1). This defines the management VLAN, the only VLAN through which you can gain management access to the switch.
  • Page 44: Dynamic Configuration

    NITIAL ONFIGURATION 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...
  • Page 45: Enabling Snmp Management Access

    ASIC ONFIGURATION 2. At the interface-configuration mode prompt, use one of the following commands: • To obtain IP settings through DHCP, type “ip address dhcp” and press <Enter>. • To obtain IP settings through BOOTP, type “ip address bootp” and press <Enter>. 3.
  • Page 46: Community Strings

    NITIAL ONFIGURATION 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.
  • Page 47: Trap Receivers

    ASIC ONFIGURATION 2. To remove an existing string, simply type “no snmp-server community string,” where “string” is the community access string to remove. Press <Enter>. Console(config)#snmp-server community abc rw Console(config)#snmp-server community private Console(config)# Console(config)#no snmp-server community private Console(config)# Trap Receivers You can also specify SNMP stations that are to receive traps from the switch.
  • Page 48: Saving Configuration Settings

    NITIAL ONFIGURATION 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: 1.
  • Page 49: Configuring Power Over Ethernet

    ONFIGURING OWER OVER THERNET • 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, Web and SNMP management interfaces. See “Managing Firmware” on page 3-21 for more information. •...
  • Page 50 NITIAL ONFIGURATION A maximum PoE power budget for the switch (power available to all switch ports) can be defined so that power can be centrally managed, preventing overload conditions at the power source. If the power demand from devices connected to the switch exceeds the power budget setting, the switch uses port power priority settings to limit the supplied power.
  • Page 51: Configuring The Switch

    HAPTER ONFIGURING THE WITCH Using the Web Interface The SMC6824MPE Power-over-Ethernet 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).
  • Page 52 ONFIGURING THE WITCH 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.
  • Page 53: Navigating The Web Browser Interface

    AVIGATING THE ROWSER NTERFACE 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.”...
  • Page 54: Configuration Options

    ONFIGURING THE WITCH 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.
  • Page 55: Main Menu

    AVIGATING THE ROWSER NTERFACE 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 Switch Main Menu Menu Description...
  • Page 56 ONFIGURING THE WITCH Table 3-2 Switch Main Menu Menu Description Page SNTP 3-42 SNTP Configuration Configures SNTP client settings, including 3-42 broadcast mode or a specified list of servers Clock Time Zone Sets the local time zone for the system clock 3-42 SNMP 3-44...
  • Page 57 AVIGATING THE ROWSER NTERFACE Table 3-2 Switch Main Menu Menu Description Page IP Filter Sets IP addresses of clients allowed 3-86 management access via the Web, SNMP, and Telnet 3-88 Configuration Configures packet filtering based on IP or 3-88 MAC addresses Mask Configuration Controls the order in which ACL rules are 3-96...
  • Page 58 ONFIGURING THE WITCH Table 3-2 Switch Main Menu Menu Description Page Rate Limit 3-127 Input Sets the input rate limit for each port 3-127 Port Configuration Input Sets the input rate limit for each trunk 3-127 Trunk Configuration Output Sets the output rate limit for each port 3-127 Port Configuration Output...
  • Page 59 AVIGATING THE ROWSER NTERFACE Table 3-2 Switch Main Menu Menu Description Page VLAN 3-161 802.1Q VLAN 3-161 GVRP Status Enables GVRP VLAN registration protocol 3-165 Basic Information Displays basic information on the VLAN type 3-166 supported by this switch Current Table Shows the current port members of each 3-167 VLAN and whether or not the port supports...
  • Page 60 ONFIGURING THE WITCH Table 3-2 Switch Main Menu Menu Description Page IP Port Priority Sets TCP/UDP port priority, defining the 3-190 socket number and associated class-of-service value Copy Settings Enables mapping IP Precedence and DSCP 3-192 Priority settings to ports, or trunks. ACL CoS Priority Sets the CoS value and corresponding output 3-194...
  • Page 61: Basic Configuration

    ASIC ONFIGURATION Basic Configuration Displaying System Information You can easily identify the system by providing a descriptive name, location and contact information. Command Attributes • System Name – Name assigned to the switch system. • Object ID – MIB II object ID for switch’s network management subsystem.
  • Page 62: Figure 3-3 System Information

    ONFIGURING THE WITCH Web – Click System, System Information. Specify the system name, location, and contact information for the system administrator, then click Apply. (This page also includes a Telnet button that access the Command Line Interface via Telnet.) Figure 3-3 System Information 3-12...
  • Page 63 ASIC ONFIGURATION CLI – Specify the hostname, location and contact information. Console(config)#hostname TigerStack 10/100 6824MPE 4-35 Console(config)#snmp-server location TPS 1st Floor 4-159 Console(config)#snmp-server contact Geoff 4-159 Console(config)#end Console#show system System description: TigerStack III 10/100 6824MPE; SW version: V2.3.3.5 System OID string: 1.3.6.1.4.1.202.20.41 System information System Up time: 0 days, 0 hours, 44 minutes, and 5.79...
  • Page 64: Displaying Switch Hardware/Software Versions

    ONFIGURING THE WITCH Displaying Switch Hardware/Software Versions Use the Switch Information page to display hardware/firmware version numbers for the main board and management software, as well as the power status of the system. Command Attributes Main Board • Serial Number – The serial number of the switch. •...
  • Page 65: Figure 3-4 General Switch Information

    ASIC ONFIGURATION Web – Click System, Switch Information. Figure 3-4 General Switch Information CLI – Use the following command to display version information. Console#show version 4-82 Unit 1 Serial number: Service tag: Hardware version: Module A type: Combo 1000BaseT SFP Module B type: Combo 1000BaseT SFP Number of ports:...
  • Page 66: Displaying Bridge Extension Capabilities

    ONFIGURING THE WITCH Displaying Bridge Extension Capabilities The Bridge MIB includes extensions for managed devices that support Multicast Filtering, Traffic Classes, and Virtual LANs. You can access these extensions to display default settings for the key variables, or to configure the global setting for GARP VLAN Registration Protocol (GVRP).
  • Page 67: Figure 3-5 Bridge Extension Capabilities

    ASIC ONFIGURATION Web – Click System, Bridge Extension. Figure 3-5 Bridge Extension Capabilities CLI – Enter the following command. Console#show bridge-ext 4-240 Max support VLAN numbers: Max support VLAN ID: 4093 Extended multicast filtering services: No Static entry individual port: VLAN learning: Configurable PVID tagging: Local VLAN capable:...
  • Page 68: Setting The Ip Address

    ONFIGURING THE WITCH Setting the IP Address An IP address may be used for management access to the switch over your network. By default, the switch uses DHCP to assign IP settings to VLAN 1 on the switch. If you wish to manually configure IP settings, you need to change the switch’s user-specified defaults (IP address 0.0.0.0 and netmask 255.0.0.0) to values that are compatible with your network.
  • Page 69: Manual Configuration

    ASIC ONFIGURATION • Subnet Mask – This mask identifies the host address bits used for routing to specific subnets. • Gateway IP Address – IP address of the gateway router between this device and management stations that exist on other network segments. •...
  • Page 70: Using Dhcp/Bootp

    ONFIGURING THE WITCH 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 Management VLAN, set the IP Address Mode to DHCP or BOOTP. Then click Apply to save your changes.
  • Page 71: Managing Firmware

    ASIC ONFIGURATION CLI – Specify the management interface, and set the IP Address Mode to DHCP or BOOTP. Console#config Console(config)#interface vlan 1 4-174 Console(config-if)#ip address dhcp 4-272 Console(config-if)#end Console#ip dhcp restart 4-275 Console#show ip interface 4-275 IP address and netmask: 192.168.1.1 255.255.255.0 on VLAN 1, and address mode: User specified.
  • Page 72: Downloading System Software From A Server

    ONFIGURING THE WITCH 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. - ftp to file - Copies a file from a TFTP server to the switch.
  • Page 73: Figure 3-8 Copy Firmware

    ASIC ONFIGURATION Web – Click System, File, Copy. Select “tftp to file” from the drop-down menu. Select “opcode” as the file type, then enter the IP address of the TFTP server and the source and destination file names. Click Apply. Figure 3-8 Copy Firmware If you download to a new destination file, click System, File, Set Start-Up, select the file to be used at startup, and click Apply.
  • Page 74: Saving Or Restoring Configuration Settings

    ONFIGURING THE WITCH To delete a file, select System, File, Delete. Select the file name from the given list by checking the tick box and then click Apply. Note that the file currently designated as the startup code cannot be deleted. Figure 3-10 Deleting Files CLI –...
  • Page 75 ASIC ONFIGURATION Command Usage • When updating the PoE controller, first copy the PD controller file from a TFTP server to the switch's file system (tftp to file), and then copy this file to the controller (file to file). • When specifying the file type “PD_Controller”...
  • Page 76: Downloading Configuration Settings From A Server

    ONFIGURING THE WITCH - file to unit - Copies a file from this switch to another unit in the stack. - unit to file - Copies a file from another unit in the stack to this switch • TFTP Server IP Address – The IP address of a TFTP server. •...
  • Page 77: Figure 3-12 Setting The Startup Configuration Settings

    ASIC ONFIGURATION 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 that you can also select any configuration file as the start-up configuration by using the System/File/Set Start-Up page.
  • Page 78: Console Port Settings

    ONFIGURING THE WITCH This example shows how to download a PoE controller file from a TFTP server. Console#copy tftp file 4-84 TFTP server IP address: 10.3.4.50 Choose file type: 1. config: 2. opcode 3. PD_Controller: <1-3>: 3 Source file name: 7012_007.s19 Destination file name: PoE-test Write to FLASH Programming.
  • Page 79 ASIC ONFIGURATION • 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) •...
  • Page 80: Figure 3-13 Console Port Settings

    ONFIGURING THE WITCH Web – Click System, Line, Console. Specify the console port connection parameters as required, then click Apply. Figure 3-13 Console Port Settings 3-30...
  • Page 81: Telnet Settings

    ASIC ONFIGURATION CLI – Enter Line Configuration mode for the console, then specify the connection parameters as required. To display the current console port settings, use the show line command from the Normal Exec level. Console(config)#line console 4-15 Console(config-line)#login local 4-16 Console(config-line)#password 0 secret 4-17...
  • Page 82: Figure 3-14 Telnet Settings

    ONFIGURING THE WITCH • 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;...
  • Page 83: Configuring Event Logging

    ASIC ONFIGURATION 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-15 Console(config-line)#login local 4-16 Console(config-line)#password 0 secret 4-17...
  • Page 84: Table 3-3 Log Message Flash Levels

    ONFIGURING THE WITCH 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 7 to be logged to RAM. Note: The level of messages logged to flash must be equal to or less than the level of messages logged to RAM.
  • Page 85: Figure 3-15 System Logs

    ASIC ONFIGURATION Web – Click System, Log, System Logs. Specify the System Log Status, modify the level of messages to be logged to RAM and flash memory, and then click Apply. Figure 3-15 System Logs CLI – Enable system logging and then specify the level of messages to be logged to RAM and flash memory.
  • Page 86: Remote Logs Configuration

    ONFIGURING THE WITCH Remote Logs Configuration The Remote Logs page allows you to configure the logging of messages that are sent to syslog servers. You can also limit the error messages sent to only those messages below a specified level. Command Attributes •...
  • Page 87: Figure 3-16 Remote Logs

    ASIC ONFIGURATION Web – Click System, Log, Remote Logs. To 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.
  • Page 88: Displaying System Logs

    ONFIGURING THE WITCH Displaying System Logs 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.
  • Page 89: Sending Simple Mail Transfer Protocol Alerts

    ASIC ONFIGURATION Sending Simple Mail Transfer Protocol Alerts To alert system administrators of problems, the switch can use SMTP (Simple Mail Transfer Protocol) to send email messages when triggered by logging events of a specified level. The messages are sent to specified SMTP servers on the network and can be retrieved using POP or IMAP clients.
  • Page 90: Figure 3-17 Enabling And Configuring Smtp Alerts

    ONFIGURING THE WITCH Web – Click System, Log, SMTP. Enable SMTP, specify a source email address, and select the minimum severity level. To add an IP address to the SMTP Server List, type the new IP address in the SMTP Server text box and then click Add.
  • Page 91: Resetting The System

    ASIC ONFIGURATION CLI – Enter the IP address of at least one SMTP server, set the syslog severity level to trigger an email message, and specify the switch (source) and up to five recipient (destination) email addresses. Enable SMTP with the logging sendmail command to complete the configuration.
  • Page 92: Setting The System Clock

    ONFIGURING THE WITCH CLI – Use the reload command to reboot the system. Console#reload 4-31 System will be restarted, continue <y/n>? y Console# Note: When restarting the system, it always runs 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).
  • Page 93: Setting The Time Zone

    ASIC ONFIGURATION Web – Select SNTP, Configuration. Modify any of the required parameters and click Apply. Figure 3-19 Configuring SNTP CLI – This example configures the switch to operate as an SNTP unicast client and then displays the current time and settings. Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2 4-72...
  • Page 94: Configuring Snmp

    ONFIGURING THE WITCH • 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 (west) or after (east) UTC. Web – Select SNTP, Clock Time Zone. Set the offset for your time zone relative to the UTC, and click Apply.
  • Page 95 SNMP ONFIGURING Managed devices supporting SNMP contain software, which runs locally on the device and is referred to as an agent. A defined set of variables, known as managed objects, is maintained by the SNMP agent and used to manage the device. These objects are defined in a Management Information Base (MIB) that provides a standard presentation of the information controlled by the agent.
  • Page 96: Table 3-4 Snmpv3 Security Models And Levels

    ONFIGURING THE WITCH Table 3-4 SNMPv3 Security Models and Levels Model Level Group Read View Write Security View noAuthNoPriv public defaultview none Community (read only) string only noAuthNoPriv private defaultview defaultview Community ( read/write) string only noAuthNoPriv user defined user defined user Community defined string only...
  • Page 97: Enabling Snmp

    SNMP ONFIGURING Enabling SNMP Enables SNMPv3 service for all management clients (i.e., versions 1, 2c, 3). Command Attributes SNMP Agent Status – Enables SNMP on the switch. Web – Select SNMP, Agent Status. Figure 3-21 Enabling the SNMP Agent CLI – The following example enables SNMP on the switch. Console(config)#snmp-server 4-164 Console(config)#...
  • Page 98: Figure 3-22 Configuring Snmp Community Strings

    ONFIGURING THE WITCH • 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 • Access Mode – Specifies the access rights for the community string: - Read-Only –...
  • Page 99: Specifying Trap Managers

    SNMP ONFIGURING Specifying Trap Managers Traps indicating status changes are issued by the switch to specified trap managers. You must specify trap managers so that key events are reported by this switch to your management station (using network management platforms such as EliteView). You can specify up to five management stations that will receive authentication failure messages and other trap messages from the switch.
  • Page 100: Configuring Snmpv3 Management Access

    ONFIGURING THE WITCH Web – Click SNMP, Configuration. Enter the IP address and community string for each management station that will receive trap messages, specify the UDP port and SNMP version, and then click Add. Select the trap types required using the check boxes for Authentication and Link-up/down traps, and then click Apply.
  • Page 101: Setting An Engine Id

    SNMP ONFIGURING Setting an Engine ID An SNMPv3 engine is an independent SNMP agent that resides on the switch. This engine protects against message replay, delay, and redirection. The engine ID is also used in combination with user passwords to generate the security keys for authenticating and encrypting SNMPv3 packets.
  • Page 102: Configuring Snmpv3 Users

    ONFIGURING THE WITCH Configuring SNMPv3 Users Each SNMPv3 user is defined by a unique name. Users must be configured with a specific security level and assigned to a group. The SNMPv3 group restricts users to a specific read and a write view. Command Attributes •...
  • Page 103: Figure 3-25 Configuring Snmpv3 Users

    SNMP ONFIGURING Web – Click SNMP, SNMPv3, Users. Click New to configure a user name. In the New User page, define a name and assign it to a group, then click Add to save the configuration and return to the User Name list. To delete a user, check the box next to the user name, then click Delete.
  • Page 104: Configuring Snmpv3 Groups

    ONFIGURING THE WITCH CLI – Use the snmp-server user command to configure a new user name and assign it to a group. Console(config)#snmp-server user chris group r&d v3 auth md5 greenpeace priv des56 einstien 4-171 Console(config)#exit Console#show snmp user 4-172 EngineId: 80000034030001f488f5200000 User Name: chris Authentication Protocol: md5...
  • Page 105: Figure 3-26 Configuring Snmpv3 Groups

    SNMP ONFIGURING Web – Click SNMP, SNMPv3, Groups. Click New to configure a new group. In the New Group page, define a name, assign a security model and level, and then select read and write views. Click Add to save the new group and return to the Groups list.
  • Page 106: Setting Snmpv3 Views

    ONFIGURING THE WITCH CLI – Use the snmp-server group command to configure a new group, specifying the security model and level, and restricting MIB access to defined read and write views. Console(config)#snmp-server group v3secure v3 priv read defaultview write defaultview 4-169 Console(config)#exit Console#show snmp group...
  • Page 107: Figure 3-27 Configuring Snmpv3 Views

    SNMP ONFIGURING Web – Click SNMP, SNMPv3, Views. Click New to configure a new view. In the New View page, define a name and specify OID subtrees in the switch MIB to be included or excluded in the view. Click Back to save the new view and return to the SNMPv3 Views list.
  • Page 108: User Authentication

    ONFIGURING THE WITCH CLI – Use the snmp-server view command to configure a new view. This example view includes the MIB-2 interfaces table, and the wildcard mask selects all index entries. Console(config)#snmp-server view ifEntry.a 1.3.6.1.2.1.2.2.1.1.* included 4-166 Console(config)#exit Console#show snmp view 4-168 View Name: ifEntry.a Subtree OID: 1.3.6.1.2.1.2.2.1.1.*...
  • Page 109: Configuring User Accounts

    UTHENTICATION 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”...
  • Page 110: Figure 3-28 Configuring User Accounts

    ONFIGURING THE WITCH 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.
  • Page 111: Configuring Local/Remote Logon Authentication

    UTHENTICATION Configuring Local/Remote Logon Authentication Use the Authentication Settings menu to restrict management access based on specified user names and passwords. You can manually configure access rights on the switch, or you can use a remote access authentication server based on RADIUS or TACACS+ protocols. Remote Authentication Dial-in User Service (RADIUS) and Terminal...
  • Page 112 ONFIGURING THE WITCH • 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.
  • Page 113 UTHENTICATION - Number of Server Transmits – Number of times the switch tries to authenticate logon access via the authentication server. (Range: 0-2147483647; 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: 0-2147483647;...
  • Page 114: Figure 3-29 Authentication Server Settings

    ONFIGURING THE WITCH 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-29 Authentication Server Settings 3-64...
  • Page 115: Configuring Https

    UTHENTICATION CLI – Specify all the required parameters to enable logon authentication. Console(config)#authentication login radius 4-100 Console(config)#radius-server port 181 4-104 Console(config)#radius-server key green 4-104 Console(config)#radius-server retransmit 5 4-105 Console(config)#radius-server timeout 10 4-105 Console(config)#radius-server 1 host 192.168.1.25 4-103 Console(config)#exit Console#show radius-server 4-106 Remote RADIUS server configuration: Global settings:...
  • Page 116: Table 3-5 Https Support

    ONFIGURING THE WITCH • 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.
  • Page 117: Replacing The Default Secure-Site Certificate

    UTHENTICATION Web – Click Security, HTTPS Settings. Enable HTTPS and specify the port number, then click Apply. Figure 3-30 HTTPS Settings CLI – This example enables the HTTP secure server and modifies the port number. Console(config)#ip http secure-port 1 4-44 Console(config)#ip http secure-server 4-43 Console(config)#...
  • Page 118: Configuring The Secure Shell

    ONFIGURING THE WITCH 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-84 TFTP server ip address: <server ip-address> Source certificate file name: <certificate file name>...
  • Page 119 UTHENTICATION 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-58).
  • Page 120 ONFIGURING THE WITCH 3. Import Client’s Public Key to the Switch – Use the copy tftp public-key command (page 4-84) 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-59.) The clients are subsequently authenticated using these keys.
  • Page 121: Generating The Host Key Pair

    UTHENTICATION 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. 2.
  • Page 122: Figure 3-31 Ssh Host-Key Settings

    ONFIGURING THE WITCH • Generate – This button is used to generate the host key pair. Note that you must first generate the host key pair before you can enable the SSH server on the SSH Server Settings page. Web – Click Security, SSH, Host-Key Settings. Select the host-key type from the drop-down box, select the option to save the host key from memory to flash (if required) prior to generating the key, and then click Generate.
  • Page 123: Configuring The Ssh Server

    UTHENTICATION CLI – This example generates a host-key pair using both the RSA and DSA algorithms, stores the keys to flash memory, and then displays the host’s public keys. Console#ip ssh crypto host-key generate 4-53 Console#ip ssh save host-key 4-55 Console#show public-key host 4-57 Host:...
  • Page 124: Figure 3-32 Ssh Server Settings

    ONFIGURING THE WITCH • SSH Authentication Retries – Specifies the number of authentication attempts that a client is allowed before authentication fails and the client has to restart the authentication process. (Range: 1-5 times; Default: 3) • SSH Server-Key Size – Specifies the SSH server key size. (Range: 512-896 bits) - The server key is a private key that is never shared outside the switch.
  • Page 125: Configuring Port Security

    UTHENTICATION CLI – This example enables SSH, sets the authentication parameters, and displays the current configuration. It shows that the administrator has made a connection via SHH, and then disables this connection. Console(config)#ip ssh server 4-50 Console(config)#ip ssh timeout 100 4-51 Console(config)#ip ssh authentication-retries 5 4-52...
  • Page 126 ONFIGURING THE WITCH To add new VLAN members at a later time, you can manually add secure addresses with the Static Address Table (page 3-142), or turn off port security to reenable the learning function long enough for new VLAN members to be registered.
  • Page 127: Configuring 802.1X Port Authentication

    UTHENTICATION Web – Click Security, Port Security. Set the action to take when an invalid address is detected on a port, mark the checkbox in the Status column to enable security for a port, set the maximum number of MAC addresses allowed on a port, and click Apply.
  • Page 128 ONFIGURING THE WITCH The IEEE 802.1x (dot1x) standard defines a port-based access control procedure that prevents unauthorized access to a network by requiring users to first submit credentials for authentication. Access to all switch ports in a network can be centrally controlled from a server, which means that authorized users can use the same credentials for authentication from any point within the network.
  • Page 129: Displaying 802.1X Global Settings

    UTHENTICATION The operation of 802.1x on the switch requires the following: • The switch must have an IP address assigned. • RADIUS authentication must be enabled on the switch and the IP address of the RADIUS server specified. • Dot1x must be enabled globally for the switch. •...
  • Page 130: Configuring 802.1X Global Settings

    ONFIGURING THE WITCH Configuring 802.1x Global Settings The 802.1x protocol must be enabled globally for the switch system before port settings are active. Web – Click Security, 802.1x, Configuration. Check the Enabled box and click Apply to enable 802.1x globally for the switch. Figure 3-35 802.1x System Authentication Control CLI –...
  • Page 131: Configuring Port Settings For 802.1X

    UTHENTICATION Configuring Port Settings for 802.1x When 802.1x is enabled, you need to configure the parameters for the authentication process that runs between the client and the switch (i.e., authenticator), as well as the client identity lookup process that runs between the switch and authentication server.
  • Page 132: Figure 3-36 802.1X Port Configuration

    ONFIGURING THE WITCH • Re-authentication Period – Sets the time period after which a connected client must be re-authenticated. (Range: 1-65535 seconds; Default: 3600 seconds) • TX Period – Sets the time period during an authentication session that the switch waits before re-transmitting an EAP packet. (Range: 1-65535;...
  • Page 133 UTHENTICATION CLI – This example sets the 802.1x parameters on port 2. For a description of the additional fields displayed in this example, see “show dot1x” on page 4-119 Console(config)#interface ethernet 1/2 4-174 Console(config-if)#dot1x port-control auto 4-114 Console(config-if)#dot1x re-authentication 4-116 Console(config-if)#dot1x max-req 5 4-114 Console(config-if)#dot1x timeout quiet-period 40...
  • Page 134: Displaying 802.1X Statistics

    ONFIGURING THE WITCH Displaying 802.1x Statistics This switch can display statistics for dot1x protocol exchanges for any port. Statistical Values Table 3-6 802.1x Statistics Parameter Description Rx EXPOL Start The number of EAPOL Start frames that have been received by this Authenticator. Rx EAPOL Logoff The number of EAPOL Logoff frames that have been received by this Authenticator.
  • Page 135: Figure 3-37 Displaying 802.1X Statistics

    UTHENTICATION Web – Select Security, 802.1x, Statistics. Select the required port and then click Query. Click Refresh to update the statistics. Figure 3-37 Displaying 802.1x Statistics CLI – This example displays the 802.1x statistics for port 4. Console#show dot1x statistics interface ethernet 1/4 4-119 Eth 1/4 Rx: EXPOL...
  • Page 136: Filtering Ip Addresses For Management Access

    ONFIGURING THE WITCH Filtering IP Addresses for Management Access You can specify the client IP addresses that are allowed management access to the switch through the web interface, SNMP, or Telnet. Command Usage • The management interfaces are open to all IP addresses by default. Once you add an entry to a filter list, access to that interface is restricted to the specified addresses.
  • Page 137: Figure 3-38 Ip Filter

    UTHENTICATION Web – Click Security, IP Filter. Enter the addresses that are allowed management access to an interface, and click Add IP Filtering Entry. Figure 3-38 IP Filter CLI – This example restricts management access for Telnet and SNMP clients. Console(config)#management telnet-client 192.168.1.19 4-39 Console(config)#management telnet-client 192.168.1.25...
  • Page 138: Access Control Lists

    ONFIGURING THE WITCH Access Control Lists Access Control Lists (ACL) provide packet filtering for IP frames (based on address, protocol, Layer 4 protocol port number or TCP control code) or any frames (based on MAC address or Ethernet type). To filter incoming packets, first create an access list, add the required rules, specify a mask to modify the precedence in which the rules are checked, and then bind the list to a specific port.
  • Page 139: Setting The Acl Name And Type

    CCESS ONTROL ISTS The order in which active ACLs are checked is as follows: 1. User-defined rules in the Egress MAC ACL for egress ports. 2. User-defined rules in the Egress IP ACL for egress ports. 3. User-defined rules in the Ingress MAC ACL for ingress ports. 4.
  • Page 140: Configuring A Standard Ip Acl

    ONFIGURING THE WITCH Web – Click Security, ACL, ACL Configuration. Enter an ACL name in the Name field, select the list type (IP Standard, IP Extended, or MAC), and click Add to open the configuration page for the new list. Figure 3-39 Selecting ACL Type CLI –...
  • Page 141: Configuring An Extended Ip Acl

    CCESS ONTROL ISTS Web – Specify the action (i.e., Permit or Deny). Select the address type (Any, Host, or IP). If you select “Host,” enter a specific address. If you select “IP,” enter a subnet address and the mask for an address range. Then click Add.
  • Page 142 ONFIGURING THE WITCH • Source/Destination IP Address – Source or destination IP address. • Source/Destination Subnet Mask – Subnet mask for source or destination address. (See the description for SubMask on page 3-90.) • Service Type – Packet priority settings based on the following criteria: - Precedence –...
  • Page 143: Figure 3-41 Acl Configuration - Extended Ip

    CCESS ONTROL ISTS Web – Specify the action (i.e., Permit or Deny). Specify the source and/or destination addresses. Select the address type (Any, Host, or IP). If you select “Host,” enter a specific address. If you select “IP,” enter a subnet address and the mask for an address range.
  • Page 144: Configuring A Mac Acl

    ONFIGURING THE WITCH 3. Permit all TCP packets from class C addresses 192.168.1.0 with the TCP control code set to “SYN.” Console(config-ext-acl)#permit 10.7.1.1 255.255.255.0 any 4-127 Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any dport 80 Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any tcp control-code 2 2 Console(config-std-acl)# Configuring a MAC ACL Command Attributes...
  • Page 145: Figure 3-42 Acl Configuration - Mac

    CCESS ONTROL ISTS Command Usage • Egress MAC ACLs only work for destination-mac-known packets, not for multicast, broadcast, or destination-mac-unknown packets. Web – Specify the action (i.e., Permit or Deny). Specify the source and/or destination addresses. Select the address type (Any, Host, or MAC). If you select “Host,”...
  • Page 146: Configuring Acl Masks

    ONFIGURING THE WITCH Configuring ACL Masks You can specify optional masks that control the order in which ACL rules are checked. The switch includes two system default masks that pass/filter packets matching the permit/deny rules specified in an ingress ACL. You can also configure up to seven user-defined masks for an ingress or egress ACL.
  • Page 147: Specifying The Mask Type

    CCESS ONTROL ISTS Specifying the Mask Type Use the ACL Mask Configuration page to edit the mask for the Ingress IP ACL, Egress IP ACL, Ingress MAC ACL or Egress MAC ACL. Web – Click Security, ACL, ACL Mask Configuration. Click Edit for one of the basic mask types to open the configuration page.
  • Page 148 ONFIGURING THE WITCH Command Attributes • Source/Destination Address Type – Use “Any” to include all possible addresses, “Host” to indicate a specific MAC address, or “MAC” to specify an address range with the Address and Bitmask fields. (Options: Any, Host, MAC; Default: Any) •...
  • Page 149: Figure 3-44 Acl Mask Configuration - Ip

    CCESS ONTROL ISTS Web – Configure the mask to match the required rules in the IP ingress or egress ACLs. Set the mask to check for any source or destination address, a specific host address, or an address range. Include other criteria to search for in the rules, such as a protocol type or one of the service types.
  • Page 150: Configuring A Mac Acl Mask

    ONFIGURING THE WITCH CLI – This shows that the entries in the mask override the precedence in which the rules are entered into the ACL. In the following example, packets with the source address 10.1.1.1 are dropped because the “deny 10.1.1.1 255.255.255.255”...
  • Page 151: Figure 3-45 Acl Mask Configuration - Mac

    CCESS ONTROL ISTS Web – Configure the mask to match the required rules in the MAC ingress or egress ACLs. Set the mask to check for any source or destination address, a host address, or an address range. Use a bitmask to search for specific VLAN ID(s) or Ethernet type(s).
  • Page 152: Binding A Port To An Access Control List

    ONFIGURING THE WITCH CLI – This example shows how to create an Ingress MAC ACL and bind it to a port. You can then see that the order of the rules have been changed by the mask. Console(config)#access-list mac M4 4-144 Console(config-mac-acl)#permit any any 4-145...
  • Page 153: Figure 3-46 Acl Port Binding

    CCESS ONTROL ISTS • The switch does not support the explicit “deny any any” rule for the egress IP ACL or the egress MAC ACLs. If these rules are included in the ACL, and you attempt to bind the ACL to an interface for egress checking, the bind operation will fail.
  • Page 154: Port Configuration

    ONFIGURING THE WITCH CLI – This example assigns an IP and MAC ingress ACL to port 1, and an IP ingress ACL to port 2. Console(config)#interface ethernet 1/1 4-174 Console(config-if)#ip access-group david in 4-137 Console(config-if)#mac access-group jerry in 4-151 Console(config-if)#exit Console(config)#interface ethernet 1/2 Console(config-if)#ip access-group david in Console(config-if)#...
  • Page 155 ONFIGURATION Web – Click Port, Port Information or Trunk Information. Figure 3-47 Port - Port Information Command Attributes (CLI) Basic information: • Port type – Indicates the port type. (10BASE-T, 100BASE-TX, 1000BASE-T, 1000BASE-SFP) • MAC address – The physical layer address for this port. (To access this item on the web, see “Setting the IP Address”...
  • Page 156 ONFIGURING THE WITCH • Capabilities – Specifies the capabilities to be advertised for a port during auto-negotiation. (To access this item on the web, see “Configuring Interface Connections” on page 3-48.) The following capabilities are supported. - 10half - Supports 10 Mbps half-duplex operation - 10full - Supports 10 Mbps full-duplex operation - 100half - Supports 100 Mbps half-duplex operation - 100full - Supports 100 Mbps full-duplex operation...
  • Page 157: Configuring Interface Connections

    ONFIGURATION CLI – This example shows the connection status for Port 13. Console#show interfaces status ethernet 1/13 4-183 Information of Eth 1/13 Basic information: Port type: 100TX Mac address: 00-30-F1-B0-E7-AD Configuration: Name: Port admin: Speed-duplex: Auto Capabilities: 10half, 10full, 100half, 100full Broadcast storm: Enabled Broadcast storm limit:...
  • Page 158 ONFIGURING THE WITCH • Autonegotiation (Port Capabilities) – Allows auto-negotiation to be enabled/disabled. When auto-negotiation is enabled, you need to specify the capabilities to be advertised. When auto-negotiation is disabled, you can force the settings for speed, mode, and flow control.The following capabilities are supported.
  • Page 159: Creating Trunk Groups

    ONFIGURATION Web – Click Port, Port Configuration or Trunk Configuration. Modify the required interface settings, and click Apply. Figure 3-48 Port - Port Configuration CLI – Select the interface, and then enter the required settings. Console(config)#interface ethernet 1/13 Console(config-if)#description RD SW#13 4-175 Console(config-if)#shutdown 4-180...
  • Page 160 ONFIGURING THE WITCH The switch supports both static trunking and dynamic Link Aggregation Control Protocol (LACP). Static trunks have to be manually configured at both ends of the link, and the switches must comply with the Cisco EtherChannel standard. On the other hand, LACP configured ports can automatically negotiate a trunked link with LACP-configured ports on another device.
  • Page 161: Statically Configuring A Trunk

    ONFIGURATION Statically Configuring a Trunk Command Usage • When configuring static trunks, you statically may not be able to link switches of configured different types, depending on the manufacturer’s implementation. However, note that the static trunks on this switch are Cisco active links EtherChannel compatible.
  • Page 162: Enabling Lacp On Selected Ports

    ONFIGURING THE WITCH CLI – This example creates trunk 2 with ports 1 and 2. Just connect these ports to two static trunk ports on another switch to form a trunk. Console(config)#interface port-channel 1 4-174 Console(config-if)#exit Console(config)#interface ethernet 1/5 4-174 Console(config-if)#channel-group 1 4-194 Console(config-if)#exit...
  • Page 163 ONFIGURATION • If more than four ports attached to the same target switch have LACP enabled, the additional ports will be placed in standby mode, and will only be enabled if one of the active links fails. • All ports on both ends of an LACP trunk must be configured for full duplex, either by forced mode or auto-negotiation.
  • Page 164: Configuring Lacp Parameters

    ONFIGURING THE WITCH CLI – The following example enables LACP for ports 1 to 6. Just connect these ports to LACP-enabled trunk ports on another switch to form a trunk. Console(config)#interface ethernet 1/1 4-174 Console(config-if)#lacp 4-195 Console(config-if)#exit Console(config)#interface ethernet 1/6 Console(config-if)#lacp Console(config-if)#end Console#show interfaces status port-channel 1...
  • Page 165 ONFIGURATION Note: If the port channel admin key (lacp admin key, page 4-199) is not set (through the CLI) when a channel group is formed (i.e., it has a null value of 0), this key is set to the same value as the port admin key used by the interfaces that joined the group (lacp admin key, as described in this section and on page 4-198).
  • Page 166 ONFIGURING THE WITCH Web – Click Port, LACP, Aggregation Port. Set the System Priority, Admin Key, and Port Priority for the Port Actor. You can optionally configure these settings for the Port Partner. (Be aware that these settings only affect the administrative state of the partner, and will not take effect until the next time an aggregate link is formed with this device.) After you have completed setting the port LACP parameters, click Apply.
  • Page 167: P Ort C Onfiguration

    ONFIGURATION CLI – The following example configures LACP parameters for ports 1-6. Ports 1-4 are used as active members of the LAG; ports 5 and 6 are set to backup mode. Console(config)#interface ethernet 1/1 4-174 Console(config-if)#lacp actor system-priority 3 4-197 Console(config-if)#lacp actor admin-key 120 4-197 Console(config-if)#lacp actor port-priority 128...
  • Page 168: Displaying Lacp Port Counters

    ONFIGURING THE WITCH Displaying LACP Port Counters You can display statistics for LACP protocol messages. Counter Information Table 3-7 LACP Port Counters Field Description LACPDUs Sent Number of valid LACPDUs transmitted from this channel group. LACPDUs Received Number of valid LACPDUs received on this channel group.
  • Page 169: Figure 3-53 Lacp - Port Counters Information

    ONFIGURATION Web – Click Port, LACP, Port Counters Information. Select a member port to display the corresponding information. Figure 3-52 LACP - Port Counters Information CLI – The following example displays LACP counters for port channel 1. Console#show 1 lacp counters 4-201 Channel group : 1 ----------------------------------------------------------------...
  • Page 170: Displaying Lacp Settings And Status For The Local Side

    ONFIGURING THE WITCH Displaying LACP Settings and Status for the Local Side You can display configuration settings and the operational state for the local side of an link aggregation. Table 3-8 LACP Internal Configuration Information Field Description Oper Key Current operational value of the key for the aggregation port. Admin Key Current administrative value of the key for the aggregation port.
  • Page 171: Figure 3-54 Lacp - Port Internal Information

    ONFIGURATION Web – Click Port, LACP, Port Internal Information. Select a port channel to display the corresponding information. Figure 3-53 LACP - Port Internal Information CLI – The following example displays the LACP configuration settings and operational state for the local side of port channel 1. Console#show 1 lacp internal 4-201 Channel group : 1...
  • Page 172: Displaying Lacp Settings And Status For The Remote Side

    ONFIGURING THE WITCH Displaying LACP Settings and Status for the Remote Side You can display configuration settings and the operational state for the remote side of an link aggregation. Table 3-9 LACP Neighbor Configuration Information Field Description Partner Admin System LAG partner’s system ID assigned by the user.
  • Page 173 ONFIGURATION Web – Click Port, LACP, Port Neighbors Information. Select a port channel to display the corresponding information. Figure 3-54 LACP - Port Neighbors Information 3-123...
  • Page 174: Setting Broadcast Storm Thresholds

    ONFIGURING THE WITCH CLI – The following example displays the LACP configuration settings and operational state for the remote side of port channel 1. Console#show 1 lacp neighbors 4-201 Channel group 1 neighbors ------------------------------------------------------------------- ------ Eth 1/1 ------------------------------------------------------------------- ------ Partner Admin System ID : 32768, 00-00-00-00-00-00 Partner Oper System ID : 32768, 00-00-00-00-00-01 Partner Admin Port Number : 1 Partner Oper Port Number : 1...
  • Page 175 ONFIGURATION • The specified threshold applies to all ports on the switch. Command Attributes • Threshold – Threshold as percentage of port bandwidth. (Options: 500-262143 packets per second; Default: 500 packets per second) • Broadcast Control Status – Shows whether or not broadcast storm control has been enabled.
  • Page 176: Configuring Port Mirroring

    ONFIGURING THE WITCH CLI – Specify any interface, and then enter the threshold. The following disables broadcast storm control for port 1, and then sets broadcast suppression at 600 packets per second for port 2. Console(config)#interface ethernet 1/1 4-174 Console(config-if)#no switchport broadcast 4-181 Console(config-if)#exit 4-32...
  • Page 177: Configuring Rate Limits

    ONFIGURATION Command Attributes • Mirror Sessions – Displays a list of current mirror sessions. • Source Port – The port whose traffic will be monitored. • Type – Allows you to select which traffic to mirror to the target port, Rx (receive), Tx (transmit), or Both.
  • Page 178 ONFIGURING THE WITCH Rate limiting can be applied to individual ports or trunks. When an interface is configured with this feature, the traffic rate will be monitored by the hardware to verify conformity. Non-conforming traffic is dropped, conforming traffic is forwarded without any changes. Command Attribute Rate Limit –...
  • Page 179: Showing Port Statistics

    ONFIGURATION Showing Port Statistics You can display standard statistics on network traffic from the Interfaces Group and Ethernet-like MIBs, as well as a detailed breakdown of traffic based on the RMON MIB. Interfaces and Ethernet-like statistics display errors on the traffic passing through each port. This information can be used to identify potential problems with the switch (such as a faulty port or unusually heavy loading).
  • Page 180 ONFIGURING THE WITCH Table 3-10 Port Statistics Parameter Description Received Unknown The number of packets received via the interface Packets which were discarded because of an unknown or unsupported protocol. Received Errors The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
  • Page 181 ONFIGURATION Table 3-10 Port Statistics Parameter Description FCS Errors A count of frames received on a particular interface that are an integral number of octets in length but do not pass the FCS check. This count does not include frames received with frame-too-long or frame-too-short error.
  • Page 182 ONFIGURING THE WITCH Table 3-10 Port Statistics Parameter Description Jabbers The total number of frames received that were longer than 1518 octets (excluding framing bits, but including FCS octets), and had either an FCS or alignment error. Received Bytes Total number of bytes of data received on the network.
  • Page 183 ONFIGURATION Table 3-10 Port Statistics Parameter Description 64 Bytes Frames The total number of frames (including bad packets) received and transmitted that were 64 octets in length (excluding framing bits but including FCS octets). 65-127 Byte Frames The total number of frames (including bad packets) received and transmitted where the number of octets 128-255 Byte Frames fall within the specified range (excluding framing bits...
  • Page 184 ONFIGURING THE WITCH Web – Click Port, Port Statistics. Select the required interface, and click Query. You can also use the Refresh button at the bottom of the page to update the screen. Figure 3-58 Port Statistics 3-134...
  • Page 185 ONFIGURATION CLI – This example shows statistics for port 13. Console#show interfaces counters ethernet 1/13 4-184 Ethernet 1/13 Iftable stats: Octets input: 868453, Octets output: 3492122 Unicast input: 7315, Unitcast output: 6658 Discard input: 0, Discard output: 0 Error input: 0, Error output: 0 Unknown protos input: 0, QLen output: 0 Extended iftable stats: Multi-cast input: 0, Multi-cast output: 17027...
  • Page 186: Power Over Ethernet Configuration

    ONFIGURING THE WITCH Power Over Ethernet Configuration This switch can provide DC power to a wide range of connected devices, eliminating the need for an additional power source and cutting down on the amount of cables attached to each device. Once configured to supply power, an automatic detection process is initialized by the switch that is authenticated by a PoE signature from the connected device.
  • Page 187: Switch Power Status

    OWER THERNET ONFIGURATION Switch Power Status Displays the current status of power parameters for the switch. Command Attributes • Maximum Available Power – The current configured power budget for the switch. (Default 375 watts) • System Operation Status – The current operating PoE power status for the switch.
  • Page 188: Setting A Switch Power Budget

    ONFIGURING THE WITCH Setting a Switch Power Budget A maximum PoE power budget for the switch (power available to all switch ports) can be defined so that power can be centrally managed, preventing overload conditions at the power source. If the power demand from devices connected to the switch exceeds the power budget setting, the switch uses port power priority settings to limit the supplied power.
  • Page 189: Displaying Port Power Status

    OWER THERNET ONFIGURATION Displaying Port Power status Use the Power Port Status page to display the current PoE power status for all ports. Command Attributes • Port – The port number. • Admin Status – The administrative status of PoE power on the port. (Default: Enabled) •...
  • Page 190: Configuring Port Poe Power

    ONFIGURING THE WITCH CLI – This example displays the PoE status and the priority of port 1. Console#show power inline status 4-96 Interface Admin Oper Power(mWatt) Power(used) Priority ---------- ------- ---- ------------ ------------ -------- 1/ 1 enable 15400 1/ 2 enable 15400 1/ 3...
  • Page 191 OWER THERNET ONFIGURATION Command Attributes • Port – The port number on the switch. • Admin Status – Enables PoE power on the port. Power is automatically supplied when a device is detected on the port, providing that the power demanded does not exceed the switch or port power budget.
  • Page 192: Address Table Settings

    ONFIGURING THE WITCH Address Table Settings Switches store the addresses for all known devices. This information is used to route traffic directly between the inbound and outbound ports. All the addresses learned by monitoring traffic are stored in the dynamic address table.
  • Page 193: Displaying The Address Table

    DDRESS ABLE ETTINGS Web – Click Address Table, Static Addresses. Specify the interface, the MAC address and VLAN, then click Add Static Address. Figure 3-63 Static Addresses CLI – This example adds an address to the static address table, but sets it to be deleted when the switch is reset.
  • Page 194 ONFIGURING THE WITCH Command Attributes • Interface – Indicates a port or trunk. • MAC Address – Physical address associated with this interface. • VLAN – ID of configured VLAN (1-4094). • Address Table Sort Key – You can sort the information displayed based on interface (port or trunk) or MAC address.
  • Page 195: Changing The Aging Time

    DDRESS ABLE ETTINGS CLI – This example also displays the address table entries for port 11. Console#show mac-address-table ethernet 1/11 4-208 Interface Mac Address Vlan Type --------- ----------------- ---- ----------------- Eth 1/11 00-10-b5-62-03-74 1 Learned Console# Changing the Aging Time You can change the aging time for entries in the dynamic address table.
  • Page 196: Spanning Tree Algorithm Configuration

    ONFIGURING THE WITCH Spanning Tree Algorithm Configuration The Spanning Tree Algorithm (STA) can be used to detect and disable network loops, and to provide backup links between switches, bridges or routers. This allows the switch to interact with other bridging devices (that is, an STA-compliant switch, bridge or router) in your network to ensure that only one route exists between any two stations on the network, and provide backup links which automatically take over when a primary link...
  • Page 197: Displaying Global Settings

    PANNING LGORITHM ONFIGURATION RSTP is designed as a general replacement for the slower, legacy STP. RSTP achieves must faster reconfiguration (i.e., around one tenth of the time required by STP) by reducing the number of state changes before active ports start learning, predefining an alternate route that can be used when a node or port fails, and retaining the forwarding database for ports insensitive to changes in the tree structure when reconfiguration occurs.
  • Page 198 ONFIGURING THE WITCH • Designated Root – The priority and MAC address of the device in the Spanning Tree that this switch has accepted as the root device. - Root Port – The number of the port on this switch that is closest to the root.
  • Page 199 PANNING LGORITHM ONFIGURATION • Root Forward Delay – The maximum time (in seconds) this device will wait before changing states (i.e., discarding to learning to forwarding). This delay is required because every device must receive information about topology changes before it starts to forward frames. In addition, each port needs time to listen for conflicting information that would make it return to a discarding state;...
  • Page 200: Each Port

    ONFIGURING THE WITCH CLI – This command displays global STA settings, followed by settings for each port. Console#show spanning-tree 4-225 Spanning-tree information --------------------------------------------------------------- Spanning tree mode: RSTP Spanning tree enabled/disabled: enabled Priority: 32768 Bridge Hello Time (sec.): Bridge Max Age (sec.): Bridge Forward Delay (sec.): Root Hello Time (sec.): Root Max Age (sec.):...
  • Page 201: Configuring Global Settings

    PANNING LGORITHM ONFIGURATION Configuring Global Settings Global settings apply to the entire switch. Command Usage • Spanning Tree Protocol Uses RSTP for the internal state machine, but sends only 802.1D BPDUs. • Rapid Spanning Tree Protocol RSTP supports connections to either STP or RSTP nodes by monitoring the incoming protocol messages and dynamically adjusting the type of protocol messages the RSTP node transmits, as described below:...
  • Page 202 ONFIGURING THE WITCH • Priority – Bridge priority is used in selecting the root device, root port, and designated port. The device with the highest priority becomes the STA root device. However, if all devices have the same priority, the device with the lowest MAC address will then become the root device.
  • Page 203 PANNING LGORITHM ONFIGURATION Configuration Settings for RSTP The following attributes apply to both STP and RSTP • Path Cost Method – The path cost is used to determine the best path between devices. The path cost method is used to determine the range of values that can be assigned to each interface.
  • Page 204: Displaying Interface Settings

    ONFIGURING THE WITCH CLI – This example enables Spanning Tree Protocol, and then sets the indicated attributes. Console(config)#spanning-tree 4-211 Console(config)#spanning-tree mode 4-212 Console(config)#spanning-tree priority 40000 4-215 Console(config)#spanning-tree hello-time 5 4-214 Console(config)#spanning-tree max-age 38 4-215 Console(config)#spanning-tree forward-time 20 4-213 Console(config)#spanning-tree pathcost method long 4-216 Console(config)#spanning-tree transmission-limit 5 4-217...
  • Page 205 PANNING LGORITHM ONFIGURATION • Forward Transitions – The number of times this port has changed from the Learning state to the Forwarding state. • Designated Cost – The cost for a packet to travel from this port to the root in the current Spanning Tree configuration. The slower the media, the higher the cost.
  • Page 206 ONFIGURING THE WITCH • Priority – Defines the priority used for this port in the Spanning Tree Algorithm. If the path cost for all ports on a switch is the same, the port with the highest priority (i.e., lowest value) will be configured as an active link in the Spanning Tree.
  • Page 207 PANNING LGORITHM ONFIGURATION Web – Click Spanning Tree, STA Port Information or STA Trunk Information. Figure 3-68 STA Port Information CLI – This example shows general STA configuration and attributes for port 5. Console#show spanning-tree ethernet 1/5 4-225 1/ 5 information -------------------------------------------------------------- Admin status: enabled...
  • Page 208: Configuring Interface Settings

    ONFIGURING THE WITCH Configuring Interface Settings You can configure RSTP attributes for specific interfaces, including port priority, path cost, link type, and edge port. You may use a different priority or path cost for ports of the same media type to indicate the preferred path, link type to indicate a point-to-point connection or shared-media connection, and edge port to indicate if the attached device can support fast forwarding.
  • Page 209 PANNING LGORITHM ONFIGURATION • Path Cost – This parameter is used by the STP to determine the best path between devices. Therefore, lower values should be assigned to ports attached to faster media, and higher values assigned to ports with slower media.
  • Page 210 ONFIGURING THE WITCH • Migration – If at any time the switch detects STP BPDUs, including Configuration or Topology Change Notification BPDUs, it will automatically set the selected interface to forced STP-compatible mode. However, you can also use the Protocol Migration button to manually re-check the appropriate BPDU format (RSTP or STP-compatible) to send on the selected interfaces.
  • Page 211: Vlan Configuration

    VLAN C ONFIGURATION VLAN Configuration IEEE 802.1Q VLANs In large networks, routers are used to isolate broadcast traffic for each subnet into separate domains. This switch provides a similar service at Layer 2 by using VLANs to organize any group of network nodes into separate broadcast domains.
  • Page 212: Assigning Ports To Vlans

    ONFIGURING THE WITCH Assigning Ports to VLANs Before enabling VLANs for the switch, you must first assign each port to the VLAN group(s) in which it will participate. By default all ports are assigned to VLAN 1 as untagged ports. Add a port as a tagged port if you want it to carry traffic for one or more VLANs, and any intermediate network devices or the host at the other end of the connection supports VLANs.
  • Page 213 VLAN C ONFIGURATION Port Overlapping – Port overlapping can be used to allow access to commonly shared network resources among different VLAN groups, such as file servers or printers. Note that if you implement VLANs which do not overlap, but still need to communicate, you can connect them by enabled routing on this switch.
  • Page 214 ONFIGURING THE WITCH To implement GVRP in a network, first add the host devices to the required VLANs (using the operating system or other application software), so that these VLANs can be propagated onto the network. For both the edge switches attached directly to these hosts, and core switches in the network, enable GVRP on the links between these devices.
  • Page 215: Enabling Or Disabling Gvrp (Global Setting)

    VLAN C ONFIGURATION Ports can be assigned to multiple tagged or untagged VLANs. Each port on the switch is therefore capable of passing tagged or untagged frames. When forwarding a frame from this switch along a path that contains any VLAN-aware devices, the switch should include VLAN tags.
  • Page 216: Displaying Basic Vlan Information

    ONFIGURING THE WITCH CLI – This example enables GVRP for the switch. Console(config)#bridge-ext gvrp 4-239 Console(config)# Displaying Basic VLAN Information The VLAN Basic Information page displays basic information on the VLAN type supported by the switch. Comand Attributes • VLAN Version Number* – The VLAN version used by this switch as specified in the IEEE 802.1Q standard.
  • Page 217: Displaying Current Vlans

    VLAN C ONFIGURATION CLI – Enter the following command. Console#sh bridge-ext 4-240 Max support VLAN numbers: Max support VLAN ID: 4093 Extended multicast filtering services: No Static entry individual port: VLAN learning: Configurable PVID tagging: Local VLAN capable: Traffic classes: Enabled Global GVRP status: Enabled...
  • Page 218 ONFIGURING THE WITCH Web – Click VLAN, 802.1Q VLAN, Current Table. Select any ID from the scroll-down list. Figure 3-72 VLAN Current Table Command Attributes (CLI) • VLAN – ID of configured VLAN (1-4094, no leading zeroes). • Type – Shows how this VLAN was added to the switch. - Dynamic: Automatically learned via GVRP.
  • Page 219: Creating Vlans

    VLAN C ONFIGURATION Creating VLANs Use the VLAN Static List to create or remove VLAN groups. To propagate information about VLAN groups used on this switch to external network devices, you must specify a VLAN ID for each of these groups.
  • Page 220: Adding Static Members To Vlans (Vlan Index)

    ONFIGURING THE WITCH Web – Click VLAN, 802.1Q VLAN, Static List. To create a new VLAN, enter the VLAN ID and VLAN name, mark the Enable checkbox to activate the VLAN, and then click Add. Figure 3-73 VLAN Static List - Creating VLANs CLI –...
  • Page 221 VLAN C ONFIGURATION Notes: 1. You can also use the VLAN Static Membership by Port page to configure VLAN groups based on the port index (page 3-173). However, note that this configuration page can only add ports to a VLAN as tagged members. 2.
  • Page 222 ONFIGURING THE WITCH Web – Click VLAN, 802.1Q VLAN, Static Table. Select a VLAN ID from the scroll-down list. Modify the VLAN name and status if required. Select the membership type by marking the appropriate radio button in the list of ports or trunks.
  • Page 223: Adding Static Members To Vlans (Port Index)

    VLAN C ONFIGURATION Adding Static Members to VLANs (Port Index) Use the VLAN Static Membership by Port menu to assign VLAN groups to the selected interface as a tagged member. Command Attributes • Interface – Port or trunk identifier. • Member –...
  • Page 224: Configuring Vlan Behavior For Interfaces

    ONFIGURING THE WITCH Configuring VLAN Behavior for Interfaces You can configure VLAN behavior for specific interfaces, including the default VLAN identifier (PVID), accepted frame types, ingress filtering, GVRP status, and GARP timers. Command Usage • GVRP – GARP VLAN Registration Protocol defines a way for switches to exchange VLAN information in order to automatically register VLAN members on interfaces across the network.
  • Page 225 VLAN C ONFIGURATION • Ingress Filtering – If ingress filtering is enabled, incoming frames for VLANs which do not include this ingress port in their member set will be discarded at the ingress port. (Default: Disabled) - Ingress filtering only affects tagged frames. - If ingress filtering is disabled and a port receives frames tagged for VLANs for which it is not a member, these frames will be flooded to all other ports (except for those VLANs explicitly forbidden on...
  • Page 226 ONFIGURING THE WITCH • Mode – Indicates VLAN membership mode for an interface. (Default: 1Q Trunk) - 1Q Trunk – Specifies a port as an end-point for a VLAN trunk. A trunk is a direct link between two switches, so the port transmits tagged frames that identify the source VLAN.
  • Page 227: Class Of Service Configuration

    LASS OF ERVICE ONFIGURATION CLI – This example sets port 1 to accept only tagged frames, assigns PVID 3 as the native VLAN ID, enables GVRP, sets the GARP timers, and then sets the switchport mode to hybrid. Console(config)#interface ethernet 1/1 Console(config-if)#switchport acceptable-frame-types tagged 4-232 Console(config-if)#switchport ingress-filtering...
  • Page 228 ONFIGURING THE WITCH Command Usage • This switch provides four priority queues for each port. It uses Weighted Round Robin to prevent head-of-queue blockage. • The default priority applies for an untagged frame received on a port set to accept all frame types (i.e, receives both untagged and tagged frames).
  • Page 229: Mapping Cos Values To Egress Queues

    LASS OF ERVICE ONFIGURATION CLI – This example assigns a default priority of 5 to port 3. Console(config)#interface ethernet 1/3 Console(config-if)#switchport priority default 5 4-246 Console(config-if)#end Console#sh interfaces switchport ethernet 1/5 4-186 Information of Eth 1/5 Broadcast threshold: Enabled, 500 packets/second LACP status: Disabled Ingress rate limit:...
  • Page 230: Table 3-12 Cos Priority Levels

    ONFIGURING THE WITCH Table 3-12 CoS Priority Levels Priority Level Traffic Type Background (Spare) 0 (default) Best Effort Excellent Effort Controlled Load Video, less than 100 milliseconds latency and jitter Voice, less than 10 milliseconds latency and jitter Network Control Command Attributes •...
  • Page 231 LASS OF ERVICE ONFIGURATION Web – Click Priority, Traffic Classes. Mark an interface and click Select to display the current mapping of CoS values to output queues. Assign priorities to the traffic classes (i.e., output queues) for the selected interface, then click Apply. Figure 3-78 Traffic Classes CLI –...
  • Page 232: Traffic Classes Status

    ONFIGURING THE WITCH Traffic Classes Status This switch provides mapping of user priorities to multiple traffic classes. Note: Due to a hardware limitation this feature is not currently implemented. Command Attributes Enabled - Enables or disables the feature. Web – Click Priority, Traffic Classes Status. Check the box to enable the feature.
  • Page 233: Setting The Service Weight For Traffic Classes

    LASS OF ERVICE ONFIGURATION • Strict - Services the egress queues in sequential order, transmitting all traffic in the higher priority queues before servicing lower priority queues. Web – Click Priority, Queue Mode. Select Strict or WRR, then click Apply. Figure 3-80 Queue Mode CLI –...
  • Page 234 ONFIGURING THE WITCH Web – Click Priority, Queue Scheduling. Select a traffic class (i.e., output queue), enter a weight, then click Apply. Figure 3-81 Queue Scheduling CLI – The following example shows how to assign WRR weights of 1, 4, 16 and 64 to the CoS priority queues 0, 1, 2 and 3.
  • Page 235: Layer 3/4 Priority Settings

    LASS OF ERVICE ONFIGURATION Layer 3/4 Priority Settings Mapping Layer 3/4 Priorities to CoS Values This switch supports several common methods of prioritizing layer 3/4 traffic to meet application requirements. Traffic priorities can be specified in the IP header of a frame, using the priority bits in the Type of Service (ToS) octet or the number of the TCP/UDP port.
  • Page 236: Mapping Ip Precedence

    ONFIGURING THE WITCH Web – Click Priority, IP Precedence/DSCP Priority Status. Select Disabled, IP Precedence or IP DSCP from the scroll-down menu. Figure 3-82 IP Precedence/DSCP Priority Status CLI – The following example enables IP Precedence service on the switch. Console(config)#map ip precedence 4-253 Console(config)#...
  • Page 237 LASS OF ERVICE ONFIGURATION Command Attributes • IP Precedence Priority Table – Shows the IP Precedence to CoS map. • Class of Service Value – Maps a CoS value to the selected IP Precedence value. Note that “0” represents low priority and “7” represent high priority.
  • Page 238: Mapping Dscp Priority

    ONFIGURING THE WITCH CLI – The following example globally enables IP Precedence service on the switch, maps IP Precedence value 1 to CoS value 0 on port 5, and then displays all the IP Precedence settings. Console(config)#map ip precedence 4-253 Console(config)#interface ethernet 1/5 Console(config-if)#map ip precedence 1 cos 0 4-254...
  • Page 239: Table 3-14 Mapping Dscp Priority

    LASS OF ERVICE ONFIGURATION Table 3-14 Mapping DSCP Priority IP DSCP Value CoS Value 10, 12, 14, 16 18, 20, 22, 24 26, 28, 30, 32, 34, 36 38, 40, 42 46, 56 Command Attributes • DSCP Priority Table – Shows the DSCP Priority to CoS map. •...
  • Page 240: Mapping Ip Port Priority

    ONFIGURING THE WITCH CLI – The following example globally enables DSCP Priority service on the switch, maps DSCP value 1 to CoS value 0 on port 5, and then displays all the DSCP Priority settings. Console(config)#map ip dscp 4-255 Console(config)#interface ethernet 1/5 Console(config-if)#map ip dscp 1 cos 0 4-256 Console(config-if)#end...
  • Page 241 LASS OF ERVICE ONFIGURATION • Class of Service Value – Sets a CoS value for a new IP port. Note that “0” represents low priority and “7” represent high priority. Web – Click Priority, IP Port Status. Set IP Port Priority Status to Enabled. Figure 3-85 IP Port Priority Status Web –...
  • Page 242: Copy Settings

    ONFIGURING THE WITCH CLI – The following example globally enables IP Port Priority service on the switch, maps HTTP traffic on port 5 to CoS value 0, and then displays all the IP Port Priority settings for that port. Console(config)#map ip port 4-252 Console(config)#interface ethernet 1/5 Console(config-if)#map ip port 80 cos 0...
  • Page 243 LASS OF ERVICE ONFIGURATION Web – Click Priority, Copy Settings. Select the source priority settings to be copied, enter the source port or trunk number and choose the destination interface/s to copy to, then select Copy Settings. Figure 3-87 Mapping Priority Settings to Ports/Trunks CLI –...
  • Page 244: Mapping Cos Values To Acls

    ONFIGURING THE WITCH Mapping CoS Values to ACLs Use the ACL CoS Mapping page to set the output queue for packets matching an ACL rule as shown in the following table. Note that the specified CoS value is only used to map the matching packet to an output queue;...
  • Page 245: Changing Priorities Based On Acl Rules

    LASS OF ERVICE ONFIGURATION Web – Click Priority, ACL CoS Priority. Select a port, select an ACL rule, specify a CoS priority, then click Add. Figure 3-88 ACL CoS Priority CLI – This example assigns a CoS value of zero to packets matching rules within the specified ACL on port 1.
  • Page 246 ONFIGURING THE WITCH Command Usage • You must configure an ACL mask before you can change priorities based on a rule. • Traffic priorities may be included in the IEEE 802.1p priority tag. This tag is also incorporated as part of the overall IEEE 802.1Q VLAN tag. The 802.1p priority may be set for either Layer 2 or IP frames.
  • Page 247 LASS OF ERVICE ONFIGURATION Web – Click Priority, ACL Marker. Select a port and an ACL rule. To specify a ToS priority, mark the Precedence/DSCP check box, select Precedence or DSCP from the scroll-down box, and enter a priority. To specify an 802.1p priority, mark the 802.1p Priority check box, and enter a priority.
  • Page 248: Multicast Filtering

    ONFIGURING THE WITCH Multicast Filtering Multicasting is used to support real-time Unicast Flow applications such as video conferencing or streaming audio. A multicast server does not have to establish a separate connection with each client. It merely broadcasts its service to the network, and any hosts that want to receive the multicast register with their local Multicast...
  • Page 249: Layer 2 Igmp (Snooping And Query)

    ULTICAST ILTERING Layer 2 IGMP (Snooping and Query) IGMP Snooping and Query – If multicast routing is not supported on other switches in your network, you can use IGMP Snooping and IGMP Query (page 3-199) to monitor IGMP service requests passing between multicast clients and servers, and dynamically configure the switch ports which need to forward multicast traffic.
  • Page 250 ONFIGURING THE WITCH • IGMP Querier – A router, or multicast-enabled switch, can periodically ask their hosts if they want to receive multicast traffic. If there is more than one router/switch on the LAN performing IP multicasting, one of these devices is elected “querier” and assumes the role of querying the LAN for group members.
  • Page 251 ULTICAST ILTERING Web – Click IGMP, IGMP Configuration. Adjust the IGMP settings as required, and then click Apply. (The default settings are shown below.) Figure 3-90 IGMP Configuration CLI – This example modifies the settings for multicast filtering, and then displays the current status.
  • Page 252: Displaying Interfaces Attached To A Multicast Router

    ONFIGURING THE WITCH Displaying Interfaces Attached to a Multicast Router Multicast routers that are attached to ports on the switch use information obtained from IGMP, along with a multicast routing protocol such as DVMRP, to support IP multicasting across the Internet. These routers may be dynamically discovered by the switch or statically assigned to an interface on the switch.
  • Page 253: Specifying Interfaces Attached To A Multicast Router

    ULTICAST ILTERING CLI – This example shows that Port 11 has been statically configured as a port attached to a multicast router. Console#show ip igmp snooping mrouter vlan 1 4-271 VLAN M'cast Router Port Type ---- ------------------ ------- Eth 1/11 Static Specifying Interfaces Attached to a Multicast Router Depending on your network connections, IGMP snooping may not always be able to locate the IGMP querier.
  • Page 254: Displaying Port Members Of Multicast Services

    ONFIGURING THE WITCH CLI – This example configures port 11 as a multicast router port within VLAN 1. Console(config)#ip igmp snooping vlan 1 mrouter ethernet 1/11 4-270 Console(config)#exit Console#show ip igmp snooping mrouter vlan 1 4-271 VLAN M'cast Router Port Type ---- ------------------ ------- Eth 1/11 Static...
  • Page 255: Assigning Ports To Multicast Services

    ULTICAST ILTERING CLI – This example displays all the known multicast services supported on VLAN 1, along with the ports propagating the corresponding services. The type field shows if this entry was learned dynamically or was statically configured. Console#show mac-address-table multicast vlan 1 4-264 VLAN M'cast IP addr.
  • Page 256: Configuring Domain Name Service

    ONFIGURING THE WITCH Web – Click IGMP, IGMP Member Port Table. Specify the interface attached to a multicast service (via an IGMP-enabled switch or multicast router), indicate the VLAN that will propagate the multicast service, specify the multicast IP address, and then click Add. After you have completed adding ports to the member list, click Apply.
  • Page 257: Configuring General Dns Server Parameters

    ONFIGURING OMAIN ERVICE You can manually configure entries in the DNS table used for mapping domain names to IP addresses, configure default domain names, or specify one or more name servers to use for domain name to address translation. Configuring General DNS Server Parameters Command Usage •...
  • Page 258 ONFIGURING THE WITCH • Name Server List – Specifies the address of one or more domain name servers to use for name-to-address resolution. (Range: 1-6 IP addresses) * Do not include the initial dot that separates the host name from the domain name. Web –...
  • Page 259: Configuring Static Dns Host To Address Entries

    ONFIGURING OMAIN ERVICE CLI - This example sets a default domain name and a domain list. However, remember that if a domain list is specified, the default domain name is not used. Console(config)#ip domain-name sample.com 4-280 Console(config)#ip domain-list sample.com.uk 4-281 Console(config)#ip domain-list sample.com.jp Console(config)#ip name-server 192.168.1.55 10.1.0.55 4-282...
  • Page 260 ONFIGURING THE WITCH • IP Address – Internet address(es) associated with a host name. (Range: 1-8 addresses) • Alias – Displays the host names that are mapped to the same address(es) as a previously configured entry. Web – Select DNS, Static Host Table. Enter a host name and one or more corresponding addresses, then click Apply.
  • Page 261: Displaying The Dns Cache

    ONFIGURING OMAIN ERVICE CLI - This example maps two address to a host name, and then configures an alias host name for the same addresses. Console(config)#ip host rd5 192.168.1.55 10.1.0.55 4-278 Console(config)#ip host rd6 10.1.0.55 4-278 Console#show host 4-284 Hostname Inet address 10.1.0.55 192.168.1.55 Alias...
  • Page 262 ONFIGURING THE WITCH Web – Select DNS, Cache. Figure 3-97 DNS Cache CLI - This example displays all the resource records learned from the designated name servers. Console#show dns cache 4-285 FLAG TYPE DOMAIN CNAME 207.46.134.222 www.microsoft.akadns.net CNAME 207.46.134.190 www.microsoft.akadns.net CNAME 207.46.134.155 www.microsoft.akadns.net...
  • Page 263: Command Line Interface

    HAPTER OMMAND NTERFACE This chapter describes how to use the Command Line Interface (CLI). Using the Command Line Interface Accessing the CLI When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt.
  • Page 264: Telnet Connection

    OMMAND NTERFACE After connecting to the system through the console port, the login screen displays: User Access Verification Username: admin Password: CLI session with the Intelligent Fast Ethernet PoE Switch is opened. To end the CLI session, enter [Exit]. Console# Telnet Connection Telnet operates over the IP transport protocol.
  • Page 265 SING THE OMMAND NTERFACE 1. From the remote host, enter the Telnet command and the IP address of the device you want to access. 2. At the prompt, enter the user name and system password. The CLI will display the “Vty-n#” prompt for the administrator to show that you are using privileged access mode (i.e., Privileged Exec), or “Vty-n>”...
  • Page 266: Entering Commands

    OMMAND NTERFACE Entering Commands This section describes how to enter CLI commands. Keywords and Arguments A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration parameters. For example, in the command “show interfaces status ethernet 1/5,” show interfaces and status are keywords, ethernet is an argument that specifies the interface type, and 1/5 specifies the unit/port.
  • Page 267: Getting Help On Commands

    NTERING OMMANDS Getting Help on Commands You can display a brief description of the help system by entering the help command. You can also display command syntax by using the “?” character to list keywords or parameters.
  • Page 268: Showing Commands

    OMMAND NTERFACE Showing Commands If you enter a “?” at the command prompt, the system will display the first level of keywords for the current command class (Normal Exec or Privileged Exec) or configuration class (Global, ACL, Interface, Line, or VLAN Database).
  • Page 269: Partial Keyword Lookup

    NTERING OMMANDS The command “show interfaces ?” will display the following information: Console>show interfaces ? counters Interface counters information status Interface status information switchport Interface switchport information Partial Keyword Lookup If you terminate a partial keyword with a question mark, alternatives that match the initial letters are provided.
  • Page 270: Exec Commands

    OMMAND NTERFACE divided into different modes. Available commands depend on the selected mode. You can always enter a question mark “?” at the prompt to display a list of the commands available for the current mode. The command classes and associated modes are displayed in the following table: Table 4-1 Command Modes Class Mode...
  • Page 271: Configuration Commands

    NTERING OMMANDS To enter Privileged Exec mode, enter the following commands and passwords: Username: admin Password: [system login password] CLI session with the Intelligent Fast Ethernet PoE Switch is opened. To end the CLI session, enter [Exit]. Console# Username: guest Password: [system login password] CLI session with the Intelligent Fast Ethernet PoE Switch is opened.
  • Page 272: Table 4-2 Configuration Commands

    OMMAND NTERFACE • Line Configuration - These commands modify the console port and Telnet configuration, and include commands such as parity and databits. • VLAN Configuration - Includes the command to create VLAN groups. To enter the Global Configuration mode, enter the command configure in Privileged Exec mode.
  • Page 273: Command Line Processing

    NTERING OMMANDS Command Line Processing Commands are not case sensitive. You can abbreviate commands and parameters as long as they contain enough letters to differentiate them from any other currently available commands or parameters. You can use the Tab key to complete partial commands, or enter a partial command followed by the “?”...
  • Page 274: Command Groups

    OMMAND NTERFACE Command Groups The system commands can be broken down into the functional groups shown below Table 4-4 Command Group Index Command Group Description Page Line Sets communication parameters for the serial port 4-15 and Telnet, including baud rate and console time-out General Basic commands for entering privileged access 4-27...
  • Page 275 OMMAND ROUPS Table 4-4 Command Group Index Command Group Description Page Address Table Configures the address table for filtering specified 4-206 addresses, displays current entries, clears the table, or sets the aging time Spanning Tree Configures Spanning Tree settings for the switch 4-210 VLANs Configures VLAN settings, and defines port...
  • Page 276: Line Commands

    OMMAND NTERFACE Line Commands You can access the onboard configuration program by attaching a VT100 compatible device to the switch’s serial port. These commands are used to set communication parameters for the serial port or Telnet (i.e., a virtual terminal). Table 4-5 Line Command Syntax Command Function...
  • Page 277: Line

    OMMANDS line Use this command to identify a specific line for configuration, and to process subsequent line configuration commands. Syntax line {console | vty} • console - Console terminal line. • vty - Virtual terminal for remote console access (i.e., Telnet). Default Setting There is no default line.
  • Page 278: Login

    OMMAND NTERFACE login Use this command to enable password checking at login. Use the no form to disable password checking and allow connections without a password. Syntax login [local] no login local - Selects local password checking. Authentication is based on the user name specified with the username command.
  • Page 279: Password

    OMMANDS Related Commands username (4-36) password (4-17) password Use this command to specify the password for a line. Use the no form to remove the password. Syntax password {0 | 7} password no password • {0 | 7} - 0 means plain password, 7 means encrypted password •...
  • Page 280: Timeout Login Response

    OMMAND NTERFACE Example Console(config-line)#password 0 secret Console(config-line)# Related Commands login (4-16) password-thresh (4-20) timeout login response Use this command to set the interval that the system waits for a user to log into the CLI. Use the no form to restore the default setting. Syntax timeout login response [seconds] no timeout login response...
  • Page 281: Exec-Timeout

    OMMANDS Example To set the timeout to two minutes, enter this command: Console(config-line)#timeout login response 120 Console(config-line)# exec-timeout Use this command to set the interval that the system waits until user input is detected. Use the no form to restore the default. Syntax exec-timeout [seconds] no exec-timeout...
  • Page 282: Password-Thresh

    OMMAND NTERFACE password-thresh Use this command to set the password intrusion threshold which limits the number of failed logon attempts. Use the no form to remove the threshold value. Syntax password-thresh [threshold] no password-thresh threshold - The number of allowed password attempts. (Range: 1-120;...
  • Page 283: Silent-Time

    OMMANDS silent-time Use this command to set the amount of time the management console is inaccessible after the number of unsuccessful logon attempts exceeds the threshold set by the password-thresh command. Use the no form to remove the silent time value. Syntax silent-time seconds no silent-time...
  • Page 284: Databits

    OMMAND NTERFACE databits Use this command to set the number of data bits per character that are interpreted and generated by the console port. Use the no form to restore the default value. Syntax databits {7 | 8} no databits •...
  • Page 285: Parity

    OMMANDS parity Use this command to define generation of a parity bit. Use the no form to restore the default setting. Syntax parity {none | even | odd} no parity • none - No parity • even - Even parity •...
  • Page 286: Speed

    OMMAND NTERFACE speed Use this command to set the terminal line's baud rate. This command sets both the transmit (to terminal) and receive (from terminal) speeds. Use the no form to restore the default setting. Syntax speed bps no speed bps - Baud rate in bits per second.
  • Page 287: Stopbits

    OMMANDS stopbits Use this command to set the number of the stop bits transmitted per byte. Use the no form to restore the default setting. Syntax stopbits {1 | 2} • 1 - One stop bit • 2 - Two stop bits Default Setting 1 stop bit Command Mode...
  • Page 288: Show Line

    OMMAND NTERFACE Command Usage Specifying session identifier “0” will disconnect the console connection. Specifying any other identifiers for an active session will disconnect an SSH or Telnet connection. Example Console#disconnect 1 Console# Related Commands show ssh (4-56) show users (4-81) show line Use this command to display the terminal line's parameters.
  • Page 289: General Commands

    ENERAL OMMANDS Example To show all lines, enter this command: Console#show line Console configuration: Password threshold: 5 times Interactive timeout: Disabled Login timeout: Disabled Silent time: Baudrate: auto Databits: Parity: none Stopbits: VTY configuration: Password threshold: 3 times Interactive timeout: 600 sec Login timeout: 300 sec Console# General Commands...
  • Page 290: Enable

    OMMAND NTERFACE enable Use this command to activate Privileged Exec mode. In privileged mode, additional commands are available, and certain commands display additional information. See “Understanding Command Modes” on page 4-7. Syntax enable [level] level - Privilege level to log into the device. The device has two predefined privilege levels: 0: Normal Exec, 15: Privileged Exec.
  • Page 291: Disable

    ENERAL OMMANDS disable Use this command to return to Normal Exec mode from privileged mode. In normal access mode, you can only display basic information on the switch's configuration or Ethernet statistics. To gain access to all commands, you must use the privileged mode. (See “Understanding Command Modes” on page 4-7.) Default Setting None...
  • Page 292: Show History

    OMMAND NTERFACE Command Mode Privileged Exec Example Console#configure Console(config)# Related Commands end (4-31) show history Use this command to show the contents of the command history buffer. Default Setting None Command Mode Normal Exec, Privileged Exec Command Usage The history buffer size is fixed at 10 Execution commands and 10 Configuration commands.
  • Page 293: Reload

    ENERAL OMMANDS The ! command repeats commands from the Execution command history buffer when you are in Normal Exec or Privileged Exec Mode, and commands from the Configuration command history buffer when you are in any of the configuration modes. In this example, the !2 command repeats the second command in the Execution history buffer (config).
  • Page 294: Exit

    OMMAND NTERFACE Command Mode Global Configuration, Interface Configuration, Line Configuration, VLAN Database Configuration Example This example shows how to return to the Privileged Exec mode from the Interface Configuration mode: Console(config-if)#end Console# exit Use this command to return to the previous configuration mode or exit the configuration program.
  • Page 295: Command Mode

    ENERAL OMMANDS Command Mode Normal Exec, Privileged Exec Command Usage The quit and exit commands can both exit the configuration program. Example This example shows how to quit a CLI session: Console#quit Press ENTER to start session User Access Verification Username: 4-33...
  • Page 296: System Management Commands

    OMMAND NTERFACE System Management Commands These commands are used to control system logs, passwords, user names, browser configuration options, and display or configure a variety of other system information. Table 4-7 System Management Commands Command Group Function Page Device Designation Configures information that uniquely identifies this 4-34 switch...
  • Page 297: Prompt

    YSTEM ANAGEMENT OMMANDS prompt Use this command to customize the CLI prompt. Use the no form to revert to the default prompt. Syntax prompt string no prompt string - Any alphanumeric string to use for the command prompt. (Maximum length: 255 characters) Default Setting Console Command Mode...
  • Page 298: User Access Commands

    OMMAND NTERFACE Example Console(config)#hostname Intelligent Fast Ethernet PoE Switch Console(config)# User Access Commands The basic commands required for management access are listed in this section. This switch also includes other options for password checking via the console or a Telnet connection (page 4-14), user authentication via a remote authentication server (page 4-156), and host access authentication for specific ports (page 4-112).
  • Page 299: Table 4-10 Default Login Settings

    YSTEM ANAGEMENT OMMANDS Default Setting • The default access level is Normal Exec. • The factory defaults for the user names and passwords are: Table 4-10 Default Login Settings username access-level password guest guest admin admin Command Mode Global Configuration Command Usage The encrypted password is required for compatibility with legacy password settings (i.e., plain text or encrypted) when reading the...
  • Page 300: Enable Password

    OMMAND NTERFACE enable password After initially logging onto the system, you should set the Privileged Exec password. Remember to record it in a safe place. Use this command to control access to the Privileged Exec level from the Normal Exec level. Use the no form to reset the default password.
  • Page 301: Ip Filter Commands

    YSTEM ANAGEMENT OMMANDS Related Commands enable (4-28) authentication enable (4-101) IP Filter Commands Table 4-11 IP Filter Commands Command Function Mode Page management Configures IP addresses that are allowed 4-39 management access show Displays the switch to be monitored or 4-40 management configured from a browser...
  • Page 302: Show Management

    OMMAND NTERFACE Command Usage • If anyone tries to access a management interface on the switch from an invalid address, the switch will reject the connection, enter an event message in the system log, and send a trap message to the trap manager. •...
  • Page 303: Web Server Commands

    YSTEM ANAGEMENT OMMANDS Example Console#show management all-client Management Ip Filter Http-Client: Start ip address End ip address ----------------------------------------------- 1. 192.168.1.19 192.168.1.19 2. 192.168.1.25 192.168.1.30 Snmp-Client: Start ip address End ip address ----------------------------------------------- 1. 192.168.1.19 192.168.1.19 2. 192.168.1.25 192.168.1.30 Telnet-Client: Start ip address End ip address ----------------------------------------------- 1.
  • Page 304: Ip Http Port

    OMMAND NTERFACE ip http port Use this command to specify the TCP port number used by the Web browser interface. Use the no form to use the default port. Syntax ip http port port-number no ip http port port-number - The TCP port to be used by the browser interface. (Range: 1-65535) Default Setting Command Mode...
  • Page 305: Ip Http Secure-Server

    YSTEM ANAGEMENT OMMANDS Example Console(config)#ip http server Console(config)# Related Commands ip http port (4-42) ip http secure-server This command enables 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. Use the no form to disable this function.
  • Page 306: Ip Http Secure-Port

    OMMAND NTERFACE • The following web browsers and operating systems currently support HTTPS: Table 4-13 HTTPS System 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 4.76 or later Windows 98,Windows NT (with service pack 6a), Windows 2000, Windows XP, Solaris 2.6...
  • Page 307: Telnet Server Commands

    YSTEM ANAGEMENT OMMANDS Command Usage • You cannot configure the HTTP and HTTPS servers to use the same port. • If you change the HTTPS port number, clients attempting to connect to the HTTPS server must specify the port number in the URL, in this format: https://device:port_number Example...
  • Page 308: Ip Telnet Server

    OMMAND NTERFACE Command Mode Global Configuration Example Console(config)#ip telnet port 123 Console(config)# Related Commands ip telnet server (4-46) ip telnet server This command allows this device to be monitored or configured from Telnet. Use the no form to disable this function. Syntax [no] ip telnet server Default Setting...
  • Page 309: Secure Shell Commands

    YSTEM ANAGEMENT OMMANDS Secure Shell Commands 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.
  • Page 310 OMMAND NTERFACE Table 4-15 Secure Shell Commands Command Function Mode Page show ip ssh Displays the status of the SSH server and the 4-56 configured values for authentication timeout and retries show ssh Displays the status of current SSH sessions 4-56 show public-key Shows the public key for the specified user or...
  • Page 311 YSTEM ANAGEMENT OMMANDS 3. Import Client’s Public Key to the Switch – Use the copy tftp public-key command 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 with the username command as described on page 4-36.) The clients are subsequently authenticated using these keys.
  • Page 312: Ip Ssh Server

    OMMAND NTERFACE ip ssh server Use this command to enable the Secure Shell (SSH) server on this switch. Use the no form to disable this service. Syntax [no] ip ssh server Default Setting Disabled Command Mode Global Configuration Command Usage •...
  • Page 313: Ip Ssh Timeout

    YSTEM ANAGEMENT OMMANDS ip ssh timeout Use this command to configure the timeout for the SSH server. Use the no form to restore the default setting. Syntax ip ssh timeout seconds no ip ssh timeout seconds – The timeout for client response during SSH negotiation. (Range: 1-120) Default Setting 10 seconds...
  • Page 314: Ip Ssh Authentication-Retries

    OMMAND NTERFACE ip ssh authentication-retries Use this command to configure the number of times the SSH server attempts to reauthenticate a user. Use the no form to restore the default setting. Syntax ip ssh authentication-retries count no ip ssh authentication-retries count –...
  • Page 315: Delete Public-Key

    YSTEM ANAGEMENT OMMANDS Command Mode Global Configuration Command Usage • The server key is a private key that is never shared outside the switch. • The host key is shared with the SSH client, and is fixed at 1024 bits. Example Console(config)#ip ssh server-key size 512 Console(config)#...
  • Page 316: Ip Ssh Crypto Zeroize

    OMMAND NTERFACE Default Setting Generates both the DSA and RSA key pairs. Command Mode Privileged Exec Command Usage • This command stores the host key pair in memory (i.e., RAM). Use the ip ssh save host-key command to save the host key pair to flash memory.
  • Page 317: Ip Ssh Save Host-Key

    YSTEM ANAGEMENT OMMANDS Command Usage • This command clears the host key from volatile memory (RAM). Use the no ip ssh save host-key command to clear the host key from flash memory. • The SSH server must be disabled before you can execute this command. Example Console#ip ssh crypto zeroize dsa Console#...
  • Page 318: Show Ip Ssh

    OMMAND NTERFACE show ip ssh Use this command to display the connection settings used when authenticating client access to the Secure Shell (SSH) server. Command Mode Privileged Exec Example Console#show ip ssh SSH Enabled - version 1.99 Negotiation timeout: 120 secs; Authentication retries: 3 Server key size: 768 bits Console# show ssh...
  • Page 319: Show Public-Key

    YSTEM ANAGEMENT OMMANDS Table 4-16 SSH Information Encryption The encryption method is automatically negotiated between the client and server. Options for SSHv1.5 include: DES, 3DES Options for SSHv2.0 can include different algorithms for the client-to-server (ctos) and server-to-client (stoc): aes128-cbc-hmac-sha1 aes192-cbc-hmac-sha1 aes256-cbc-hmac-sha1 3des-cbc-hmac-sha1...
  • Page 320: Event Logging Commands

    OMMAND NTERFACE Command Usage • If no parameters are entered, all keys are displayed. If the user keyword is entered, but no user name is specified, then the public keys for all users are displayed. • When an RSA key is displayed, the first field indicates the size of the host key (e.g., 1024), the second field is the encoded public exponent (e.g., 35), and the last string is the encoded modulus.
  • Page 321: Logging On

    YSTEM ANAGEMENT OMMANDS Table 4-17 Event Logging Commands Command Function Mode Page logging host Adds a syslog server host IP address that will 4-61 receive logging messages logging facility Sets the facility type for remote logging of syslog 4-62 messages logging trap Limits syslog messages saved to a remote server 4-62...
  • Page 322: Logging History

    OMMAND NTERFACE Related Commands logging history (4-60) clear logging (4-63) logging history Use this command to limit syslog messages saved to switch memory based on severity. The no form returns the logging of syslog messages to the default level. Syntax logging history {flash | ram} level no logging history {flash | ram} •...
  • Page 323: Logging Host

    YSTEM ANAGEMENT OMMANDS Default Setting • Flash: errors (level 3 - 0) • RAM: informational (level 6 - 0) Command Mode Global Configuration Command Usage The message level specified for flash memory must be a higher priority (i.e., numerically lower) than that specified for RAM. Example Console(config)#logging history ram 0 Console(config)#...
  • Page 324: Logging Facility

    OMMAND NTERFACE logging facility This command sets the facility type for remote logging of syslog messages. Use the no form to return the type to the default. Syntax [no] logging facility type type - A number that indicates the facility used by the syslog server to dispatch log messages to an appropriate service.
  • Page 325: Clear Log

    YSTEM ANAGEMENT OMMANDS Command Mode Global Configuration Command Usage • Using this command with a specified level enables remote logging and sets the minimum severity level to be saved. • Using this command without a specified level also enables remote logging, but restores the minimum severity level to the default.
  • Page 326: Show Logging

    OMMAND NTERFACE show logging Use this command to display the logging configuration, along with any system and event messages stored in memory. Syntax show logging {flash | ram | trap} • flash - Event history stored in flash memory (i.e., permanent memory).
  • Page 327: Table 4-20 Remote Logging

    YSTEM ANAGEMENT OMMANDS Table 4-19 Show Logging Parameters Field Description Syslog logging Shows if system logging has been enabled via the logging on command. History logging in The message level(s) reported based on the logging history FLASH command. History logging in The message level(s) reported based on the logging history command.
  • Page 328: Smtp Alert Commands

    OMMAND NTERFACE Related Commands show logging (4-64) SMTP Alert Commands Configures SMTP event handling, and forwarding of alert messages to the specified SMTP servers and email recipients. Table 4-21 SMTP Commands Command Function Mode Page logging sendmail host SMTP servers to receive alert messages 4-66 logging sendmail Severity threshold used to trigger alert...
  • Page 329: Logging Sendmail Level

    YSTEM ANAGEMENT OMMANDS Command Usage • You can specify up to three SMTP servers for event handing. However, you must enter a separate command to specify each server. • To send email alerts, the switch first opens a connection, sends all the email alerts waiting in the queue one by one, and finally closes the connection.
  • Page 330: Logging Sendmail Source-Email

    OMMAND NTERFACE Example This example will send email alerts for system errors from level 3 through 0. Console(config)#logging sendmail level 3 Console(config)# logging sendmail source-email This command sets the email address used for the “From” field in alert messages. Syntax logging sendmail source-email email-address email-address - The source email address used in alert messages.
  • Page 331: Logging Sendmail Destination-Email

    YSTEM ANAGEMENT OMMANDS logging sendmail destination-email This command specifies the email recipients of alert messages. Use the no form to remove a recipient. Syntax [no] logging sendmail destination-email email-address email-address - The recipient email address for alert messages. (Range: 1-41 characters) Default Setting None Command Mode...
  • Page 332: Show Logging Sendmail

    OMMAND NTERFACE Example Console(config)#logging sendmail Console(config)# show logging sendmail This command displays the settings for the SMTP event handler. Command Mode Normal Exec, Privileged Exec Example Console#show logging sendmail SMTP servers ----------------------------------------------- 1. 192.168.1.4 2. 192.168.1.5 SMTP minimum severity level: 4 SMTP destination email addresses ----------------------------------------------- 1.
  • Page 333: Time Commands

    YSTEM ANAGEMENT OMMANDS Time Commands The system clock can be dynamically set by polling a set of specified time servers (NTP or SNTP). Maintaining an accurate time on the switch enables the system log to record meaningful dates and times for event entries. If the clock is not set, the switch will only record the time from the factory default set at the last bootup.
  • Page 334: Sntp Server

    OMMAND NTERFACE Command Usage • The time acquired from time servers is used to record accurate dates and times for log events. Without SNTP, the switch only records the time starting from the factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).
  • Page 335: Sntp Poll

    YSTEM ANAGEMENT OMMANDS Command Mode Global Configuration Command Usage This command specifies time servers from which the switch will poll for time updates when set to SNTP client mode. The client will poll the time servers in the order specified until a response is received. It issues time synchronization requests based on the interval set via the sntp poll command.
  • Page 336: Show Sntp

    OMMAND NTERFACE Related Commands sntp client (4-71) show sntp This command displays the current time and configuration settings for the SNTP client, and indicates whether or not the local time has been properly updated. Command Mode Normal Exec, Privileged Exec Example Console#show sntp Current time:...
  • Page 337: Calendar Set

    YSTEM ANAGEMENT OMMANDS Command Mode Global Configuration Command Usage This command sets the local time zone relative to the Coordinated Universal Time (UTC, formerly Greenwich Mean Time or GMT), based on 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 Example...
  • Page 338: Show Calendar

    OMMAND NTERFACE Command Mode Privileged Exec Example This example shows how to set the system clock to 15:12:34, March 21, 2003. Console#calendar set 15 12 34 March 21 2003 Console# show calendar Use this command to display the system clock. Default Setting None Command Mode...
  • Page 339: System Status Commands

    YSTEM ANAGEMENT OMMANDS System Status Commands Table 4-23 System Status Commands Command Function Mode Page show Displays the contents of the configuration file 4-77 startup-config (stored in flash memory) that is used to start up the system show Displays the configuration data currently in use PE 4-79 running-config show system...
  • Page 340: Snmp Community Strings

    OMMAND NTERFACE • This command displays settings for key command modes. Each mode group is separated by “!” symbols, and includes the configuration mode command, and corresponding commands. This command displays the following information: - SNMP community strings - Users (names and access levels) - VLAN database (VLAN ID, name and state) - VLAN configuration settings for each interface - IP address configured for VLANs...
  • Page 341: Show Running-Config

    YSTEM ANAGEMENT OMMANDS Related Commands show running-config (4-79) show running-config Use this command to display the configuration information currently in use. Default Setting None Command Mode Privileged Exec Command Usage • Use this command in conjunction with the show startup-config command to compare the information in running memory to the information stored in non-volatile memory.
  • Page 342: Show System

    OMMAND NTERFACE Example Console#show running-config building running-config, please wait..snmp-server community private rw snmp-server community public ro username admin access-level 15 username admin password 7 21232f297a57a5a743894a0e4a801fc3 username guest access-level 0 username guest password 7 084e0343a0486ff05530df6c705c8bb4 enable password level 15 7 1b3231655cebb7a1f783eddf27d254ca vlan database vlan 1 name DefaultVlan media ethernet state active interface ethernet 1/1...
  • Page 343: Show Users

    YSTEM ANAGEMENT OMMANDS Command Mode Normal Exec, Privileged Exec Command Usage • For a description of the items shown by this command, refer to “Displaying System Information” on page 3-11. • The POST results should all display “PASS.” If any POST test indicates “FAIL,”...
  • Page 344: Show Version

    OMMAND NTERFACE Command Mode Normal Exec, Privileged Exec Command Usage The session used to execute this command is indicated by a “*” symbol next to the Line (i.e., session) index number. Example Console#show users Username accounts: Username Privilege Public-Key -------- --------- ---------- admin None guest...
  • Page 345: Table 4-24 Flash/File Commands

    LASH OMMANDS Example Console#show version Unit1 Serial number: 03260590210A Service tag: 0000000 Hardware version: Module A type: Combo 1000BaseT SFP Module B type: Combo 1000BaseT SFP Number of ports: Main power status: Redundant power status :not present Agent (master) Unit ID: Loader version: 2.1.0.3 Boot ROM version:...
  • Page 346 OMMAND NTERFACE copy Use this command to move (upload/download) a code image or configuration file between the switch’s flash memory and a TFTP server. When you save the system code or configuration settings to a file on a TFTP server, that file can later be downloaded to the switch to restore system operation.
  • Page 347: Flash/File Commands

    LASH OMMANDS Command Usage • The system prompts for data required to complete the copy command. • The destination file name should not contain slashes (\ or /), the 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.
  • Page 348: L Ine I Nterface

    OMMAND NTERFACE Example The following example shows how to upload the configuration settings to a file on the TFTP server. Console#copy file tftp Choose file type: 1. config: 2. opcode 3. PD_Controller: <1-3>: 2 Source file name: startup TFTP server ip address: 10.1.0.99 Destination file name: startup.01 TFTP completed.
  • Page 349 LASH OMMANDS This example shows how to copy a secure-site certificate from an TFTP server. It then reboots the switch to activate the certificate. Console#copy tftp https-certificate TFTP server ip address: 10.1.0.19 Source certificate file name: SS-certificate Source private file name: SS-private Private password: ******** Success.
  • Page 350: Delete

    OMMAND NTERFACE This example shows how to copy a PoE controller file from another unit in the slack. Console#copy file controller Unit <1-2>: 2 Choose controller type: 1. PoE: 2. VDSL: 3. TBD <1-3>: 1 Source file name: PoE-test Software downloading in progress, please wait... Unit 1 done Console# delete...
  • Page 351: Dir

    LASH OMMANDS Use this command to display a list of files in flash memory. Syntax dir [boot-rom | config | opcode [:filename]] The type of file or image to display includes: • boot-rom - Boot ROM (or diagnostic) image file •...
  • Page 352: Whichboot

    OMMAND NTERFACE Example Console#dir file name file type startup size (byte) ------------------------------------- -------------- ------- ----------- Unit1: diag-test.bix Boot-Rom image 410388 smcv2.3.3.5 Operation Code 2375624 v1003 Operation Code 2375628 Factory_Default_Config.cfg Config File 2677 startup Config File 3324 --------------------------------------------------------------------------- Total free space: 1310720 Console# whichboot...
  • Page 353: Boot System

    LASH OMMANDS boot system Use this command to specify the file or image used to start up the system. Syntax boot system {boot-rom| config | opcode}: filename The type of file or image to set as a default includes: • boot-rom - Boot ROM •...
  • Page 354: Power Over Ethernet Commands

    OMMAND NTERFACE Power over Ethernet Commands The commands in this group control the power that can be delivered to attached PoE devices through the switch ports. The switch’s power management enables total switch power and individual port power to be controlled within a configured power budget. Port power can be automatically turned on and off for connected devices, and a per-port power priority can be set so that the switch never exceeds its allocated power budget.
  • Page 355: Power Mainpower Maximum Allocation

    OWER OVER THERNET OMMANDS power mainpower maximum allocation Use this command to define a power budget for the switch (power available to all switch ports). Use the form to restore the default setting. Syntax power mainpower maximum allocation <watts> [unit unit] •...
  • Page 356: Power Inline

    OMMAND NTERFACE power inline Use this command to turn power on for a specific port or force a port into test mode. Use the no form to turn off power for a port. Syntax power inline [auto | test] no power inline •...
  • Page 357: Power Inline Maximum Allocation

    OWER OVER THERNET OMMANDS power inline maximum allocation Use this command to limit the power allocated to specific ports. Use the no form to restore the default setting. Syntax milliwatts power inline maximum allocation [ no power inline maximum allocation milliwatts - The maximum power budget for the port.
  • Page 358: Show Power Inline Status

    OMMAND NTERFACE Default Setting 3 (low) Command Mode Interface Configuration Command Usage • If the power demand from devices connected to the switch exceeds the power budget setting, the switch uses port power priority settings to control the supplied power. For example: - A device connected to a low-priority port that causes the switch to exceed its budget is not supplied power.
  • Page 359: Show Power Mainpower

    OWER OVER THERNET OMMANDS Command Mode Privileged Exec Command Usage This command displays the following parameters: show power inline status parameters Parameter Description Admin The power mode set on the port (see power inline 4-94) Oper The current operating power status (displays on or off) Power (mWatt) Displays a list of files in flash memory Power (used)
  • Page 360 OMMAND NTERFACE Command Usage This command displays the following parameters: show power mainpower parameters Parameter Description Maximum Available The available power budget for the switch (see power Power mainpower maximum allocation on page 4-93) System Operation The current operating power status (displays on or off) Status Mainpower The current power consumption on the switch in watts...
  • Page 361: Authentication Commands

    UTHENTICATION OMMANDS Authentication Commands You can configure this switch to authenticate users logging into the system for management access using local or RADIUS authentication methods. You can also enable port-based authentication for network client access using IEEE 802.1x. Table 4-27 Authentication Commands Command Group Function Page...
  • Page 362: Authentication Login

    OMMAND NTERFACE authentication login This command defines the login authentication method and precedence. Use the no form to restore the default. Syntax authentication login {[local] [radius] [tacacs]} no authentication login • local - Use local password. • radius - Use RADIUS server password. •...
  • Page 363: Authentication Enable

    UTHENTICATION OMMANDS Related Commands username - for setting the local user names and passwords (4-36) authentication enable This command defines the authentication method and precedence to use when changing from Exec command mode to Privileged Exec command mode with the enable command (see page 4-28). Use the no form to restore the default.
  • Page 364: Radius Client

    OMMAND NTERFACE • You can specify three authentication methods in a single command to indicate the authentication sequence. For example, if you enter “authentication enable radius tacacs local,” the user name and password on the RADIUS server is verified first. If the RADIUS server is not available, then authentication is attempted on the TACACS+ server.
  • Page 365: Radius-Server Host

    UTHENTICATION OMMANDS radius-server host This command specifies primary and backup RADIUS servers and authentication parameters that apply to each server. Use the no form to restore the default values. Syntax [no] radius-server index host {host_ip_address | host_alias} [auth-port auth_port] [timeout timeout] [retransmit retransmit] [key key] •...
  • Page 366: Radius-Server Port

    OMMAND NTERFACE radius-server port This command sets the RADIUS server network port. Use the no form to restore the default. Syntax radius-server port port_number no radius-server port port_number - RADIUS server UDP port used for authentication messages. (Range: 1-65535) Default Setting 1812 Command Mode Global Configuration...
  • Page 367: Radius-Server Retransmit

    UTHENTICATION OMMANDS Example Console(config)#radius-server key green Console(config)# radius-server retransmit This command sets the number of retries. Use the no form to restore the default. Syntax radius-server retransmit number_of_retries no radius-server retransmit number_of_retries - Number of times the switch will try to authenticate logon access via the RADIUS server.
  • Page 368: Show Radius-Server

    OMMAND NTERFACE Command Mode Global Configuration Example Console(config)#radius-server timeout 10 Console(config)# show radius-server This command displays the current settings for the RADIUS server. Default Setting None Command Mode Privileged Exec Example Console#show radius-server Remote RADIUS server configuration: Global settings: Communication key with RADIUS server: ***** Server port number: Retransmit times: Request timeout:...
  • Page 369: Tacacs+ Client

    UTHENTICATION OMMANDS TACACS+ Client Terminal Access Controller Access Control System (TACACS+) is a logon authentication protocol that uses software running on a central server to control access to 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 or group that require management access to a switch.
  • Page 370: Tacacs-Server Port

    OMMAND NTERFACE tacacs-server port This command specifies the TACACS+ server network port. Use the no form to restore the default. Syntax tacacs-server port port_number no tacacs-server port port_number - TACACS+ server TCP port used for authentication messages. (Range: 1-65535) Default Setting Command Mode Global Configuration Example...
  • Page 371: Show Tacacs-Server

    UTHENTICATION OMMANDS Example Console(config)#tacacs-server key green Console(config)# show tacacs-server This command displays the current settings for the TACACS+ server. Default Setting None Command Mode Privileged Exec Example Console#show tacacs-server Remote TACACS server configuration: Server IP address: 10.11.12.13 Communication key with radius server: green Server port number: 49 Console# Port Security Commands...
  • Page 372: Port Security

    OMMAND NTERFACE port security This command enables or configures port security. Use the no form without any keywords to disable port security. Use the no form with the appropriate keyword to restore the default settings for a response to security violation or for the maximum number of allowed addresses.
  • Page 373 UTHENTICATION OMMANDS • To add new VLAN members at a later time, you can manually add secure addresses with the mac-address-table static command, or turn off port security to re-enable the learning function long enough for new VLAN members to be registered. Learning may then be disabled again, if desired, for security.
  • Page 374: 802.1X Port Authentication

    OMMAND NTERFACE 802.1x Port Authentication The switch supports IEEE 802.1x (dot1x) port-based access control that prevents unauthorized access to the network by requiring users to first submit credentials for authentication. Client authentication is controlled centrally by a RADIUS server using EAP (Extensible Authentication Protocol).
  • Page 375: Dot1X System-Auth-Control

    UTHENTICATION OMMANDS dot1x system-auth-control This command enables IEEE 802.1x globally for the switch. Use the no form to disable 802.1x globally. Syntax [no] dot1x system-auth-control Default Setting Disabled Command Mode Global Configuration Example Console(config)#dot1x system-auth-control Console(config)# dot1x default This command sets all configurable dot1x global and port settings to their default values.
  • Page 376: Dot1X Max-Req

    OMMAND NTERFACE dot1x max-req This command sets the maximum number of times the switch port will retransmit an EAP request/identity packet to the client before it times out the authentication session. Use the no form to restore the default. Syntax dot1x max-req count no dot1x max-req count –...
  • Page 377: Dot1X Operation-Mode

    UTHENTICATION OMMANDS Default force-authorized Command Mode Interface Configuration Example Console(config)#interface eth 1/2 Console(config-if)#dot1x port-control auto Console(config-if)# dot1x operation-mode This command allows single or multiple hosts (clients) to connect to an 802.1X-authorized port. Use the no form with no keywords to restore the default to single host.
  • Page 378: Dot1X Re-Authenticate

    OMMAND NTERFACE dot1x re-authenticate This command forces re-authentication on all ports or a specific interface. Syntax dot1x re-authenticate [interface] interface ethernet unit/port - unit - This is device 1. - port - Port number. Command Mode Privileged Exec Example Console#dot1x re-authenticate Console# dot1x re-authentication This command enables periodic re-authentication globally for a specified...
  • Page 379: Dot1X Timeout Quiet-Period

    UTHENTICATION OMMANDS dot1x timeout quiet-period This command sets the time that a switch port waits after the Max Request Count has been exceeded before attempting to acquire a new client. Use the no form to reset the default. Syntax dot1x timeout quiet-period seconds no dot1x timeout quiet-period seconds - The number of seconds.
  • Page 380: Dot1X Timeout Tx-Period

    OMMAND NTERFACE Example Console(config)#interface ethernet 1/5 Console(config-if)#dot1x timeout re-authperiod 300 Console(config-if)# dot1x timeout tx-period This command sets the time that a port on the switch waits during an authentication session before re-transmitting an EAP packet. Use the no form to reset to the default value. Syntax dot1x timeout tx-period seconds no dot1x timeout tx-period...
  • Page 381: Show Dot1X

    UTHENTICATION OMMANDS show dot1x This command shows general port authentication related settings on the switch or a specific interface. Syntax show dot1x [statistics] [interface interface] interface ethernet unit/port - unit - This is device 1. - port - Port number. Command Mode Privileged Exec Command Usage...
  • Page 382 OMMAND NTERFACE • 802.1X Port Details – Displays detailed port access control settings for each interface as described in the preceding pages, including administrative status for port access control, Max request (page 4-114), Quiet period (page 4-117), Reauth period (page 4-117), Tx period (page 4-118), and Port-control (page 4-114).
  • Page 383: Table 4-27 Authentication Commands

    UTHENTICATION OMMANDS Example Console#show dot1x Global 802.1X Parameters reauth-enabled: yes reauth-period: quiet-period: tx-period: supp-timeout: server-timeout: 30 reauth-max: max-req: 802.1X Port Summary Port Name Status Mode Authorized disabled ForceAuthorized disabled ForceAuthorized disabled ForceAuthorized enabled Auto 802.1X Port Details 802.1X is disabled on port 1 802.1X is enabled on port 12 Max request Quiet period...
  • Page 384: Access Control List Commands

    OMMAND NTERFACE Access Control List Commands Access Control Lists (ACL) provide packet filtering for IP frames (based on address, protocol, Layer 4 protocol port number or TCP control code) or any frames (based on MAC address or Ethernet type). To filter packets, first create an access list, add the required rules, specify a mask to modify the precedence in which the rules are checked, and then bind the list to a specific port.
  • Page 385 CCESS ONTROL OMMANDS • This switch supports ACLs for both ingress and egress filtering. However, you can only bind one IP ACL and one MAC ACL to any port for ingress filtering, and one IP ACL and one MAC ACL to any port for egress filtering.
  • Page 386 OMMAND NTERFACE The order in which active ACLs are checked is as follows: 1. User-defined rules in the Egress MAC ACL for egress ports. 2. User-defined rules in the Egress IP ACL for egress ports. 3. User-defined rules in the Ingress MAC ACL for ingress ports. 4.
  • Page 387: Ip Acls

    CCESS ONTROL OMMANDS IP ACLs Table 4-34 IP ACL Commands Command Function Mode Page access-list ip Creates an IP ACL and enters 4-126 configuration mode permit, deny Filters packets matching a specified STD-A 4-127 source IP address permit, deny Filters packets meeting the specified EXT-A 4-128 criteria, including source and destination...
  • Page 388: Access-List Ip

    OMMAND NTERFACE access-list ip This command adds an IP access list and enters configuration mode for standard or extended IP ACLs. Use the no form to remove the specified ACL. Syntax [no] access-list ip {standard | extended} acl_name • standard – Specifies an ACL that filters packets based on the source IP address.
  • Page 389: Permit, Deny (Standard Acl)

    CCESS ONTROL OMMANDS Related Commands permit, deny (4-127) ip access-group (4-137) show ip access-list (4-131) permit, deny (Standard ACL) This command adds a rule to a Standard IP ACL. The rule sets a filter condition for packets emanating from the specified source. Use the no form to remove a rule.
  • Page 390: Permit, Deny (Extended Acl)

    OMMAND NTERFACE Example This example configures one permit rule for the specific address 10.1.1.21 and another rule for the address range 168.92.16.x – 168.92.31.x using a bitmask. Console(config-std-acl)#permit host 10.1.1.21 Console(config-std-acl)#permit 168.92.16.0 255.255.240.0 Console(config-std-acl)# Related Commands access-list ip (4-126) permit, deny (Extended ACL) This command adds a rule to an Extended IP ACL.
  • Page 391 CCESS ONTROL OMMANDS • host – Keyword followed by a specific IP address. • precedence – IP precedence level. (Range: 0-7) • tos – Type of Service level. (Range: 0-15) • dscp – DSCP priority level. (Range: 0-64) • sport – Protocol* source port number. (Range: 0-65535) •...
  • Page 392 OMMAND NTERFACE - 1 (fin) – Finish - 2 (syn) – Synchronize - 4 (rst) – Reset - 8 (psh) – Push - 16 (ack) – Acknowledgement - 32 (urg) – Urgent pointer • For example, use the code value and mask below to catch packets with the following flags set: - SYN flag valid, use “control-code 2 2”...
  • Page 393: Show Ip Access-List

    CCESS ONTROL OMMANDS show ip access-list This command displays the rules for configured IP ACLs. Syntax show ip access-list {standard | extended} [acl_name] • standard – Specifies a standard IP ACL. • extended – Specifies an extended IP ACL. • acl_name – Name of the ACL. (Maximum length: 16 characters) Command Mode Privileged Exec Example...
  • Page 394: Mask (Ip Acl)

    OMMAND NTERFACE Command Mode Global Configuration Command Usage • A mask can only be used by all ingress ACLs or all egress ACLs. • The precedence of the ACL rules applied to a packet is not determined by order of the rules, but instead by the order of the masks; i.e., the first mask that matches a rule will determine the rule that is applied to a packet.
  • Page 395 CCESS ONTROL OMMANDS • destination-bitmask – Destination address of rule must match this bitmask. • precedence – Check the IP precedence field. • tos – Check the TOS field. • dscp – Check the DSCP field. • source-port – Check the protocol source port field. •...
  • Page 396 OMMAND NTERFACE Example This example creates an IP ingress mask with two rules. Each rule is checked in order of precedence to look for a match in the ACL entries. The first entry matching a mask is applied to the inbound packet. Console(config)#access-list ip mask-precedence in Console(config-ip-mask-acl)#mask host any Console(config-ip-mask-acl)#mask 255.255.255.0 any...
  • Page 397: Table 4-33 Access Control List Commands

    CCESS ONTROL OMMANDS This shows how to create a standard ACL with an ingress mask to deny access to the IP host 171.69.198.102, and permit access to any others. Console(config)#access-list ip standard A2 Console(config-std-acl)#permit any Console(config-std-acl)#deny host 171.69.198.102 Console(config-std-acl)#end Console#show access-list IP standard access-list A2: deny host 171.69.198.102 permit any...
  • Page 398: Show Access-List Ip Mask-Precedence

    OMMAND NTERFACE This is a more comprehensive example. It denies any TCP packets in which the SYN bit is ON, and permits all other packets. It then sets the ingress mask to check the deny rule first, and finally binds port 1 to this ACL. Note that once the ACL is bound to an interface (i.e., the ACL is active), the order in which the rules are displayed is determined by the associated mask.
  • Page 399: Ip Access-Group

    CCESS ONTROL OMMANDS Command Mode Privileged Exec Example Console#show access-list ip mask-precedence IP ingress mask ACL: mask host any mask 255.255.255.0 any Console# Related Commands mask (IP ACL) (4-132) ip access-group This command binds a port to an IP ACL. Use the no form to remove the port.
  • Page 400: Show Ip Access-Group

    OMMAND NTERFACE Example Console(config)#int eth 1/2 Console(config-if)#ip access-group standard david in Console(config-if)# Related Commands show ip access-list (4-131) show ip access-group This command shows the ports assigned to IP ACLs. Command Mode Privileged Exec Example Console#show ip access-group Interface ethernet 1/2 IP standard access-list david Console# Related Commands...
  • Page 401: Table 4-35 Mapping Cos Values To Acl Rules

    CCESS ONTROL OMMANDS Default Setting None Command Mode Interface Configuration (Ethernet) Command Usage • You must configure an ACL mask before you can map CoS values to the rule. • A packet matching a rule within the specified ACL is mapped to one of the output queues as shown in the following table.
  • Page 402: Show Map Access-List Ip

    OMMAND NTERFACE show map access-list ip This command shows the CoS value mapped to an IP ACL for the current interface. (The CoS value determines the output queue for packets matching an ACL rule.) Syntax show map access-list ip [interface] interface ethernet unit/port - unit - This is device 1.
  • Page 403: Match Access-List Ip

    CCESS ONTROL OMMANDS match access-list ip This command changes the IEEE 802.1p priority, IP Precedence, or DSCP Priority of a frame matching the defined ACL rule. (This feature is commonly referred to as ACL packet marking.) Use the no form to remove the ACL marker.
  • Page 404: Show Marking

    OMMAND NTERFACE • The precedence for priority mapping by this switch is IP Precedence or DSCP Priority, and then 802.1p priority. Example Console(config)#interface ethernet 1/12 Console(config-if)#match access-list ip bill set dscp 0 Console(config-if)# Related Commands show marking (4-142) show marking This command displays the current configuration for packet marking.
  • Page 405: Mac Acls

    CCESS ONTROL OMMANDS MAC ACLs Table 4-36 MAC ACL Commands Command Function Mode Page access-list mac Creates a MAC ACL and enters 4-144 configuration mode permit, deny Filters packets matching a specified MAC-AC 4-145 source and destination address, packet format, and Ethernet type show mac access-list Displays the rules for configured MAC 4-147 ACLs...
  • Page 406: Access-List Mac

    OMMAND NTERFACE access-list mac This command adds a MAC access list and enters MAC ACL configuration mode. Use the no form to remove the specified ACL. Syntax [no] access-list mac acl_name acl_name – Name of the ACL. (Maximum length: 16 characters) Default Setting None Command Mode...
  • Page 407: Permit, Deny (Mac Acl)

    CCESS ONTROL OMMANDS permit, deny (MAC ACL) This command adds a rule to a MAC ACL. The rule filters packets matching a specified MAC source or destination address (i.e., physical layer address), or Ethernet protocol type. Use the no form to remove a rule. Syntax [no] {permit | deny} {any | host source | source address-bitmask}...
  • Page 408 OMMAND NTERFACE • destination – Destination MAC address range with bitmask. • address-bitmask* – Bitmask for MAC address (in hexadecimal format). • vid – VLAN ID. (Range: 1-4095) • vid-bitmask* – VLAN bitmask. (Range: 1-4095) • protocol – A specific Ethernet protocol number. (Range: 600-fff hex.) •...
  • Page 409: Show Mac Access-List

    CCESS ONTROL OMMANDS show mac access-list This command displays the rules for configured MAC ACLs. Syntax show mac access-list [acl_name] acl_name – Name of the ACL. (Maximum length: 16 characters) Command Mode Privileged Exec Example Console#show mac access-list MAC access-list jerry: permit any 00-e0-29-94-34-de ethertype 0800 Console# Related Commands...
  • Page 410: Mask (Mac Acl)

    OMMAND NTERFACE Command Usage • You must configure a mask for an ACL rule before you can bind it to a port or set the queue or frame priorities associated with the rule. • A mask can only be used by all ingress ACLs or all egress ACLs. •...
  • Page 411: Default Setting

    CCESS ONTROL OMMANDS Default Setting None Command Mode MAC Mask Command Usage • Up to seven masks can be assigned to an ingress or egress ACL. • Packets crossing a port are checked against all the rules in the ACL until a match is found.
  • Page 412: Show Access-List Mac Mask-Precedence

    OMMAND NTERFACE This example creates an Egress MAC ACL. Console(config)#access-list mac M5 Console(config-mac-acl)#deny tagged-802.3 host 00-11-11-11-11-11 any Console(config-mac-acl)#deny tagged-eth2 00-11-11-11-11-11 ff-ff-ff-ff-ff-ff any vid 3 ethertype 0806 Console(config-mac-acl)#end Console#show access-list MAC access-list M5: deny tagged-802.3 host 00-11-11-11-11-11 any deny tagged-eth2 host 00-11-11-11-11-11 any vid 3 ethertype 0806 Console(config)#access-list mac mask-precedence out Console(config-mac-mask-acl)#mask pktformat ff-ff-ff-ff-ff-ff any vid Console(config-mac-mask-acl)#exit...
  • Page 413: Mac Access-Group

    CCESS ONTROL OMMANDS mac access-group This command binds a port to a MAC ACL. Use the no form to remove the port. Syntax mac access-group acl_name {in | out} • acl_name – Name of the ACL. (Maximum length: 16 characters) •...
  • Page 414: Show Mac Access-Group

    OMMAND NTERFACE show mac access-group This command shows the ports assigned to MAC ACLs. Command Mode Privileged Exec Example Console#show mac access-group Interface ethernet 1/5 MAC access-list M5 out Console# Related Commands mac access-group (4-151) map access-list mac This command sets the output queue for packets matching an ACL rule. The specified CoS value is only used to map the matching packet to an output queue;...
  • Page 415: Show Map Access-List Mac

    CCESS ONTROL OMMANDS Command Usage • You must configure an ACL mask before you can map CoS values to the rule. • A packet matching a rule within the specified ACL is mapped to one of the output queues as shown below. Table 4-37 Mapping CoS Values to MAC ACL Rules Queue Priority...
  • Page 416: Match Access-List Mac

    OMMAND NTERFACE Example Console#show map access-list mac Access-list to COS of Eth 1/5 Access-list M5 cos 0 Console# Related Commands map access-list mac (4-152) match access-list mac This command changes the IEEE 802.1p priority of a Layer 2 frame matching the defined ACL rule. (This feature is commonly referred to as ACL packet marking.) Use the no form to remove the ACL marker.
  • Page 417: Acl Information

    CCESS ONTROL OMMANDS Related Commands show marking (4-142) ACL Information Table 4-38 ACL Information Command Function Mode Page show access-list Show all ACLs and associated rules 4-155 show access-group Shows the ACLs assigned to each port 4-156 show access-list This command shows all ACLs and associated rules, as well as all the user-defined masks.
  • Page 418: Show Access-Group

    OMMAND NTERFACE show access-group This command shows the port assignments of ACLs. Command Mode Privileged Executive Example Console#show access-group Interface ethernet 1/2 IP standard access-list david MAC access-list jerry Console# SNMP Commands Controls access to this switch from management stations using the Simple Network Management Protocol (SNMP), as well as the error types sent to trap managers.
  • Page 419: Table 4-39 Snmp Command Syntax

    SNMP C OMMANDS Table 4-39 SNMP Command Syntax Command Function Mode Page snmp-server Enables the SNMPv3 server 4-164 show snmp Displays the status of SNMP 4-163 communications snmp-server Sets up the community access string to permit 4-158 community access to SNMP commands snmp-server contact Sets the system contact string 4-159 snmp-server location Sets the system location string...
  • Page 420: Snmp-Server Community

    OMMAND NTERFACE snmp-server community Use this command to define the SNMP v1 and v2c community access strings. Use the no form to remove the specified community string. Syntax snmp-server community string [ro|rw] no snmp-server community string • string - Community string that acts like a password and permits access to the SNMP protocol.
  • Page 421: Snmp-Server Contact

    SNMP C OMMANDS snmp-server contact Use this command to set the system contact string. Use the no form to remove the system contact information. Syntax snmp-server contact string no snmp-server contact string - String that describes the system contact information. (Maximum length: 255 characters) Default Setting None...
  • Page 422: Snmp-Server Host

    OMMAND NTERFACE Command Mode Global Configuration Example Console(config)#snmp-server location WC-19 Console(config)# Related Commands snmp-server contact (4-159) snmp-server host Use this command to specify the recipient of a Simple Network Management Protocol notification operation. Use the no form to remove the specified host.
  • Page 423 SNMP C OMMANDS Default Setting • Host Address: None • SNMP Version: 1 • UDP Port: 162 Command Mode Global Configuration Command Usage • If you do not enter an snmp-server host command, no notifications are sent. In order to configure the switch to send SNMP notifications, you must enter at least one snmp-server host command.
  • Page 424: Snmp-Server Enable Traps

    OMMAND NTERFACE Example Console(config)#snmp-server host 10.1.19.23 batman private version 2c udp-port 162 Console(config)# Related Commands snmp-server enable traps (4-162) snmp-server enable traps Use this command to enable this device to send Simple Network Management Protocol traps (SNMP notifications). Use the no form to disable SNMP notifications.
  • Page 425: Show Snmp

    SNMP C OMMANDS • The snmp-server enable traps command is used in conjunction with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications. In order to send notifications, you must configure at least one snmp-server host command.
  • Page 426: Snmp-Server

    OMMAND NTERFACE Example Console#show snmp SNMP traps: Authentication: enable Link-up-down: enable SNMP communities: 1. private, and the privilege is read-write 2. public, and the privilege is read-only 0 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 0 Number of requested variables...
  • Page 427: Snmp-Server Engine-Id

    SNMP C OMMANDS snmp-server engine-id Use this command to configure an identification string for the SNMP v3 engine. Use the no form to restore the default. Syntax snmp-server engine-id local engineid-string no snmp-server engine-id local engineid-string - String identifying the engine ID. (Range: 1-26 hexadecimal characters) Default Setting A unique engine ID is automatically generated by the switch based on its...
  • Page 428: Show Snmp Engine-Id

    OMMAND NTERFACE show snmp engine-id Use this command to show the SNMP engine ID. Command Mode Privileged Exec Example This example shows the default engine ID. Console#show snmp engine-id Local SNMP engineID: 8000002a8000000000e8666672 Local SNMP engineBoots: 1 Table 4-40 SNMP Engine ID Field Description Local SNMP...
  • Page 429: Global Configuration

    SNMP C OMMANDS Command Mode Global Configuration Command Usage • Views are used in the snmp-server group command to restrict user access to specified portions of the MIB tree. • The predefined view “defaultview” includes access to the entire MIB tree.
  • Page 430: Show Snmp View

    OMMAND NTERFACE show snmp view Use this command to show information on the SNMP groups. Command Mode Privileged Exec Example Console#show snmp view View Name: mib-2 Subtree OID: 1.2.2.3.6.2.1 View Type: included Storage Type: nonvolatile Row Status: active View Name: defaultview Subtree OID: 1 View Type: included Storage Type: nonvolatile...
  • Page 431: Snmp-Server Group

    SNMP C OMMANDS snmp-server group Use this command to add an SNMP group, mapping SNMP users to SNMP views. Use the no form to remove an SNMP group. Syntax snmp-server group groupname {v1 | v2c | v3 {auth | noauth | priv}} [read readview] [write writeview] no snmp-server group groupname •...
  • Page 432: Show Snmp Group

    OMMAND NTERFACE show snmp group Four default groups are provided – SNMPv1 read-only access and read/ write access, and SNMPv2c read-only access and read/write access. Command Mode Privileged Exec Example Console#show snmp group Security Model: v3 Read View: defaultview Write View: daily Notify View: none Storage Type: nonvolatile Row Status: active...
  • Page 433: Snmp-Server User

    SNMP C OMMANDS Table 4-42 SNMP Group Field Description groupname Name of an SNMP group. security model The SNMP version. readview The associated read view. writeview The associated write view. notifyview The associated notify view. storage-type The storage type for this entry. Row Status The row status of this entry.
  • Page 434: Show Snmp User

    OMMAND NTERFACE Default Setting None Command Mode Global Configuration Command Usage • The SNMP engine ID is used to compute the authentication/privacy digests from the password. You should therefore configure the engine ID with the snmp-server engine-id command before using this configuration command.
  • Page 435: Interface Commands

    NTERFACE OMMANDS Table 4-43 SNMP User Field Description EngineId String identifying the engine ID. User Name Name of user connecting to the SNMP agent. Authentication The authentication protocol used with SNMPv3. Protocol Privacy Protocol The privacy protocol used with SNMPv3. Storage Type The storage type for this entry.
  • Page 436: Interface

    OMMAND NTERFACE Table 4-44 Interface Commands Command Function Mode Page show interfaces Displays statistics for the specified interfaces 4-184 counters show interfaces Displays the administrative and operational status 4-186 switchport of an interface interface Use this command to configure an interface type and enter interface configuration mode.
  • Page 437: Description

    NTERFACE OMMANDS description Use this command to add a description to an interface. Use the no form to remove the description. Syntax description string no description string - Comment or a description to help you remember what is attached to this interface. (Range: 1-64 characters) Default Setting None Command Mode...
  • Page 438 OMMAND NTERFACE Default Setting • Auto-negotiation is enabled by default. • When auto-negotiation is disabled, the default speed-duplex setting is 100half for 100BASE-TX ports and 1000full for Gigabit Ethernet ports. Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • To force operation to the speed and duplex mode specified in a speed-duplex command, use the no negotiation command to disable auto-negotiation on the selected interface.
  • Page 439: Negotiation

    NTERFACE OMMANDS negotiation Use this command to enable autonegotiation for a given interface. Use the no form to disable autonegotiation. Syntax [no] negotiation Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • When auto-negotiation is enabled the switch will negotiate the best settings for a link based on the capabilities command.
  • Page 440: Capabilities

    OMMAND NTERFACE capabilities Use this command to advertise the port capabilities of a given interface during autonegotiation. Use the no form with parameters to remove an advertised capability, or the no form without parameters to restore the default values. Syntax [no] capabilities {1000full | 100full | 100half | 10full | 10half | flowcontrol | symmetric} •...
  • Page 441: Flowcontrol

    NTERFACE OMMANDS Example The following example configures Ethernet port 5 capabilities to 100half, 100full and flow control. Console(config)#interface ethernet 1/5 Console(config-if)#capabilities 100half Console(config-if)#capabilities 100full Console(config-if)#capabilities flowcontrol Console(config-if)# Related Commands negotiation (4-177) speed-duplex (4-175) flowcontrol (4-179) flowcontrol Use this command to enable flow control. Use the no form to disable flow control.
  • Page 442: Shutdown

    OMMAND NTERFACE • When using the negotiation command to enable auto-negotiation, the optimal settings will be determined by the capabilities command. To enable flow control under auto-negotiation, “flowcontrol” must be included in the capabilities list for any port • Avoid using flow control on a port connected to a hub unless it is actually required to solve a problem.
  • Page 443: Switchport Broadcast Packet-Rate

    NTERFACE OMMANDS Command Usage This command allows you to disable a port due to abnormal behavior (e.g., excessive collisions), and then reenable it after the problem has been resolved. You may also want to disable a port for security reasons. Example The following example disables port 5.
  • Page 444: Clear Counters

    OMMAND NTERFACE Example The following shows how to configure broadcast storm control at 600 packets per second on port 5. Console(config)#interface ethernet 1/5 Console(config-if)#switchport broadcast packet-rate 600 Console(config-if)# clear counters Use this command to clear statistics on an interface. Syntax clear counters interface interface •...
  • Page 445: Show Interfaces Status

    NTERFACE OMMANDS show interfaces status Use this command to display the status for an interface. Syntax show interfaces status [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) •...
  • Page 446: Show Interfaces Counters

    OMMAND NTERFACE Example Console#show interfaces status ethernet 1/5 Information of Eth 1/5 Basic information: Port type: 100TX Mac address: 00-00-AB-CD-00-01 Configuration: Name: Port admin: Up Speed-duplex: Auto Capabilities: 10half, 10full, 100half, 100full, Broadcast storm: Enabled Broadcast storm limit: 500 packets/second Flow control: Disabled Lacp: Disabled Current status:...
  • Page 447: Table 4-44 Interface Commands

    NTERFACE OMMANDS Command Usage If no interface is specified, information on all interfaces is displayed. For a description of the items displayed by this command, see “Showing Port Statistics” on page 3-129. Example Console#show interfaces counters ethernet 1/7 Ethernet 1/7 Iftable stats: Octets input: 30658, Octets output: 196550 Unicast input: 6, Unicast output: 5...
  • Page 448: Show Interfaces Switchport

    OMMAND NTERFACE show interfaces switchport Use this command to display the administrative and operational status of the specified interfaces. Syntax show interfaces switchport [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. •...
  • Page 449: Mirror Port Commands

    IRROR OMMANDS Table 4-45 Show Interfaces Switchport Output - Description Field Description Broadcast threshold Shows if broadcast storm suppression is enabled or disabled; if enabled it also shows the threshold level (See page 4-181.) Lacp status Shows if Link Aggregation Control Protocol has been enabled or disabled (See page 4-195.) VLAN membership Indicates membership mode as Trunk or Hybrid...
  • Page 450: Port Monitor

    OMMAND NTERFACE port monitor Use this command to configure a mirror session. Use the no form to clear a mirror session. Syntax port monitor interface [rx | tx | both] no port monitor interface • interface - ethernet unit/port (source port) - unit - Switch (unit 1).
  • Page 451: Show Port Monitor

    IRROR OMMANDS Example The following example configures the switch to mirror all packets from port 6 to port 11. Console(config)#interface ethernet 1/11 Console(config-if)#port monitor ethernet 1/6 both Console(config-if)# show port monitor Use this command to display mirror information. Syntax show port monitor [interface] interface - ethernet unit/port (source port) •...
  • Page 452: Table 4-47 Rate Limit Commands

    OMMAND NTERFACE Rate Limit Commands This function allows the network manager to control the maximum rate for traffic transmitted or received on an interface. Rate limiting is configured on interfaces at the edge of a network to limit traffic into or out of the network. Traffic that falls within the rate limit is transmitted, while packets that exceed the acceptable amount of traffic are dropped.
  • Page 453: Rate Limit Commands

    IMIT OMMANDS Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • The range is: - Fast Ethernet interface – 1 to 100 Mbps - Gigabit Ethernet interface – 8 to 1000 Mbps • Resolution – The increment of change: - Fast Ethernet interface –...
  • Page 454: Link Aggregation Commands

    OMMAND NTERFACE Link Aggregation Commands Ports can be statically grouped into an aggregate link (i.e., trunk) to increase the bandwidth of a network connection or to ensure fault recovery. Or you can use the Link Aggregation Control Protocol (LACP) to automatically negotiate a trunk link between this switch and another network device.
  • Page 455 GGREGATION OMMANDS Guidelines for Creating Trunks General Guidelines • Finish configuring port trunks before you connect the corresponding network cables between switches to avoid creating a loop. • A trunk can have up to eight ports. • The ports at both ends of a connection must be configured as trunk ports.
  • Page 456: Channel-Group

    OMMAND NTERFACE channel-group This command adds a port to a trunk. Use the no form to remove a port from a trunk. Syntax channel-group channel-id no channel-group channel-id - Trunk index (Range: 1-6) Default Setting The current port will be added to this trunk. Command Mode Interface Configuration (Ethernet) Command Usage...
  • Page 457: Lacp

    GGREGATION OMMANDS lacp This command enables 802.3ad Link Aggregation Control Protocol (LACP) for the current interface. Use the no form to disable it. Syntax [no] lacp Default Setting Disabled Command Mode Interface Configuration (Ethernet) Command Usage • The ports on both ends of an LACP trunk must be configured for full duplex, either by forced mode or auto-negotiation.
  • Page 458 OMMAND NTERFACE Example The following shows LACP enabled on ports 11-13. Because LACP has also been enabled on the ports at the other end of the links, the show interfaces status port-channel 1 command shows that Trunk1 has been established. Console(config)#interface ethernet 1/11 Console(config-if)#lacp Console(config-if)#exit...
  • Page 459: Lacp System-Priority

    GGREGATION OMMANDS lacp system-priority This command configures a port’s LACP system priority. Use the no form to restore the default setting. Syntax lacp {actor | partner} system-priority priority no lacp {actor | partner} system-priority • actor - The local side an aggregate link. •...
  • Page 460: Lacp Admin-Key (Ethernet Interface)

    OMMAND NTERFACE lacp admin-key (Ethernet Interface) This command configures a port’s LACP administration key. Use the no form to restore the default setting. Syntax lacp {actor | partner} admin-key key [no] lacp {actor | partner} admin-key • actor - The local side an aggregate link. •...
  • Page 461: Lacp Admin-Key (Port Channel)

    GGREGATION OMMANDS lacp admin-key (Port Channel) This command configures a port channel’s LACP administration key string. Use the no form to restore the default setting. Syntax lacp admin-key key [no] lacp admin-key key - The port channel admin key is used to identify a specific link aggregation group (LAG) during local LACP setup on this switch.
  • Page 462: Lacp Port-Priority

    OMMAND NTERFACE lacp port-priority This command configures LACP port priority. Use the no form to restore the default setting. Syntax lacp {actor | partner} port-priority priority no lacp {actor | partner} port-priority • actor - The local side an aggregate link. •...
  • Page 463: Show Lacp

    GGREGATION OMMANDS show lacp This command displays LACP information. Syntax show lacp [port-channel] {counters | internal | neighbors | sys-id} • port-channel - Local identifier for a link aggregation group. (Range: 1-6) • counters - Statistics for LACP protocol messages. •...
  • Page 464: Table 4-49 Lacp Data Units

    OMMAND NTERFACE Table 4-49 LACP Data Units Field Description LACPDUs Sent Number of valid LACPDUs transmitted from this channel group. LACPDUs Received Number of valid LACPDUs received on this channel group. Marker Sent Number of valid Marker PDUs transmitted from this channel group.
  • Page 465: Table 4-50 Show Lacp Output Contents

    GGREGATION OMMANDS Table 4-50 Show LACP Output Contents Field Description Oper Key Current operational value of the key for the aggregation port. Admin Key Current administrative value of the key for the aggregation port. LACPDUs Number of seconds before invalidating received LACPDU Internal information.
  • Page 466: Table 4-51 Show Lacp Neighbours Output Contents

    OMMAND NTERFACE Console#show lacp 1 neighbors Channel group 1 neighbors --------------------------------------------------------------------- ---- Eth 1/1 --------------------------------------------------------------------- ---- Partner Admin System ID : 32768, 00-00-00-00-00-00 Partner Oper System ID : 32768, 00-00-00-00-00-01 Partner Admin Port Number : 1 Partner Oper Port Number : 1 Port Admin Priority : 32768 Port Oper Priority : 32768 Admin Key : 0...
  • Page 467 GGREGATION OMMANDS Table 4-51 Show LACP Neighbours Output Contents Field Description Admin State Administrative values of the partner’s state parameters. (See preceding table.) Oper State Operational values of the partner’s state parameters. (See preceding table.) Console#show lacp sysid Channel group System Priority System MAC Address ---------------------------------------------------------------------...
  • Page 468: Address Table Commands

    OMMAND NTERFACE Address Table Commands These commands are used to configure the address table for filtering specified addresses, displaying current entries, clearing the table, or setting the aging time. Table 4-52 Address Table Commands Command Function Mode Page mac-address-table static Maps a static address to a port in a 4-206 VLAN...
  • Page 469: Mac-Address-Table Static

    DDRESS ABLE OMMANDS • action - - delete-on-reset - Assignment lasts until the switch is reset. - permanent - Assignment is permanent. Default Setting No static addresses are defined. The default mode is permanent. Command Mode Global Configuration Command Usage The static address for a host device can be assigned to a specific port within a specific VLAN.
  • Page 470: Show Mac-Address-Table

    OMMAND NTERFACE Command Mode Privileged Exec Example Console#clear mac-address-table dynamic show mac-address-table Use this command to view classes of entries in the bridge-forwarding database. Syntax show mac-address-table [address mac-address [mask]] [interface interface] [vlan vlan-id] [sort {address | vlan | interface}] •...
  • Page 471: Mac-Address-Table Aging-Time

    DDRESS ABLE OMMANDS • The mask should be hexadecimal numbers (representing an equivalent bit mask) in the form xx-xx-xx-xx-xx-xx that is applied to the specified MAC address. Enter hexadecimal numbers, where an equivalent binary bit “0” means to match a bit and “1” means to ignore a bit. For example, a mask of 00-00-00-00-00-00 means an exact match, and a mask of FF-FF-FF-FF-FF-FF means “any.”...
  • Page 472: Show Mac-Address-Table Aging-Time

    OMMAND NTERFACE show mac-address-table aging-time This command shows the aging time for entries in the address table. Default Setting None Command Mode Privileged Exec Example Console#show mac-address-table aging-time Aging time: 300 sec. Console# Spanning Tree Commands This section includes commands that configure the Spanning Tree Algorithm (STA) globally for the switch, and commands that configure STA for the selected interface.
  • Page 473: Spanning-Tree

    PANNING OMMANDS Table 4-53 Spanning Tree Commands Command Function Mode Page spanning-tree Disables spanning tree for an interface 4-218 spanning-disabled spanning-tree cost Configures the spanning tree path cost of 4-218 an interface spanning-tree Configures the spanning tree priority of an 4-220 port-priority interface...
  • Page 474: Spanning-Tree Mode

    OMMAND NTERFACE Command Usage The Spanning Tree Algorithm (STA) can be used to detect and disable network loops, and to provide backup links between switches, bridges or routers. This allows the switch to interact with other bridging devices (that is, an STA-compliant switch, bridge or router) in your network to ensure that only one route exists between any two stations on the network, and provide backup links which automatically take over when a primary link goes down.
  • Page 475: Spanning-Tree Forward-Time

    PANNING OMMANDS Command Usage • Spanning Tree Protocol Uses RSTP for the internal state machine, but sends only 802.1D BPDUs. • Rapid Spanning Tree Protocol RSTP supports connections to either STP or RSTP nodes by monitoring the incoming protocol messages and dynamically adjusting the type of protocol messages the RSTP node transmits, as described below: - STP Mode –...
  • Page 476: Spanning-Tree Hello-Time

    OMMAND NTERFACE Command Usage This command sets the maximum time (in seconds) the root device will wait before changing states (i.e., discarding to learning to forwarding). This delay is required because every device must receive information about topology changes before it starts to forward frames. In addition, each port needs time to listen for conflicting information that would make it return to a blocking state;...
  • Page 477: Spanning-Tree Max-Age

    PANNING OMMANDS spanning-tree max-age Use this command to configure the spanning tree bridge maximum age globally for this switch. Use the no form to restore the default. Syntax spanning-tree max-age seconds no spanning-tree max-age seconds - Time in seconds. (Range: 6-40 seconds) The minimum value is the higher of 6 or [2 x (hello-time + 1)].
  • Page 478: Spanning-Tree Pathcost Method

    OMMAND NTERFACE no spanning-tree priority priority - Priority of the bridge. (Range: 0 - 65535) (Range – 0-61440, in steps of 4096; Options: 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, 61440) Default Setting 32768 Command Mode Global Configuration...
  • Page 479: Spanning-Tree Transmission-Limit

    PANNING OMMANDS Long method Command Mode Global Configuration Command Usage The path cost method is used to determine the best path between devices. Therefore, lower values should be assigned to ports attached to faster media, and higher values assigned to ports with slower media. Note that path cost (page 4-216) takes precedence over port priority (page 4-220).
  • Page 480: Spanning-Tree Spanning-Disabled

    OMMAND NTERFACE Example Console(config)#spanning-tree transmission-limit 4 Console(config)# spanning-tree spanning-disabled This command disables the Spanning Tree Algorithm for the specified interface. Use the no form to reenable the Spanning Tree Algorithm for the specified interface. Syntax [no] spanning-tree spanning-disabled Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel)
  • Page 481 PANNING OMMANDS Default Setting • Ethernet – half duplex: 2,000,000; full duplex: 1,000,000; trunk: 500,000 • Fast Ethernet – half duplex: 200,000; full duplex: 100,000; trunk: 50,000 • Gigabit Ethernet – full duplex: 10,000; trunk: 5,000 Command Mode Interface Configuration (Ethernet, Port Channel) 4-219...
  • Page 482: Spanning-Tree Port-Priority

    OMMAND NTERFACE Command Usage • This command is used by the Spanning Tree Algorithm to determine the best path between devices. Therefore, lower values should be assigned to ports attached to faster media, and higher values assigned to ports with slower media.
  • Page 483: Spanning-Tree Edge-Port

    PANNING OMMANDS Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree port-priority 0 Console(config-if)# Related Commands spanning-tree cost (4-218) spanning-tree edge-port Use this command to specify an interface as an edge port. Use the no form to restore the default. Syntax [no] spanning-tree edge-port Default Setting Disabled Command Mode...
  • Page 484: Spanning-Tree Portfast

    OMMAND NTERFACE Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree edge-port Console(config-if)# Related Commands spanning-tree portfast (4-222) spanning-tree portfast Use this command to set an interface to fast forwarding. Use the no form to disable fast forwarding. Syntax [no] spanning-tree portfast Default Setting Disabled Command Mode Interface Configuration (Ethernet, Port Channel)
  • Page 485: Spanning-Tree Link-Type

    PANNING OMMANDS • This command is the same as spanning-tree edge-port, and is only included for backward compatibility with earlier products. Note that this command may be removed for future software versions. Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree portfast Console(config-if)# Related Commands spanning-tree edge-port (4-221) spanning-tree link-type Use this command to configure the link type for Rapid Spanning Tree and...
  • Page 486: Spanning-Tree Protocol-Migration

    OMMAND NTERFACE • When automatic detection is selected, the switch derives the link type from the duplex mode. A full-duplex interface is considered a point-to-point link, while a half-duplex interface is assumed to be on a shared link. • RSTP only works on point-to-point links between two bridges. If you designate a port as a shared link, RSTP is forbidden.
  • Page 487: Show Spanning-Tree

    PANNING OMMANDS Command Usage If at any time the switch detects STP BPDUs, including Configuration or Topology Change Notification BPDUs, it will automatically set the selected interface to forced STP-compatible mode. However, you can also use the spanning-tree protocol-migration command at any time to manually re-check the appropriate BPDU format to send on the selected interfaces (i.e., RSTP or STP-compatible).
  • Page 488 OMMAND NTERFACE • For a description of the items displayed under “Spanning-tree information,” see “Configuring Global Settings” on page 3-151. For a description of the items displayed for specific interfaces, see “Displaying Interface Settings” on page 3-154. Example Console#show spanning-tree Spanning-tree information --------------------------------------------------------------- Spanning tree mode...
  • Page 489: Vlan Commands

    VLAN C OMMANDS VLAN Commands A VLAN is a group of ports that can be located anywhere in the network, but communicate as though they belong to the same physical segment. This section describes commands used to create VLAN groups, add port members, specify how VLAN tagging is used, and enable automatic VLAN registration for the selected interface.
  • Page 490: Vlan

    OMMAND NTERFACE Command Mode Global Configuration Command Usage • Use the VLAN database command mode to add, change, and delete VLANs. After finishing configuration changes, you can display the VLAN settings by entering the show vlan command. • Use the interface vlan command mode to define the port membership mode and add or remove ports from a VLAN.
  • Page 491 VLAN C OMMANDS Default Setting By default only VLAN 1 exists and is active. Command Mode VLAN Database Configuration Command Usage • no vlan vlan-id deletes the VLAN. • no vlan vlan-id name removes the VLAN name. • no vlan vlan-id state returns the VLAN to the default state (i.e., active). •...
  • Page 492: Configuring Vlan Interfaces

    OMMAND NTERFACE Configuring VLAN Interfaces Table 4-56 Configuring VLAN Interfaces Command Function Mode Page interface vlan Enters interface configuration mode for a 4-230 specified VLAN switchport mode Configures VLAN membership mode for 4-231 an interface switchport Configures frame types to be accepted by an 4-232 acceptable-frame-types interface...
  • Page 493: Switchport Mode

    VLAN C OMMANDS Command Mode Global Configuration Example The following example shows how to set the interface configuration mode to VLAN 1, and then assign an IP address to the VLAN. Console(config)#interface vlan 1 Console(config-if)#ip address 192.168.1.254 255.255.255.0 Console(config-if)# Related Commands shutdown (4-180) switchport mode Use this command to configure the VLAN membership mode for a port.
  • Page 494: Switchport Acceptable-Frame-Types

    OMMAND NTERFACE Example The following shows how to set the configuration mode to port 1, and then set the switchport mode to hybrid. Console(config)#interface ethernet 1/1 Console(config-if)#switchport mode hybrid Console(config-if)# Related Commands switchport acceptable-frame-types (4-232) switchport acceptable-frame-types Use this command to configure the acceptable frame types for a port. Use the no form to restore the default.
  • Page 495: Switchport Ingress-Filtering

    VLAN C OMMANDS Example The following example shows how to restrict the traffic passed on port 1 to tagged frames. Console(config)#interface ethernet 1/1 Console(config-if)#switchport acceptable-frame-types tagged Console(config-if)# Related Commands switchport mode (4-231) switchport ingress-filtering Use this command to enable ingress filtering for an interface. Use the no form to restore the default.
  • Page 496: Switchport Native Vlan

    OMMAND NTERFACE Example The following example shows how to set the interface to port 1 and then enable ingress filtering. Console(config)#interface ethernet 1/1 Console(config-if)#switchport ingress-filtering Console(config-if)# switchport native vlan Use this command to configure the PVID (i.e., default VLAN ID) for a port. Use the no form to restore the default.
  • Page 497: Switchport Allowed Vlan

    VLAN C OMMANDS Example The following example shows how to set the PVID for port 1 to VLAN 3. Console(config)#interface ethernet 1/1 Console(config-if)#switchport native vlan 3 Console(config-if)# switchport allowed vlan Use this command to configure VLAN groups on the selected interface. Use the no form to restore the default.
  • Page 498: Switchport Forbidden Vlan

    OMMAND NTERFACE • If none of the intermediate network devices nor the host at the other end of the connection supports VLANs, the interface should be added to these VLANs as an untagged member. Otherwise, it is only necessary to add at most one VLAN as untagged, and this should correspond to the native VLAN for the interface.
  • Page 499: Displaying Vlan Information

    VLAN C OMMANDS Command Usage • This command prevents a VLAN from being automatically added to the specified interface via GVRP. • If a VLAN has been added to the set of allowed VLANs for an interface, then you cannot add it to the set of forbidden VLANs for that same interface.
  • Page 500 OMMAND NTERFACE show vlan Use this command to show VLAN information. Syntax show vlan [id vlan-id | name vlan-name] • id - Keyword to be followed by the VLAN ID. • vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zeroes) •...
  • Page 501: Gvrp And Bridge Extension Commands

    GVRP RIDGE XTENSION OMMANDS GVRP and Bridge Extension Commands GARP VLAN Registration Protocol defines a way for switches to exchange VLAN information in order to automatically register VLAN members on interfaces across the network. This section describes how to enable GVRP for individual interfaces and globally for the switch, as well as how to display default configuration settings for the Bridge Extension MIB.
  • Page 502: Show Bridge-Ext

    OMMAND NTERFACE Command Usage GVRP defines a way for switches to exchange VLAN information in order to register VLAN members on ports across the network. This function should be enabled to permit automatic VLAN registration, and to support VLANs which extend beyond the local switch. Example Console(config)#bridge-ext gvrp Console(config)#...
  • Page 503: Switchport Gvrp

    GVRP RIDGE XTENSION OMMANDS switchport gvrp Use this command to enable GVRP for a port. Use the no form to disable it. Syntax [no] switchport gvrp Default Setting Disabled Command Mode Interface Configuration (Ethernet, Port Channel) Example Console(config)#interface ethernet 1/1 Console(config-if)#switchport gvrp Console(config-if)# show gvrp configuration...
  • Page 504: Garp Timer

    OMMAND NTERFACE Example Console#show gvrp configuration ethernet 1/7 Eth 1/ 7: Gvrp configuration: Disabled Console# garp timer Use this command to set the values for the join, leave and leaveall timers. Use the no form to restore the timers' default values. Syntax garp timer {join | leave | leaveall} timer_value no garp timer {join | leave | leaveall}...
  • Page 505: Show Garp Timer

    GVRP RIDGE XTENSION OMMANDS • Timer values must meet the following restrictions: - leave >= (2 x join) - leaveall > leave Note: Set GVRP timers on all Layer 2 devices connected in the same network to the same values. Otherwise, GVRP may not operate successfully.
  • Page 506: Priority Commands (Layer 2)

    OMMAND NTERFACE Example Console#show garp timer ethernet 1/1 Eth 1/ 1 GARP timer status: Join timer: 20 centiseconds Leave timer: 60 centiseconds Leaveall timer: 1000 centiseconds Console# Related Commands garp timer (4-242) Priority Commands The commands described in this section allow you to specify which data packets have greater precedence when traffic is buffered in the switch due to congestion.
  • Page 507: Queue Mode

    RIORITY OMMANDS Priority Commands (Layer 2) Table 4-60 Priority Commands (Layer 2) Command Function Mode Page queue mode Sets the queue mode to strict priority or 4-247 Weighted Round-Robin (WRR) switchport priority Sets a port priority for incoming untagged 4-246 default frames queue bandwidth...
  • Page 508: Switchport Priority Default

    OMMAND NTERFACE Command Mode Global Configuration Command Usage You can set the switch to service the queues based on a strict rule that requires all traffic in a higher priority queue to be processed before lower priority queues are serviced, or use Weighted Round-Robin (WRR) queuing that specifies a relative weight of each queue.
  • Page 509: Queue Bandwidth

    RIORITY OMMANDS Command Usage • The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority. • The default priority applies for an untagged frame received on a port set to accept all frame types (i.e, receives both untagged and tagged frames). This priority does not apply to IEEE 802.1Q VLAN tagged frames.
  • Page 510: Queue Cos-Map

    OMMAND NTERFACE Default Setting Weights 1, 4, 16 and 64 are assigned to queue 0, 1, 2 and 3 respectively. Command Mode Global Configuration Command Usage WRR controls bandwidth sharing at the egress port by defining scheduling weights. Example The following example shows how to assign WRR weights of 1, 3, 5 and 7 to the CoS priority queues 0, 1, 2 and 3: Console(config)#queue bandwidth 1 3 5 7 Console(config)#...
  • Page 511: Table 4-59 Priority Commands

    RIORITY OMMANDS Default Setting This switch supports Class of Service by using eight priority queues, with Weighted Round Robin queuing for each port. Eight separate traffic classes are defined in IEEE 802.1p. The default priority levels are assigned according to recommendations in the IEEE 802.1p standard as shown below.
  • Page 512: Show Queue Bandwidth

    OMMAND NTERFACE show queue bandwidth Use this command to display the weighted round-robin (WRR) bandwidth allocation for the priority queues. Default Setting None Command Mode Privileged Exec Example Console#show queue bandwidth Queue ID Weight -------- ------ show queue cos-map Use this command to show the class of service priority map. Syntax show queue cos-map [interface] interface...
  • Page 513: Priority Commands (Layer 3 And 4)

    RIORITY OMMANDS Example Console#show queue cos-map ethernet 1/1 Information of Eth 1/1 Traffic Class : 0 1 2 3 4 5 6 7 Priority Queue: 1 0 0 1 2 2 3 3 Console# Priority Commands (Layer 3 and 4) Table 4-62 Priority Commands (Layer 3 and 4) Command Function...
  • Page 514: Map Ip Port (Global Configuration)

    OMMAND NTERFACE map ip port (Global Configuration) Use this command to enable IP port mapping (i.e., class of service mapping for TCP/UDP sockets). Use the no form to disable IP port mapping. Syntax [no] map ip port Default Setting Disabled Command Mode Global Configuration Command Usage...
  • Page 515: Map Ip Precedence (Global Configuration)

    RIORITY OMMANDS Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority. • This command sets the IP port priority for all interfaces. Example The following example shows how to map HTTP traffic to CoS value 0.
  • Page 516: Map Ip Precedence (Interface Configuration)

    OMMAND NTERFACE Example The following example shows how to enable IP precedence mapping globally. Console(config)#map ip precedence Console(config)# map ip precedence (Interface Configuration) Use this command to set IP precedence priority (i.e., IP Type of Service priority). Use the no form to restore the default table. Syntax map ip precedence ip-precedence-value cos cos-value no map ip precedence...
  • Page 517: Map Ip Dscp (Global Configuration)

    RIORITY OMMANDS • This command sets the IP Precedence for all interfaces. Example The following example shows how to map IP precedence value 1 to CoS value 0: Console(config)#interface ethernet 1/5 Console(config-if)#map ip precedence 1 cos 0 Console(config-if)# map ip dscp (Global Configuration) Use this command to enable IP DSCP mapping (i.e., Differentiated Services Code Point mapping).
  • Page 518: Map Ip Dscp (Interface Configuration)

    OMMAND NTERFACE map ip dscp (Interface Configuration) Use this command to set IP DSCP priority (i.e., Differentiated Services Code Point priority). Use the no form to restore the default table. Syntax map ip dscp dscp-value cos cos-value no map ip dscp •...
  • Page 519: Show Map Ip Port

    RIORITY OMMANDS • This command sets the IP DSCP priority for all interfaces. Example The following example shows how to map IP DSCP value 1 to CoS value 0: Console(config)#interface ethernet 1/5 Console(config-if)#map ip dscp 1 cos 0 Console(config-if)# show map ip port Use this command to show the IP port priority map.
  • Page 520: Show Map Ip Precedence

    OMMAND NTERFACE map ip port (Interface Configuration) (4-252) show map ip precedence Use this command to show the IP precedence priority map. Syntax show map ip precedence [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. •...
  • Page 521: Show Map Ip Dscp

    RIORITY OMMANDS show map ip dscp Use this command to show the IP DSCP priority map. Syntax show map ip dscp [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) Default Setting None Command Mode...
  • Page 522: Multicast Filtering Commands

    OMMAND NTERFACE Multicast Filtering Commands This switch uses IGMP (Internet Group Management Protocol) to query for any attached hosts that want to receive a specific multicast service. It identifies the ports containing hosts requesting a service and sends data out to those ports only.
  • Page 523: Igmp Snooping Commands

    ULTICAST ILTERING OMMANDS IGMP Snooping Commands Table 4-66 IGMP Snooping Commands Command Function Mode Page ip igmp snooping Enables IGMP snooping 4-261 ip igmp snooping vlan Adds an interface as a member of a 4-262 static multicast group ip igmp snooping Configures the IGMP version for snooping GC 4-262 version...
  • Page 524: Ip Igmp Snooping Vlan Static

    OMMAND NTERFACE ip igmp snooping vlan static Use this command to add a port to a multicast group. Use the no form to remove the port. Syntax [no] ip igmp snooping vlan vlan-id static ip-address interface • vlan-id - VLAN ID (Range: 1-4094) •...
  • Page 525: Show Ip Igmp Snooping

    ULTICAST ILTERING OMMANDS Default Setting IGMP Version 2 Command Mode Global Configuration Command Usage • All systems on the subnet must support the same version. If there are legacy devices in your network that only support Version 1, you will also have to configure this switch to use Version 1.
  • Page 526: Show Mac-Address-Table Multicast

    OMMAND NTERFACE Example The following shows the current IGMP snooping configuration: Console#show ip igmp snooping Service status: Enabled Querier status: Enabled Query count: 2 Query interval: 125 sec Query max response time: 10 sec Query time-out: 300 sec IGMP snooping version: Version 2 Console# show mac-address-table multicast Use this command to show known multicast addresses.
  • Page 527: Igmp Query Commands (Layer 2)

    ULTICAST ILTERING OMMANDS Example The following shows the multicast entries learned through IGMP snooping for VLAN 1: Console#show mac-address-table multicast vlan 1 igmp-snooping VLAN M'cast IP addr. Member ports Type ---- --------------- ------------ ------- 224.1.2.3 Eth1/11 IGMP Console# IGMP Query Commands (Layer 2) Table 4-67 IGMP Query Commands (Layer 2) Command Function...
  • Page 528: Ip Igmp Snooping Query-Count

    OMMAND NTERFACE Global Configuration Command Usage If enabled, the switch will serve as querier if elected. The querier is responsible for asking hosts if they want to receive multicast traffic. Example Console(config)#ip igmp snooping querier Console(config)# ip igmp snooping query-count Use this command to configure the query count.
  • Page 529: Ip Igmp Snooping Query-Interval

    ULTICAST ILTERING OMMANDS Example The following shows how to configure the query count to 10: Console(config)#ip igmp snooping query-count 10 Console(config)# Related Commands ip igmp snooping query-max-response-time (4-268) ip igmp snooping query-interval Use this command to configure the query interval. Use the no form to restore the default.
  • Page 530: Ip Igmp Snooping Query-Max-Response-Time

    OMMAND NTERFACE ip igmp snooping query-max-response-time Use this command to configure the snooping report delay. Use the no form of this command to restore the default. Syntax ip igmp snooping query-max-response-time seconds no ip igmp snooping query-max-response-time seconds - The report delay advertised in IGMP queries. (Range: 5-30) Default Setting 10 seconds Command Mode...
  • Page 531: Ip Igmp Snooping Router-Port-Expire-Time

    ULTICAST ILTERING OMMANDS ip igmp snooping router-port-expire-time Use this command to configure the query timeout. Use the no form of this command to restore the default. Syntax ip igmp snooping router-port-expire-time seconds no ip igmp snooping router-port-expire-time seconds - The time the switch waits after the previous querier stops before it considers the router port (i.e., the interface which had been receiving query packets) to have expired.
  • Page 532: Ip Igmp Snooping Vlan Mrouter

    OMMAND NTERFACE Static Multicast Routing Commands Table 4-68 Static Multicast Routing Commands Command Function Mode Page ip igmp snooping vlan Adds a multicast router port 4-270 mrouter show ip igmp snooping Shows multicast router ports 4-271 mrouter ip igmp snooping vlan mrouter Use this command to statically configure a multicast router port.
  • Page 533: Show Ip Igmp Snooping Mrouter

    ULTICAST ILTERING OMMANDS Example The following shows how to configure port 11 as a multicast router port within VLAN 1. Console(config)#ip igmp snooping vlan 1 mrouter ethernet 1/11 Console(config)# show ip igmp snooping mrouter Use this command to display information on statically configured and dynamically learned multicast router ports.
  • Page 534: Ip Interface Commands

    OMMAND NTERFACE IP Interface Commands There are no IP addresses assigned to this switch by default. You must manually configure a new address to manage the switch over your network. You may also need to a establish a default gateway between this device and the management stations.
  • Page 535 IP I NTERFACE OMMANDS Default Setting • IP address: 0.0.0.0 • Netmask: 255.0.0.0 Command Mode Interface Configuration (VLAN) Command Usage • You must assign an IP address to this device to gain management access over the network. You can manually configure a specific IP address, or direct the device to obtain an address from a BOOTP or DHCP server.
  • Page 536: Ip Default-Gateway

    OMMAND NTERFACE Related Commands ip dhcp restart (4-275) ip default-gateway Use this command to a establish a static route between this device and management stations that exist on another network segment. Use the no form to remove the static route. Syntax ip default-gateway gateway no ip default-gateway...
  • Page 537: Ip Dhcp Restart

    IP I NTERFACE OMMANDS ip dhcp restart Use this command to submit a BOOTP or DCHP client request. Default Setting None Command Mode Privileged Exec Command Usage • This command issues a BOOTP or DHCP client request for any IP interface that has been set to BOOTP or DHCP mode via the ip address command.
  • Page 538: Show Ip Redirects

    OMMAND NTERFACE Command Mode Privileged Exec Example Console#show ip interface IP address and netmask: 10.1.0.254 255.255.255.0 on VLAN 1, and address mode: User specified. Console# Related Commands show ip redirects (4-276) show ip redirects Use this command to show the default gateway configured for this device. Default Setting None Command Mode...
  • Page 539 IP I NTERFACE OMMANDS • count - Number of packets to send. (Range: 1-16, default: 5) • size - Number of bytes in a packet. (Range: 32-512, default: 32) The actual packet size will be eight bytes larger than the size specified because the switch adds header information.
  • Page 540: Dns Commands

    OMMAND NTERFACE DNS Commands These commands are used to configure Domain Naming System (DNS) services. You can manually configure entries in the DNS domain name to IP address mapping table, configure default domain names, or specify one or more name servers to use for domain name to address translation. Note that domain name services will not be enabled until at least one name server is specified with the ip name-server command and domain lookup is enabled with the ip domain-lookup command.
  • Page 541: Clear Host

    DNS C OMMANDS Syntax [no] ip host name address1 [address2 … address8] • name - Name of the host. (Range: 1-64 characters) • address1 - Corresponding IP address. • address2 … address8 - Additional corresponding IP addresses. Default Setting No static entries Command Mode Global Configuration Command Usage...
  • Page 542: Ip Domain-Name

    OMMAND NTERFACE None Command Mode Privileged Exec Example This example clears all static entries from the DNS table. Console(config)#clear host * Console(config)# ip domain-name This command defines the default domain name appended to incomplete host names (i.e., host names passed from a client that are not formatted with dotted notation).
  • Page 543: Ip Domain-List

    DNS C OMMANDS ip domain-list (4-281) ip name-server (4-282) ip domain-lookup (4-283) ip domain-list This command defines a list of domain names that can be appended to incomplete host names (i.e., host names passed from a client that are not formatted with dotted notation).
  • Page 544: Ip Name-Server

    OMMAND NTERFACE Example This example adds two domain names to the current list and then displays the list. Console(config)#ip domain-list sample.com.jp Console(config)#ip domain-list sample.com.uk Console(config)#end Console#show dns Domain Lookup Status: DNS disabled Default Domain Name: .sample.com Domain Name List: .sample.com.jp .sample.com.uk Name Server List: Console#...
  • Page 545: Ip Domain-Lookup

    DNS C OMMANDS Command Usage The listed name servers are queried in the specified sequence until a response is received, or the end of the list is reached with no response. Example This example adds two domain-name servers to the list and then displays the list.
  • Page 546: Show Hosts

    OMMAND NTERFACE Command Usage • At least one name server must be specified before you can enable DNS. • If all name servers are deleted, DNS will automatically be disabled. Example This example enables DNS and then displays the configuration. Console(config)#ip domain-lookup Console(config)#end Console#show dns...
  • Page 547: Show Dns

    DNS C OMMANDS Example Note that a host name will be displayed as an alias if it is mapped to the same address(es) as a previously configured entry. Console#show hosts Hostname Inet address 10.1.0.55 192.168.1.55 Alias 1.rd6 Console# show dns This command displays the configuration of the DNS server.
  • Page 548: Clear Dns Cache

    OMMAND NTERFACE Example Console#show dns cache FLAG TYPE DOMAIN CNAME 10.2.44.96 pttch_pc.accton.com.tw CNAME 10.2.44.3 ahten.accton.com.tw CNAME 66.218.71.84 www.yahoo.akadns.net CNAME 66.218.71.83 www.yahoo.akadns.net CNAME 66.218.71.81 www.yahoo.akadns.net CNAME 66.218.71.80 www.yahoo.akadns.net CNAME 66.218.71.89 www.yahoo.akadns.net CNAME 66.218.71.86 www.yahoo.akadns.net ALIAS POINTER TO:7 www.yahoo.com Console# Table 4-71 Show DNS Output Description Field Description The entry number for each resource record.
  • Page 549: Software Specifications

    PPENDIX OFTWARE PECIFICATIONS Software Features Authentication Local, RADIUS, TACACS, Port (802.1x), HTTPS, SSH, Port Security Access Control Lists IP, MAC (up to 32 lists) Power over Ethernet SNMPv3 Management access via MIB database Trap management to specified hosts DHCP Client Port Configuration 100BASE-TX: 10/100 Mbps, half/full duplex 1000BASE-T: 10/100/1000 Mbps, half/full duplex...
  • Page 550: Management Features

    Software Specifications Port Trunking Static trunks (Cisco EtherChannel compliant) Dynamic trunks (Link Aggregation Control Protocol) Spanning Tree Protocol Spanning Tree Protocol (STP, IEEE 802.1D) Rapid Spanning Tree Protocol (RSTP, IEEE 802.1w) VLAN Support Up to 255 groups; tagged (802.1Q), GVRP for automatic VLAN learning, private VLANs Class of Service Supports four levels of priority and Weighted Round Robin Queueing (which can be configured by VLAN tag or port),...
  • Page 551: Standards

    Software Specifications Standards IEEE 802.1D Spanning Tree Protocol and traffic priorities IEEE 802.1p priority tags IEEE 802.1Q VLAN IEEE 802.1w Rapid Spanning Tree Protocol IEEE 802.1x Port Authentication IEEE 802.3 Ethernet IEEE 802.3ab 1000BASE-T IEEE 802.3ac VLAN tagging IEEE 802.3ad Link Aggregation Control Protocol IEEE 802.3af Power over Ethernet (PoE) IEEE 802.3u Fast Ethernet IEEE 802.3x full-duplex flow control (ISO/IEC 8802-3)
  • Page 552: A Software Specifications

    Software Specifications RMON MIB (RFC 2819) Trap (RFC 1215) Private MIB SNMP framework MIB (RFC 2571) SNMP-MPD MIB (RFC 2572) SNMP Target MIB, SNMP Notification MIB (RFC 2573) SNMP User-Based SM MIB (RFC 2574) SNMP View Based ACM MIB (RFC 2575) SNMP Community MIB (RFC 2576)
  • Page 553: Troubleshooting

    PPENDIX ROUBLESHOOTING Problems Accessing the Management Interface Table B-1 Troubleshooting Chart Symptom Action Cannot connect using • Be sure the switch is powered up. Telnet, Web browser, • Check network cabling between the management station and the or SNMP software switch.
  • Page 554: Using System Logs

    • Check that the null-modem serial cable conforms to the pin-out port connection connections provided in the Installation Guide. Forgot or lost the • Contact SMC Technical Support for help. password Using System Logs If a fault does occur, refer to the Installation Guide to ensure that the problem you encountered is actually caused by the switch.
  • Page 555 SING YSTEM 6. Contact SMC Technical Support. For example: Console(config)#logging on Console(config)#logging history flash 7 Console(config)#snmp-server host 192.168.1.23...
  • Page 556 ROUBLESHOOTING...
  • Page 557: Glossary

    LOSSARY Access Control List (ACL) ACLs can limit network traffic and restrict access to certain users or devices by checking each packet for certain IP or MAC (i.e., Layer 2) information. Address Resolution Protocol (ARP) ARP converts between IP addresses and MAC (i.e., hardware) addresses. ARP is used to locate the MAC address corresponding to a given IP address.
  • Page 558 LOSSARY Dynamic Host Control Protocol (DHCP) Provides a framework for passing configuration information to hosts on a TCP/IP network. DHCP is based on the Bootstrap Protocol (BOOTP), adding the capability of automatic allocation of reusable network addresses and additional configuration options. Extensible Authentication Protocol over LAN (EAPOL) EAPOL is a client authentication protocol used by this switch to verify the network access rights for any device that is plugged into the switch.
  • Page 559: Igmp Snooping

    LOSSARY IEEE 802.1Q VLAN Tagging—Defines Ethernet frame tags which carry VLAN information. It allows switches to assign endstations to different virtual LANs, and defines a standard way for VLANs to communicate across switched networks. IEEE 802.1p An IEEE standard for providing quality of service (QoS) in Ethernet networks. The standard uses packet tags that define up to eight traffic classes and allows switches to transmit packets based on the tagged priority value.
  • Page 560: Igmp Query

    LOSSARY IGMP Query On each subnetwork, one IGMP-capable device will act as the querier — that is, the device that asks all hosts to report on the IP multicast groups they wish to join or to which they already belong. The elected querier will be the device with the lowest IP address in the subnetwork.
  • Page 561: Port Mirroring

    LOSSARY Link Aggregation See Port Trunk. Link Aggregation Control Protocol (LACP) Allows ports to automatically negotiate a trunked link with LACP-configured ports on another device. Management Information Base (MIB) An acronym for Management Information Base. It is a set of database objects that contains information about a specific device.
  • Page 562 LOSSARY Port Trunk Defines a network link aggregation and trunking method which specifies how to create a single high-speed logical link that combines several lower-speed physical links. Remote Authentication Dial-in User Service (RADIUS) RADIUS is a logon authentication protocol that uses software running on a central server to control access to RADIUS-compliant devices on the network.
  • Page 563 LOSSARY Spanning Tree Protocol (STP) A technology that checks your network for any loops. A loop can often occur in complicated or backup linked network systems. Spanning Tree detects and directs data along the shortest available path, maximizing the performance and efficiency of the network.
  • Page 564 LOSSARY XModem A protocol used to transfer files between devices. Data is grouped in 128-byte blocks and error-corrected. Glossary-8...
  • Page 565: Index

    NDEX Numerics configuring 3-177 4-244 802.1x DSCP 3-194 3-195 4-255 configure 4-112 IP port priority 4-252 port authentication 4-112 IP precedence 3-186 4-253 layer 2 priorities 3-177 4-245 layer 3/4 priorities 3-185 4-251 queue mapping 3-177 4-248 queue mode 3-182 4-245 acceptable frame type 3-174 4-232...
  • Page 566 NDEX Dynamic Host Configuration Protocol See IP address DHCP BOOTP/DHCP service 3-20 4-272 setting 3-18 4-272 IP port priority enabling 4-252 IP precedence edge port, STA 3-156 4-221 enabling 3-185 4-253 event logging 4-58 mapping priorities 3-186 4-254 firmware version, displaying 3-14 4-82 link type, STA 3-156 3-159...
  • Page 567 NDEX password, line 4-17 queue weights 3-183 4-247 passwords administrator setting 4-36 path cost 3-155 4-219 method 3-153 4-217 RADIUS, logon authentication 3-61 STA 3-153 4-217 4-102 port authentication 3-77 4-112 rate limits, setting 3-127 port power remote logging 4-62 displaying status 4-96 RSTP 3-146 4-212...
  • Page 568 NDEX startup files creating 3-26 displaying 3-22 upgrading software 3-22 4-84 setting 3-22 user password 4-36 statistics port 3-129 statistics, switch 4-184 STP 3-146 3-151 4-212 VLANs switchport mode 3-176 4-231 configuring 3-161 4-227 system clock, setting 3-42 4-71 egress mode 3-176 4-231 system software downloading from server 3-22...
  • Page 570 97 14 299 4466 Fax 97 14 299 4664 Thailand: 66 2 651 8733 Fax 66 2 651 8737 If you are looking for further contact information, please visit www.smc.com, www.smc-europe.com or www.smc-asia.com. 38 Tesla Model Number: SMC6824MPE F 2.3.3.5 Irvine, CA 92618 Phone: (949) 679-8000 Pub.Number: 150200037700A E102004-R01...

This manual is also suitable for:

Tigerstack iii smc6824mpe

Table of Contents