L2+/l3 lite gigabit ethernet (poe) switch (6 pages)
Summary of Contents for Edge-Core ECS4210-12P
Page 1
12/28-Port Gigabit Ethernet Layer 2 Switch ECS4210-12P ECS4210-12T C L I R e f e r e n c e G u i d e ECS4210-28P ECS4210-28T Software Release v1.0.0.24 www.edge-core.com...
Page 2
C L I R e f e r e n c e G u i d e ECS4210-12P Layer 2 Managed PoE Switch with 8 10/100/1000BASE-T (RJ-45) PoE Ports, 2 10/100/1000BASE-T (RJ-45) Ports, and 2 Gigabit SFP Uplink Ports ECS4210-12T...
How to Use This Guide This guide includes detailed information on the switch software, including how to operate and use the management functions of the switch. To deploy this switch effectively and ensure trouble-free operation, you should first read the relevant sections in this guide so that you are familiar with all of its software features.
Page 4
How to Use This Guide Conventions The following conventions are used throughout this guide to show information: Note: Emphasizes important information or calls your attention to related features or instructions. Caution: Alerts you to a potential hazard that could cause loss of data, or damage the system or equipment.
Page 5
How to Use This Guide ◆ Added global command "ipv6 access-group" on page 329. ◆ Added global command "mac access-group" on page 335. ◆ Added mask parameter to the command "mac-vlan" on page 496. ◆ Documented new syntax for "set cos" on page 531.
Contents How to Use This Guide Contents Figures Tables Section I Getting Started 1 Initial Switch Configuration Connecting to the Switch Configuration Options Required Connections Remote Connections Basic Configuration Console Connection Setting Passwords Setting an IP Address Downloading a Configuration File Referenced by a DHCP Server Enabling SNMP Management Access Managing System Files Saving or Restoring Configuration Settings...
Page 8
Contents Entering Commands Keywords and Arguments Minimum Abbreviation Command Completion Getting Help on Commands Partial Keyword Lookup Negating the Effect of Commands Using Command History Understanding Command Modes Exec Commands Configuration Commands Command Line Processing CLI Command Groups 3 General Commands prompt reload (Global Configuration) enable...
Page 9
Contents banner configure equipment-location banner configure ip-lan banner configure lp-number banner configure manager-info banner configure mux banner configure note show banner System Status show access-list tcam-utilization show memory show process cpu show running-config show startup-config show system show tech-support show users show version show watchdog watchdog software...
Page 10
Contents databits exec-timeout login parity password password-thresh silent-time speed stopbits timeout login response disconnect terminal show line Event Logging logging facility logging history logging host logging on logging trap clear log show log show logging Time SNTP Commands sntp client sntp poll sntp server show sntp...
Page 11
Contents Manual Configuration Commands clock timezone calendar set show calendar Time Range time-range absolute periodic show time-range Switch Clustering cluster cluster commander cluster ip-pool cluster member rcommand show cluster show cluster members show cluster candidates 5 SNMP Commands General SNMP Commands snmp-server snmp-server community snmp-server contact...
Page 12
Contents show snmp group show snmp user show snmp view Notification Log Commands snmp-server notify-filter show nlm oper-status show snmp notify-filter Additional Trap Commands memory process cpu 6 Remote Monitoring Commands rmon alarm rmon event rmon collection history rmon collection rmon1 show rmon alarms show rmon events show rmon history...
Page 13
Contents radius-server retransmit radius-server timeout show radius-server TACACS+ Client tacacs-server host tacacs-server key tacacs-server port tacacs-server retransmit tacacs-server timeout show tacacs-server aaa accounting dot1x aaa accounting exec aaa accounting update aaa authorization exec aaa group server server accounting dot1x accounting exec authorization exec show accounting Web Server...
Page 14
Contents ip ssh timeout delete public-key ip ssh crypto host-key generate ip ssh crypto zeroize ip ssh save host-key show ip ssh show public-key show ssh 802.1X Port Authentication General Commands dot1x default dot1x eapol-pass-through dot1x system-auth-control Authenticator Commands dot1x intrusion-action dot1x max-reauth-req dot1x max-req dot1x operation-mode...
Page 15
Contents Management IP Filter management show management PPPoE Intermediate Agent pppoe intermediate-agent pppoe intermediate-agent format-type pppoe intermediate-agent port-enable pppoe intermediate-agent port-format-type pppoe intermediate-agent trust pppoe intermediate-agent vendor-tag strip clear pppoe intermediate-agent statistics show pppoe intermediate-agent info show pppoe intermediate-agent statistics 8 General Security Measures Port Security port security...
Page 16
Contents show network-access show network-access mac-address-table show network-access mac-filter Web Authentication web-auth login-attempts web-auth quiet-period web-auth session-timeout web-auth system-auth-control web-auth web-auth re-authenticate (Port) web-auth re-authenticate (IP) show web-auth show web-auth interface show web-auth summary DHCP Snooping ip dhcp snooping ip dhcp snooping information option ip dhcp snooping information policy ip dhcp snooping verify mac-address ip dhcp snooping vlan...
Page 17
Contents ip arp inspection filter ip arp inspection log-buffer logs ip arp inspection validate ip arp inspection vlan ip arp inspection limit ip arp inspection trust show ip arp inspection configuration show ip arp inspection interface show ip arp inspection log show ip arp inspection statistics show ip arp inspection vlan Denial of Service Protection...
Page 18
Contents dos-protection tcp syn-flood dos-protection tcp syn-psh-block dos-protection tcp syn-rst-scan dos-protection tcp syn-urg-block dos-protection tcp xmas-scan Protection for UDP dos-protection udp blat-block dos-protection udp flood dos-protection udp invalid-header-length Other Protection Commands dos-protection echo-chargen DoS Configuration Information show dos-protection Port Isolation port-isolation port-isolation join port-isolation profile...
Page 19
Contents IPv6 ACLs access-list ipv6 ipv6 access-group permit, deny (Standard IPv6 ACL) permit, deny (Extended IPv6 ACL) ipv6 access-group show ipv6 access-group show ipv6 access-list MAC ACLs access-list mac mac access-group permit, deny (MAC ACL) mac access-group show mac access-group show mac access-list ARP ACLs access-list arp...
Page 20
Contents show interfaces brief show interfaces counters show interfaces status show interfaces transceiver Cable Diagnostics test cable-diagnostics show cable-diagnostics 11 Link Aggregation Commands Manual Configuration Commands port channel load-balance channel-group Dynamic Configuration Commands lacp lacp admin-key (Ethernet Interface) lacp port-priority lacp system-priority lacp admin-key (Port Channel) Trunk Status Display Commands...
Page 21
Contents rspan destination rspan remote vlan no rspan session show rspan 14 Congestion Control Commands Rate Limit Commands rate-limit Storm Control Commands switchport packet-rate show interfaces switchport Automatic Traffic Control Commands Threshold Commands auto-traffic-control apply-timer auto-traffic-control release-timer auto-traffic-control auto-traffic-control action auto-traffic-control alarm-clear-threshold auto-traffic-control alarm-fire-threshold auto-traffic-control auto-control-release...
Page 24
Contents switchport gvrp show bridge-ext show garp timer show gvrp configuration Editing VLAN Groups vlan database vlan Configuring VLAN Interfaces interface vlan switchport acceptable-frame-types switchport allowed vlan switchport ingress-filtering switchport mode switchport native vlan vlan-trunking Displaying VLAN Information show vlan Configuring IEEE 802.1Q Tunneling dot1q-tunnel system-tunnel-control switchport dot1q-tunnel mode...
Page 25
Contents Configuring MAC Based VLANs mac-vlan show mac-vlan Configuring Voice VLANs voice vlan voice vlan aging voice vlan mac-address switchport voice vlan switchport voice vlan priority switchport voice vlan rule switchport voice vlan security show voice vlan 20 Class of Service Commands Priority Commands (Layer 2) queue mode queue weight...
Page 26
Contents class police flow police srtcm-color police trtcm-color set cos set ip dscp set phb service-policy show class-map show policy-map show policy-map interface 22 Multicast Filtering Commands IGMP Snooping ip igmp snooping ip igmp snooping proxy-reporting ip igmp snooping querier ip igmp snooping router-alert-option-check ip igmp snooping router-port-expire-time ip igmp snooping tcn-flood...
Page 27
Contents clear ip igmp snooping statistics show ip igmp snooping show ip igmp snooping group show ip igmp snooping mrouter show ip igmp snooping statistics Static Multicast Routing ip igmp snooping vlan mrouter IGMP Filtering and Throttling ip igmp filter (Global Configuration) ip igmp profile permit, deny range...
Page 28
Contents show ipv6 mld snooping group source-list show ipv6 mld snooping mrouter Multicast VLAN Registration mvr associated-profile mvr domain mvr profile mvr proxy-query-interval mvr proxy-switching mvr robustness-value mvr source-port-mode dynamic mvr upstream-source-ip mvr vlan mvr immediate-leave mvr type mvr vlan group show mvr show mvr associated-profile show mvr interface...
Page 30
Contents show hosts show ip mdns 25 DHCP Commands DHCP Client DHCP for IPv4 ip dhcp client class-id ip dhcp restart client DHCP for IPv6 ipv6 dhcp client rapid-commit vlan ipv6 dhcp restart client vlan show ipv6 dhcp duid show ipv6 dhcp vlan DHCP Relay Option 82 ip dhcp relay server ip dhcp relay information option...
Page 31
Contents ipv6 address ipv6 address autoconfig ipv6 address eui-64 ipv6 address link-local ipv6 enable ipv6 mtu show ipv6 default-gateway show ipv6 interface show ipv6 mtu show ipv6 traffic clear ipv6 traffic ping6 traceroute6 Neighbor Discovery ipv6 nd dad attempts ipv6 nd ns-interval ipv6 nd raguard ipv6 nd reachable-time clear ipv6 neighbors...
Figures Figure 1: Storm Control by Limiting the Traffic Rate Figure 2: Storm Control by Shutting Down a Port Figure 3: Configuring VLAN Trunking – 33 –...
Section I Getting Started This section describes how to configure the switch for management access through the web interface or SNMP. This section includes these chapters: ◆ "Initial Switch Configuration" on page 43 – 41 –...
Initial Switch Configuration This chapter includes information on connecting to the switch and basic configuration procedures. Connecting to the Switch The switch includes a built-in network management agent. The agent offers a variety of management options, including SNMP, RMON and a web-based interface. A PC may also be connected directly to the switch for configuration and monitoring via a command line interface (CLI).
Chapter 1 | Initial Switch Configuration Connecting to the Switch ◆ Filter packets using Access Control Lists (ACLs) ◆ Configure up to 256 IEEE 802.1Q VLANs ◆ Enable GVRP automatic VLAN registration ◆ Configure IGMP multicast filtering ◆ Upload and download system firmware or configuration files via HTTP (using the web interface) or FTP/TFTP (using the command line or web interface) ◆...
Chapter 1 | Initial Switch Configuration Basic Configuration For a description of how to use the CLI, see “Using the Command Line Interface” on page 63. For a list of all the CLI commands and detailed information on using the CLI, refer to “CLI Command Groups”...
Console(config)# * This manual covers the ECS4210-12T and ECS4210-28T Gigabit Ethernet switches, as well as the ECS4210-12P and ECS4210-28P Gigabit Ethernet PoE switches. Other than the number of ports and support for PoE, there are no other significant differences. Therefore nearly all of the console examples are based on the ECS4210-28T.
Page 47
Chapter 1 | Initial Switch Configuration Basic Configuration ◆ Auto IP — The switch randomly selects an IPv4 link-local address from the range 169.254.0.1 – 169.254.255.254. Before starting to use it, the switch tests to see if the address is already in use. ◆...
Page 48
Chapter 1 | Initial Switch Configuration Basic Configuration Console(config)#interface vlan 1 Console(config-if)#ip address 192.168.1.5 255.255.255.0 Console(config-if)#exit Console(config)#ip default-gateway 192.168.1.254 Assigning an IPv6 Address This section describes how to configure a “link local” address for connectivity within the local subnet only, and also how to configure a “global unicast” address, including a network prefix for use on a multi-segment network and the host portion of the address.
Page 49
Chapter 1 | Initial Switch Configuration Basic Configuration Address for Multi-segment Network — Before you can assign an IPv6 address to the switch that will be used to connect to a multi-segment network, you must obtain the following information from your network administrator: ◆...
Chapter 1 | Initial Switch Configuration Basic Configuration Console#show ipv6 default-gateway ipv6 default gateway: 2001:DB8:2222:7272::254 Console# Dynamic Configuration Obtaining an IPv4 Address Using Auto IP If you select the “autoip” option, randomly selects an IPv4 link-local address from 169.254.0.1~169.254.255.254. Before starting to use it, the switch tests to see if the address is already in use.
Page 51
Chapter 1 | Initial Switch Configuration Basic Configuration BOOTP or DHCP server. BOOTP and DHCP values can include the IP address, subnet mask, and default gateway. If the DHCP/BOOTP server is slow to respond, you may need to use the “ip dhcp restart client” command to re-start broadcasting service requests.
Page 52
Chapter 1 | Initial Switch Configuration Basic Configuration Obtaining an IPv6 Address Link Local Address — There are several ways to configure IPv6 addresses. The simplest method is to automatically generate a “link local” address (identified by an address prefix in the range of FE80~FEBF). This address type makes the switch accessible over IPv6 for all devices attached to the same local subnet.
Chapter 1 | Initial Switch Configuration Basic Configuration Console#show ipv6 interface VLAN 1 is up IPv6 is enabled. Link-local address: FE80::212:CFFF:FE0B:4600/64 Global unicast address(es): 2001:DB8:2222:7272:2E0:CFF:FE00:FD/64, subnet is 2001:DB8:2222:7272::/ 64[AUTOCONFIG] valid lifetime 2591978 preferred lifetime 604778 Joined group address(es): FF02::1:FF00:FD FF02::1:FF11:6700 FF02::1 MTU is 1500 bytes.
Chapter 1 | Initial Switch Configuration Basic Configuration To successfully transmit a bootup configuration file to the switch the DHCP daemon (using a Linux based system for this example) must be configured with the following information: ◆ Options 60, 66 and 67 statements can be added to the daemon’s configuration file.
Enabling SNMP The switch can be configured to accept management commands from Simple Management Access Network Management Protocol (SNMP) applications such as Edge-Core ECView Pro. You can configure the switch to respond to SNMP requests or generate SNMP traps. When SNMP management stations send requests to the switch (either to return information or to set a parameter), the switch provides the requested data or sets the specified parameter.
Page 56
Chapter 1 | Initial Switch Configuration Basic Configuration To prevent unauthorized access to the switch from SNMP version 1 or 2c clients, it is recommended that you change the default community strings. To configure a community string, complete the following steps: From the Privileged Exec level global configuration mode prompt, type “snmp- server community string mode, ”...
Chapter 1 | Initial Switch Configuration Managing System Files Configuring Access for SNMP Version 3 Clients To configure management access for SNMPv3 clients, you need to first create a view that defines the portions of MIB that the client can read or write, assign the view to a group, and then assign the user to a group.
Chapter 1 | Initial Switch Configuration Managing System Files ◆ Diagnostic Code — Software that is run during system boot-up, also known as POST (Power On Self-Test). Due to the size limit of the flash memory, the switch supports only two operation code files.
Page 59
Chapter 1 | Initial Switch Configuration Managing System Files Console# To restore configuration settings from a backup server, enter the following command: From the Privileged Exec mode prompt, type “copy tftp startup-config” and press <Enter>. Enter the address of the TFTP server. Press <Enter>. Enter the name of the startup file stored on the server.
Section II Command Line Interface This section provides a detailed description of the Command Line Interface, along with examples for all of the commands. This section includes these chapters: ◆ “Using the Command Line Interface” on page 63 ◆ “General Commands” on page 75 ◆...
Page 62
Section II | Command Line Interface ◆ “VLAN Commands” on page 465 ◆ “Class of Service Commands” on page 505 ◆ “Quality of Service Commands” on page 519 ◆ “Multicast Filtering Commands” on page 537 ◆ “LLDP Commands” on page 599 ◆...
Using the Command Line Interface This chapter describes how to use the Command Line Interface (CLI). 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 or Secure Shell connection (SSH), the switch can be managed by entering command keywords and parameters at the prompt.
Page 64
Chapter 2 | Using the Command Line Interface Accessing the CLI portion. For example, the IP address assigned to this switch, 10.1.0.1, consists of a network portion (10.1.0) and a host portion (1). Note: The IP address for this switch is obtained via DHCP by default. To access the switch through a Telnet session, you must first set the IP address for the Master unit, and set the default gateway if you are managing the switch from a different IP subnet.
Chapter 2 | Using the Command Line Interface Entering Commands Entering Commands This section describes how to enter CLI commands. Keywords and A CLI command is a series of keywords and arguments. Keywords identify a Arguments command, and arguments specify configuration parameters. For example, in the command “show interfaces status ethernet 1/5, ”...
Chapter 2 | Using the Command Line Interface Entering Commands Getting Help on 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 Commands keywords or parameters.
Page 67
Chapter 2 | Using the Command Line Interface Entering Commands public-key Public key information Quality of Service queue Priority queue information radius-server RADIUS server information reload Shows the reload settings rmon Remote Monitoring Protocol rspan Display status of the current RSPAN configuration running-config Information on the running configuration snmp...
Chapter 2 | Using the Command Line Interface Entering Commands Partial Keyword If you terminate a partial keyword with a question mark, alternatives that match the initial letters are provided. (Remember not to leave a space between the command Lookup and question mark.) For example “s?”...
Chapter 2 | Using the Command Line Interface Entering Commands * You must be in Privileged Exec mode to access the Global configuration mode. You must be in Global Configuration mode to access any of the other configuration modes. Exec Commands When you open a new console session on the switch with the user name and password “guest, ”...
Chapter 2 | Using the Command Line Interface Entering Commands ◆ IGMP Profile - Sets a profile group and enters IGMP filter profile configuration mode. ◆ Interface Configuration - These commands modify the port configuration such as speed-duplex and negotiation. ◆...
Chapter 2 | Using the Command Line Interface Entering Commands For example, you can use the following commands to enter interface configuration mode, and then return to Privileged Exec mode Console(config)#interface ethernet 1/5 Console(config-if)#exit Console(config)# Command Line Commands are not case sensitive. You can abbreviate commands and parameters Processing as long as they contain enough letters to differentiate them from any other currently available commands or parameters.
Chapter 2 | Using the Command Line Interface CLI Command Groups CLI Command Groups The system commands can be broken down into the functional groups shown below Table 6: Command Group Index Command Group Description Page General Basic commands for entering privileged access mode, restarting the system, or quitting the CLI System Management Display and setting of system information, basic modes of...
Page 73
These commands are not described in this manual. Please refer to the prompt messages included in the CLI interface. * ECS4210-12P, ECS4210-28P The access mode shown in the following tables is indicated by these abbreviations: ACL (Access Control List Configuration)
Page 74
Chapter 2 | Using the Command Line Interface CLI Command Groups – 74 –...
General Commands The general commands are used to control the command access mode, configuration mode, and other basic functions. Table 7: General Commands Command Function Mode prompt Customizes the CLI prompt reload Restarts the system at a specified time, after a specified delay, or at a periodic interval enable Activates privileged mode...
Chapter 3 | General Commands Command Mode Global Configuration Example Console(config)#prompt RD2 RD2(config)# reload (Global This command restarts the system at a specified time, after a specified delay, or at a Configuration) periodic interval. You can reboot the system immediately, or you can configure the switch to reset after a specified amount of time.
Chapter 3 | General Commands Command Mode Global Configuration Command Usage ◆ This command resets the entire system. ◆ Any combination of reload options may be specified. If the same option is re- specified, the previous setting will be overwritten. ◆...
Chapter 3 | General Commands Example Console>enable Password: [privileged level password] Console# Related Commands disable (80) enable password (182) quit This command exits the configuration program. Default Setting None 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...
Chapter 3 | General Commands Example In this example, the show history command lists the contents of the command history buffer: Console#show history Execution command history: 2 config 1 show history Configuration command history: 4 interface vlan 1 3 exit 2 interface vlan 1 1 end Console#...
Chapter 3 | General Commands disable This command returns 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.
Chapter 3 | General Commands show reload This command displays the current reload settings, and the time at which next scheduled reload will take place. Command Mode Privileged Exec Example Console#show reload Reloading switch in time: 0 hours 29 minutes. The switch will be rebooted at January 1 02:11:50 2001.
Page 82
Chapter 3 | General Commands Example This example shows how to return to the Privileged Exec mode from the Global Configuration mode, and then quit the CLI session: Console(config)#exit Console#exit Press ENTER to start session User Access Verification Username: – 82 –...
System Management Commands The system management commands are used to control system logs, passwords, user names, management options, and display or configure a variety of other system information. Table 8: System Management Commands Command Group Function Device Designation Configures information that uniquely identifies this switch Banner Information Configures administrative contact, device identification and location System Status...
Chapter 4 | System Management Commands Banner Information hostname This command specifies or modifies the host name for this device. Use the no form to restore the default host name. Syntax hostname name no hostname name - The name of this host. (Maximum length: 255 characters) Default Setting None Command Mode...
Chapter 4 | System Management Commands Banner Information (Continued) Table 10: Banner Commands Command Function Mode banner configure Configures the LP Number information that is displayed by lp-number banner banner configure manager- Configures the Manager contact information that is info displayed by banner banner configure mux Configures the MUX information that is displayed by...
Chapter 4 | System Management Commands Banner Information The physical location of the equipment. City and street address: 12 Straight St. Motown, Zimbabwe Information about this equipment: Manufacturer: Sample Networks ID: 123_unique_id_number Floor: 2 Row: 7 Rack: 29 Shelf in this rack: 8 Information about DC power supply.
Chapter 4 | System Management Commands Banner Information banner configure This command is use to configure DC power information displayed in the banner. Use the no form to restore the default setting. dc-power-info Syntax banner configure dc-power-info floor floor-id row row-id rack rack-id electrical-circuit ec-id no banner configure dc-power-info [floor | row | rack | electrical-circuit] floor-id - The floor number.
Chapter 4 | System Management Commands Banner Information Command Mode Global Configuration Command Usage Input strings cannot contain spaces. The banner configure department command interprets spaces as data input boundaries. The use of underscores ( _ ) or other unobtrusive non-letter characters is suggested for situations where white space is necessary for clarity.
Chapter 4 | System Management Commands Banner Information Example Console(config)#banner configure equipment-info manufacturer-id ECS4210-28T floor 3 row 10 rack 15 shelf-rack 12 manufacturer EdgeCore Console(config)# banner configure This command is used to configure the equipment location information displayed equipment-location in the banner. Use the no form to restore the default setting. Syntax banner configure equipment-location location no banner configure equipment-location...
Chapter 4 | System Management Commands Banner Information Command Mode Global Configuration Command Usage Input strings cannot contain spaces. The banner configure ip-lan command interprets spaces as data input boundaries. The use of underscores ( _ ) or other unobtrusive non-letter characters is suggested for situations where white space is necessary for clarity.
Chapter 4 | System Management Commands Banner Information banner configure This command is used to configure the manager contact information displayed in the banner. Use the no form to restore the default setting. manager-info Syntax banner configure manager-info name mgr1-name phone-number mgr1-number [name2 mgr2-name phone-number mgr2-number | name3 mgr3-name phone-number mgr3-number] no banner configure manager-info [name1 | name2 | name3]...
Chapter 4 | System Management Commands Banner Information Default Setting None Command Mode Global Configuration Command Usage Input strings cannot contain spaces. The banner configure mux command interprets spaces as data input boundaries. The use of underscores ( _ ) or other unobtrusive non-letter characters is suggested for situations where white space is necessary for clarity.
Chapter 4 | System Management Commands System Status (Continued) Table 11: System Status Commands Command Function Mode show version Displays version information for the system NE, PE show watchdog Shows if watchdog debugging is enabled watchdog software Monitors key processes, and automatically reboots the system if any of these processes are not responding correctly show access-list...
Chapter 4 | System Management Commands System Status Example Console#show memory Status Bytes ------ ---------- --- Free 17321984 Used 116895744 Total 134217728 Alarm Configuration Rising Threshold : 90% Falling Threshold : 70% Console# Related Commands memory (170) show process cpu This command shows the CPU utilization parameters, alarm status, and alarm configuration.
Chapter 4 | System Management Commands System Status show running-config This command displays the configuration information currently in use. Syntax show running-config [interface interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) port-channel channel-id (Range: 1-8/12) vlan vlan-id (Range: 1-4094) Command Mode Privileged Exec...
Chapter 4 | System Management Commands System Status 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 spanning-tree mst configuration interface ethernet 1/1 interface vlan 1 ip address line console line vty...
Chapter 4 | System Management Commands System Status Related Commands show running-config (96) show system This command displays system information. Default Setting None Command Mode Normal Exec, Privileged Exec Example Console#show system System Description : Managed 24G+4GSFP Switch System OID String : 1.3.6.1.4.1.259.10.1.42.101 System Information System Up Time...
Chapter 4 | System Management Commands System Status (Continued) Table 12: show system – display description Parameter Description Telnet Server/Port Shows administrative status of Telnet server and TCP port number. Jumbo Frame Shows if jumbo frames are enabled or disabled. Enables or disables Energy Efficient Ethernet.
Chapter 4 | System Management Commands System Status show users Shows all active console and Telnet sessions, including user name, idle time, and IP address of Telnet client. Default Setting None 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.
Chapter 4 | System Management Commands System Status Boot ROM Version : 0.0.0.1 Operation Code Version : 1.0.0.10 Console# Table 13: show version – display description Parameter Description Serial Number The serial number of the switch. Hardware Version Hardware version of the main board. EPLD Version Version number of Erasable Programmable Logic Device.
Chapter 4 | System Management Commands Frame Size Command Mode Privileged Exec Example Console#watchdog Console# Frame Size This section describes commands used to configure the Ethernet frame size on the switch. Table 14: Frame Size Commands Command Function Mode jumbo frame Enables support for jumbo frames jumbo frame This command enables support for Layer 2 jumbo frames for Gigabit Ethernet...
Chapter 4 | System Management Commands File Management Example Console(config)#jumbo frame Console(config)# File Management Managing Firmware Firmware can be uploaded and downloaded to or from an FTP/TFTP server. By saving runtime code to a file on an FTP/TFTP server, that file can later be downloaded to the switch to restore operation.
Chapter 4 | System Management Commands File Management (Continued) Table 15: Flash/File Commands Command Function Mode upgrade opcode reload Reloads the switch automatically after the opcode upgrade is completed show upgrade Shows the opcode upgrade configuration settings. General Commands boot system This command specifies the file or image used to start up the system.
Chapter 4 | System Management Commands File Management copy This command moves (upload/download) a code image or configuration file between the switch’s flash memory and an FTP/TFTP server. When you save the system code or configuration settings to a file on an FTP/TFTP server, that file can later be downloaded to the switch to restore system operation.
Page 106
Chapter 4 | System Management Commands File Management ◆ The Boot ROM and Loader cannot be uploaded or downloaded from the FTP/ TFTP server. You must follow the instructions in the release notes for new firmware, or contact your distributor for help. ◆...
Page 107
Chapter 4 | System Management Commands File Management The following example shows how to download a configuration file: Console#copy tftp startup-config TFTP server ip address: 10.1.0.99 Source configuration file name: startup.01 Startup configuration file name [startup]: Write to FLASH Programming. \Write to FLASH finish.
Chapter 4 | System Management Commands File Management Default Setting None Command Mode Privileged Exec Command Usage ◆ If you enter the command dir without any parameters, the system displays all files. File information is shown below: Table 16: File Directory Information Column Heading Description File Name...
Chapter 4 | System Management Commands File Management Example This example shows the information displayed by the whichboot command. See the table under the dir command for a description of the file information displayed by this command. Console#whichboot File Name Type Startup Modify Time Size(bytes)
Chapter 4 | System Management Commands File Management ◆ Any changes made to the default setting can be displayed with the show running-config show startup-config commands. Example Console(config)#upgrade opcode auto Console(config)#upgrade opcode path tftp://192.168.0.1/sm24/ Console(config)# If a new image is found at the specified location, the following type of messages will be displayed during bootup.
Chapter 4 | System Management Commands File Management ◆ When specifying a TFTP server, the following syntax must be used, where filedir indicates the path to the directory containing the new image: tftp://192.168.0.1[/filedir]/ ◆ When specifying an FTP server, the following syntax must be used, where filedir indicates the path to the directory containing the new image: ftp://[username[:password@]]192.168.0.1[/filedir]/ If the user name is omitted, “anonymous”...
Chapter 4 | System Management Commands Line show upgrade This command shows the opcode upgrade configuration settings. Command Mode Privileged Exec Example Console#show upgrade Auto Image Upgrade Global Settings: Status : Disabled Reload Status : Disabled Path File Name : ECS4210-Series.bix Console# Line You can access the onboard configuration program by attaching a VT100...
Chapter 4 | System Management Commands Line (Continued) Table 17: Line Commands Command Function Mode terminal Configures terminal settings, including escape-character, line length, terminal type, and width show line Displays a terminal line's parameters NE, PE * These commands only apply to the serial port. line This command identifies a specific line for configuration, and to process subsequent line configuration commands.
Chapter 4 | System Management Commands Line databits This command sets 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 7 - Seven data bits per character.
Chapter 4 | System Management Commands Line Command Usage ◆ If user input is detected within the timeout interval, the session is kept open; otherwise the session is terminated. ◆ This command applies to both the local console and Telnet connections. ◆...
Chapter 4 | System Management Commands Line ◆ This command controls login authentication via the switch itself. To configure user names and passwords for remote authentication servers, you must use the RADIUS or TACACS software installed on those servers. Example Console(config-line)#login local Console(config-line)# Related Commands...
Chapter 4 | System Management Commands Line password This command specifies 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 password - Character string that specifies the line password.
Chapter 4 | System Management Commands Line password-thresh This command sets 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; 0: no threshold) Default Setting The default value is three attempts.
Chapter 4 | System Management Commands Line Command Mode Line Configuration Example To set the silent time to 60 seconds, enter this command: Console(config-line)#silent-time 60 Console(config-line)# Related Commands password-thresh (119) speed This command sets the terminal line’s baud rate. This command sets both the transmit (to terminal) and receive (from terminal) speeds.
Chapter 4 | System Management Commands Line stopbits This command sets the number of the stop bits transmitted per byte. Use the no form to restore the default setting. Syntax stopbits {1 | 2} no stopbits 1 - One stop bit 2 - Two stop bits Default Setting 1 stop bit...
Chapter 4 | System Management Commands Line ◆ Using the command without specifying a timeout restores the default setting. Example To set the timeout to two minutes, enter this command: Console(config-line)#timeout login response 120 Console(config-line)# disconnect This command terminates an SSH, Telnet, or console connection. Syntax disconnect session-id session-id –...
Chapter 4 | System Management Commands Line history - The number of lines stored in the command buffer, and recalled using the arrow keys. (Range: 0-256) length - The number of lines displayed on the screen. (Range: 0-512, where 0 means not to pause) terminal-type - The type of terminal emulation used.
Chapter 4 | System Management Commands Event Logging Example To show all lines, enter this command: Console#show line Terminal Configuration for this session: Length : 24 Width : 80 History Size : 10 Escape Character(ASCII-number) : 27 Terminal Type : VT100 Console Configuration: Password Threshold : 3 times EXEC Timeout...
Chapter 4 | System Management Commands Event Logging 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 logging facility type no logging facility type - A number that indicates the facility used by the syslog server to dispatch log messages to an appropriate service.
Chapter 4 | System Management Commands Event Logging ◆ The maximum number of host IP addresses allowed is five. Example Console(config)#logging host 10.1.0.3 Console(config)# logging on This command controls logging of error messages, sending debug or error messages to a logging process. The no form disables the logging process. Syntax [no] logging on Default Setting...
Chapter 4 | System Management Commands Event Logging logging trap This command enables the logging of system messages to a remote server, or limits the syslog messages saved to a remote server based on severity. Use this command without a specified level to enable remote logging. Use the no form to disable remote logging.
Chapter 4 | System Management Commands Event Logging Example Console#clear log Console# Related Commands show log (129) show log This command displays the log messages stored in local memory. Syntax show log {flash | ram} flash - Event history stored in flash memory (i.e., permanent memory). ram - Event history stored in temporary RAM (i.e., memory flushed on power reset).
Chapter 4 | System Management Commands Event Logging show logging This command displays the configuration settings for logging messages to local switch memory, to an SMTP event handler, or to a remote syslog server. Syntax show logging {flash | ram | trap} flash - Displays settings for storing event messages in flash memory (i.e., permanent memory).
Chapter 4 | System Management Commands Event Logging Remote Log Server IP Address : 0.0.0.0 Console# Table 21: show logging trap - display description Field Description Remote Log Status Shows if remote logging has been enabled via the logging trap command.
Chapter 4 | System Management Commands Time Time 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.
Chapter 4 | System Management Commands Time 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). ◆...
Chapter 4 | System Management Commands Time Related Commands sntp client (132) sntp server This command sets the IP address of the servers to which SNTP time requests are issued. Use the this command with no arguments to clear all time servers from the current list.
Chapter 4 | System Management Commands Time Example Console#show sntp Current Time : Mar 19 08:41:00 2013 Poll Interval : 60 seconds Current Mode : Unicast SNTP Status : Enabled SNTP Server : 192.168.0.88 Current Server : 192.168.0.88 Console# NTP Commands ntp authenticate This command enables authentication for NTP client-server communications.
Chapter 4 | System Management Commands Time This command configures authentication keys and key numbers to use when NTP authentication is enabled. Use the no form of the command to clear a specific authentication-key authentication key or all keys from the current list. Syntax ntp authentication-key number md5 key no ntp authentication-key [number]...
Chapter 4 | System Management Commands Time ntp client This command enables NTP client requests for time synchronization from NTP time servers specified with the ntp servers command. Use the no form to disable NTP client requests. Syntax [no] ntp client Default Setting Disabled Command Mode...
Chapter 4 | System Management Commands Time Default Setting Version number: 3 Command Mode Global Configuration Command Usage ◆ This command specifies time servers that the switch will poll for time updates when set to NTP client mode. It issues time synchronization requests based on the interval set with the ntp poll command.
Chapter 4 | System Management Commands Time NTP Status : Enabled NTP Authenticate Status : Enabled Last Update NTP Server : 192.168.0.88 Port: 123 Last Update Time : Mar 19 00:44:59 2013 UTC NTP Server 192.168.0.88 version 3 key 19 NTP Authentication Key 19 md5 42V68751663T6K11P2J307210R885 Console# Manual Configuration Commands...
Chapter 4 | System Management Commands Time calendar set This command sets the system clock. It may be used if there is no time server on your network, or if you have not configured the switch to receive signals from a time server.
Chapter 4 | System Management Commands Time Range Time Range This section describes the commands used to sets a time range for use by other functions, such as Access Control Lists. Table 23: Time Range Commands Command Function Mode time-range Specifies the name of a time range, and enters time range configuration mode absolute...
Chapter 4 | System Management Commands Time Range absolute This command sets the time range for the execution of a command. Use the no form to remove a previously specified time. Syntax absolute start hour minute day month year [end hour minutes day month year] absolute end hour minutes day month year no absolute hour - Hour in 24-hour format.
Chapter 4 | System Management Commands Time Range periodic This command sets the time range for the periodic execution of a command. Use the no form to remove a previously specified time range. Syntax [no] periodic {daily | friday | monday | saturday | sunday | thursday | tuesday | wednesday | weekdays | weekend} hour minute to {daily | friday | monday | saturday | sunday | thursday | tuesday | wednesday | weekdays | weekend | hour minute}...
Chapter 4 | System Management Commands Switch Clustering show time-range This command shows configured time ranges. Syntax show time-range [name] name - Name of the time range. (Range: 1-30 characters) Default Setting None Command Mode Privileged Exec Example Console#show time-range r&d Time-range r&d: absolute start 01:01 01 April 2009 periodic...
Chapter 4 | System Management Commands Switch Clustering Commander through its IP address, and then use the Commander to manage the Member switches through the cluster’s “internal” IP addresses. ◆ Clustered switches must be in the same Ethernet broadcast domain. In other words, clustering only functions for switches which can pass information between the Commander and potential Candidates or active Members through VLAN 4093.
Chapter 4 | System Management Commands Switch Clustering Example Console(config)#cluster Console(config)# cluster commander This command enables the switch as a cluster Commander. Use the no form to disable the switch as cluster Commander. Syntax [no] cluster commander Default Setting Disabled Command Mode Global Configuration Command Usage...
Chapter 4 | System Management Commands Switch Clustering Command Mode Global Configuration Command Usage ◆ An “internal” IP address pool is used to assign IP addresses to Member switches in the cluster. Internal cluster IP addresses are in the form 10.x.x.member-ID. Only the base IP address of the pool needs to be set since Member IDs can only be between 1 and 36.
Chapter 4 | System Management Commands Switch Clustering rcommand This command provides access to a cluster Member CLI for configuration. Syntax rcommand id member-id member-id - The ID number of the Member switch. (Range: 1-36) Command Mode Privileged Exec Command Usage ◆...
Chapter 4 | System Management Commands Switch Clustering show cluster members This command shows the current switch cluster members. Command Mode Privileged Exec Example Console#show cluster members Cluster Members: Role : Active member IP Address : 10.254.254.2 MAC Address : 00-E0-0C-00-00-FE Description : ECS4210-28T 24G+4GSFP Console# show cluster...
SNMP Commands SNMP commands control access to this switch from management stations using the Simple Network Management Protocol (SNMP), as well as the error types sent to trap managers. SNMP Version 3 also provides security features that cover message integrity, authentication, and encryption;...
Page 152
Chapter 5 | SNMP Commands (Continued) Table 25: SNMP Commands Command Function Mode Notification Log Commands Enables the specified notification log snmp-server notify-filter Creates a notification log and specifies the target host show nlm oper-status Shows operation status of configured notification logs show snmp notify-filter Displays the configured notification logs ATC Trap Commands...
Chapter 5 | SNMP Commands General SNMP Commands General SNMP Commands snmp-server This command enables the SNMPv3 engine and services for all management clients (i.e., versions 1, 2c, 3). Use the no form to disable the server. Syntax [no] snmp-server Default Setting Enabled Command Mode...
Chapter 5 | SNMP Commands General SNMP Commands Example Console(config)#snmp-server community alpha rw Console(config)# snmp-server contact This command sets 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.
Chapter 5 | SNMP Commands General SNMP Commands Example Console(config)#snmp-server location WC-19 Console(config)# Related Commands snmp-server contact (154) show snmp This command can be used to check the status of SNMP communications. Default Setting None Command Mode Normal Exec, Privileged Exec Command Usage This command provides information on the community access strings, counter information for SNMP input and output protocol data units, and whether or not...
Chapter 5 | SNMP Commands SNMP Target Host Commands SNMP Target Host Commands snmp-server enable This command enables this device to send Simple Network Management Protocol traps traps or informs (i.e., SNMP notifications). Use the no form to disable SNMP notifications.
Chapter 5 | SNMP Commands SNMP Target Host Commands snmp-server host This command specifies the recipient of a Simple Network Management Protocol notification operation. Use the no form to remove the specified host. Syntax snmp-server host host-addr [inform [retry retries | timeout seconds]] community-string [version {1 | 2c | 3 {auth | noauth | priv} [udp-port port]} no snmp-server host host-addr host-addr - IPv4 or IPv6 address of the host (the targeted recipient).
Page 158
Chapter 5 | SNMP Commands SNMP Target Host Commands ◆ The snmp-server host command is used in conjunction with the snmp-server enable traps command. Use the snmp-server enable traps command to enable the sending of traps or informs and to specify which SNMP notifications are sent globally.
Chapter 5 | SNMP Commands SNMPv3 Commands Example Console(config)#snmp-server host 10.1.19.23 batman Console(config)# Related Commands snmp-server enable traps (156) SNMPv3 Commands snmp-server This command configures an identification string for the SNMPv3 engine. Use the no form to restore the default. engine-id Syntax snmp-server engine-id {local | remote {ip-address}} engineid-string...
Chapter 5 | SNMP Commands SNMPv3 Commands ◆ Trailing zeroes need not be entered to uniquely specify a engine ID. In other words, the value “0123456789” is equivalent to “0123456789” followed by 16 zeroes for a local engine ID. ◆ A local engine ID is automatically generated that is unique to the switch.
Page 161
Chapter 5 | SNMP Commands SNMPv3 Commands Command Usage ◆ A group sets the access policy for the assigned users. ◆ When authentication is selected, the MD5 or SHA algorithm is used as specified in the snmp-server user command. ◆ When privacy is selected, the DES 56-bit algorithm is used for data encryption.
Chapter 5 | SNMP Commands SNMPv3 Commands snmp-server user This command adds a user to an SNMP group, restricting the user to a specific SNMP Read, Write, or Notify View. Use the no form to remove a user from an SNMP group.
Chapter 5 | SNMP Commands SNMPv3 Commands ◆ Before you configure a remote user, use the snmp-server engine-id command to specify the engine ID for the remote device where the user resides. Then use the snmp-server user command to specify the user and the IP address for the remote device where the user resides.
Chapter 5 | SNMP Commands SNMPv3 Commands Examples This view includes MIB-2. Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included Console(config)# This view includes the MIB-2 interfaces table, ifDescr. The wild card is used to select all the index values in this table. Console(config)#snmp-server view ifEntry.2 1.3.6.1.2.1.2.2.1.*.2 included Console(config)# This view includes the MIB-2 interfaces table, and the mask selects all index entries.
Chapter 5 | SNMP Commands SNMPv3 Commands 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 Group Name: r&d Security Model: v3 Read View: defaultview Write View: daily...
Chapter 5 | SNMP Commands SNMPv3 Commands (Continued) Table 27: show snmp group - display description Field Description Write View The associated write view. Notify View The associated notify view. Storage Type The storage type for this entry. Row Status The row status of this entry.
Chapter 5 | SNMP Commands Notification Log Commands Command Usage ◆ Notification logging is enabled by default, but will not start recording information until a logging profile specified by the snmp-server notify-filter command is enabled by the nlm command. ◆ Disabling logging with this command does not delete the entries stored in the notification log.
Chapter 5 | SNMP Commands Notification Log Commands ◆ If notification logging is not configured and enabled, when the switch reboots, some SNMP traps (such as warm start) cannot be logged. ◆ To avoid this problem, notification logging should be configured and enabled using the snmp-server notify-filter command and command, and these commands stored in the startup configuration file.
Chapter 5 | SNMP Commands Additional Trap Commands show snmp This command displays the configured notification logs. notify-filter Command Mode Privileged Exec Example This example displays the configured notification logs and associated target hosts. Console#show snmp notify-filter Filter profile name IP address ---------------------------- ----------------...
Chapter 5 | SNMP Commands Additional Trap Commands Related Commands show memory (94) process cpu This command sets an SNMP trap based on configured thresholds for CPU utilization. Use the no form to restore the default setting. Syntax process cpu {rising rising-threshold | falling falling-threshold} no process cpu {rising | falling} rising-threshold - Rising threshold for CPU utilization alarm expressed in percentage.
Remote Monitoring Commands Remote Monitoring allows a remote device to collect information or respond to specified events on an independent basis. This switch is an RMON-capable device which can independently perform a wide range of tasks, significantly reducing network management traffic. It can continuously run diagnostics and log information on network performance.
Chapter 6 | Remote Monitoring Commands rmon alarm This command sets threshold bounds for a monitored variable. Use the no form to remove an alarm. Syntax rmon alarm index variable interval {absolute | delta} rising-threshold threshold [event-index] falling-threshold threshold [event-index] [owner name] no rmon alarm index index –...
Chapter 6 | Remote Monitoring Commands generated until the sampled value has fallen below the rising threshold, reaches the falling threshold, and again moves back up to the rising threshold. ◆ If the current value is less than or equal to the falling threshold, and the last sample value was greater than this threshold, then an alarm will be generated.
Chapter 6 | Remote Monitoring Commands Command Usage ◆ If an event is already defined for an index, the entry must be deleted before any changes can be made with this command. ◆ The specified events determine the action to take when an alarm triggers this event.
Chapter 6 | Remote Monitoring Commands ◆ The information collected for each sample includes: input octets, packets, broadcast packets, multicast packets, undersize packets, oversize packets, fragments, jabbers, CRC alignment errors, collisions, drop events, and network utilization. ◆ The switch reserves two controlEntry index entries for each port. If a default index entry is re-assigned to another port by this command, the show running- config...
Chapter 6 | Remote Monitoring Commands Command Usage ◆ By default, each index number equates to a port on the switch, but can be changed to any number not currently in use. ◆ If statistics collection is already enabled on an interface, the entry must be deleted before any changes can be made with this command.
Chapter 6 | Remote Monitoring Commands show rmon history This command shows the sampling parameters configured for each entry in the history group. Command Mode Privileged Exec Example Console#show rmon history Entry 1 is valid, and owned by Monitors 1.3.6.1.2.1.2.2.1.1.1 every 1800 seconds Requested # of time intervals, ie buckets, is 8 Granted # of time intervals, ie buckets, is 8 Sample # 1 began measuring at 00:00:01...
Authentication Commands You can configure this switch to authenticate users logging into the system for management access using local or remote authentication methods. Port-based authentication using IEEE 802.1X can also be configured to control either management access to the uplink ports or client access to the data ports.
Chapter 7 | Authentication Commands User Accounts and Privilege Levels User Accounts and Privilege Levels The basic commands required for management access and assigning command privilege levels are listed in this section. This switch also includes other options for password checking via the console or a Telnet connection (page 113), user authentication via a remote authentication server...
Chapter 7 | Authentication Commands User Accounts and Privilege Levels ◆ The encrypted password is required for compatibility with legacy password settings (i.e., plain text or encrypted) when reading the configuration file during system bootup or when downloading the configuration file from an FTP server.
Chapter 7 | Authentication Commands User Accounts and Privilege Levels Command Usage The encrypted password is required for compatibility with legacy password settings (i.e., plain text or encrypted) when reading the configuration file during system bootup or when downloading the configuration file from an FTP server. There is no need for you to manually configure encrypted passwords.
Chapter 7 | Authentication Commands Authentication Sequence Example This example sets the privilege level for the ping command to Privileged Exec. Console(config)#privilege exec level 15 ping Console(config)# show privilege This command shows the privilege level for the current user, or the privilege level for commands modified by the privilege command.
Chapter 7 | Authentication Commands Authentication Sequence 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. Use the no form to restore the default. Syntax authentication enable {[local] [radius] [tacacs]} no authentication enable...
Chapter 7 | Authentication Commands Authentication Sequence 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.
Chapter 7 | Authentication Commands RADIUS Client RADIUS Client Remote Authentication Dial-in User Service (RADIUS) is a logon authentication protocol that uses software running on a central server to control access to RADIUS- 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.
Chapter 7 | Authentication Commands RADIUS Client radius-server This command sets the RADIUS server network port. Use the no form to restore the default. auth-port Syntax radius-server auth-port port-number no radius-server auth-port port-number - RADIUS server UDP port used for authentication messages. (Range: 1-65535) Default Setting 1812...
Chapter 7 | Authentication Commands RADIUS Client Default Setting Command Mode Global Configuration Example Console(config)#radius-server retransmit 5 Console(config)# radius-server timeout This command sets the interval between transmitting authentication requests to the RADIUS server. Use the no form to restore the default. Syntax radius-server timeout number-of-seconds no radius-server timeout...
Chapter 7 | Authentication Commands TACACS+ Client Accounting Port Number : 1813 Retransmit Times Request Timeout Server 1: Server IP Address : 192.168.1.1 Authentication Port Number : 1812 Accounting Port Number : 1813 Retransmit Times Request Timeout RADIUS Server Group: Group Name Member Index ------------------------- -------------...
Chapter 7 | Authentication Commands TACACS+ Client port-number - TACACS+ server TCP port used for authentication messages. (Range: 1-65535) retransmit - Number of times the switch will try to authenticate logon access via the TACACS+ server. (Range: 1-30) timeout - Number of seconds the switch waits for a reply before resending a request.
Chapter 7 | Authentication Commands TACACS+ Client 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...
Chapter 7 | Authentication Commands TACACS+ Client tacacs-server timeout This command sets the interval between transmitting authentication requests to the TACACS+ server. Use the no form to restore the default. Syntax tacacs-server timeout number-of-seconds no tacacs-server timeout number-of-seconds - Number of seconds the switch waits for a reply before resending a request.
Chapter 7 | Authentication Commands The Authentication, Authorization, and Accounting (AAA) feature provides the main framework for configuring access control on the switch. The AAA functions require the use of configured RADIUS or TACACS+ servers in the network. Table 37: AAA Commands Command Function Mode...
Chapter 7 | Authentication Commands group - Specifies the server group to use. radius - Specifies all RADIUS hosts configure with the radius-server host command. tacacs+ - Specifies all TACACS+ hosts configure with the tacacs-server host command. server-group - Specifies the name of a server group configured with the aaa group server command.
Chapter 7 | Authentication Commands Default Setting Accounting is not enabled No servers are specified Command Mode Global Configuration Command Usage ◆ This command runs accounting for Exec service requests for the local console and Telnet connections. ◆ Note that the default and method-name fields are only used to describe the accounting method(s) configured on the specified RADIUS or TACACS+ servers, and do not actually send any information to the servers about the methods to use.
Chapter 7 | Authentication Commands Example Console(config)#aaa accounting update periodic 30 Console(config)# aaa authorization exec This command enables the authorization for Exec access. Use the no form to disable the authorization service. Syntax aaa authorization exec {default | method-name} group {tacacs+ | server-group} no aaa authorization exec {default | method-name} default - Specifies the default authorization method for Exec access.
Chapter 7 | Authentication Commands aaa group server Use this command to name a group of security server hosts. To remove a server group from the configuration list, enter the no form of this command. Syntax [no] aaa group server {radius | tacacs+} group-name radius - Defines a RADIUS server group.
Chapter 7 | Authentication Commands Example Console(config)#aaa group server radius tps Console(config-sg-radius)#server 10.2.68.120 Console(config-sg-radius)# accounting dot1x This command applies an accounting method for 802.1X service requests on an interface. Use the no form to disable accounting on the interface. Syntax accounting dot1x {default | list-name} no accounting dot1x default - Specifies the default method list created with the...
Chapter 7 | Authentication Commands Command Mode Line Configuration Example Console(config)#line console Console(config-line)#accounting exec tps Console(config-line)#exit Console(config)#line vty Console(config-line)#accounting exec default Console(config-line)# authorization exec This command applies an authorization method to local console, Telnet or SSH connections. Use the no form to disable authorization on the line. Syntax authorization exec {default | list-name} no authorization exec...
Chapter 7 | Authentication Commands Web Server statistics - Displays accounting records. user-name - Displays accounting records for a specifiable username. interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) Default Setting None Command Mode Privileged Exec Example Console#show accounting...
Chapter 7 | Authentication Commands Web Server ip http port This command specifies 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.
Chapter 7 | Authentication Commands Web Server ip http secure-port This command specifies the UDP port number used for HTTPS connection to the switch’s web interface. Use the no form to restore the default port. Syntax ip http secure-port port_number no ip http secure-port port_number –...
Chapter 7 | Authentication Commands Web Server Command Usage ◆ Both HTTP and HTTPS service can be enabled independently on the switch. However, you cannot configure the HTTP and HTTPS servers to use the same UDP port. ◆ If you enable HTTPS, you must indicate this in the URL that you specify in your browser: https://device[:port_number] ◆...
Chapter 7 | Authentication Commands Telnet Server Telnet Server This section describes commands used to configure Telnet management access to the switch. Table 40: Telnet Server Commands Command Function Mode ip telnet max-sessions Specifies the maximum number of Telnet sessions that can simultaneously connect to this system ip telnet port Specifies the port to be used by the Telnet interface...
Chapter 7 | Authentication Commands Telnet Server ip telnet port This command specifies the TCP port number used by the Telnet interface. Use the no form to use the default port. Syntax ip telnet port port-number no telnet port port-number - The TCP port number to be used by the browser interface. (Range: 1-65535) Default Setting Command Mode...
Chapter 7 | Authentication Commands Secure Shell show ip telnet This command displays the configuration settings for the Telnet server. Command Mode Normal Exec, Privileged Exec Example Console#show ip telnet IP Telnet Configuration: Telnet Status: Enabled Telnet Service Port: 23 Telnet Max Session: 8 Console# Secure Shell...
Page 210
Chapter 7 | Authentication Commands Secure Shell (Continued) Table 41: Secure Shell Commands Command Function Mode show ssh Displays the status of current SSH sessions show users Shows SSH users, including privilege level and public key type Configuration Guidelines The SSH server on this switch supports both password and public key authentication.
Page 211
Chapter 7 | Authentication Commands Secure Shell Set the Optional Parameters – Set other optional parameters, including the authentication timeout, the number of retries, and the server key size. Enable SSH Service – Use the ip ssh server command to enable the SSH server on the switch.
Chapter 7 | Authentication Commands Secure Shell When the server receives this message, it checks whether the supplied key is acceptable for authentication, and if so, it then checks whether the signature is correct. If both checks succeed, the client is authenticated.
Chapter 7 | Authentication Commands Secure Shell Command Mode Global Configuration Command Usage ◆ The SSH server supports up to eight client sessions. The maximum number of client sessions includes both current Telnet sessions and SSH sessions. ◆ The SSH server uses DSA or RSA for key exchange when the client first establishes a connection with the switch, and then negotiates with the client to select either DES (56-bit) or 3DES (168-bit) for data encryption.
Chapter 7 | Authentication Commands Secure Shell ip ssh timeout This command configures 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...
Chapter 7 | Authentication Commands Secure Shell Related Commands ip ssh crypto host-key generate (215) show ip ssh This command displays the connection settings used when authenticating client access to the SSH server. Command Mode Privileged Exec Example Console#show ip ssh SSH Enabled - Version 2.0 Negotiation Timeout : 120 seconds;...
Chapter 7 | Authentication Commands 802.1X Port Authentication 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).
Chapter 7 | Authentication Commands 802.1X Port Authentication (Continued) Table 43: 802.1X Port Authentication Commands Command Function Mode dot1x timeout held-period Sets the time a port waits after the maximum start count has been exceeded before attempting to find another authenticator dot1x timeout start-period Sets the time that a supplicant port waits before resending...
Chapter 7 | Authentication Commands 802.1X Port Authentication Example This example instructs the switch to pass all EAPOL frame through to any ports in STP forwarding state. Console(config)#dot1x eapol-pass-through Console(config)# dot1x This command enables IEEE 802.1X port authentication globally on the switch. Use the no form to restore the default.
Chapter 7 | Authentication Commands 802.1X Port Authentication Command Usage For guest VLAN assignment to be successful, the VLAN must be configured and set as active (see the vlan database command) and assigned as the guest VLAN for the port (see the network-access guest-vlan command).
Chapter 7 | Authentication Commands 802.1X Port Authentication Command Mode Interface Configuration Example Console(config)#interface eth 1/2 Console(config-if)#dot1x max-req 2 Console(config-if)# dot1x This command allows hosts (clients) to connect to an 802.1X-authorized port. Use operation-mode the no form with no keywords to restore the default to single host. Use the no form with the multi-host max-count keywords to restore the default maximum count.
Chapter 7 | Authentication Commands 802.1X Port Authentication Example Console(config)#interface eth 1/2 Console(config-if)#dot1x operation-mode multi-host max-count 10 Console(config-if)# dot1x port-control This command sets the dot1x mode on a port interface. Use the no form to restore the default. Syntax dot1x port-control {auto | force-authorized | force-unauthorized} no dot1x port-control auto –...
Chapter 7 | Authentication Commands 802.1X Port Authentication connected the network and the process is handled transparently by the dot1x client software. Only if re-authentication fails is the port blocked. ◆ The connected client is re-authenticated after the interval specified by the dot1x timeout re-authperiod command.
Chapter 7 | Authentication Commands 802.1X Port Authentication Default 3600 seconds Command Mode Interface Configuration Example Console(config)#interface eth 1/2 Console(config-if)#dot1x timeout re-authperiod 300 Console(config-if)# dot1x timeout This command sets the time that an interface on the switch waits for a response to supp-timeout an EAP request from a client before re-transmitting an EAP packet.
Chapter 7 | Authentication Commands 802.1X Port Authentication dot1x timeout This command sets the time that an interface on the switch waits during an authentication session before re-transmitting an EAP packet. Use the no form to tx-period reset to the default value. Syntax dot1x timeout tx-period seconds no dot1x timeout tx-period...
Chapter 7 | Authentication Commands 802.1X Port Authentication Supplicant Commands dot1x identity profile This command sets the dot1x supplicant user name and password. Use the no form to delete the identity settings. Syntax dot1x identity profile {username username | password password} no dot1x identity profile {username | password} username - Specifies the supplicant user name.
Chapter 7 | Authentication Commands 802.1X Port Authentication Example Console(config)#interface eth 1/2 Console(config-if)#dot1x max-start 10 Console(config-if)# dot1x pae supplicant This command enables dot1x supplicant mode on a port. Use the no form to disable dot1x supplicant mode on a port. Syntax [no] dot1x pae supplicant Default...
Chapter 7 | Authentication Commands 802.1X Port Authentication dot1x timeout This command sets the time that a supplicant port waits for a response from the authenticator. Use the no form to restore the default setting. auth-period Syntax dot1x timeout auth-period seconds no dot1x timeout auth-period seconds - The number of seconds.
Chapter 7 | Authentication Commands 802.1X Port Authentication dot1x timeout This command sets the time that a supplicant port waits before resending an EAPOL start frame to the authenticator. Use the no form to restore the default start-period setting. Syntax dot1x timeout start-period seconds no dot1x timeout start-period seconds - The number of seconds.
Page 232
Chapter 7 | Authentication Commands 802.1X Port Authentication ◆ Authenticator Parameters – Shows whether or not EAPOL pass-through is enabled (page 220). ◆ Supplicant Parameters – Shows the supplicant user name used when the switch responds to an MD5 challenge from an authenticator (page 228).
Page 233
Chapter 7 | Authentication Commands 802.1X Port Authentication ◆ Backend State Machine State – Current state (including request, response, success, fail, timeout, ■ idle, initialize). Request Count– Number of EAP Request packets sent to the Supplicant ■ without receiving a response. Identifier (Server)–...
Chapter 7 | Authentication Commands Management IP Filter Backend State Machine State : Idle Request Count Identifier(Server) Reauthentication State Machine State : Initialize Console# Management IP Filter This section describes commands used to configure IP management access to the switch. Table 44: Management IP Filter Commands Command Function...
Chapter 7 | Authentication Commands Management IP Filter 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. ◆...
Chapter 7 | Authentication Commands PPPoE Intermediate Agent pppoe This command enables the PPPoE Intermediate Agent globally on the switch. Use the no form to disable this feature. intermediate-agent Syntax [no] pppoe intermediate-agent Default Setting Disabled Command Mode Global Configuration Command Usage ◆...
Chapter 7 | Authentication Commands PPPoE Intermediate Agent Default Setting ◆ Access Node Identifier: IP address of the management interface. ◆ Generic Error Message: PPPoE Discover packet too large to process. Try reducing the number of tags added. Command Mode Global Configuration Command Usage ◆...
Chapter 7 | Authentication Commands PPPoE Intermediate Agent pppoe intermediate- This command sets the circuit-id or remote-id for an interface. Use the no form to restore the default settings. agent port-format- type Syntax pppoe intermediate-agent port-format-type {circuit-id | remote-id} id-string circuit-id - String identifying the circuit identifier (or interface) on this switch to which the user is connected.
Chapter 7 | Authentication Commands PPPoE Intermediate Agent pppoe intermediate- This command sets an interface to trusted mode to indicate that it is connected to a PPPoE server. Use the no form to set an interface to untrusted mode. agent trust Syntax [no] pppoe intermediate-agent trust Default Setting...
Chapter 7 | Authentication Commands PPPoE Intermediate Agent PPPoE Intermediate Agent Admin Generic Error Message PPPoE Discover packet too large to process. Try reducing the number of tags added. PPPoE Intermediate Agent Oper Generic Error Message PPPoE Discover packet too large to process. Try reducing the number of tags added.
Page 243
Chapter 7 | Authentication Commands PPPoE Intermediate Agent Table 46: show pppoe intermediate-agent statistics - display description Field Description PADS PPPoE Active Discovery Session-Confirmation PADT PPPoE Active Discovery Terminate Dropped Response from Response from an interface which not been configured as trusted. untrusted Request towards Request sent to an interface which not been configured as trusted.
General Security Measures This switch supports many methods of segregating traffic for clients attached to each of the data ports, and for ensuring that only authorized clients gain access to the network. Port-based authentication using IEEE 802.1X is commonly used for these purposes.
Chapter 8 | General Security Measures Port Security Port Security These commands can be used to enable port security on a port. When using port security, the switch stops learning new MAC addresses on the specified port when it has reached a configured maximum number. Only incoming traffic with source addresses already stored in the dynamic or static address table for this port will be authorized to access the network.
Page 247
Chapter 8 | General Security Measures Port Security Command Mode Interface Configuration (Ethernet) Command Usage ◆ The default maximum number of MAC addresses allowed on a secure port is zero (that is, port security is disabled). To use port security, you must configure the maximum number of addresses allowed on a port using the port security max-mac-count command.
Chapter 8 | General Security Measures Port Security Related Commands show interfaces status (357) shutdown (350) mac-address-table static isolation (430) show port security This command displays port security status and the secure address count. Syntax show port security [interface interface] interface - Specifies a port interface.
Page 249
Chapter 8 | General Security Measures Port Security (Continued) Table 49: show port security - display description Field Description MaxMacCnt The maximum number of addresses which can be stored in the address table for this interface (either dynamic or static). CurrMacCnt The current number of secure entries in the address table.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Network Access (MAC Address Authentication) Network Access authentication controls access to the network by authenticating the MAC address of each host that attempts to connect to a switch port. Traffic received from a specific MAC address is forwarded by the switch only if the source MAC address is successfully authenticated by a central RADIUS server.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) network-access aging Use this command to enable aging for authenticated MAC addresses stored in the secure MAC address table. Use the no form of this command to disable address aging.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Command Mode Global Configuration Command Usage ◆ Specified addresses are exempt from network access authentication. ◆ This command is different from configuring static addresses with the mac- address-table static isolation command in that it allows you configure a range of addresses when using a mask, and then to assign these addresses to one or more ports with the...
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) network-access Use this command to enable the dynamic QoS feature for an authenticated port. Use the no form to restore the default. dynamic-qos Syntax [no] network-access dynamic-qos Default Setting Disabled Command Mode Interface Configuration...
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Example The following example enables the dynamic QoS feature on port 1. Console(config)#interface ethernet 1/1 Console(config-if)#network-access dynamic-qos Console(config-if)# network-access Use this command to enable dynamic VLAN assignment for an authenticated port. Use the no form to disable dynamic VLAN assignment.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) network-access Use this command to assign all traffic on a port to a guest VLAN when 802.1x authentication is rejected. Use the no form of this command to disable guest VLAN guest-vlan assignment.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) network-access link- Use this command to detect link-down events. When detected, the switch can shut down the port, send an SNMP trap, or both. Use the no form of this command to detection link-down disable this feature.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Example Console(config)#interface ethernet 1/1 Console(config-if)#network-access link-detection link-up action trap Console(config-if)# network-access link- Use this command to detect link-up and link-down events. When either event is detection link-up- detected, the switch can shut down the port, send an SNMP trap, or both. Use the no form of this command to disable this feature.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Command Mode Interface Configuration Command Usage The maximum number of MAC addresses per port is 1024, and the maximum number of secure MAC addresses supported for the switch system is 1024. When the limit is reached, all new MAC addresses are treated as authentication failures.
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) ◆ When port status changes to down, all MAC addresses are cleared from the secure MAC address table. Static VLAN assignments are not restored. ◆ The RADIUS server may optionally return a VLAN identifier list. VLAN identifier list is carried in the “Tunnel-Private-Group-ID”...
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) mac-authentication Use this command to configure the port response to a host MAC authentication failure. Use the no form of this command to restore the default. intrusion-action Syntax mac-authentication intrusion-action {block traffic | pass traffic} no mac-authentication intrusion-action Default Setting Block Traffic...
Chapter 8 | General Security Measures Network Access (MAC Address Authentication) Example Console#show network-access interface ethernet 1/1 Global secure port information Reauthentication Time : 1800 MAC address Aging : Disabled Port : 1/1 MAC Authentication : Disabled MAC Authentication Intrusion action : Block traffic MAC Authentication Maximum MAC Counts : 1024 Maximum MAC Counts...
Chapter 8 | General Security Measures Web Authentication 00-00-00 would result in all MACs in the range 00-00-01-00-00-00 to 00-00-01-FF- FF-FF to be displayed. All other MACs would be filtered out. Example Console#show network-access mac-address-table ---- ----------------- --------------- --------- ------------------------- Port MAC-Address RADIUS-Server Attribute Time...
Chapter 8 | General Security Measures Web Authentication Note: RADIUS authentication must be activated and configured for the web authentication feature to work properly (see “Authentication Sequence” on page 185). Note: Web authentication cannot be configured on trunk ports. Table 52: Web Authentication Command Function Mode...
Chapter 8 | General Security Measures Web Authentication Example Console(config)#web-auth login-attempts 2 Console(config)# web-auth This command defines the amount of time a host must wait after exceeding the quiet-period limit for failed login attempts, before it may attempt web authentication again. Use the no form to restore the default.
Chapter 8 | General Security Measures Web Authentication Example Console(config)#web-auth session-timeout 1800 Console(config)# web-auth This command globally enables web authentication for the switch. Use the no form system-auth-control to restore the default. Syntax [no] web-auth system-auth-control Default Setting Disabled Command Mode Global Configuration Command Usage Both web-auth system-auth-control for the switch and...
Chapter 8 | General Security Measures Web Authentication Example Console(config-if)#web-auth Console(config-if)# web-auth This command ends all web authentication sessions connected to the port and re-authenticate (Port) forces the users to re-authenticate. Syntax web-auth re-authenticate interface interface interface - Specifies a port interface. ethernet unit/port unit - Unit identifier.
Chapter 8 | General Security Measures Web Authentication Example Console#web-auth re-authenticate interface ethernet 1/2 192.168.1.5 Console# show web-auth This command displays global web authentication parameters. Command Mode Privileged Exec Example Console#show web-auth Global Web-Auth Parameters System Auth Control : Enabled Session Timeout : 3600 Quiet Period...
Chapter 8 | General Security Measures DHCP Snooping show web-auth This command displays a summary of web authentication port parameters and statistics. summary Command Mode Privileged Exec Example Console#show web-auth summary Global Web-Auth Parameters System Auth Control : Enabled Port Status Authenticated Host Count ----...
Chapter 8 | General Security Measures DHCP Snooping (Continued) Table 53: DHCP Snooping Commands Command Function Mode show ip dhcp snooping Shows the DHCP snooping configuration settings show ip dhcp snooping Shows the DHCP snooping binding table entries binding ip dhcp snooping This command enables DHCP snooping globally.
Page 271
Chapter 8 | General Security Measures DHCP Snooping If DHCP snooping is enabled globally, and also enabled on the VLAN where ■ the DHCP packet is received, but the port is not trusted, it is processed as follows: If the DHCP packet is a reply packet from a DHCP server (including ■...
Chapter 8 | General Security Measures DHCP Snooping ip dhcp snooping This command enables the use of DHCP Option 82 information for the switch, and specifies the frame format to use for the remote-id when Option 82 information is information option generated by the switch.
Chapter 8 | General Security Measures DHCP Snooping ◆ When the DHCP Snooping Information Option is enabled, clients can be identified by the switch port to which they are connected rather than just their MAC address. DHCP client-server exchange messages are then forwarded directly between the server and client without having to flood them to the entire VLAN.
Chapter 8 | General Security Measures DHCP Snooping Command Mode Global Configuration Command Usage When the switch receives DHCP packets from clients that already include DHCP Option 82 information, the switch can be configured to set the action policy for these packets.
Chapter 8 | General Security Measures DHCP Snooping ip dhcp snooping vlan This command enables DHCP snooping on the specified VLAN. Use the no form to restore the default setting. Syntax [no] ip dhcp snooping vlan vlan-id vlan-id - ID of a configured VLAN (Range: 1-4094) Default Setting Disabled Command Mode...
Chapter 8 | General Security Measures DHCP Snooping ip dhcp snooping This command enables the use of DHCP Option 82 information circuit-id suboption. Use the no form to disable this feature. information option circuit-id Syntax ip dhcp snooping information option circuit-id string string no dhcp snooping information option circuit-id string - An arbitrary string inserted into the circuit identifier field.
Chapter 8 | General Security Measures DHCP Snooping vlan - Tag of the VLAN which received the DHCP request. ■ Note that the sub-type and sub-length fields can be enabled or disabled using the ip dhcp snooping information option command. The ip dhcp snooping information option circuit-id command can be ■...
Chapter 8 | General Security Measures DHCP Snooping Example This example sets port 5 to untrusted. Console(config)#interface ethernet 1/5 Console(config-if)#no ip dhcp snooping trust Console(config-if)# Related Commands ip dhcp snooping (270) ip dhcp snooping vlan (275) clear ip dhcp This command clears DHCP snooping binding table entries from RAM. Use this snooping binding command without any optional keywords to clear all entries from the binding table.
Chapter 8 | General Security Measures DHCP Snooping ip dhcp snooping This command writes all dynamically learned snooping entries to flash memory. database flash Command Mode Privileged Exec Command Usage This command can be used to store the currently learned dynamic DHCP snooping entries to flash memory.
Chapter 8 | General Security Measures IP Source Guard show ip dhcp This command shows the DHCP snooping binding table entries. snooping binding Command Mode Privileged Exec Example Console#show ip dhcp snooping binding MacAddress IpAddress Lease(sec) Type VLAN Interface ----------------- --------------- ---------- -------------------- ---- ------ 11-22-33-44-55-66 192.168.0.99 0 Dynamic-DHCPSNP 1 Eth 1/5...
Page 281
Chapter 8 | General Security Measures IP Source Guard ip-address - A valid unicast IP address, including classful types A, B or C. unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) Default Setting No configured entries Command Mode Global Configuration Command Usage...
Chapter 8 | General Security Measures IP Source Guard ip source-guard This command configures the switch to filter inbound traffic based source IP address, or source IP address and corresponding MAC address. Use the no form to disable this function. Syntax ip source-guard {sip | sip-mac} no ip source-guard...
Chapter 8 | General Security Measures IP Source Guard sip-mac option). If a matching entry is found in the binding table and the entry type is static IP source guard binding, the packet will be forwarded. If the DHCP snooping is enabled, IP source guard will check the VLAN ID, ■...
Chapter 8 | General Security Measures IP Source Guard discovered by DHCP snooping and static entries set by the ip source-guard command. Example This example sets the maximum number of allowed entries in the binding table for port 5 to one entry. Console(config)#interface ethernet 1/5 Console(config-if)#ip source-guard max-binding 1 Console(config-if)#...
Chapter 8 | General Security Measures ARP Inspection (Continued) Table 56: ARP Inspection Commands Command Function Mode show ip arp inspection Shows statistics about the number of ARP packets statistics processed, or dropped for various reasons show ip arp inspection vlan Shows configuration setting for VLANs, including ARP Inspection status, the ARP ACL name, and if the DHCP Snooping database is used after ACL validation is...
Chapter 8 | General Security Measures ARP Inspection Example Console(config)#ip arp inspection Console(config)# ip arp inspection filter This command specifies an ARP ACL to apply to one or more VLANs. Use the no form to remove an ACL binding. Syntax ip arp inspection filter arp-acl-name vlan {vlan-id | vlan-range} [static] arp-acl-name - Name of an ARP ACL.
Chapter 8 | General Security Measures ARP Inspection ip arp inspection This command sets the maximum number of entries saved in a log message, and the rate at which these messages are sent. Use the no form to restore the default log-buffer logs settings.
Chapter 8 | General Security Measures ARP Inspection ip arp inspection This command specifies additional validation of address components in an ARP packet. Use the no form to restore the default setting. validate Syntax ip arp inspection validate {dst-mac [ip] [src-mac] | ip [src-mac] | src-mac} no ip arp inspection validate dst-mac - Checks the destination MAC address in the Ethernet header...
Chapter 8 | General Security Measures ARP Inspection Default Setting Disabled on all VLANs Command Mode Global Configuration Command Usage ◆ When ARP Inspection is enabled globally with the ip arp inspection command, it becomes active only on those VLANs where it has been enabled with this command.
Chapter 8 | General Security Measures ARP Inspection Default Setting Command Mode Interface Configuration (Port) Command Usage ◆ This command only applies to untrusted ports. ◆ When the rate of incoming ARP packets exceeds the configured limit, the switch drops all ARP packets in excess of the limit. Example Console(config)#interface ethernet 1/1 Console(config-if)#ip arp inspection limit 150...
Chapter 8 | General Security Measures ARP Inspection show ip arp inspection This command displays the global configuration settings for ARP Inspection. configuration Command Mode Privileged Exec Example Console#show ip arp inspection configuration ARP inspection global information: Global IP ARP Inspection status : disabled Log Message Interval : 10 s Log Message Number...
Chapter 8 | General Security Measures ARP Inspection show ip arp inspection This command shows information about entries stored in the log, including the associated VLAN, port, and address components. Command Mode Privileged Exec Example Console#show ip arp inspection log Total log entries number is 1 Num VLAN Port Src IP Address Dst IP Address...
Chapter 8 | General Security Measures Denial of Service Protection Example Console#show ip arp inspection vlan 1 VLAN ID DAI Status ACL Name ACL Status -------- --------------- -------------------- -------------------- disabled sales static Console# Denial of Service Protection A denial-of-service attack (DoS attack) is an attempt to block the services provided by a computer or network resource.
Chapter 8 | General Security Measures Denial of Service Protection (Continued) Table 57: DoS Protection Commands Command Function Mode dos-protection ipv6 invalid-ip- Protects against attacks in which hackers replace address the source or destination IP address dos-protection ipv6 invalid- Protects against spoofing with an invalid IPv6 source-ip-address address Protection for TCP...
Chapter 8 | General Security Measures Denial of Service Protection Command Mode Global Configuration Example Console(config)#dos-protection Console(config)# Protection for ICMP dos-protection icmp This command protects against flooding attacks in which large amounts of (or just over-sized) ICMP packets are sent to a host in order to attempt to crash the TCP/IP flood stack on the host.
Chapter 8 | General Security Measures Denial of Service Protection Command Mode Global Configuration Example Console(config)#dos-protection icmp nuke Console(config)# dos-protection icmp This command protects against ping-of-death attacks in which an attacker ping-of-death deliberately sends an IP packet larger than the maximum length allowed by the IPv4 or IPv6 protocol, or by using fragmentation in which a packet broken down into fragments could add up to more than the allowed maximum length.
Chapter 8 | General Security Measures Denial of Service Protection Command Mode Global Configuration Example Console(config)#dos-protection icmp smurf Console(config)# Protection for IPv4 dos-protection ip This command protects against invalid IP destination address attacks. When a stream such packets are received, this can indicate a denial-of-service (DoS) invalid-destination-ip- attempt or just a packet generator using RAW sockets on the network.
Chapter 8 | General Security Measures Denial of Service Protection Command Usage These packets may have any of the following attributes: ◆ Header length is less than 4 bytes ◆ Raw IP data length is less than header length * 4 Example Console(config)#dos-protection ip invalid-header-length Console(config)#...
Chapter 8 | General Security Measures Denial of Service Protection Default Setting Disabled Command Mode Global Configuration Command Usage These packets may have any of the following attributes: 224.0.0.0 ≤ source IP address ≤ 240.0.0.0 ◆ ◆ Source IP address is 127.*.*.* ◆...
Chapter 8 | General Security Measures Denial of Service Protection dos-protection ipv6 This command protects against attacks which send IP packets with an incorrect header length. Such packets are not allowed by the system, but their abundant invalid-header-length number can cause computer crashes and other system errors. Syntax [no] dos-protection ipv6 invalid-header-length Default Setting...
Chapter 8 | General Security Measures Denial of Service Protection Syntax [no] dos-protection ip invalid-source-ip-address Default Setting Disabled Command Mode Global Configuration Command Usage These packets may have any of the following attributes: ◆ Source IP address is ::1 ◆ Source IP address is 0xFF00::/8 Example Console(config)#dos-protection ip invalid-source-ip-address...
Chapter 8 | General Security Measures Denial of Service Protection dos-protection tcp This command protects against attacks which send TCP packets with an incorrect header length. Such packets are not allowed by the system, but their abundant invalid-header-length number can cause computer crashes and other system errors. Syntax [no] dos-protection udp invalid-header-length Default Setting...
Chapter 8 | General Security Measures Denial of Service Protection dos-protection tcp This command protects against attacks in which a TCP SYN/ACK/PSH message sequence is used to cause problems for some operating systems which do not syn-ack-psh-block acknowledge this as a valid sequence. Syntax [no] dos-protection syn-ack-psh-block Default Setting...
Chapter 8 | General Security Measures Denial of Service Protection dos-protection tcp This command protects against flooding attacks in which a perpetrator sends a succession of TCP synchronization requests (with or without a spoofed source IP syn-flood address) to a target and never returns ACK packets. These half-open connections will bind up resources on the target, and no new connections can be made, resulting in denial of service.
Chapter 8 | General Security Measures Denial of Service Protection dos-protection tcp This command protects against SYN/RST-scan attacks in which a TCP SYN/RST scan message is used to stop an ongoing TCP session. An attacker can forge a set of syn-rst-scan Synchronize (SYN) and Reset (RST) packets in an attempt to guess a TCP sequence number within a narrow range (or TCP window) of values.
Chapter 8 | General Security Measures Denial of Service Protection dos-protection tcp This command protects against TCP Xmas-scan in which a so-called TCP Xmas scan message is used to identify listening TCP ports. This scan uses a series of strangely xmas-scan configured TCP packets which contain a sequence number of 0 and the URG, PSH and FIN flags.
Chapter 8 | General Security Measures Denial of Service Protection dos-protection udp This command protects against UDP-flooding attacks in which a perpetrator sends a large number of UDP packets (with or without a spoofed-Source IP) to random flood ports on a remote host. The target will determine that an application is listening at that port, and reply with an ICMP Destination Unreachable packet.
Chapter 8 | General Security Measures Denial of Service Protection Other Protection Commands dos-protection This command protects against Echo/Chargen attacks in which the echo service echo-chargen repeats anything sent to it, and the chargen (character generator) service generates a continuous stream of data. When used together, they create an infinite loop and result in denial-of-service.
Chapter 8 | General Security Measures Port Isolation Example Console(config)#port-isolation Console(config)# port-isolation join This command assigns a profile to an uplink or downlink port. Use the no form to remove a profile assignment. Syntax [no] port-isolation join profile-id {{isolated interface} | {uplink interface}} profile-id - Profile identifier.
Chapter 8 | General Security Measures Port Isolation Example Console(config)#port-isolation join profile 1 bridge ipv4 dhcp Console(config)# port-isolation profile This command sets the traffic type or protocol type to include in a profile. Use the no form to remove a profile or to remove an attribute from a profile. Syntax port-isolation profile profile-id bridge {ipv4 {arp | dhcp} | ipv6 {ndp | dhcp} | traffic {broadcast | multicast | unitcast}}...
Chapter 8 | General Security Measures Port-based Traffic Segmentation Console# Port-based Traffic Segmentation If tighter security is required for passing traffic from different clients through downlink ports on the local network and over uplink ports to the service provider, port-based traffic segmentation can be used to isolate traffic for individual clients.
Chapter 8 | General Security Measures Port-based Traffic Segmentation Traffic segmentation and normal VLANs can exist simultaneously within ◆ the same switch. Traffic may pass freely between uplink ports in segmented groups and ports in normal VLANs. When traffic segmentation is enabled, the forwarding state for the ◆...
Chapter 8 | General Security Measures Port-based Traffic Segmentation EFAULT ETTING None OMMAND Global Configuration Command Usage Use this command to create a new traffic-segmentation client session. ◆ Using the no form of this command will remove any assigned uplink or ◆...
Chapter 8 | General Security Measures Port-based Traffic Segmentation A port can only be assigned to one traffic-segmentation session. ◆ When specifying an uplink or downlink, a list of ports may be entered ◆ by using a hyphen or comma in the port field. Note that lists are not supported for the channel-id field.
Access Control Lists Access Control Lists (ACL) provide packet filtering for IPv4 frames (based on address, protocol, Layer 4 protocol port number or TCP control code), IPv6 frames (based on address, DSCP traffic class, next header type, or any frames (based on MAC address or Ethernet type).
Chapter 9 | Access Control Lists IPv4 ACLs access-list ip This command adds an IP access list and enters configuration mode for standard or extended IPv4 ACLs. Use the no form to remove the specified ACL. Syntax [no] access-list ip {standard | extended} acl-name standard –...
Chapter 9 | Access Control Lists IPv4 ACLs ip access-group This command binds an IPv4 ACL to all ports. Use the no form to remove the binding. Syntax ip access-group acl-name in [time-range time-range-name] [counter] no ip access-group acl-name in acl-name –...
Chapter 9 | Access Control Lists IPv4 ACLs permit, deny This command adds a rule to a Standard IPv4 ACL. The rule sets a filter condition for packets emanating from the specified source. Use the no form to remove a rule. (Standard IP ACL) Syntax {permit | deny} {any | source bitmask | host source}...
Page 323
Chapter 9 | Access Control Lists IPv4 ACLs permit, deny This command adds a rule to an Extended IPv4 ACL. The rule sets a filter condition for packets with specific source or destination IP addresses, protocol types, source (Extended IPv4 ACL) or destination protocol ports, or TCP control codes.
Page 324
Chapter 9 | Access Control Lists IPv4 ACLs sport – Protocol source port number. (Range: 0-65535) dport – Protocol destination port number. (Range: 0-65535) port-bitmask – Decimal number representing the port bits to match. (Range: 0-65535) control-flags – Decimal number (representing a bit string) that specifies flag bits in byte 14 of the TCP header.
Page 325
Chapter 9 | Access Control Lists IPv4 ACLs 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” ■ Both SYN and ACK valid, use “control-code 18 18” ■...
Chapter 9 | Access Control Lists IPv4 ACLs ip access-group This command binds an IPv4 ACL to a port. Use the no form to remove the port. Syntax ip access-group acl-name {in | out} [time-range time-range-name] [counter] no ip access-group acl-name {in | out} acl-name –...
Chapter 9 | Access Control Lists IPv6 ACLs Related Commands ip access-group (326) show ip access-list This command displays the rules for configured IPv4 ACLs. Syntax show ip access-list {standard | extended} [acl-name] standard – Specifies a standard IP ACL. extended –...
Chapter 9 | Access Control Lists IPv6 ACLs (Continued) Table 63: IPv4 ACL Commands Command Function Mode show ipv6 access-group Shows port assignments for IPv6 ACLs show ipv6 access-list Displays the rules for configured IPv6 ACLs access-list ipv6 This command adds an IP access list and enters configuration mode for standard or extended IPv6 ACLs.
Chapter 9 | Access Control Lists IPv6 ACLs ipv6 access-group This command binds all ports to an IPv6 ACL. Use the no form to remove the binding. Syntax ipv6 access-group acl-name in [time-range time-range-name] [counter] no ipv6 access-group acl-name in acl-name –...
Chapter 9 | Access Control Lists IPv6 ACLs source-ipv6-address - An IPv6 source address or network class. The address must be formatted according to RFC 2373 “IPv6 Addressing Architecture, ” using 8 colon-separated 16-bit hexadecimal values. One double colon may be used in the address to indicate the appropriate number of zeros required to fill the undefined fields.
Page 331
Chapter 9 | Access Control Lists IPv6 ACLs any – Any IP address (an abbreviation for the IPv6 prefix ::/0). host – Keyword followed by a specific source IP address. source-ipv6-address - An IPv6 source address or network class. The address must be formatted according to RFC 2373 “IPv6 Addressing Architecture, ”...
Chapter 9 | Access Control Lists IPv6 ACLs Example This example accepts any incoming packets if the destination address is 2009:DB9:2229::79/8. Console(config-ext-ipv6-acl)#permit 2009:DB9:2229::79/8 Console(config-ext-ipv6-acl)# This allows packets to any destination address when the DSCP value is 5. Console(config-ext-ipv6-acl)#permit any dscp 5 Console(config-ext-ipv6-acl)# This allows any packets sent to the destination 2009:DB9:2229::79/48 when the next header is 43.
Chapter 9 | Access Control Lists IPv6 ACLs Command Usage If a port is already bound to an ACL and you bind it to a different ACL, the switch will replace the old binding with the new one. Example Console(config)#interface ethernet 1/2 Console(config-if)#ipv6 access-group standard david in Console(config-if)# Related Commands...
Chapter 9 | Access Control Lists MAC ACLs Example Console#show ipv6 access-list standard IPv6 standard access-list david: permit host 2009:DB9:2229::79 permit 2009:DB9:2229:5::/64 Console# Related Commands permit, deny (Standard IPv6 ACL) (329) permit, deny (Extended IPv6 ACL) (330) ipv6 access-group (332) MAC ACLs The commands in this section configure ACLs based on hardware addresses, packet format, and Ethernet type.
Chapter 9 | Access Control Lists MAC ACLs Command Usage ◆ When you create a new ACL or enter configuration mode for an existing ACL, use the permit or deny command to add new rules to the bottom of the list. ◆...
Chapter 9 | Access Control Lists MAC ACLs Related Commands show mac access-group (338) Time Range (141) permit, deny This command adds a rule to a MAC ACL. The rule filters packets matching a (MAC ACL) specified MAC source or destination address (i.e., physical layer address), or Ethernet protocol type.
Page 337
Chapter 9 | Access Control Lists MAC ACLs eth2 – Ethernet II packets. llc-other – LLC and other packets. snap – SNAP packets. any – Any MAC source or destination address. host – A specific MAC address. source – Source MAC address. destination –...
Chapter 9 | Access Control Lists MAC ACLs mac access-group This command binds a MAC ACL to a port. Use the no form to remove the port. Syntax mac access-group acl-name {in | out} [time-range time-range-name] [counter] acl-name – Name of the ACL. (Maximum length: 16 characters) in –...
Chapter 9 | Access Control Lists ARP ACLs 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...
Chapter 9 | Access Control Lists ARP ACLs Default Setting None Command Mode Global Configuration Command Usage ◆ When you create a new ACL or enter configuration mode for an existing ACL, use the permit or deny command to add new rules to the bottom of the list. To create an ACL, you must add at least one rule to the list.
Chapter 9 | Access Control Lists ARP ACLs ip-address-bitmask – IPv4 number representing the address bits to match. source-mac – Source MAC address. destination-mac – Destination MAC address range with bitmask. mac-address-bitmask – Bitmask for MAC address (in hexadecimal format). log - Logs a packet when it matches the access control entry.
Chapter 9 | Access Control Lists ACL Information Related Commands permit, deny (340) ACL Information This section describes commands used to display ACL information. Table 66: ACL Information Commands Command Function Mode clear access-list hardware Clears hit counter for rules in all ACLs, or in a specified ACL. PE counters show access-group Shows the ACLs assigned to each port...
Interface Commands These commands are used to display or set communication parameters for an Ethernet port, aggregated link, or VLAN; or perform cable diagnostics on the specified interface. Table 67: Interface Commands Command Function Mode Interface Configuration interface Configures an interface type and enters interface configuration mode alias Configures an alias name for the interface...
Chapter 10 | Interface Commands Interface Configuration Interface Configuration interface This command configures an interface type and enters interface configuration mode. Use the no form with a trunk to remove an inactive interface. Syntax [no] interface interface-list interface-list – One or more ports. Use a hyphen to indicate a consecutive list of ports or a comma between non-consecutive ports.
Chapter 10 | Interface Commands Interface Configuration Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage The alias is displayed in the running-configuration file. An example of the value which a network manager might store in this object for a WAN interface is the (Telco's) circuit number/identifier of the interface.
Chapter 10 | Interface Commands Interface Configuration ◆ When auto-negotiation is enabled with the negotiation command, the switch will negotiate the best settings for a link based on the capabilities command. When auto-negotiation is disabled, you must manually specify the link attributes with the speed-duplex flowcontrol...
Chapter 10 | Interface Commands Interface Configuration flowcontrol This command enables flow control. Use the no form to disable flow control. Syntax [no] flowcontrol Default Setting Disabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆ 1000BASE-T does not support forced mode. Auto-negotiation should always be used to establish a connection over any 1000BASE-T port or trunk.
Chapter 10 | Interface Commands Interface Configuration negotiation This command enables auto-negotiation for a given interface. Use the no form to disable auto-negotiation. Syntax [no] negotiation Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆ 1000BASE-T does not support forced mode. Auto-negotiation should always be used to establish a connection over any 1000BASE-T port or trunk.
Chapter 10 | Interface Commands Interface Configuration Command Usage This command allows you to disable a port due to abnormal behavior (e.g., excessive collisions), and then re-enable 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.
Chapter 10 | Interface Commands Interface Configuration ◆ When using the negotiation command to enable auto-negotiation, the optimal settings will be determined by the capabilities command. To set the speed/ duplex mode under auto-negotiation, the required mode must be specified in the capabilities list for an interface.
Chapter 10 | Interface Commands Interface Configuration show interfaces brief This command displays a summary of key information, including operational status, native VLAN ID, default priority, speed/duplex mode, and port type for all ports. Command Mode Privileged Exec Example Console#show interfaces brief Interface Name Status PVID Pri Speed/Duplex...
Page 355
Chapter 10 | Interface Commands Interface Configuration (Continued) Table 68: show interfaces counters - display description Parameter Description Unicast Input The number of subnetwork-unicast packets delivered to a higher-layer protocol. Unicast Output The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.
Page 356
Chapter 10 | Interface Commands Interface Configuration (Continued) Table 68: show interfaces counters - display description Parameter Description Excessive Collisions A count of frames for which transmission on a particular interface fails due to excessive collisions. This counter does not increment when the interface is operating in full-duplex mode.
Chapter 10 | Interface Commands Interface Configuration (Continued) Table 68: show interfaces counters - display description Parameter Description 64 Octets The total number of packets (including bad packets) received and transmitted that were less than 64 octets in length (excluding framing bits but including FCS octets).
Syntax show interfaces transceiver [interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: SFP ports 11-12 on ECS4210-12P, 25-28 on ECS4210-28P/28T) Default Setting Shows all SFP interfaces. Command Mode Privileged Exec...
Chapter 10 | Interface Commands Cable Diagnostics devices. This feature, referred to as Digital Diagnostic Monitoring (DDM) in the command display, provides information on transceiver parameters including temperature, supply voltage, laser bias current, laser power, and received optical power. Example Console#show interfaces transceiver ethernet 1/25 Connector Type : LC...
Chapter 10 | Interface Commands Cable Diagnostics ◆ The test takes approximately 5 seconds. The switch displays the results of the test immediately upon completion, including common cable failures, as well as the status and approximate length of each cable pair. ◆...
Chapter 10 | Interface Commands Cable Diagnostics Example Console#show cable-diagnostics interface ethernet 1/23 Port Type Link Status Pair A (meters) Pair B (meters) Pair C (meters) Pair D (meters) Last Update -------- ---- ----------- ---------------- ---------------- ---------------- ---------------- ---------------- Eth 1/ 1 OK (1) OK (1) OK (1)
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.
Chapter 11 | Link Aggregation Commands Manual Configuration Commands ◆ All ports in a trunk must be configured in an identical manner, including communication mode (i.e., speed and duplex mode), VLAN assignments, and CoS settings. ◆ Any of the Gigabit ports on the front panel can be trunked together, including ports of different media types.
Page 365
Chapter 11 | Link Aggregation Commands Manual Configuration Commands Default Setting src-dst-ip Command Mode Global Configuration Command Usage ◆ This command applies to all static and dynamic trunks on the switch. ◆ To ensure that the switch traffic load is distributed evenly across all links in a trunk, select the source and destination addresses used in the load-balance calculation to provide the best result for trunk connections: dst-ip: All traffic with the same destination IP address is output on the...
Chapter 11 | Link Aggregation Commands Dynamic Configuration Commands 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-8/12) Default Setting The current port will be added to this trunk.
Page 367
Chapter 11 | Link Aggregation Commands Dynamic Configuration Commands Command Usage ◆ The ports on both ends of an LACP trunk must be configured for full duplex, either by forced mode or auto-negotiation. ◆ A trunk formed with another switch using LACP will automatically be assigned the next available port-channel ID.
Chapter 11 | Link Aggregation Commands Dynamic Configuration Commands lacp admin-key This command configures a port's LACP administration key. Use the no form to restore the default setting. (Ethernet Interface) Syntax lacp {actor | partner} admin-key key no lacp {actor | partner} admin-key actor - The local side an aggregate link.
Chapter 11 | Link Aggregation Commands Dynamic Configuration Commands partner - The remote side of an aggregate link. priority - LACP port priority is used to select a backup link. (Range: 0-65535) Default Setting 32768 Command Mode Interface Configuration (Ethernet) Command Usage ◆...
Chapter 11 | Link Aggregation Commands Dynamic Configuration Commands Default Setting 32768 Command Mode Interface Configuration (Ethernet) Command Usage ◆ Port must be configured with the same system priority to join the same LAG. ◆ System priority is combined with the switch’s MAC address to form the LAG identifier.
Chapter 11 | Link Aggregation Commands Trunk Status Display Commands same value as the port admin key (lacp admin key - Ethernet Interface) used by the interfaces that joined the group. Note that when the LAG is no longer used, the port channel admin key is reset to 0.
Chapter 11 | Link Aggregation Commands Trunk Status Display Commands Table 70: show lacp counters - display description 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.
Chapter 11 | Link Aggregation Commands Trunk Status Display Commands (Continued) Table 71: show lacp internal - display description Field Description ◆ Admin State, Synchronization – The System considers this link to be IN_SYNC; i.e., it has been allocated to the correct Link Aggregation Group, the group has been Oper State associated with a compatible Aggregator, and the identity of the Link (continued)
Power over Ethernet Commands The commands in this group control the power that can be delivered to attached PoE devices through RJ-45 ports 1-12 on the ECS4210-12P and 1-24 on the ECS4210-28P. The switch’s power management allows individual port power to be controlled within a configured power budget.
Chapter 12 | Power over Ethernet Commands Command Usage ◆ The switch automatically detects attached PoE devices by periodically transmitting test voltages that over the Gigabit Ethernet copper-media ports. When an IEEE 802.3af or 802.3at compatible device is plugged into one of these ports, the powered device reflects the test voltage back to the switch, which may then turn on the power to this device.
Chapter 12 | Power over Ethernet Commands Command Usage ◆ The switch only provides power to the Gigabit Ethernet copper-media ports. ◆ When detection is enabled for PoE-compliant devices, power is automatically supplied when a device is detected on the port, providing that the power demanded does not exceed the port’s power budget or the switch’s power budget.
Chapter 12 | Power over Ethernet Commands Example Console(config)#interface ethernet 1/1 Console(config-if)#power inline maximum allocation 8000 Console(config-if)# power inline priority This command sets the power priority for specific ports. Use the no form to restore the default setting. Syntax power inline priority priority no power inline priority priority - The power priority for the port.
Chapter 12 | Power over Ethernet Commands ◆ If a device is connected to a switch port after bootup and the switch detects that it requires more than the power budget set for the port or for the overall switch, no power is supplied to the device regardless of its priority setting. Example Console(config)#interface ethernet 1/1 Console(config-if)#power inline priority 2...
Chapter 12 | Power over Ethernet Commands (Continued) Table 75: show power inline status - display description Field Description Power (mWatt) The maximum power allocated to this port (see power inline maximum allocation) Power (used) The current power consumption on the port in milliwatts Priority The port’s power priority setting (see power inline...
Port Mirroring Commands Data can be mirrored from a local port on the same switch or from a remote port on another switch for analysis at the target port using software monitoring tools or a hardware probe. This switch supports the following mirroring modes. Table 77: Port Mirroring Commands Command Function...
Page 382
Chapter 13 | Port Mirroring Commands Local Port Mirroring Commands rx - Mirror received packets. tx - Mirror transmitted packets. both - Mirror both received and transmitted packets. vlan-id - VLAN ID (Range: 1-4094) mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or xxxxxxxxxxxx.
Chapter 13 | Port Mirroring Commands Local Port Mirroring Commands ◆ You can create multiple mirror sessions, but all sessions must share the same destination port. ◆ The destination port cannot be a trunk or trunk member port. ◆ ACL-based mirroring is only used for ingress traffic. To mirror an ACL, follow these steps: Use the access-list command (page...
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands Default Setting Shows all sessions. Command Mode Privileged Exec Command Usage This command displays the currently configured source port, destination port, and mirror mode (i.e., RX, TX, RX/TX). Example The following shows mirroring configured from port 6 to port 11: Console(config)#interface ethernet 1/11 Console(config-if)#port monitor ethernet 1/6 Console(config-if)#end...
Page 385
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands Configuration Guidelines Take the following steps to configure an RSPAN session: Use the vlan rspan command to configure a VLAN to use for RSPAN. (Default VLAN 1 and switch cluster VLAN 4093 are prohibited.) Use the rspan source command to specify the interfaces and the traffic type...
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands RSPAN uplink ports cannot be configured to use IEEE 802.1X Port Authentication, but RSPAN source ports and destination ports can be configured to use it ◆ Port Security – If port security is enabled on any port, that port cannot be set as an RSPAN uplink port, even though it can still be configured as an RSPAN source or destination port.
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands Example The following example configures the switch to mirror received packets from port 2 and 3: Console(config)#rspan session 1 source interface ethernet 1/2 Console(config)#rspan session 1 source interface ethernet 1/3 Console(config)# rspan destination Use this command to specify the destination port to monitor the mirrored traffic.
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands ◆ A destination port can still send and receive switched traffic, and participate in any Layer 2 protocols to which it has been assigned. Example The following example configures port 4 to receive mirrored RSPAN traffic: Console(config)#rspan session 1 destination interface ethernet 1/2 Console(config)# rspan remote vlan...
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands Command Usage ◆ Only 802.1Q trunk or hybrid (i.e., general use) ports can be configured as an RSPAN uplink port – access ports are not allowed (see switchport mode). ◆ Only one uplink port can be configured on a source switch, but there is no limitation on the number of uplink ports configured on an intermediate or destination switch.
Chapter 13 | Port Mirroring Commands RSPAN Mirroring Commands show rspan Use this command to displays the configuration settings for an RSPAN session. Syntax show rspan session [session-id] session-id – A number identifying this RSPAN session. (Range: 1) Only one mirror session is allowed, including both local and remote mirroring.
Congestion Control Commands The switch can set the maximum upload or download data transfer rate for any port. It can control traffic storms by setting a maximum threshold for broadcast traffic or multicast traffic. It can also set bounding thresholds for broadcast and multicast storms which can be used to automatically trigger rate limits or to shut down a port.
Chapter 14 | Congestion Control Commands Rate Limit Commands rate-limit This command defines the rate limit for a specific interface. Use this command without specifying a rate to restore the default rate. Use the no form to restore the default status of disabled. Syntax rate-limit {input | output} [rate] no rate-limit {input | output}...
Chapter 14 | Congestion Control Commands Storm Control Commands Storm Control Commands Storm control commands can be used to configure broadcast, multicast, and unknown unicast storm control thresholds. Traffic storms may occur when a device on your network is malfunctioning, or if application programs are not well designed or properly configured.
Chapter 14 | Congestion Control Commands Storm Control Commands Command Usage ◆ When traffic exceeds the threshold specified for broadcast and multicast or unknown unicast traffic, packets exceeding the threshold are dropped until the rate falls back down beneath the threshold. ◆...
Chapter 14 | Congestion Control Commands Storm Control Commands Command Mode Normal Exec, Privileged Exec Command Usage If no interface is specified, information on all interfaces is displayed. Example This example shows the configuration setting for port 21. Console#show interfaces switchport ethernet 1/21 Information of Eth 1/21 Broadcast Threshold : Enabled, 64 Kbits/second...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands (Continued) Table 83: show interfaces switchport - display description Field Description Acceptable Frame Type Shows if acceptable VLAN frames include all types or tagged frames only (page 475). Native VLAN Indicates the default Port VLAN ID (page 478).
Page 397
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands (Continued) Table 84: ATC Commands Command Function Mode auto-traffic-control auto- Automatically releases a control response IC (Port) control-release auto-traffic-control Manually releases a control response IC (Port) control-release SNMP Trap Commands snmp-server Sends a trap when broadcast traffic falls beneath IC (Port)
Page 398
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands Usage Guidelines ATC includes storm control for broadcast or multicast traffic. The control response for either of these traffic types is the same, as shown in the following diagrams. Figure 1: Storm Control by Limiting the Traffic Rate Traffic without storm control Traffic without storm control TrafficControl...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands Figure 2: Storm Control by Shutting Down a Port The key elements of this diagram are the same as that described in the preceding diagram, except that automatic release of the control response is not provided. When traffic control is applied, you must manually re-enable the port.
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands Command Usage After the apply timer expires, a control action may be triggered as specified by the auto-traffic-control action command and a trap message sent as specified by the snmp-server enable port-traps atc broadcast-control-apply command or snmp- server enable port-traps atc multicast-control-apply...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands auto-traffic-control This command enables automatic traffic control for broadcast or multicast storms. Use the no form to disable this feature. Syntax [no] auto-traffic-control {broadcast | multicast} broadcast - Specifies automatic storm control for broadcast traffic. multicast - Specifies automatic storm control for multicast traffic.
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands shutdown - If a control response is triggered, the port is administratively disabled. A port disabled by automatic traffic control can only be manually re-enabled. Default Setting rate-control Command Mode Interface Configuration (Ethernet) Command Usage ◆...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands Default Setting 128 kilo-packets per second Command Mode Interface Configuration (Ethernet) Command Usage ◆ Once the traffic rate falls beneath the lower threshold, a trap message may be sent if configured by the snmp-server enable port-traps atc broadcast-alarm- clear command or...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands Command Usage ◆ Once the upper threshold is exceeded, a trap message may be sent if configured by the snmp-server enable port-traps atc broadcast-alarm-fire command or snmp-server enable port-traps atc multicast-alarm-fire command.
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands snmp-server This command sends a trap when broadcast traffic exceeds the upper threshold for automatic storm control. Use the no form to disable this trap. enable port-traps atc broadcast-alarm-fire Syntax [no] snmp-server enable port-traps atc broadcast-alarm-fire Default Setting Disabled...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands snmp-server This command sends a trap when broadcast traffic falls beneath the lower threshold after a storm control response has been triggered and the release timer enable port-traps atc expires. Use the no form to disable this trap. broadcast-control- release Syntax...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands snmp-server This command sends a trap when multicast traffic exceeds the upper threshold for automatic storm control. Use the no form to disable this trap. enable port-traps atc multicast-alarm-fire Syntax [no] snmp-server enable port-traps atc multicast-alarm-fire Default Setting Disabled...
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands snmp-server This command sends a trap when multicast traffic falls beneath the lower threshold after a storm control response has been triggered and the release timer expires. enable port-traps atc Use the no form to disable this trap.
Chapter 14 | Congestion Control Commands Automatic Traffic Control Commands show auto-traffic- This command shows interface configuration settings and storm control status for the specified port. control interface Syntax show auto-traffic-control interface [interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
UniDirectional Link Detection Commands The switch can be configured to detect and disable unidirectional Ethernet fiber or copper links. When enabled, the protocol advertises a port’s identity and learns about its neighbors on a specific LAN segment; and stores information about its neighbors in a cache.
Chapter 15 | UniDirectional Link Detection Commands If the link is deemed anything other than bidirectional at the end of the detection phase, this curve becomes a flat line with a fixed value of Mfast (7 seconds). If the link is instead deemed bidirectional, the curve will use Mfast for the first four subsequent message transmissions and then transition to an Mslow value for all other steady-state transmissions.
Chapter 15 | UniDirectional Link Detection Commands this mode is optional and is recommended only in certain scenarios (typically only on point-to-point links where no communication failure between two neighbors is admissible). Example This example enables UDLD aggressive mode on port 1. Console(config)#interface ethernet 1/1 Console(config-if)#udld aggressive Console(config-if)#...
Chapter 15 | UniDirectional Link Detection Commands show udld This command shows UDLD configuration settings and operational status for the switch or for a specified interface. Syntax show udld [interface interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
Page 415
Chapter 15 | UniDirectional Link Detection Commands (Continued) Table 86: show udld - display description Field Description Port State Shows the UDLD port state (Unknown, Bidirectional, Unidirectional, Transmit- to-receive loop, Mismatch with neighbor state reported, Neighbor's echo is empty) The state is Unknown if the link is down or not connected to a UDLD-capable device.
Loopback Detection Commands The switch can be configured to detect general loopback conditions caused by hardware problems or faulty protocol settings. When enabled, a control frame is transmitted on the participating ports, and the switch monitors inbound traffic to see if the frame is looped back. Table 87: Loopback Detection Commands Command Function...
Chapter 16 | Loopback Detection Commands loopback-detection This command enables loopback detection globally on the switch or on a specified interface. Use the no form to disable loopback detection. Syntax [no] loopback-detection Default Setting Disabled Command Mode Global Configuration Interface Configuration (Ethernet, Port Channel) Command Usage Loopback detection must be enabled globally for the switch by this command and enabled for a specific interface for this function to take effect.
Chapter 16 | Loopback Detection Commands Command Usage ◆ When using vlan-based mode, loopback detection control frames are untagged or tagged depending on the port’s VLAN membership type. ◆ When using vlan-based mode, ingress filtering for the port is enabled automatically if not already enabled by the switchport ingress-filtering command.
Chapter 16 | Loopback Detection Commands Example Console(config)#loopback-detection recover-time 120 Console(config-if)# loopback-detection This command specifies the interval at which to transmit loopback detection transmit-interval control frames. Use the no form to restore the default setting. Syntax loopback-detection transmit-interval seconds [no] loopback-detection transmit-interval seconds - The transmission interval for loopback detection control frames.
Chapter 16 | Loopback Detection Commands show This command shows loopback detection configuration settings for the switch or for a specified interface. loopback-detection Syntax show loopback-detection [interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) Command Mode Privileged Exec Example...
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 88: Address Table Commands Command Function Mode mac-address-table Sends a trap if an ingress packet violates the action configured settings for maximum MAC count, movable-static, or sticky-dynamic functions...
Chapter 17 | Address Table Commands mac-address-table This command sends a trap if an ingress packet violates the configured settings for mac-address-table max-mac-count, mac-address-table movable-static, or mac- action address-table sticky-dynamic functions. Use the no form to disable a trap. Syntax mac-address-table {max-mac-count | movable-static | sticky-dynamic} {interface interface | vlan vlan-id} action trap no mac-address-table {max-mac-count | movable-static | sticky-dynamic}...
Chapter 17 | Address Table Commands mac-address-table This command sets the aging time for entries in the address table. Use the no form to restore the default aging time. aging-time Syntax mac-address-table aging-time seconds no mac-address-table aging-time seconds - Aging time. (Range: 6-7200 seconds; 0 to disable aging) Default Setting 300 seconds Command Mode...
Chapter 17 | Address Table Commands Example Console(config)#mac-address-table mac-isolation Console(config)# mac-address-table This command sets the maximum number of MAC addresses which can be learned max-mac-count on an interface. Use the no form to restore the default setting. Syntax mac-address-table max-mac-count count {interface interface | vlan vlan-id} count - The maximum number of MAC addresses which can be learned on an interface.
Chapter 17 | Address Table Commands mac-address-table This command specifies an interface to which a static MAC address can be moved. Use the no form to prevent static MAC addresses from being moved to an interface. movable-static Syntax mac-address-table movable-static {interface interface | vlan vlan-id} interface ethernet unit/port unit - Unit identifier.
Chapter 17 | Address Table Commands Example Console(config)#mac-address-table static 00-01-02-03-04-05 interface ethernet 1/1 vlan 1 Console(config)#mac-address-table movable-static interface ethernet 1/1 Console(config)# mac-address-table This command maps a static address to a port in a VLAN, and optionally designates the address as permanent, to be deleted on reset, or movable-static. Use the no static form to remove an address.
Chapter 17 | Address Table Commands ◆ Static addresses are bound to the assigned interface and will not be moved. When a static address is seen on another interface, the address will be ignored and will not be written to the address table. ◆...
Chapter 17 | Address Table Commands Example Console(config)#mac-address-table sticky-dynamic interface ethernet 1/3 Console(config)# mac-address-table This command maps a static address to a port in a VLAN, and sets the isolation static isolation mode. Syntax mac-address-table static mac-address interface interface vlan vlan-id isolation {community-1 | community-2 | isolated | promiscuous} mac-address - MAC address.
Chapter 17 | Address Table Commands ◆ The MAC address isolation profiles defined by this command only take effect when MAC isolation is enabled globally by the mac-address-table mac-isolation command. ◆ If the MAC address for a packet is found during source address lookup and an isolation profile is assigned to that address, then that profile is used as the source address isolation profile.
Chapter 17 | Address Table Commands show mac-address- This command shows classes of entries in the bridge-forwarding database. table Syntax show mac-address-table [address mac-address [mask]] [interface interface] [vlan vlan-id] [sort {address | vlan | interface}] mac-address - MAC address. mask - Bits to match in the address. interface ethernet unit/port unit - Unit identifier.
Chapter 17 | Address Table Commands Eth 1/ 2 00-E0-29-94-34-64 1 Learn Delete on Timeout NA Console# show mac-address- This command shows the aging time for entries in the address table. table aging-time Default Setting None Command Mode Privileged Exec Example Console#show mac-address-table aging-time Aging Status : Enabled...
Chapter 17 | Address Table Commands show mac-address- This command shows the maximum number of MAC addresses which can be learned on an interface. table max-mac-count Syntax show mac-address-table max-mac-count [interface interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
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. Table 90: Spanning Tree Commands Command Function Mode spanning-tree Enables the spanning tree protocol spanning-tree Configures spanning tree operation to be compatible with cisco-prestandard...
Chapter 18 | Spanning Tree Commands (Continued) Table 90: Spanning Tree Commands Command Function Mode spanning-tree loopback- Configures the response for loopback detection to block detection action user traffic or shut down the interface spanning-tree loopback- Configures loopback release mode for a port detection release-mode spanning-tree loopback- Enables BPDU loopback SNMP trap notification for a port...
Chapter 18 | Spanning Tree Commands between any two stations on the network, and provide backup links which automatically take over when a primary link goes down. Example This example shows how to enable the Spanning Tree Algorithm for the switch: Console(config)#spanning-tree Console(config)# spanning-tree...
Chapter 18 | Spanning Tree Commands Command Mode Global Configuration 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.
Chapter 18 | Spanning Tree Commands spanning-tree This command configures the spanning tree bridge maximum age globally for this switch. Use the no form to restore the default. max-age 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 442
Chapter 18 | Spanning Tree Commands Default Setting rstp Command Mode Global Configuration Command Usage ◆ Spanning Tree Protocol This option uses RSTP set to STP forced compatibility mode. It uses RSTP for the internal state machine, but sends only 802.1D BPDUs. This creates one spanning tree instance for the entire network.
Chapter 18 | Spanning Tree Commands spanning-tree This command configures the path cost method used for Rapid Spanning Tree and Multiple Spanning Tree. Use the no form to restore the default. pathcost method Syntax spanning-tree pathcost method {long | short} no spanning-tree pathcost method long - Specifies 32-bit based values that range from 1-200,000,000.
Chapter 18 | Spanning Tree Commands Command Mode Global Configuration Command Usage Bridge priority is used in selecting the root device, root port, and designated port. The device with the highest priority (i.e., lower numeric value) 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.
Chapter 18 | Spanning Tree Commands spanning-tree system- This command configures the system to flood BPDUs to all other ports on the switch or just to all other ports in the same VLAN when spanning tree is disabled bpdu-flooding globally on the switch or disabled on a specific port. Use the no form to restore the default.
Chapter 18 | Spanning Tree Commands Example Console(config)#spanning-tree transmission-limit 4 Console(config)# max-hops This command configures the maximum number of hops in the region before a BPDU is discarded. Use the no form to restore the default. Syntax max-hops hop-number hop-number - Maximum hop number for multiple spanning tree. (Range: 1-40) Default Setting Command Mode...
Chapter 18 | Spanning Tree Commands Default Setting 32768 Command Mode MST Configuration Command Usage ◆ MST priority is used in selecting the root bridge and alternate bridge of the specified instance. The device with the highest priority (i.e., lowest numerical value) becomes the MSTI root device.
Chapter 18 | Spanning Tree Commands within the same MSTI Region (page 448) with the same set of instances, and the same instance (on each bridge) with the same set of VLANs. Also, note that RSTP treats each MSTI region as a single node, connecting all regions to the Common Spanning Tree.
Chapter 18 | Spanning Tree Commands Default Setting Command Mode MST Configuration Command Usage The MST region name (page 448) and revision number are used to designate a unique MST region. A bridge (i.e., spanning-tree compliant device such as this switch) can only belong to one MST region.
Chapter 18 | Spanning Tree Commands Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree edge-port Console(config-if)#spanning-tree bpdu-filter Console(config-if)# Related Commands spanning-tree edge-port (452) spanning-tree This command shuts down an edge port (i.e., an interface set for fast forwarding) if bpdu-guard it receives a BPDU. Use the no form without any keywords to disable this feature, or with a keyword to restore the default settings.
Chapter 18 | Spanning Tree Commands Console(config-if)#spanning-tree bpdu-guard Console(config-if)# Related Commands spanning-tree edge-port (452) spanning-tree spanning-disabled (460) spanning-tree cost This command configures the spanning tree path cost for the specified interface. Use the no form to restore the default auto-configuration mode. Syntax spanning-tree cost cost no spanning-tree cost...
Chapter 18 | Spanning Tree Commands 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.
Chapter 18 | Spanning Tree Commands Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree edge-port Console(config-if)# spanning-tree This command configures the link type for Rapid Spanning Tree and Multiple link-type Spanning Tree. Use the no form to restore the default. Syntax spanning-tree link-type {auto | point-to-point | shared} no spanning-tree link-type auto - Automatically derived from the duplex mode setting.
Chapter 18 | Spanning Tree Commands spanning-tree This command enables the detection and response to Spanning Tree loopback BPDU packets on the port. Use the no form to disable this feature. loopback-detection Syntax [no] spanning-tree loopback-detection Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆...
Chapter 18 | Spanning Tree Commands selected interface will be automatically enabled when the shutdown interval has expired. ◆ If an interface is shut down by this command, and the release mode is set to “manual, ” the interface can be re-enabled using the spanning-tree loopback- detection release command.
Chapter 18 | Spanning Tree Commands ◆ When configured for manual release mode, then a link down / up event will not release the port from the discarding state. It can only be released using the spanning-tree loopback-detection release command. Example Console(config)#interface ethernet 1/5 Console(config-if)#spanning-tree loopback-detection release-mode manual...
Chapter 18 | Spanning Tree Commands standard exceeds 65,535, the default is set to 65,535. The default path costs are listed in Table 92 on page 451. Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆ Each spanning-tree instance is associated with a unique set of VLAN IDs. ◆...
Chapter 18 | Spanning Tree Commands interface with the highest priority (that is, lowest value) will be configured as an active link in the spanning tree. ◆ Where more than one interface is assigned the highest priority, the interface with lowest numeric identifier will be enabled. Example Console(config)#interface Ethernet 1/5 Console(config-if)#spanning-tree mst 1 port-priority 0...
Chapter 18 | Spanning Tree Commands spanning-tree This command configures the priority for the specified interface. Use the no form to restore the default. port-priority Syntax spanning-tree port-priority priority no spanning-tree port-priority priority - The priority for a port. (Range: 0-240, in steps of 16) Default Setting Command Mode Interface Configuration (Ethernet, Port Channel)
Chapter 18 | Spanning Tree Commands Command Usage ◆ A port connecting a LAN through the bridge to the root bridge is known as a designated port. A bridge with a designated port and a lower bridge identifier (or same identifier and lower MAC address) can take over as the root bridge at any time.
Chapter 18 | Spanning Tree Commands spanning-tree This command manually releases a port placed in discarding state by loopback- detection. loopback-detection release Syntax spanning-tree loopback-detection release interface interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) port-channel channel-id (Range: 1-8/12) Command Mode Privileged Exec...
Chapter 18 | Spanning Tree Commands 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). Example Console#spanning-tree protocol-migration eth 1/5 Console# show spanning-tree This command shows the configuration for the common spanning tree (CST), for all instances within the multiple spanning tree (MST), or for a specific instance within the multiple spanning tree (MST).
Page 463
Chapter 18 | Spanning Tree Commands ◆ Use the show spanning-tree mst instance-id command to display the spanning tree configuration for an instance within the Multiple Spanning Tree (MST), including global settings and settings for all interfaces. Example Console#show spanning-tree Spanning Tree Information --------------------------------------------------------------- Spanning Tree Mode...
Chapter 18 | Spanning Tree Commands This example shows a brief summary of global and interface setting for the spanning tree. Console#show spanning-tree brief Spanning Tree Mode : RSTP Spanning Tree Enabled/Disabled : Enabled Designated Root : 32768.0000E89382A0 Current Root Port Current Root Cost Interface Pri Designated Designated Oper...
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.
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands 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.
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands garp timer This command sets 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} {join | leave | leaveall} - Timer to set.
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands switchport forbidden This command configures forbidden VLANs. Use the no form to remove the list of forbidden VLANs. vlan Syntax switchport forbidden vlan {add vlan-list | remove vlan-list} no switchport forbidden vlan add vlan-list - List of VLAN identifiers to add.
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands Command Usage GVRP cannot be enabled for ports set to Access mode using the switchport mode command. Example Console(config)#interface ethernet 1/1 Console(config-if)#switchport gvrp Console(config-if)# show bridge-ext This command shows the configuration for bridge extension commands. Default Setting None Command Mode...
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands (Continued) Table 95: show bridge-ext - display description Field Description Traffic Classes This switch provides mapping of user priorities to multiple traffic classes. (Refer “Class of Service Commands” on page 505.) Global GVRP Status GARP VLAN Registration Protocol defines a way for switches to exchange VLAN information in order to automatically register VLAN members on interfaces...
Chapter 19 | VLAN Commands GVRP and Bridge Extension Commands show gvrp This command shows if GVRP is enabled. configuration Syntax show gvrp configuration [interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number. (Range: 1-12/28) port-channel channel-id (Range: 1-8/12) Default Setting Shows both global and interface-specific configuration.
Chapter 19 | VLAN Commands Editing VLAN Groups Editing VLAN Groups Table 96: Commands for Editing VLAN Groups Command Function Mode vlan database Enters VLAN database mode to add, change, and delete VLANs vlan Configures a VLAN, including VID, name and state vlan database This command enters VLAN database mode.
Chapter 19 | VLAN Commands Editing VLAN Groups vlan This command configures a VLAN. Use the no form to restore the default settings or delete a VLAN. Syntax vlan vlan-id [name vlan-name] media ethernet [state {active | suspend}] [rspan] no vlan vlan-id [name | state] vlan-id - VLAN ID, specified as a single number, a range of consecutive numbers separated by a hyphen, or multiple numbers separated by commas.
Chapter 19 | VLAN Commands Configuring VLAN Interfaces Example The following example adds a VLAN, using VLAN ID 105 and name RD5. The VLAN is activated by default. Console(config)#vlan database Console(config-vlan)#vlan 105 name RD5 media ethernet Console(config-vlan)# Related Commands show vlan (480) Configuring VLAN Interfaces Table 97: Commands for Configuring VLAN Interfaces Command...
Chapter 19 | VLAN Commands Configuring VLAN Interfaces 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 (350) interface (346)
Chapter 19 | VLAN Commands Configuring VLAN Interfaces switchport allowed This command configures VLAN groups on the selected interface. Use the no form to restore the default. vlan Syntax switchport allowed vlan {add vlan-list [tagged | untagged] | remove vlan-list} no switchport allowed vlan add vlan-list - List of VLAN identifiers to add.
Chapter 19 | VLAN Commands Configuring VLAN Interfaces switchport This command enables ingress filtering for an interface. Use the no form to restore the default. ingress-filtering Syntax [no] switchport ingress-filtering Default Setting Disabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆...
Chapter 19 | VLAN Commands Configuring VLAN Interfaces 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. Note that frames belonging to the port’s default VLAN (i.e., associated with the PVID) are also transmitted as tagged frames.
Chapter 19 | VLAN Commands Configuring VLAN Interfaces the PVID for an interface can be set to any VLAN for which it is an untagged member. ◆ If acceptable frame types is set to all or switchport mode is set to hybrid, the PVID will be inserted into all untagged frames entering the ingress port.
Chapter 19 | VLAN Commands Displaying VLAN Information you only need to create these VLAN groups in switches A and B. Switches C, D and E automatically allow frames with VLAN group tags 1 and 2 (groups that are unknown to those switches) to pass through their VLAN trunking ports. ◆...
Chapter 19 | VLAN Commands Configuring IEEE 802.1Q Tunneling name - Keyword to be followed by the VLAN name. vlan-name - ASCII string from 1 to 32 characters. Default Setting Shows all VLANs. Command Mode Normal Exec, Privileged Exec Example The following example shows how to display information for VLAN 1: Console#show vlan id 1 VLAN ID:...
Chapter 19 | VLAN Commands Configuring IEEE 802.1Q Tunneling General Configuration Guidelines for QinQ Configure the switch to QinQ mode (dot1q-tunnel system-tunnel-control). Create a SPVLAN (vlan). Configure the QinQ tunnel access port to dot1Q-tunnel access mode (switchport dot1q-tunnel mode). Set the Tag Protocol Identifier (TPID) value of the tunnel access port. This step is required if the attached client is using a nonstandard 2-byte ethertype to identify 802.1Q tagged frames.
Chapter 19 | VLAN Commands Configuring IEEE 802.1Q Tunneling Command Mode Global Configuration Command Usage QinQ tunnel mode must be enabled on the switch for QinQ interface settings to be functional. Example Console(config)#dot1q-tunnel system-tunnel-control Console(config)# Related Commands show dot1q-tunnel (485) show interfaces switchport (394) switchport This command configures an interface as a QinQ tunnel port.
Chapter 19 | VLAN Commands Configuring IEEE 802.1Q Tunneling Example Console(config)#interface ethernet 1/1 Console(config-if)#switchport dot1q-tunnel mode access Console(config-if)# Related Commands show dot1q-tunnel (485) show interfaces switchport (394) switchport This command sets the Tag Protocol Identifier (TPID) value of a tunnel port. Use the dot1q-tunnel tpid no form to restore the default setting.
Chapter 19 | VLAN Commands Configuring L2CP Tunneling l2protocol-tunnel This command configures the destination address for Layer 2 Protocol Tunneling (L2PT). Use the no form to restore the default setting. tunnel-dmac Syntax l2protocol-tunnel tunnel-dmac mac-address mac-address – The switch rewrites the destination MAC address in all upstream L2PT protocol packets (i.e, STP BPDUs) to this value, and forwards them on to uplink ports.
Page 487
Chapter 19 | VLAN Commands Configuring L2CP Tunneling Processing protocol packets defined in IEEE 802.1ad – Provider Bridges ◆ When an IEEE 802.1ad protocol packet is received on an uplink port (i.e., an 802.1Q tunnel ingress port connecting the edge switch to the service provider network) with the destination address 01-80-C2-00-00-00,0B~0F (C-VLAN tag), it is ■...
Chapter 19 | VLAN Commands Configuring L2CP Tunneling ◆ When a Cisco-compatible L2PT packet is received on an access port, and recognized as a CDP/VTP/STP/PVST+ protocol packet, and ■ L2PT is enabled on this port, it is forwarded to the following ports in the ■...
Chapter 19 | VLAN Commands Configuring Protocol-based VLANs Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆ Refer to the Command Usage section for the l2protocol-tunnel tunnel-dmac command. ◆ For L2PT to function properly, QinQ must be enabled on the switch using the dot1q-tunnel system-tunnel-control command, and the interface configured to 802.1Q tunnel mode using the...
Chapter 19 | VLAN Commands Configuring Protocol-based VLANs Table 101: Protocol-based VLAN Commands Command Function Mode protocol-vlan Create a protocol group, specifying the supported protocol-group protocols protocol-vlan Maps a protocol group to a VLAN protocol-group show protocol-vlan Shows the configuration of protocol groups protocol-group show interfaces protocol- Shows the interfaces mapped to a protocol group and the...
Chapter 19 | VLAN Commands Configuring Protocol-based VLANs Command Mode Global Configuration Example The following creates protocol group 1, and specifies Ethernet frames with IP and ARP protocol types: Console(config)#protocol-vlan protocol-group 1 add frame-type ethernet protocol-type ip Console(config)#protocol-vlan protocol-group 1 add frame-type ethernet protocol-type arp Console(config)# protocol-vlan...
Chapter 19 | VLAN Commands Configuring Protocol-based VLANs ◆ When a frame enters a port that has been assigned to a protocol VLAN, it is processed in the following manner: If the frame is tagged, it will be processed according to the standard rules ■...
Chapter 19 | VLAN Commands Configuring IP Subnet VLANs show interfaces This command shows the mapping from protocol groups to VLANs for the selected interfaces. protocol-vlan protocol-group Syntax show interfaces protocol-vlan protocol-group [interface] interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
Chapter 19 | VLAN Commands Configuring IP Subnet VLANs subnet-vlan This command configures IP Subnet VLAN assignments. Use the no form to remove an IP subnet-to-VLAN assignment. Syntax subnet-vlan subnet ip-address mask vlan vlan-id [priority priority] no subnet-vlan subnet {ip-address mask | all} ip-address –...
Chapter 19 | VLAN Commands Configuring MAC Based VLANs show subnet-vlan This command displays IP Subnet VLAN assignments. Command Mode Privileged Exec Command Usage ◆ Use this command to display subnet-to-VLAN mappings. ◆ The last matched entry is used if more than one entry can be matched. Example The following example displays all configured IP subnet-based VLANs.
Chapter 19 | VLAN Commands Configuring MAC Based VLANs mac-vlan This command configures MAC address-to-VLAN mapping. Use the no form to remove an assignment. Syntax mac-vlan mac-address mac-address [mask mask-address] vlan vlan-id [priority priority] no mac-vlan mac-address {mac-address [mask mask-address] | all} mac-address –...
Chapter 19 | VLAN Commands Configuring Voice VLANs show mac-vlan This command displays MAC address-to-VLAN assignments. Command Mode Privileged Exec Command Usage Use this command to display MAC address-to-VLAN mappings. Example The following example displays all configured MAC address-based VLANs. Console#show mac-vlan MAC Address Mask...
Chapter 19 | VLAN Commands Configuring Voice VLANs voice vlan This command enables VoIP traffic detection and defines the Voice VLAN ID. Use the no form to disable the Voice VLAN. Syntax voice vlan voice-vlan-id no voice vlan voice-vlan-id - Specifies the voice VLAN ID. (Range: 1-4094) Default Setting Disabled Command Mode...
Chapter 19 | VLAN Commands Configuring Voice VLANs voice vlan aging This command sets the Voice VLAN ID time out. Use the no form to restore the default. Syntax voice vlan aging minutes no voice vlan minutes - Specifies the port Voice VLAN membership time out. (Range: 5-43200 minutes) Default Setting 1440 minutes...
Chapter 19 | VLAN Commands Configuring Voice VLANs description - User-defined text that identifies the VoIP devices. (Range: 1-32 characters) Default Setting None Command Mode Global Configuration Command Usage ◆ VoIP devices attached to the switch can be identified by the manufacturer’s Organizational Unique Identifier (OUI) in the source MAC address of received packets.
Chapter 19 | VLAN Commands Configuring Voice VLANs Command Usage ◆ When auto is selected, you must select the method to use for detecting VoIP traffic, either OUI or 802.1ab (LLDP) using the switchport voice vlan rule command. When OUI is selected, be sure to configure the MAC address ranges in the Telephony OUI list using the voice vlan mac-address command.
Chapter 19 | VLAN Commands Configuring Voice VLANs switchport This command selects a method for detecting VoIP traffic on a port. Use the no form to disable the detection method on the port. voice vlan rule Syntax [no] switchport voice vlan rule {oui | lldp} oui - Traffic from VoIP devices is detected by the Organizationally Unique Identifier (OUI) of the source MAC address.
Chapter 19 | VLAN Commands Configuring Voice VLANs Command Usage ◆ Security filtering discards any non-VoIP packets received on the port that are tagged with the voice VLAN ID. VoIP traffic is identified by source MAC addresses configured in the Telephony OUI list, or through LLDP that discovers VoIP devices attached to the switch.
Page 504
Chapter 19 | VLAN Commands Configuring Voice VLANs Eth 1/ 9 Disabled Disabled OUI 6 NA Eth 1/10 Disabled Disabled OUI 6 NA Console#show voice vlan oui OUI Address Mask Description ----------------- ----------------- ------------------------------ 00-12-34-56-78-9A FF-FF-FF-00-00-00 old phones 00-11-22-33-44-55 FF-FF-FF-00-00-00 new phones 00-98-76-54-32-10 FF-FF-FF-FF-FF-FF Chris' phone Console# –...
Class of Service 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. This switch supports CoS with eight priority queues for each port. Data packets in a port’s high-priority queue will be transmitted before those in the lower-priority queues.
Chapter 20 | Class of Service Commands Priority Commands (Layer 2) queue mode This command sets the scheduling mode used for processing each of the class of service (CoS) priority queues. The options include strict priority, Weighted Round- Robin (WRR), or a combination of strict and weighted queuing. Use the no form to restore the default value.
Chapter 20 | Class of Service Commands Priority Commands (Layer 2) ◆ Service time is shared at the egress ports by defining scheduling weights for WRR, or for the queuing mode that uses a combination of strict and weighted queuing. Service time is allocated to each queue by calculating a precise number of bytes per second that will be serviced on each round.
Chapter 20 | Class of Service Commands Priority Commands (Layer 2) Example The following example shows how to assign round-robin weights of 1 - 8 to the CoS priority queues 0 - 7. Console(config)#queue weight 1 2 3 4 5 6 7 8 Console(config)# Related Commands queue mode (506)
Chapter 20 | Class of Service Commands Priority Commands (Layer 2) Example The following example shows how to set a default priority on port 3 to 5: Console(config)#interface ethernet 1/3 Console(config-if)#switchport priority default 5 Console(config-if)# Related Commands show interfaces switchport (394) show queue mode This command shows the current queue mode.
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) Priority Commands (Layer 3 and 4) This section describes commands used to configure Layer 3 and 4 traffic priority mapping on the switch. Table 107: Priority Commands (Layer 3 and 4) Command Function Mode...
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) qos map This command maps DSCP values in incoming packets to per-hop behavior and drop precedence values for priority processing. Use the no form to restore the dscp-mutation default settings.
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) to match the definition of another domain. The mutation map should be applied at the receiving port (ingress mutation) at the boundary of a QoS administrative domain. Example This example changes the priority for all packets entering port 1 which contain a DSCP value of 1 to a per-hop behavior of 3 and a drop precedence of 1.
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) qos map trust-mode This command sets QoS mapping to DSCP or CoS. Use the no form to restore the default setting. Syntax qos map trust-mode {cos | dscp} no qos map trust-mode cos - Sets the QoS mapping mode to CoS.
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) show qos map This command shows ingress CoS/CFI to internal DSCP map. cos-dscp Syntax show qos map cos-dscp interface interface interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) Example The ingress DSCP is composed of “d1” (most significant digit in the left column) and “d2” (least significant digit in the top row (in other words, ingress DSCP = d1 * 10 + d2);...
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) show qos map This command shows the QoS mapping mode. trust-mode Syntax show qos map trust-mode interface interface interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
Page 518
Chapter 20 | Class of Service Commands Priority Commands (Layer 3 and 4) – 518 –...
Quality of Service Commands The commands described in this section are used to configure Differentiated Services (DiffServ) classification criteria and service policies. You can classify traffic based on access lists, IP Precedence or DSCP values, or VLANs. Using access lists allows you select traffic based on Layer 2, Layer 3, or Layer 4 information contained in each packet.
Chapter 21 | Quality of Service Commands To create a service policy for a specific category of ingress traffic, follow these steps: Use the class-map command to designate a class name for a specific category of traffic, and enter the Class Map configuration mode. Use the match command to select a specific type of traffic based on an access...
Chapter 21 | Quality of Service Commands ◆ One or more class maps can be assigned to a policy map (page 523). The policy map is then bound by a service policy to an interface (page 534). A service policy defines packet classification, service tagging, and bandwidth policing. Once a policy map has been bound to an interface, no additional class maps may be added to the policy map, nor any changes made to the assigned class maps with the...
Page 522
Chapter 21 | Quality of Service Commands dscp - A Differentiated Service Code Point value. (Range: 0-63) ip-precedence - An IP Precedence value. (Range: 0-7) vlan - A VLAN. (Range:1-4094) Default Setting None Command Mode Class Map Configuration Command Usage ◆...
Chapter 21 | Quality of Service Commands This example creates a class map call “rd-class#3, ” and sets it to match packets marked for VLAN 1. Console(config)#class-map rd-class#3 match-any Console(config-cmap)#match vlan 1 Console(config-cmap)# rename This command redefines the name of a class map or policy map. Syntax rename map-name map-name - Name of the class map or policy map.
Chapter 21 | Quality of Service Commands ◆ Create a Class Map (page 523) before assigning it to a Policy Map. Example This example creates a policy called “rd-policy, ” uses the class command to specify the previously defined “rd-class, ” uses the set command to classify the service that incoming packets will receive, and then uses the police flow command to limit the...
Chapter 21 | Quality of Service Commands ◆ Up to 16 classes can be included in a policy map. Example This example creates a policy called “rd-policy, ” uses the class command to specify the previously defined “rd-class, ” uses the set phb command to classify the service that incoming packets will receive, and then uses the...
Chapter 21 | Quality of Service Commands ◆ Policing is based on a token bucket, where bucket depth (i.e., the maximum burst before the bucket overflows) is by specified the committed-burst field, and the average rate tokens are added to the bucket is by specified by the committed-rate option.
Page 527
Chapter 21 | Quality of Service Commands committed-rate - Committed information rate (CIR) in kilobits per second. (Range: 0-1000000 kbps at a granularity of 64 kbps or maximum port speed, whichever is lower) committed-burst - Committed burst size (BC) in bytes. (Range: 1-2147000 at a granularity of 4k bytes) excess-burst - Excess burst size (BE) in bytes.
Page 528
Chapter 21 | Quality of Service Commands The token buckets C and E are initially full, that is, the token count Tc(0) = BC and the token count Te(0) = BE. Thereafter, the token counts Tc and Te are updated CIR times per second as follows: If Tc is less than BC, Tc is incremented by one, else ■...
Chapter 21 | Quality of Service Commands police trtcm-color This command defines an enforcer for classified traffic based on a two rate three color meter (trTCM). Use the no form to remove a policer. Syntax [no] police {trtcm-color-blind | trtcm-color-aware} committed-rate committed-burst peak-rate peak-burst conform-action transmit exceed-action {drop | new-dscp}...
Page 530
Chapter 21 | Quality of Service Commands Information Rate (PIR), and their associated burst sizes - Committed Burst Size (BC) and Peak Burst Size (BP). ◆ The PHB label is composed of five bits, three bits for per-hop behavior, and two bits for the color scheme used to control queue congestion.
Page 531
Chapter 21 | Quality of Service Commands that incoming packets will receive, and then uses the police trtcm-color-blind command to limit the average bandwidth to 100,000 Kbps, the committed burst rate to 4000 bytes, the peak information rate to 1,000,000 kbps, the peak burst size to 6000, to remark any packets exceeding the committed burst size, and to drop any packets exceeding the peak information rate.
Page 532
Chapter 21 | Quality of Service Commands Example This example creates a policy called “rd-policy, ” uses the class command to specify the previously defined “rd-class, ” uses the set cos command to classify the service that incoming packets will receive, and then uses the police flow command to limit the average bandwidth to 100,000 Kbps, the burst rate to 4000 bytes, and configure...
Page 533
Chapter 21 | Quality of Service Commands Example This example creates a policy called “rd-policy, ” uses the class command to specify the previously defined “rd-class, ” uses the set ip dscp command to classify the service that incoming packets will receive, and then uses the police flow command to limit the average bandwidth to 100,000 Kbps, the burst rate to 4000 bytes, and...
Chapter 21 | Quality of Service Commands Example This example creates a policy called “rd-policy, ” uses the class command to specify the previously defined “rd-class, ” uses the set phb command to classify the service that incoming packets will receive, and then uses the police flow command to limit the average bandwidth to 100,000 Kbps, the burst rate to 4000 bytes, and configure...
Chapter 21 | Quality of Service Commands show class-map This command displays the QoS class maps which define matching criteria used for classifying traffic. Syntax show class-map [class-map-name] class-map-name - Name of the class map. (Range: 1-32 characters) Default Setting Displays all class maps.
Chapter 21 | Quality of Service Commands Description: class rd-class set phb 3 Console#show policy-map rd-policy class rd-class Policy Map rd-policy class rd-class set phb 3 Console# show policy-map This command displays the service policy assigned to the specified interface. interface Syntax show policy-map interface interface input...
Multicast Filtering Commands This switch uses IGMP (Internet Group Management Protocol) to check 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. It then propagates the service request up to any neighboring multicast switch/ router to ensure that it will continue to receive the multicast service.
Page 538
Chapter 22 | Multicast Filtering Commands IGMP Snooping (Continued) Table 113: IGMP Snooping Commands Command Function Mode ip igmp snooping Sends an IGMP Query Solicitation when a Spanning Tree tcn-query-solicit topology change occurs ip igmp snooping Floods unregistered multicast traffic into the attached unregistered-data-flood VLAN ip igmp snooping...
Chapter 22 | Multicast Filtering Commands IGMP Snooping (Continued) Table 113: IGMP Snooping Commands Command Function Mode show ip igmp snooping Shows multicast router ports mrouter show ip igmp snooping Shows IGMP snooping protocol statistics for the specified statistics interface ip igmp snooping This command enables IGMP snooping globally on the switch or on a selected VLAN interface.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command enables IGMP Snooping with Proxy Reporting. Use the no form to restore the default setting. proxy-reporting Syntax [no] ip igmp snooping proxy-reporting ip igmp snooping vlan vlan-id proxy-reporting {enable | disable} no ip igmp snooping vlan vlan-id proxy-reporting vlan-id - VLAN ID (Range: 1-4094) enable - Enable on the specified VLAN.
Chapter 22 | Multicast Filtering Commands IGMP Snooping Command Usage ◆ IGMP snooping querier is not supported for IGMPv3 snooping (see ip igmp snooping version). ◆ If enabled, the switch will serve as querier if elected. The querier is responsible for asking hosts if they want to receive multicast traffic.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command configures the querier time out. Use the no form to restore the default. router-port-expire- time 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 it to have expired.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ◆ If a topology change notification (TCN) is received, and all the uplink ports are subsequently deleted, a time out mechanism is used to delete all of the currently learned multicast channels. ◆...
Chapter 22 | Multicast Filtering Commands IGMP Snooping When an upstream multicast router receives this solicitation, it will also immediately issues an IGMP general query. ◆ The ip igmp snooping tcn query-solicit command can be used to send a query solicitation whenever it notices a topology change, even if the switch is not the root bridge in the spanning tree.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command specifies how often the upstream interface should transmit unsolicited IGMP reports when proxy reporting is enabled. Use the no form to unsolicited-report- restore the default value. interval Syntax ip igmp snooping unsolicited-report-interval seconds no ip igmp snooping unsolicited-report-interval...
Chapter 22 | Multicast Filtering Commands IGMP Snooping Command Mode Global Configuration Command Usage ◆ This command configures the IGMP report/query version used by IGMP snooping. Versions 1 - 3 are all supported, and versions 2 and 3 are backward compatible, so the switch can operate with other devices, regardless of the snooping version employed.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command suppresses general queries except for ports attached to downstream multicast hosts. Use the no form to flood general queries to all ports vlan general-query- except for the multicast router port. suppression Syntax [no] ip igmp snooping vlan vlan-id general-query-suppression...
Chapter 22 | Multicast Filtering Commands IGMP Snooping currently defined by Last Member Query Interval (fixed at one second) * Robustness Variable (fixed at 2) as defined in RFC 2236. ◆ If immediate-leave is enabled, the switch assumes that only one host is connected to the interface.
Page 549
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command configures the last-member-query interval. Use the no form to restore the default. vlan last-memb- query-intvl Syntax ip igmp snooping vlan vlan-id last-memb-query-intvl interval no ip igmp snooping vlan vlan-id last-memb-query-intvl vlan-id - VLAN ID (Range: 1-4094) interval - The interval to wait for a response to a group-specific or group- and-source-specific query message.
Chapter 22 | Multicast Filtering Commands IGMP Snooping Command Mode Global Configuration Command Usage ◆ Multicast Router Discovery (MRD) uses multicast router advertisement, multicast router solicitation, and multicast router termination messages to discover multicast routers. Devices send solicitation messages in order to solicit advertisement messages from multicast routers.
Page 551
Chapter 22 | Multicast Filtering Commands IGMP Snooping Command Mode Global Configuration Command Usage IGMP Snooping uses a null IP address of 0.0.0.0 for the source of IGMP query messages which are proxied to downstream hosts to indicate that it is not the elected querier, but is only proxying these messages as defined in RFC 4541.
Chapter 22 | Multicast Filtering Commands IGMP Snooping ip igmp snooping This command configures the interval between sending IGMP general queries. Use the no form to restore the default. vlan query-interval Syntax ip igmp snooping vlan vlan-id query-interval interval no ip igmp snooping vlan vlan-id query-interval vlan-id - VLAN ID (Range: 1-4094) interval - The interval between sending IGMP general queries.
Page 553
Chapter 22 | Multicast Filtering Commands IGMP Snooping Command Usage This command applies when the switch is serving as the querier (page 540), or as a proxy host when IGMP snooping proxy reporting is enabled (page 540). Example Console(config)#ip igmp snooping vlan 1 proxy-query-resp-intvl 20 Console(config)# ip igmp snooping This command adds a port to a multicast group.
Chapter 22 | Multicast Filtering Commands IGMP Snooping clear ip igmp This command clears multicast group information dynamically learned through IGMP snooping or MVR. snooping groups dynamic Syntax clear ip igmp snooping groups dynamic Command Mode Privileged Exec Command Usage This command only clears entries learned though IGMP snooping or MVR.
Chapter 22 | Multicast Filtering Commands IGMP Snooping show ip igmp This command shows the IGMP snooping, proxy, and query configuration settings. snooping Syntax show ip igmp snooping [vlan vlan-id] vlan-id - VLAN ID (1-4094) Command Mode Privileged Exec Command Usage This command displays global and VLAN-specific IGMP configuration settings.
Chapter 22 | Multicast Filtering Commands IGMP Snooping show ip igmp This command shows known multicast group, source, and host port mappings for the specified VLAN interface, or for all interfaces if none is specified. snooping group Syntax show ip igmp snooping group [host-ip-addr ip-address interface | igmpsnp | sort-by-port | user | vlan vlan-id [user | igmpsnp]] ip-address - IP address for multicast group interface...
Chapter 22 | Multicast Filtering Commands IGMP Snooping show ip igmp This command displays information on statically configured and dynamically learned multicast router ports. snooping mrouter Syntax show ip igmp snooping mrouter [vlan vlan-id] vlan-id - VLAN ID (Range: 1-4094) Default Setting Displays multicast router ports for all configured VLANs.
Chapter 22 | Multicast Filtering Commands Static Multicast Routing The following shows IGMP query-related statistics for VLAN 1: Console#show ip igmp snooping statistics query vlan 1 Querier IP Address : 192.168.1.1 Querier Expire Time : 00:00:30 General Query Received : 10 General Query Sent Specific Query Received Specific Query Sent...
Chapter 22 | Multicast Filtering Commands Static Multicast Routing ip igmp snooping This command statically configures a (Layer 2) multicast router port on the specified VLAN. Use the no form to remove the configuration. vlan mrouter Syntax [no] ip igmp snooping vlan vlan-id mrouter interface vlan-id - VLAN ID (Range: 1-4094) interface ethernet unit/port...
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling IGMP Filtering and Throttling In certain switch applications, the administrator may want to control the multicast services that are available to end users. For example, an IP/TV service based on a specific subscription plan.
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling can contain one or more, or a range of multicast addresses; but only one profile can be assigned to a port. When enabled, IGMP join reports received on the port are checked against the filter profile. If a requested multicast group is permitted, the IGMP join report is forwarded as normal.
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling permit, deny This command sets the access mode for an IGMP filter profile. Use the no form to delete a profile number. Syntax {permit | deny} Default Setting Deny Command Mode IGMP Profile Configuration Command Usage ◆...
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling Example Console(config)#ip igmp profile 19 Console(config-igmp-profile)#range 239.1.1.1 Console(config-igmp-profile)#range 239.2.3.1 239.2.3.100 Console(config-igmp-profile)# ip igmp filter This command assigns an IGMP filtering profile to an interface on the switch. Use the no form to remove a profile from an interface. (Interface Configuration) Syntax [no] ip igmp filter profile-number...
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling Default Setting 1023 Command Mode Interface Configuration (Ethernet) Command Usage ◆ IGMP throttling sets a maximum number of multicast groups that a port can join at the same time. When the maximum number of groups is reached on a port, the switch can take one of two actions;...
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling Example Console(config)#interface ethernet 1/1 Console(config-if)#ip igmp max-groups action replace Console(config-if)# ip igmp query-drop This command drops any received IGMP query packets. Use the no form to restore the default setting. Syntax [no] ip igmp query-drop Default Setting...
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling ◆ When receiving an IGMPv3 report message, the switch will send the access request to the RADIUS server only when the record type is IS_EX (MODE_IS_EXCLUDE) which excludes a source list, or TO_EX (CHANGE_TO_EXCLUDE_MODE), and the source list is empty.
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling Example Console#show ip igmp filter IGMP filter enabled Console#show ip igmp filter interface ethernet 1/1 Ethernet 1/1 information --------------------------------- IGMP Profile 19 Deny Range 239.1.1.1 239.1.1.1 Range 239.2.3.1 239.2.3.100 Console# show ip igmp profile This command displays IGMP filtering profiles created on the switch.
Chapter 22 | Multicast Filtering Commands IGMP Filtering and Throttling port-channel channel-id (Range: 1-8/12) Default Setting None Command Mode Privileged Exec Command Usage Using this command without specifying an interface displays all interfaces. Example Console#show ip igmp query-drop interface ethernet 1/1 Ethernet 1/1: Enabled Console# show ip igmp...
Chapter 22 | Multicast Filtering Commands MLD Snooping MLD Snooping Multicast Listener Discovery (MLD) snooping operates on IPv6 traffic and performs a similar function to IGMP snooping for IPv4. That is, MLD snooping dynamically configures switch ports to limit IPv6 multicast traffic so that it is forwarded only to ports with users that want to receive it.
Chapter 22 | Multicast Filtering Commands MLD Snooping ipv6 mld snooping This command enables MLD Snooping globally on the switch. Use the no form to disable MLD Snooping. Syntax [no] ipv6 mld snooping Default Setting Disabled Command Mode Global Configuration Example The following example enables MLD Snooping: Console(config)#ipv6 mld snooping...
Chapter 22 | Multicast Filtering Commands MLD Snooping ipv6 mld snooping This command configures the interval between sending MLD general queries. Use the no form to restore the default. query-interval Syntax ipv6 mld snooping query-interval interval no ipv6 mld snooping query-interval interval - The interval between sending MLD general queries.
Chapter 22 | Multicast Filtering Commands MLD Snooping Example Console(config)#ipv6 mld snooping query-max-response-time seconds 15 Console(config)# ipv6 mld snooping This command configures the MLD Snooping robustness variable. Use the no form robustness to restore the default value. Syntax ipv6 mld snooping robustness value no ipv6 mld snooping robustness value - The number of the robustness variable.
Chapter 22 | Multicast Filtering Commands MLD Snooping Command Usage The router port expire time is the time the switch waits after the previous querier stops before it considers the router port (i.e., the interface that had been receiving query packets) to have expired. Example Console(config)#ipv6 mld snooping router-port-expire-time 300 Console(config)#...
Chapter 22 | Multicast Filtering Commands MLD Snooping ipv6 mld snooping This command configures the MLD snooping version. Use the no form to restore the default. version Syntax ipv6 mld snooping version {1 | 2} 1 - MLD version 1. 2 - MLD version 2.
Chapter 22 | Multicast Filtering Commands MLD Snooping Example The following shows how to configure port 1 as a multicast router port within VLAN Console(config)#ipv6 mld snooping vlan 1 mrouter ethernet 1/1 Console(config)# ipv6 mld snooping This command adds a port to an IPv6 multicast group. Use the no form to remove the port.
Chapter 22 | Multicast Filtering Commands MLD Snooping Command Mode Global Configuration Command Usage ◆ If MLD immediate-leave is not used, a multicast router (or querier) will send a group-specific query message when an MLD group leave message is received. The router/querier stops forwarding traffic for that group only if no host replies to the query within the specified timeout period.
Chapter 22 | Multicast Filtering Commands MLD Snooping show ipv6 mld This command shows known multicast groups, member ports, and the means by which each group was learned. snooping group Syntax show ipv6 mld snooping group Command Mode Privileged Exec Example The following shows MLD Snooping group configuration information: Console#show ipv6 mld snooping group...
Page 580
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration (Continued) Table 121: Multicast VLAN Registration for IPv4 Commands Command Function Mode mvr proxy-switching Enables MVR proxy switching, where the source port acts as a host, and the receiver port acts as an MVR router with querier service enabled mvr robustness-value Configures the expected packet loss, and thereby the...
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration This command enables Multicast VLAN Registration (MVR) globally on the switch. Use the no form of this command to globally disable MVR. Syntax [no] mvr Default Setting Disabled Command Mode Global Configuration Command Usage Only IGMP version 2 or 3 hosts can issue multicast join or leave messages.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Related Commands mvr profile (582) mvr domain This command enables Multicast VLAN Registration (MVR) for a specific domain. Use the no form of this command to disable MVR for a domain. Syntax [no] mvr domain domain-id domain-id - An independent multicast domain.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Command Mode Global Configuration Command Usage ◆ Use this command to statically configure all multicast group addresses that will join the MVR VLAN. Any multicast data associated an MVR group is sent from all source ports to all receiver ports that have registered to receive data from that multicast group.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Example This example sets the proxy query interval for MVR proxy switching. Console(config)#mvr proxy-query-interval 250 Console(config)# mvr proxy-switching This command enables MVR proxy switching, where the source port acts as a host, and the receiver port acts as an MVR router with querier service enabled.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Example The following example enable MVR proxy switching. Console(config)#mvr proxy-switching Console(config)# Related Commands mvr robustness-value (585) mvr robustness-value This command configures the expected packet loss, and thereby the number of times to generate report and group-specific queries. Use the no form to restore the default setting.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration mvr source-port- This command configures the switch to only forward multicast streams which the source port has dynamically joined. Use the no form to restore the default setting. mode dynamic Syntax [no] mvr source-port-mode dynamic Default Setting Forwards all multicast streams which have been specified in a profile and bound to...
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Command Mode Global Configuration Example Console(config)#mvr domain 1 upstream-source-ip 192.168.0.3 Console(config)# mvr vlan This command specifies the VLAN through which MVR multicast data is received. Use the no form of this command to restore the default MVR VLAN. Syntax mvr domain domain-id vlan vlan-id no mvr domain domain-id vlan...
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration mvr immediate-leave This command causes the switch to immediately remove an interface from a multicast stream as soon as it receives a leave message for that group. Use the no form to restore the default settings. Syntax [no] mvr [domain domain-id] immediate-leave domain-id - An independent multicast domain.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration mvr type This command configures an interface as an MVR receiver or source port. Use the no form to restore the default settings. Syntax [no] mvr [domain domain-id] type {receiver | source} domain-id - An independent multicast domain.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Console(config-if)#mvr domain 1 type receiver Console(config-if)# mvr vlan group This command statically binds a multicast group to a port which will receive long- term multicast streams associated with a stable set of hosts. Use the no form to restore the default settings.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration show mvr This command shows information about MVR domain settings, including MVR operational status, the multicast VLAN, the current number of group addresses, and the upstream source IP address. Syntax show mvr [domain domain-id] domain-id - An independent multicast domain.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration (Continued) Table 122: show mvr - display description Field Description MVR Current Learned The current number of MVR group addresses Groups MVR Upstream Source IP The source IP address assigned to all upstream control packets. show mvr This command shows the profiles bound the specified domain.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Example The following displays information about the interfaces attached to the MVR VLAN in domain 1: Console#show mvr domain 1 interface MVR Domain : 1 Port Type Status Immediate Static Group Address -------- -------- -------------...
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration show mvr members This command shows information about the current number of entries in the forwarding database, detailed information about a specific multicast address, the IP address of the hosts subscribing to all active multicast groups, or the multicast groups associated with each port.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration The following example shows detailed information about a specific multicast address: Console#show mvr domain 1 members 234.5.6.7 MVR Domain : 1 MVR Forwarding Entry Count :1 Flag: S - Source port, R - Receiver port. H - Host counts (number of hosts joined to group on this port).
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration (Continued) Table 125: show mvr statistics input - display description Field Description Drop The number of times a report, leave or query was dropped. Packets may be dropped due to invalid format, rate limiting, packet content not allowed, or MVR group report received Join Succ The number of times a multicast group was successfully joined.
Chapter 22 | Multicast Filtering Commands Multicast VLAN Registration Table 127: show mvr statistics query - display description Field Description Querier IP Address The IP address of the querier on this interface. Querier Expire Time The time after which this querier is assumed to have expired. General Query Received The number of general queries received on this interface.
LLDP Commands Link Layer Discovery Protocol (LLDP) is used to discover basic information about neighboring devices on the local broadcast domain. LLDP is a Layer 2 protocol that uses periodic broadcasts to advertise information about the sending device. Advertised information is represented in Type Length Value (TLV) format according to the IEEE 802.1AB standard, and can include details such as device identification, capabilities and configuration settings.
Page 600
Chapter 23 | LLDP Commands (Continued) Table 128: LLDP Commands Command Function Mode lldp basic-tlv Configures an LLDP-enabled port to advertise the system-description system description lldp basic-tlv Configures an LLDP-enabled port to advertise its system-name system name Configures an LLDP-enabled port to advertise the lldp dot1-tlv proto-ident supported protocols Configures an LLDP-enabled port to advertise port...
Chapter 23 | LLDP Commands lldp This command enables LLDP globally on the switch. Use the no form to disable LLDP. Syntax [no] lldp Default Setting Enabled Command Mode Global Configuration Example Console(config)#lldp Console(config)# lldp This command configures the time-to-live (TTL) value sent in LLDP advertisements. holdtime-multiplier Use the no form to restore the default setting.
Chapter 23 | LLDP Commands lldp med-fast-start- This command specifies the amount of MED Fast Start LLDPDUs to transmit during the activation process of the LLDP-MED Fast Start mechanism. count Syntax lldp med-fast-start-count packets seconds - Amount of packets. (Range: 1-10 packets; Default: 4 packets) Default Setting 4 packets Command Mode...
Chapter 23 | LLDP Commands notification are included in the transmission. An SNMP agent should therefore periodically check the value of lldpStatsRemTableLastChangeTime to detect any lldpRemTablesChange notification-events missed due to throttling or transmission loss. Example Console(config)#lldp notification-interval 30 Console(config)# lldp refresh-interval This command configures the periodic transmit interval for LLDP advertisements.
Chapter 23 | LLDP Commands Command Mode Global Configuration Command Usage When LLDP is re-initialized on a port, all information in the remote systems LLDP MIB associated with this port is deleted. Example Console(config)#lldp reinit-delay 10 Console(config)# lldp tx-delay This command configures a delay between the successive transmission of advertisements initiated by a change in local LLDP MIB variables.
Chapter 23 | LLDP Commands lldp admin-status This command enables LLDP transmit, receive, or transmit and receive mode on the specified port. Use the no form to disable this feature. Syntax lldp admin-status {rx-only | tx-only | tx-rx} no lldp admin-status rx-only - Only receive LLDP PDUs.
Chapter 23 | LLDP Commands ◆ Since there are typically a number of different addresses associated with a Layer 3 device, an individual LLDP PDU may contain more than one management address TLV. ◆ Every management address TLV that reports an address that is accessible on a port and protocol VLAN through the particular port should be accompanied by a port and protocol VLAN TLV that indicates the VLAN identifier (VID) associated with the management address reported by this TLV.
Chapter 23 | LLDP Commands Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage The system capabilities identifies the primary function(s) of the system and whether or not these primary functions are enabled. The information advertised by this TLV is described in IEEE 802.1AB. Example Console(config)#interface ethernet 1/1 Console(config-if)#lldp basic-tlv system-capabilities...
Chapter 23 | LLDP Commands Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage The system name is taken from the sysName object in RFC 3418, which contains the system’s administratively assigned name, and is in turn based on the hostname command.
Chapter 23 | LLDP Commands Command Usage This option advertises the port-based protocol VLANs configured on this interface (see “Configuring Protocol-based VLANs” on page 489). Example Console(config)#interface ethernet 1/1 Console(config-if)#no lldp dot1-tlv proto-vid Console(config-if)# lldp dot1-tlv pvid This command configures an LLDP-enabled port to advertise its default VLAN ID. Use the no form to disable this feature.
Chapter 23 | LLDP Commands Command Usage This option advertises the name of all VLANs to which this interface has been assigned. See the switchport allowed vlan command and “protocol-vlan protocol- group (Configuring Interfaces)” on page 491. Example Console(config)#interface ethernet 1/1 Console(config-if)#no lldp dot1-tlv vlan-name Console(config-if)# lldp dot3-tlv link-agg...
This command configures an LLDP-enabled port to advertise its Power-over- Ethernet (PoE) capabilities . Use the no form to disable this feature. Syntax [no] lldp dot3-tlv poe Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel) 12. ECS4210-12P, ECS4210-28P – 611 –...
Chapter 23 | LLDP Commands Command Usage This option advertises Power-over-Ethernet capabilities, including whether or not PoE is supported, currently enabled, if the port pins through which power is delivered can be controlled, the port pins selected to deliver power, and the power class.
Chapter 23 | LLDP Commands defined in RFC 4776. The following table describes some of the CA type numbers and provides examples. Table 129: LLDP MED Location CA Types CA Type Description CA Value Example National subdivisions (state, canton, province) California County, parish Orange...
Chapter 23 | LLDP Commands lldp med-notification This command enables the transmission of SNMP trap notifications about LLDP- MED changes. Use the no form to disable LLDP-MED notifications. Syntax [no] lldp med-notification Default Setting Enabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage ◆...
Chapter 23 | LLDP Commands Command Usage This option advertises extended Power-over-Ethernet capability details, such as power availability from the switch, and power state of the switch, including whether the switch is operating from primary or backup power (the Endpoint Device could use this information to decide to enter power conservation mode).
Chapter 23 | LLDP Commands Command Usage This option advertises location identification details. Example Console(config)#interface ethernet 1/1 Console(config-if)#lldp med-tlv location Console(config-if)# lldp med-tlv med-cap This command configures an LLDP-MED-enabled port to advertise its Media Endpoint Device capabilities. Use the no form to disable this feature. Syntax [no] lldp med-tlv med-cap Default Setting...
Chapter 23 | LLDP Commands Command Usage This option advertises network policy configuration information, aiding in the discovery and diagnosis of VLAN configuration mismatches on a port. Improper network policy configurations frequently result in voice quality degradation or complete service disruption. Example Console(config)#interface ethernet 1/1 Console(config-if)#lldp med-tlv network-policy...
Chapter 23 | LLDP Commands 802.3 specific TLVs Advertised: *mac-phy *poe *link-agg *max-frame MED Configuration: MED Notification Status : Enabled MED Enabled TLVs Advertised: *med-cap *network-policy *location *ext-poe *inventory MED Location Identification: Location Data Format : Civic Address LCI Civic Address Status : Enabled Country Name : US What...
Chapter 23 | LLDP Commands LLDP Port Information Port PortID Type PortID Port Description -------- ---------------- ----------------- -------------------------------- Eth 1/1 MAC Address 00-1A-7E-AC-2B-13 Ethernet Port on unit 1, port 1 Eth 1/2 MAC Address 00-1A-7E-AC-2B-14 Ethernet Port on unit 1, port 2 Eth 1/3 MAC Address 00-1A-7E-AC-2B-15 Ethernet Port on unit 1, port 3...
Page 621
Chapter 23 | LLDP Commands Example Note that an IP phone or other end-node device which advertises LLDP-MED capabilities must be connected to the switch for information to be displayed in the “Device Class” field. Console#show lldp info remote-device LLDP Remote Devices Information Interface Chassis ID Port ID System Name...
Chapter 23 | LLDP Commands show lldp info This command shows statistics based on traffic received through all attached LLDP- enabled interfaces. statistics Syntax show lldp info statistics [detail interface] detail - Shows configuration summary. interface ethernet unit/port unit - Unit identifier. (Range: 1) port - Port number.
Domain Name Service Commands These commands are used to configure Domain Naming System (DNS) services. Entries can be manually configured in the DNS domain name to IP address mapping table, default domain names configured, or one or more name servers specified to use for domain name to address translation.
Chapter 24 | Domain Name Service Commands Default Setting None Command Mode Global Configuration Command Usage ◆ Domain names are added to the end of the list one at a time. ◆ When an incomplete host name is received by the DNS service on this switch, it will work through the domain list, appending each domain name in the list to the host name, and checking with the specified name servers for a match.
Chapter 24 | Domain Name Service Commands Command Usage ◆ At least one name server must be specified before DNS can be enabled. ◆ 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 626
Chapter 24 | Domain Name Service Commands Default Domain Name: sample.com Domain Name List: Name Server List: Console# Related Commands ip domain-list (623) ip name-server (627) ip domain-lookup (624) ip host This command creates a static entry in the DNS table that maps a host name to an IPv4 address.
Chapter 24 | Domain Name Service Commands Default Setting Enabled Command Mode Global Configuration Command Usage ◆ mDNS allows a network device to choose a domain name in the local DNS name space and announce it using a special multicast IP address. This allows any user to give their computers a link-local mDNS host name of the form “single-dns-label.local.
Chapter 24 | Domain Name Service Commands Default Setting None Command Mode Global Configuration 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.
Chapter 24 | Domain Name Service Commands Command Mode Global Configuration Example This example maps an IPv6 address to a host name. Console(config)#ipv6 host rd6 2001:0db8:1::12 Console(config)#end Console#show hosts Flag Type IP Address Domain ---- ---- ------- -------------------- ----- ------------------------------- 2 Address 192.168.1.55 2 Address 2001:DB8:1::12 Console#...
Chapter 24 | Domain Name Service Commands Example This example clears all dynamic entries from the DNS table. Console(config)#clear host * Console(config)# show dns This command displays the configuration of the DNS service. Command Mode Privileged Exec Example Console#show dns Domain Lookup Status: DNS enabled Default Domain Name:...
Chapter 24 | Domain Name Service Commands (Continued) Table 131: show dns cache - display description Field Description IP Address The IP address associated with this record. The time to live reported by the name server. Domain The host name associated with this record. show hosts This command displays the static host name-to-address mapping table.
Page 632
Chapter 24 | Domain Name Service Commands Example Console#show ip mdns Multicast DNS Status : Enabled Console# – 632 –...
DHCP Commands These commands are used to configure Dynamic Host Configuration Protocol (DHCP) client and relay functions. Any VLAN interface on this switch can be configured to automatically obtain an IP address through DHCP. This switch can also be configured to relay DHCP client configuration requests to a DHCP server on another network.
Chapter 25 | DHCP Commands DHCP for IPv4 DHCP for IPv4 ip dhcp client class-id This command specifies the DCHP client vendor class identifier for the current interface. Use the no form to remove the class identifier from the DHCP packet. Syntax ip dhcp client class-id [text text | hex hex] no ip dhcp client class-id...
Chapter 25 | DHCP Commands DHCP for IPv6 ip dhcp restart client This command submits a BOOTP or DHCP 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 through the ip address command.
Chapter 25 | DHCP Commands DHCP for IPv6 Default Setting Disabled Command Mode Global Configuration Command Usage ◆ DHCPv6 clients can obtain configuration parameters from a server through a normal four-message exchange (solicit, advertise, request, reply), or through a rapid two-message exchange (solicit, reply). The rapid-commit option must be enabled on both client and server for the two-message exchange to be used.
Chapter 25 | DHCP Commands DHCP for IPv6 messages will determine the information this switch should attempt to acquire from the DHCPv6 server as described below. Both M and O flags are set to 1: ■ DHCPv6 is used for both address and other configuration settings. This combination is known as DHCPv6 stateful, in which a DHCPv6 server assigns stateful addresses to IPv6 hosts.
Chapter 25 | DHCP Commands DHCP for IPv6 ◆ To display the DUID assigned to this device, first enter the ipv6 address autoconfig command. Example Console(config-if)#ipv6 address autoconfig Console(config-if)#end Console#show ipv6 dhcp duid DHCPv6 Unique Identifier (DUID): 0001-0001-4A8158B4-00E00C0000FD Console# show ipv6 dhcp vlan This command shows DHCPv6 information for the specified interface(s).
Chapter 25 | DHCP Commands DHCP Relay Option 82 DHCP Relay Option 82 This section describes commands used to configure the switch to relay DHCP requests from local hosts to a remote DHCP server. Table 135: DHCP Relay Option 82 Commands Command Function Mode...
Chapter 25 | DHCP Commands DHCP Relay Option 82 ◆ You must specify the IP address for at least one active DHCP server. Otherwise, the switch’s DHCP relay agent will not be able to forward client requests to a DHCP server. Up to five DHCP servers can be specified in order of preference. If any of the specified DHCP server addresses are not located in the same network segment with this switch, use the ip default-gateway...
Page 641
Chapter 25 | DHCP Commands DHCP Relay Option 82 DHCP server (with the ip dhcp relay server command). Otherwise, the switch’s DHCP relay agent will not be able to forward client requests to a DHCP server. ◆ DHCP provides a relay agent information option for sending information about its DHCP clients or the relay agent itself to the DHCP server.
Page 642
Chapter 25 | DHCP Commands DHCP Relay Option 82 ◆ DHCP reply packets received by the relay agent are handled as follows: When the relay agent receives a DHCP reply packet with Option 82 information over the management VLAN, it first ensures that the packet is destined for itself. If the RID in the DHCP reply packet is not identical with that configured on ■...
Chapter 25 | DHCP Commands DHCP Relay Option 82 Example This example enables Option 82, and sets the frame format of the remote ID for the option to use the MAC address of the switch’s CPU. Console(config)#ip dhcp relay information option remote-id mac-address Console(config)# Related Commands ip dhcp relay information policy (643)
Chapter 25 | DHCP Commands DHCP Relay Option 82 Example This example sets the Option 82 policy to keep the client information in the request packet received by the relay agent, and forward this packet on to the DHCP server. Console(config)#ip dhcp relay information policy keep Console(config)# Related Commands...
IP Interface Commands An IP Version 4 and Version 6 address may be used for management access to the switch over the network. Both IPv4 or IPv6 addresses can be used simultaneously to access the switch. You can manually configure a specific IPv4 or IPv6 address or direct the switch to obtain an IPv4 address using Auto IP, or from a BOOTP or DHCP server when it is powered on.
Chapter 26 | IP Interface Commands IPv4 Interface Basic IPv4 Configuration This section describes commands used to configure IP addresses for VLAN interfaces on the switch. Table 138: Basic IP Configuration Commands Command Function Mode ip address Sets the IP address for the current interface ip default-gateway Defines the default gateway through which this router can reach other subnetworks...
Page 647
Chapter 26 | IP Interface Commands IPv4 Interface Command Usage ◆ An IP address must be assigned to this device to gain management access over the network or to connect the switch to existing IP subnets. A specific IP address can be manually configured, or the switch can be directed to obtain an address using Auto IP, or from a BOOTP or DHCP server.
Chapter 26 | IP Interface Commands IPv4 Interface Related Commands ip dhcp restart client (635) ip default-gateway (648) ipv6 address (657) ip default-gateway This command specifies the default gateway through which this switch can reach other subnetworks. Use the no form to remove a default gateway. Syntax ip default-gateway gateway no ip default-gateway...
Chapter 26 | IP Interface Commands IPv4 Interface Example Console#show ip redirects ip default gateway 10.1.0.254 Console# Related Commands ip default-gateway (648) show ipv6 default-gateway (665) show ip interface This command displays the settings of an IPv4 interface. Command Mode Privileged Exec Example Console#show ip interface...
Chapter 26 | IP Interface Commands IPv4 Interface Command Usage ◆ Use the traceroute command to determine the path taken to reach a specified destination. ◆ A trace terminates when the destination responds, when the maximum time out (TTL) is exceeded, or the maximum number of hops is exceeded. ◆...
Page 652
Chapter 26 | IP Interface Commands IPv4 Interface Default Setting count: 5 size: 32 bytes Command Mode Normal Exec, Privileged Exec Command Usage ◆ Use the ping command to see if another site on the network can be reached. ◆ The following are some results of the ping command: Normal response - The normal response occurs in one to ten seconds, ■...
Chapter 26 | IP Interface Commands IPv4 Interface ARP Configuration This section describes commands used to configure the Address Resolution Protocol (ARP) on the switch. Table 139: Address Resolution Protocol Commands Command Function Mode arp timeout Sets the time a dynamic entry remains in the ARP cache clear arp-cache Deletes all dynamic entries from the ARP cache show arp...
Chapter 26 | IP Interface Commands IPv4 Interface clear arp-cache This command deletes all dynamic entries from the Address Resolution Protocol (ARP) cache. Command Mode Privileged Exec Example This example clears all dynamic entries in the ARP cache. Console#clear arp-cache This operation will delete all the dynamic entries in ARP Cache.
Chapter 26 | IP Interface Commands IPv6 Interface IPv6 Interface This switch supports the following IPv6 interface commands. Table 140: IPv6 Configuration Commands Command Function Mode Interface Address Configuration and Utilities ipv6 default-gateway Sets an IPv6 default gateway for traffic ipv6 address Configures an IPv6 global unicast address, and enables IPv6 on an interface...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities (Continued) Table 140: IPv6 Configuration Commands Command Function Mode show ipv6 nd raguard Displays the configuration setting for RA Guard show ipv6 neighbors Displays information in the IPv6 neighbor discovery cache PE Interface Address Configuration and Utilities ipv6 default-gateway This command sets an IPv6 default gateway to use when the destination is located...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities Example The following example defines a default gateway for this device: Console(config)#ipv6 default-gateway FE80::269:3EF9:FE19:6780 Console(config)# Related Commands show ipv6 default-gateway (665) ip default-gateway (648) ipv6 address This command configures an IPv6 global unicast address and enables IPv6 on an interface.
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities ◆ If a duplicate address is detected, a warning message is sent to the console. Example This example specifies a full IPv6 address and prefix length. Console(config)#interface vlan 1 Console(config-if)#ipv6 address 2001:DB8:2222:7272::72/96 Console(config-if)#end Console#show ipv6 interface...
Page 659
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities address in modified EUI-64 format. It will also generate a global unicast address if a global prefix is included in received router advertisements. ◆ If a duplicate address is detected, a warning message is sent to the console. ◆...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities ipv6 address eui-64 This command configures an IPv6 address for an interface using an EUI-64 interface ID in the low order 64 bits and enables IPv6 on the interface. Use the no form without any arguments to remove all manually configured IPv6 addresses from the interface.
Page 661
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities globally defined addresses and 0 for locally defined addresses), changing 28 to 2A. Then the two bytes FFFE are inserted between the OUI (i.e., company id) and the rest of the address, resulting in a modified EUI-64 interface identifier of 2A-9F-18-FF-FE-1C-82-35.
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities ipv6 address link-local This command configures an IPv6 link-local address for an interface and enables IPv6 on the interface. Use the no form without any arguments to remove all manually configured IPv6 addresses from the interface.
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities FF02::1:FF00:FD FF02::1 IPv6 link MTU is 1500 bytes ND DAD is enabled, number of DAD attempts: 3. ND retransmit interval is 1000 milliseconds ND reachable time is 30000 milliseconds Console# Related Commands ipv6 enable (663)
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities Link-local address: FE80::2E0:CFF:FE00:FD/64 Global unicast address(es): 2001:DB8:2222:7273::72/96, subnet is 2001:DB8:2222:7273::/96 Joined group address(es): FF02::1:FF00:72 FF02::1:FF00:FD FF02::1 IPv6 link MTU is 1280 bytes ND DAD is enabled, number of DAD attempts: 3. ND retransmit interval is 1000 milliseconds ND reachable time is 30000 milliseconds Console#...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities Example The following example sets the MTU for VLAN 1 to 1280 bytes: Console(config)#interface vlan 1 Console(config-if)#ipv6 mtu 1280 Console(config-if)# Related Commands show ipv6 mtu (667) jumbo frame (102) show ipv6 This command displays the current IPv6 default gateway.
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities Example This example displays all the IPv6 addresses configured for the switch. Console#show ipv6 interface VLAN 1 is up IPv6 is enabled. Link-local address: FE80::2E0:CFF:FE00:FD/64 Global unicast address(es): 2001:DB8:2222:7273::72/96, subnet is 2001:DB8:2222:7273::/96 Joined group address(es): FF02::1:FF00:72 FF02::1:FF00:FD...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities (Continued) Table 141: show ipv6 interface - display description Field Description ND retransmit The interval between IPv6 neighbor solicitation retransmissions sent on an interval interface during duplicate address detection. ND reachable The amount of time a remote IPv6 node is considered reachable after a time...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities show ipv6 traffic This command displays statistics about IPv6 traffic passing through this switch. Command Mode Normal Exec, Privileged Exec Example The following example shows statistics for all IPv6 unicast and multicast traffic, as well as ICMP, UDP and TCP statistics: Console#show ipv6 traffic IPv6 Statistics:...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities neighbor solicit messages neighbor advertisement messages redirect messages group membership query messages group membership response messages group membership reduction messages multicast listener discovery version 2 reports UDP Statistics: input no port errors other errors output...
Page 670
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities (Continued) Table 143: show ipv6 traffic - display description Field Description reassembly succeeded The number of IPv6 datagrams successfully reassembled. Note that this counter is incremented at the interface to which these datagrams were addressed which might not be necessarily the input interface for some of the fragments.
Page 671
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities (Continued) Table 143: show ipv6 traffic - display description Field Description parameter problem The number of ICMP Parameter Problem messages received by the message interface. echo request messages The number of ICMP Echo (request) messages received by the interface. echo reply messages The number of ICMP Echo Reply messages received by the interface.
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities (Continued) Table 143: show ipv6 traffic - display description Field Description group membership The number of ICMPv6 Group Membership Response messages sent. response messages group membership The number of ICMPv6 Group Membership Reduction messages sent. reduction messages multicast listener discovery The number of MLDv2 reports sent by the interface.
Page 673
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities size - Number of bytes in a packet. (Range: 48-18024 bytes) The actual packet size will be eight bytes larger than the size specified because the router adds header information. Default Setting count: 5 size: 100 bytes...
Chapter 26 | IP Interface Commands Interface Address Configuration and Utilities traceroute6 This command shows the route packets take to the specified destination. Syntax traceroute {ipv6-address | host-name} ipv6-address - The IPv6 address of a neighbor device. You can specify either a link-local or global unicast address formatted according to RFC 2373 “IPv6 Addressing Architecture, ”...
Chapter 26 | IP Interface Commands Neighbor Discovery Hop Packet 1 Packet 2 Packet 3 IPv6 Address --- -------- -------- -------- -------------------------------------------- <10 ms <10 ms <10 ms FE80::2E0:CFF:FE9C:CA10%1/64 Trace completed. Console# Neighbor Discovery ipv6 nd dad attempts This command configures the number of consecutive neighbor solicitation messages sent on an interface during duplicate address detection.
Chapter 26 | IP Interface Commands Neighbor Discovery ◆ If the link-local address for an interface is changed, duplicate address detection is performed on the new link-local address, but not for any of the IPv6 global unicast addresses already associated with the interface. Example The following configures five neighbor solicitation attempts for addresses configured on VLAN 1.
Chapter 26 | IP Interface Commands Neighbor Discovery Command Usage This command specifies the interval between transmitting neighbor solicitation messages when resolving an address, or when probing the reachability of a neighbor. Therefore, avoid using very short intervals for normal IPv6 operations. Example The following sets the interval between sending neighbor solicitation messages to 30000 milliseconds:...
Chapter 26 | IP Interface Commands Neighbor Discovery malicious attacks on the network, may lead to bogus RAs being sent, which in turn can cause operational problems for hosts on the network. ◆ This command can be used to block RAs and Router Redirect (RR) messages on the specified interface.
Chapter 26 | IP Interface Commands Neighbor Discovery clear ipv6 neighbors This command deletes all dynamic entries in the IPv6 neighbor discovery cache. Command Mode Privileged Exec Example The following deletes all dynamic entries in the IPv6 neighbor cache: Console#clear ipv6 neighbors Console# show ipv6 nd raguard This command displays the configuration setting for RA Guard.
Chapter 26 | IP Interface Commands Neighbor Discovery show ipv6 neighbors This command displays information in the IPv6 neighbor discovery cache. Syntax show ipv6 neighbors [vlan vlan-id | ipv6-address] vlan-id - VLAN ID (Range: 1-4094) ipv6-address - The IPv6 address of a neighbor device. You can specify either a link-local or global unicast address formatted according to RFC 2373 “IPv6 Addressing Architecture, ”...
Page 681
Chapter 26 | IP Interface Commands Neighbor Discovery (Continued) Table 144: show ipv6 neighbors - display description Field Description State (continued) D (Delay) - More than the ReachableTime interval has elapsed since the last positive confirmation was received that the forward path was functioning. A packet was sent within the last DELAY_FIRST_PROBE_TIME interval.
Troubleshooting Problems Accessing the Management Interface Table 145: Troubleshooting Chart Symptom Action ◆ Cannot connect using Be sure the switch is powered up. Telnet, web browser, or ◆ Check network cabling between the management station and the SNMP software switch. ◆...
Appendix A | Troubleshooting Using System Logs 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. If the problem appears to be caused by the switch, follow these steps: Enable logging.
Glossary Access Control List. 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 converts between IP addresses and MAC (hardware) addresses. ARP is used to locate the MAC address corresponding to a given IP address.
Page 688
Glossary Domain Name Service. A system used for translating host names for network nodes into IP addresses. DSCP Differentiated Services Code Point Service. DSCP uses a six-bit tag to provide for up to 64 different forwarding behaviors. Based on network policies, different kinds of traffic can be marked for different kinds of forwarding.
Page 689
Glossary IEEE 802.1D Specifies a general method for the operation of MAC bridges, including the Spanning Tree Protocol. 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.
Page 690
Glossary IGMP Snooping Listening to IGMP Query and IGMP Report packets transferred between IP Multicast Routers and IP Multicast host groups to identify IP Multicast group members. In-Band Management Management of the network from a station attached directly to the network. IP Multicast Filtering A process whereby this switch can pass multicast traffic along to participating hosts.
Page 691
Glossary Multicast Router Discovery is a A protocol used by IGMP snooping and multicast routing devices to discover which interfaces are attached to multicast routers. This process allows IGMP-enabled devices to determine where to send multicast source and group membership messages. Multicast Switching A process whereby the switch filters incoming multicast frames for services for which no attached host has registered, or forwards them to all ports contained within the designated...
Page 692
Glossary RADIUS Remote Authentication Dial-in User Service. RA is a logon authentication protocol that DIUS uses software running on a central server to control access to RADIUS-compliant devices on the network. RMON Remote Monitoring. RMON provides comprehensive network monitoring capabilities. It eliminates the polling required in standard SNMP, and can set alarms on a variety of traffic conditions, including specific error types.
Page 693
Glossary TFTP Trivial File Transfer Protocol. A TCP/IP protocol commonly used for software downloads. User Datagram Protocol. UD provides a datagram mode for packet-switched communications. It uses IP as the underlying transport mechanism to provide access to IP- like services. UDP packets are delivered just like IP packets – connection-less datagrams that may be discarded before reaching their targets.
Index of CLI Commands mst vlan port security 246 port-isolation 310 mvr associated-profile 581 port-isolation join mvr domain port-isolation profile mvr immediate-leave power inline 376 mvr profile power inline compatible mvr proxy-query-interval 583 power inline maximum allocation 377 mvr proxy-switching power inline priority mvr robustness-value 585 pppoe intermediate-agent...
Page 699
Index of CLI Commands set cos show ip traffic set ip dscp 532 show ipv6 access-group set phb show ipv6 access-list 333 show access-group 342 show ipv6 default-gateway show access-list show ipv6 dhcp duid 637 show access-list tcam-utilization 94 show ipv6 dhcp vlan show accounting show ipv6 interface show arp...
Page 700
Index of CLI Commands show protocol-vlan protocol-group 492 snmp-server enable port-traps atc multicast-alarm- show public-key fire 408 show qos map cos-dscp snmp-server enable port-traps atc multicast-control- show qos map dscp-mutation apply show qos map phb-queue 516 snmp-server enable port-traps atc multicast-control- show qos map trust-mode release 409 show queue mode...
Index Numerics address table 423 action for violation 424 802.1Q tunnel 481 aging time 425 access 483 aging time, displaying 433 configuration, guidelines 482 aging time, setting 425 configuration, limitations 482 isolation, global setting 425 ethernet type 484 maximum addresses 426 –...
Page 704
Index BPDU dynamic configuration 50 filter 449 option 82 information 640 flooding when STA disabled on VLAN 458 relay option 82 640 flooding when STA globally disabled 445 relay server 639 guard 450 DHCP snooping 269 ignoring superior BPDUs 459 enabling 270 selecting protocol based on message format 461 global configuration 270...
Page 705
Index default domain name 625 gateway, IPv4 default 648 displaying the cache 630 gateway, IPv6 default 656 domain name list 626 general security measures 245 enabling lookup 624 GVRP multicast address mapping 626 enabling 466 name server list 627 global setting 466 static entries, IPv4 626 interface configuration 468 static entries, IPv6 628...
Page 706
Index immediate leave, status 547 EUI format 660 interface attached to multicast router 557 EUI-64 setting 660 last member query count 548 explicit configuration 663 last member query interval 549 global unicast 657 proxy query address 550 link-local 658 proxy reporting 540 manual configuration (global unicast) 48 querier timeout 542 manual configuration (link-local) 48...
Page 707
Index TLV, system capabilities 606 immediate leave, status 576 TLV, system description 607 multicast static router port 575 TLV, system name 607 querier 571 LLDP-MED 599 querier, enabling 571 notification, status 614 query interval 572 TLV 599 query, maximum response time 572 TLV, extended PoE 614 robustness value 573 TLV, inventory 615...
Page 708
Index specifying a domain 582 capabilities 347 specifying a profile name 581 configuring 345 specifying a VLAN 581 duplex mode 351 static binding 582 flow control 349 static binding, group to port 590 mirroring 381 statistics, displaying 596 mirroring local traffic 381 using immediate leave 588 mirroring remote traffic 384 multicast storm threshold 393...
Page 709
Index queue mode, setting 506 user configuration 162 queue weight, assigning to CoS 507 views 163 SNTP – setting the system clock 132 specifying servers 134 RADIUS software logon authentication 188 displaying version 100 settings 188 downloading 105 rate limit version, displaying 100 port 392 srTCM...
Page 710
Index UDP 649 statistics, port 353 unidirectional link detection 411 STP 441 unknown unicast storm, threshold 393 Also see STA unregistered data flooding, IGMP snooping 544 summary, accounting 202 upgrading software 105 switch clustering, for management 144 user account 182 switch settings user password 182 restoring 103...
Page 711
Index ports, re-authenticating 267 – 711 –...