VDSL Switch-VS4512 VDSL Switch-VS4512DC Management Guide
Management Guide VDSL Switch-V4512 VDSL Switch (with AC power connector) supporting 12 VDSL lines, with 2 Slots for Optional 1000BASE-SX, 1000BASE-LX, 1000BASE-T or 1000BASE-X GBIC uplink modules VDSL Switch-VS4512DC VDSL Switch (with DC power connector) supporting 12 VDSL lines, with 2 Slots for Optional 1000BASE-SX, 1000BASE-LX, 1000BASE-T or 1000BASE-X GBIC uplink modules
Copyright © 2003 by Accton Technology Corporation. All rights reserved. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of Accton Technology Corporation. Accton makes no warranties with respect to this documentation and disclaims any implied warranties of merchantability, quality, or fitness for any particular purpose. The information in this document is subject to change without notice.
Contents Chapter 1: Introduction Key Features Description of Software Features System Defaults 1-1 1-1 1-2 1-5 Chapter 2: Initial Configuration Connecting to the Switch Configuration Options Required Connections Remote Connections Basic Configuration Console Connection Setting Passwords Setting an IP Address Manual Configuration Dynamic Configuration Enabling SNMP Management Access Community Strings Trap Receivers Saving Configuration Settings Managing System Files 2-1 2-1 2-1 2-2 2-3 2-3 2-3 2-4 2-4 2-4
Contents Saving or Restoring Configuration Settings Downloading Configuration Settings from a Server Setting the Startup Configuration File Copying the Running Configuration to a File Resetting the System Setting the System Clock Configuring SNTP Setting the Time Zone Simple Network Management Protocol Setting Community Access Strings Specifying Trap Managers and Trap Types Filtering Addresses for SNMP Client Access User Authentication.
Contents Address Table Settings Setting Static Addresses Displaying the Address Table Changing the Aging Time Spanning Tree Algorithm Configuration Displaying Global Settings Configuring Global Settings Displaying Interface Settings Configuring Interface Settings VLAN Configuration Overview Assigning Ports to VLANs Forwarding Tagged/Untagged Frames Displaying Basic VLAN Information Displaying Current VLANs Creating VLANs Adding Static Members to VLANs (VLAN Index) Adding Static Members to VLANs (Port Index)
Contents Chapter 4: Command Line Interface Using the Command Line Interface Accessing the CLI Console Connection Telnet Connection Entering Commands Keywords and Arguments Minimum Abbreviation Command Completion Getting Help on Commands Showing Commands Partial Keyword Lookup Negating the Effect of Commands Using Command History Understanding Command Modes Exec Commands Configuration Commands Command Line Processing Command Groups Line Commands line login password exec-timeout password-thresh silent-time da
Contents User Access Commands username enable password IP Filter Commands management show management Web Server Commands ip http port ip http server ip http secure-server ip http secure-port ip telnet server Secure Shell Commands ip ssh server ip ssh timeout ip ssh authentication-retries disconnect ssh show ip ssh show ssh Event Logging Commands logging on logging history logging host logging facility logging trap clear logging show logging SMTP Alert Commands logging sendmail host logging sendmail level lo
Contents System Status Commands show startup-config show running-config show system show users show version Flash/File Commands copy delete dir whichboot boot system Authentication Commands Authentication Sequence authentication login RADIUS Client radius-server host radius-server port radius-server key radius-server retransmit radius-server timeout show radius-server TACACS+ Client tacacs-server host tacacs-server port tacacs-server key show tacacs-server Port Security Commands port security 802.
Contents SNMP Commands snmp-server community snmp-server contact snmp-server location snmp-server host snmp-server enable traps snmp ip filter show snmp DHCP Commands DHCP Client ip dhcp client-identifier ip dhcp restart client Interface Commands interface description speed-duplex negotiation capabilities flowcontrol shutdown switchport broadcast packet-rate clear counters show interfaces status show interfaces counters show interfaces switchport Mirror Port Commands port monitor show port monitor Rate Limi
Contents show controllers efm admin show controllers efm profile show controllers efm status show controllers efm remote ethernet mode show controllers efm-noise-margin show controllers efm channel-performance show controllers efm line-table show controllers efm phy-table show controllers efm channel-table show controllers efm current-performance Address Table Commands mac-address-table static clear mac-address-table dynamic show mac-address-table mac-address-table aging-time show mac-address-table aging-ti
Contents Configuring Private VLANs pvlan show pvlan Bridge Extension Commands show bridge-ext Priority Commands Priority Commands (Layer 2) switchport priority default queue mode queue bandwidth queue cos-map show queue mode show queue bandwidth show queue cos-map Priority Commands (Layer 3 and 4) map ip precedence (Global Configuration) map ip precedence (Interface Configuration) map ip dscp (Global Configuration) map ip dscp (Interface Configuration) map ip port (Global Configuration) map ip port (Interfa
Contents IP Interface Commands Basic IP Configuration ip address ip default-gateway show ip interface show ip redirects ping 4-166 4-166 4-167 4-168 4-168 4-169 4-169 Appendix A: Software Specifications Software Features Management Features Standards Management Information Bases A-1 A-1 A-2 A-2 A-3 Appendix B: Troubleshooting C-1 Glossary Index x
Chapter 1: Introduction The switch provides a broad range of features for Layer 2 switching. It includes a management agent that allows you to configure the features listed in this manual. The default configuration can be used for most of the features provided by this switch. However, there are many options that you should configure to maximize the switch’s performance for your particular network environment. The switch uses four frequency bands (two downstream and two upstream) for VDSL lines.
Introduction Feature Description Virtual LANs Up to 255 using IEEE 802.1Q, port-based, or private VLANs Traffic Prioritization Default port priority, traffic class map, queue scheduling, IP Precedence, or Differentiated Services Code Point (DSCP) Multicast Filtering Supports IGMP snooping and query Description of Software Features The switch provides a wide range of advanced performance enhancing features. Flow control eliminates the loss of packets due to bottlenecks caused by port saturation.
Description of Software Features Port Mirroring – The switch can unobtrusively mirror traffic from any port to a monitor port. You can then attach a protocol analyzer or RMON probe to this port to perform traffic analysis and verify connection integrity. Port Trunking – Ports can be combined into an aggregate connection. Trunks can be manually set up or dynamically configured using IEEE 802.3ad Link Aggregation Control Protocol (LACP).
Introduction Virtual LANs – The switch supports up to 255 VLANs. A Virtual LAN is a collection of network nodes that share the same collision domain regardless of their physical location or connection point in the network. The switch supports tagged VLANs based on the IEEE 802.1Q standard. Members of VLAN groups can be manually assigned to a specific set of VLANs. This allows the switch to restrict traffic to the VLAN groups to which a user has been assigned.
System Defaults System Defaults The switch’s system defaults are provided in the configuration file “Factory_Default_Config.cfg.” To reset the switch defaults, this file should be set as the startup configuration file (page 3-17). The following table lists some of the basic system defaults. Function Parameter Default IP Settings Management VLAN 1 DHCP Enabled BOOTP Disabled Console Port Connection Authentication User Specified Disabled IP Address 0.0.0.0 Subnet Mask 255.0.0.
Introduction Function Parameter Web Management HTTP Server SNMP Default Enabled HTTP Port Number 80 HTTP Secure Server Enabled HTTP Secure Port Number 443 Community Strings “public” (read only) “private” (read/write) Traps Authentication traps: enabled Link-up-down events: enabled IP Filtering Port Configuration Admin Status Auto-negotiation Disabled Enabled Enabled Flow Control Disabled Port Capability 100BASE-TX – 10 Mbps half duplex 10 Mbps full duplex 100 Mbps half duplex 100 Mbps fu
System Defaults Function Parameter Default Acceptable Frame Type All Ingress Filtering Disabled Switchport Mode (Egress Mode) Hybrid: tagged/untagged frames Traffic Prioritization Ingress Port Priority Weighted Round Robin IP Settings 0 Queue: 0:1 1:4 2:16 3:64 IP Precedence Priority Disabled IP DSCP Priority Disabled IP Address 0.0.0.0 Subnet Mask 255.0.0.0 Default Gateway 0.0.0.
Introduction 1-8
Chapter 2: Initial Configuration Connecting to the Switch Configuration Options The switch includes a built-in network management agent. The agent offers a variety of management options, including SNMP, RMON and a Web-based interface. A PC may also be connected directly to the switch for configuration and monitoring via a command line interface (CLI). Note: The IP address for this switch is assigned by DHCP by default. To change this address, see “Setting an IP Address” on page 2-4.
Initial Configuration • Globally set broadcast storm control • Display system information and statistics Required Connections The switch provides an RS-232 serial port that enables a connection to a PC or terminal for monitoring and configuring the switch. A null-modem console cable is provided with the switch. Attach a VT100-compatible terminal, or a PC running a terminal emulation program to the switch.
Basic Configuration Remote Connections Prior to accessing the switch’s onboard agent via a network connection, you must first configure it with a valid IP address, subnet mask, and default gateway using a console connection, DHCP or BOOTP protocol. The IP address for this switch is assigned by DHCP by default. To manually configure this address or enable dynamic address assignment via DHCP or BOOTP, see “Setting an IP Address” on page 2-4. Note: This switch supports four concurrent Telnet sessions.
Initial Configuration Setting Passwords Note: If this is your first time to log into the CLI program, you should define new passwords for both default user names using the “username” command, record them and put them in a safe place. Passwords can consist of up to 8 alphanumeric characters and are case sensitive. To prevent unauthorized access to the switch, set the passwords as follows: 1. Open the console interface with the default user name and password “admin” to access the Privileged Exec level. 2.
Basic Configuration Before you can assign an IP address to the switch, you must obtain the following information from your network administrator: • IP address for the switch • Default gateway for the network • Network mask for this network To assign an IP address to the switch, complete the following steps: 1. From the Privileged Exec level global configuration mode prompt, type “interface vlan 1” to access the interface-configuration mode. Press . 2.
Initial Configuration 5. Wait a few minutes, and then check the IP configuration settings by typing the “show ip interface” command. Press . 6. Then save your configuration changes by typing “copy running-config startup-config.” Enter the startup file name and press . Console(config)#interface vlan 1 Console(config-if)#ip address dhcp Console(config-if)#end Console#ip dhcp restart client Console#show ip interface IP address and netmask: 192.168.1.54 255.255.255.
Basic Configuration To configure a community string, complete the following steps: 1. From the Privileged Exec level global configuration mode prompt, type “snmp-server community string mode,” where “string” is the community access string and “mode” is rw (read/write) or ro (read only). Press . (Note that the default mode is read only.) 2. To remove an existing string, simply type “no snmp-server community string,” where “string” is the community access string to remove. Press .
Initial Configuration Managing System Files The switch’s flash memory supports three types of system files that can be managed by the CLI program, Web interface, or SNMP. The switch’s file system allows files to be uploaded and downloaded, copied, deleted, and set as a start-up file. The three types of files are: • Configuration — This file stores system configuration information and is created when configuration settings are saved.
Chapter 3: Configuring the Switch Using the Web Interface This switch provides an embedded HTTP Web agent. Using a Web browser you can configure the switch and view statistics to monitor network activity. The Web agent can be accessed by any computer on the network using a standard Web browser (Internet Explorer 5.0 or above, or Netscape Navigator 6.2 or above). Note: You can also use the Command Line Interface (CLI) to manage the switch over a serial connection to the console port or via Telnet.
Configuring the Switch Navigating the Web Browser Interface To access the web-browser interface you must first enter a user name and password. The administrator has Read/Write access to all configuration parameters and statistics. The default user name and password for the administrator is “admin.” Home Page When your web browser connects with the switch’s web agent, the home page is displayed as shown below.
Navigating the Web Browser Interface Notes: 1. To ensure proper screen refresh, be sure that Internet Explorer 5.x is configured as follows: Under the menu “Tools / Internet Options / General / Temporary Internet Files / Settings,” the setting for item “Check for newer versions of stored pages” should be “Every visit to the page.” 2. When using Internet Explorer 5.0, you may have to manually refresh the screen after making configuration changes by pressing the browser’s refresh button.
Configuring the Switch Menu Description SNTP Page 3-18 Configuration Configures SNTP client settings, including broadcast mode or a specified list of servers 3-18 Clock Time Zone Sets the local time zone for the system clock 3-19 SNMP 3-20 Configuration Configures community strings and related trap functions 3-21 IP Filtering Sets IP addresses of clients allowed management access 3-23 Passwords Assigns a new password for the current user 3-24 Authentication Settings Configures authenti
Navigating the Web Browser Interface Menu Description Rate Limit Page 3-50 Input Port Configuration Sets the input rate limit for each port Input Trunk Configuration Sets the input rate limit for each trunk 3-50 Output Port Configuration Sets the output rate limit for each port 3-50 Output Trunk Configuration Sets the output rate limit for each trunk Port Statistics 3-50 Lists Ethernet and RMON port statistics 3-51 Batch assigns profiles for speed and distance range to all the VDSL ports on
Configuring the Switch Menu Description VLAN Page 3-86 802.
Basic Configuration Menu Description Page IGMP Snooping 3-109 IGMP Configuration Enables multicast filtering; configures parameters for multicast query 3-110 Multicast Router Port Information Displays the ports that are attached to a neighboring multicast router for each VLAN ID 3-111 Static Multicast Router Port Configuration Assigns ports that are attached to a neighboring multicast router 3-112 IP Multicast Registration Table Displays all multicast groups active on this switch, including m
Configuring the Switch Web – Click System, System Information. Specify the system name, location, and contact information for the system administrator, then click Apply. (This page also includes a Telnet button that allows access to the Command Line Interface via Telnet.) CLI – Specify the hostname, location and contact information.
Basic Configuration Displaying Switch Hardware/Software Versions Use the Switch Information page to display hardware/firmware version numbers for the main board and management software, as well as the power status of the system. Field Attributes Main Board • Serial Number – The serial number of the switch. • Number of Ports – Number of built-in RJ-45 ports and expansion ports. • Hardware Version – Hardware version of the main board.
Configuring the Switch CLI – Use the following command to display version information. Console#show version Unit1 Serial number Service tag Hardware version Module A type Module B type Number of ports Main power status Redundant power status Agent(master) Unit id Loader version Boot rom version Operation code version Console# 4-54 : : : :not present :not present :12 : : :1 :2.0.0.2 :2.0.1.9 :1.0.3.
Basic Configuration Web – Click System, Bridge Extension. CLI – Enter the following command. Console#show bridge-ext Max support vlan numbers: 255 Max support vlan ID: 4093 Extended multicast filtering services: No Static entry individual port: Yes VLAN learning: IVL Configurable PVID tagging: Yes Local VLAN capable: Yes Traffic classes: Enabled GMRP: Disabled Console# 4-146 Setting the Switch’s IP Address An IP address may be used for management access to the switch over your network.
Configuring the Switch Command Attributes • Management VLAN – ID of the configured VLAN (1-4093, no leading zeroes). By default, all ports on the switch are members of VLAN 1. However, the management station can be attached to a port belonging to any VLAN, as long as that VLAN has been assigned an IP address. • IP Address Mode – Specifies whether IP functionality is enabled via manual configuration (Static), Dynamic Host Configuration Protocol (DHCP), or Boot Protocol (BOOTP).
Basic Configuration CLI – Specify the management interface, IP address and default gateway. Console#config Console(config)#interface vlan 1 Console(config-if)#ip address 192.168.1.254 255.255.255.0 Console(config-if)#exit Console(config)#ip default-gateway 192.168.1.253 Console(config)# 4-84 4-167 4-168 Using DHCP/BOOTP If your network provides DHCP/BOOTP services, you can configure the switch to be dynamically configured by these services. Web – Click System, IP Configuration.
Configuring the Switch Renewing DCHP – DHCP may lease addresses to clients indefinitely or for a specific period of time. If the address expires or the switch is moved to another network segment, you will lose management access to the switch. In this case, you can reboot the switch or submit a client request to restart DHCP service via the CLI. Web – If the address assigned by DHCP is no longer functioning, you will not be able to renew the IP settings via the web interface.
Basic Configuration Note: Up to two copies of the system software (i.e., the runtime firmware) can be stored in the file directory on the switch. The currently designated startup version of this file cannot be deleted. Downloading System Software from a Server When downloading runtime code, you can specify the destination file name to replace the current image, or first download the file using a different name from the current runtime code file, and then set the new file as the startup file.
Configuring the Switch CLI – Enter the IP address of the TFTP server, select “config” or “opcode” file type, then enter the source and destination file names, set the new file to start up the system, and then restart the switch. Console#copy tftp file TFTP server ip address: 10.1.0.19 Choose file type: 1. config: 2. opcode: <1-2>: 2 Source file name: M100000.bix Destination file name: V1.0 \Write to FLASH Programming. -Write to FLASH finish. Success. Console#config Console(config)#boot system opcode:V1.
Basic Configuration Setting the Startup Configuration File If you download to a new file name, select the new file from the drop-down list for Startup Configuration File, and press Apply Changes. To use the new settings, reboot the system via the System/Reset menu. CLI – Enter the IP address of the TFTP server, specify the source file on the server, set the startup file name on the switch, and then restart the switch. Console#copy tftp startup-config TFTP server ip address: 192.168.1.
Configuring the Switch Resetting the System Web – Click System, Reset. Click the Reset button to restart the switch. CLI – Use the reload command to restart the switch. Console#reload System will be restarted, continue ? 4-20 Note: When restarting the system, it will always run the Power-On Self-Test. Setting the System Clock Simple Network Time Protocol (SNTP) allows the switch to set its internal clock based on periodic updates from a time server (SNTP or NTP).
Basic Configuration • SNTP Poll Interval – Sets the interval between sending requests for a time update from a time server when set to SNTP Client mode. (Range: 16-16284 seconds; Default: 16 seconds) • SNTP Server – In unicast mode, sets the IP address for up to three time servers. The switch attempts to update the time from the first server, if this fails it attempts an update from the next server in the sequence. Web – Select SNTP, Configuration. Modify any of the required parameters, and click Apply.
Configuring the Switch Web – Select SNTP, Clock Time Zone. Set the offset for your time zone relative to the UTC, and click Apply. CLI - This example shows how to set the time zone for the system clock. Console(config)#clock timezone Dhaka hours 6 minute 0 after-UTC Console# 4-48 Simple Network Management Protocol Simple Network Management Protocol (SNMP) is a communication protocol designed specifically for managing devices on a network.
Simple Network Management Protocol Setting Community Access Strings You may configure up to five community strings authorized for management access. All community strings used for IP Trap Managers should be listed in this table. For security reasons, you should consider removing the default strings. Command Attributes • SNMP Community Capability – Indicates that the switch supports up to five community strings.
Configuring the Switch Specifying Trap Managers and Trap Types Traps indicating status changes are issued by the switch to specified trap managers. You must specify trap managers so that key events are reported by this switch to your management station (using network management platforms such as HP OpenView. You can specify up to five management stations that will receive authentication failure messages and other trap messages from the switch.
Simple Network Management Protocol Filtering Addresses for SNMP Client Access The switch allows you to create a list of up to 16 IP addresses or IP address groups that are allowed access to the switch via SNMP management software. Command Usage • To specify the clients allowed SNMP access, enter an IP address along with a subnet mask to identify a specific host or a range of valid addresses. For example: - IP address 192.168.1.1 and mask 255.255.255.255 – Specifies a valid IP address of 192.168.1.
Configuring the Switch CLI – This example allows SNMP access for a specific client. Console(config)#snmp ip filter 10.1.2.3 255.255.255.255 Console(config)# 4-80 User Authentication. Use the Passwords or RADIUS/TACACS+ menu to restrict management access based on specified user names and passwords. You can manually configure access rights on the switch (Passwords menu), or you can use a remote access authentication server based on the RADIUS/TACACS+ protocol. You can also use IEEE 802.
User Authentication. CLI – Assign a user name to access-level 15 (i.e., administrator), then specify the password. Console(config)#username bob access-level 15 Console(config)#username bob password 0 smith Console(config)# 4-24 Configuring Local/Remote Logon Authentication Use the Authentication Settings menu to restrict management access based on specified user names and passwords.
Configuring the Switch Command Attributes • Authentication – Select the authentication, or authentication sequence required: - Local – User authentication is performed only locally by the switch. Radius – User authentication is performed using a RADIUS server only. TACACS – User authentication is performed using a TACACS+ server only. [authentication sequence] – User authentication is performed by up to three authentication methods in the indicated sequence.
User Authentication. Web – Click Security, Authentication Settings. To configure local or remote authentication preferences, specify the authentication sequence (i.e., one to three methods), fill in the parameters for RADIUS or TACACS+ authentication if selected, and click Apply. CLI – Specify all the required parameters to enable logon authentication. Console(config)#authentication login radius Console(config)#radius-server host 192.168.1.
Configuring the Switch Telnet Settings Telnet access to the switch can be enabled via the Web or CLI. Web – Click Security, Telnet Settings, then check the checkbox to enable access via Telnet (i.e., a virtual terminal). CLI – This example enables Telnet access to the switch.
User Authentication. Command Attributes • HTTPS Status – Allows you to enable/disable the HTTPS server feature on the switch. (Default: Enabled) • Change HTTPS Port Number – Specifies the UDP port number used for HTTPS/ SSL connection to the switch’s web interface. (Default: Port 443) Web – Click Security, HTTPS Settings. Enable HTTPS and specify the port number, then click Apply. CLI – This example enables the HTTP secure server and modifies the port number.
Configuring the Switch Configuring the Secure Shell The Berkley-standard includes remote access tools originally designed for Unix systems. Some of these tools have also been implemented for Microsoft Windows and other environments. These tools, including commands such as, rsh (remote shell), and rexec (remote execute), are not secure from hostile attacks. The Secure Shell (SSH) includes server/client applications intended as a secure replacement for the older Berkley remote access tools.
User Authentication. CLI – This example enables SSH, sets the authentication parameters, and displays the current configuration. It shows that the administrator has made a connection via SHH, and then disabled this connection.
Configuring the Switch Command Attributes • Port – Port number. • Action* – The action to be taken when a port security violation is detected: - None: No action should be taken. (This is the default.) Trap: Send an SNMP trap message. Shutdown: Disable the port. Trap and Shutdown: Send an SNMP trap message and disable the port. • Status – Enables or disables port security on the port. (Default: Disabled) • Max MAC Count – The maximum number of MAC addresses that can be learned on a port.
User Authentication. Configuring 802.1x Port Authentication Network switches can provide open and easy access to network resources by simply attaching a client PC. Although this automatic configuration and access is a desirable feature, it also allows unauthorized personnel to easily intrude and possibly gain access to sensitive network data. The IEEE 802.
Configuring the Switch Displaying 802.1x Global Settings The dot1x protocol includes global parameters that control the client authentication process that runs between the client and the switch (i.e., authenticator), as well as the client identity lookup process that runs between the switch and authentication server. These parameters are described in this section. Command Attributes • 802.
User Authentication. CLI – This example shows the default protocol settings for 802.1x. For a description of the additional entries displayed in the CLI, See “show dot1x” on page 73. Console#show dot1x Global 802.1X Parameters reauth-enabled: yes reauth-period: 300 quiet-period: 350 tx-period: 300 supp-timeout: 30 server-timeout: 30 reauth-max: 2 max-req: 2 802.1X Port Port Name 1/1 1/2 . . .
Configuring the Switch Configuring 802.1x Global Settings The dot1x protocol includes global parameters that control the client authentication process that runs between the client and the switch (i.e., authenticator), as well as the client identity lookup process that runs between the switch and authentication server. The configuration options for parameters are described in this section. Command Attributes • 802.
User Authentication. CLI – This enables re-authentication and sets all of the global parameters for 802.1x.
Configuring the Switch CLI – This example sets the authentication mode to enable 802.1x on port 2, and allows up to ten clients to connect to this port. Console(config)#interface ethernet 1/2 Console(config-if)#dot1x port-control auto Console(config-if)#dot1x operation-mode multi-host max-count 10 Console(config-if)# 4-84 4-70 4-70 Displaying 802.1x Statistics This switch can display statistics for dot1x protocol exchanges for any port.
Port Configuration CLI – This example displays the 802.1x statistics for port 4.
Configuring the Switch • Max MAC Count – Shows the maximum number of MAC address that can be learned by a port. (0 - 20 addresses) • Speed Duplex Status – Shows the current speed and duplex mode. • Flow Control Status – Indicates the type of flow control currently in use. (IEEE 802.3x, Back-Pressure or None) • Autonegotiation – Shows if auto-negotiation is enabled or disabled. • Trunk Member1 – Shows if port is a trunk member.
Port Configuration - 10full - Supports 10 Mbps full-duplex operation 100half - Supports 100 Mbps half-duplex operation 100full - Supports 100 Mbps full-duplex operation 1000full - Supports 1000 Mbps full-duplex operation Sym - Transmits and receives pause frames for flow control FC - Supports flow control • Broadcast storm – Shows if broadcast storm control is enabled or disabled. • Broadcast storm limit – Shows the broadcast storm threshold.
Configuring the Switch CLI – This example shows the connection status for Port 5.
Port Configuration • Autonegotiation (Port Capabilities) – Allows auto-negotiation to be enabled/ disabled. When auto-negotiation is enabled, you need to specify the capabilities to be advertised. When auto-negotiation is disabled, you can force the settings for speed, mode, and flow control.The following capabilities are supported.
Configuring the Switch CLI – Select the interface, and then enter the required settings. Console(config)#interface ethernet 1/12 Console(config-if)#description RD SW#12 Console(config-if)#shutdown . Console(config-if)#no shutdown Console(config-if)#no negotiation Console(config-if)#speed-duplex 100half Console(config-if)#flowcontrol .
Port Configuration Statically Configuring a Trunk Command Usage • To avoid creating a loop in the network, be sure you add a static trunk via the configuration interface before connecting the ports, and also disconnect the ports before removing a static trunk via the configuration interface. statically configured } • When configuring static trunks, you may not be able to link switches of different types, depending on the manufacturer’s implementation.
Configuring the Switch CLI – This example creates trunk 2 with ports 13 and 14. Just connect these ports to two static trunk ports on another switch to form a trunk.
Port Configuration Web – Click Port, LACP, Configuration. Select switch ports from the scroll-down port list and click Add. After you have completed adding ports to the member list, click Apply. CLI – The following example enables LACP for ports 13 and 14. Just connect these ports to LACP-enabled trunk ports on another switch to form a trunk.
Configuring the Switch Setting Broadcast Storm Thresholds Broadcast storms may occur when a device on your network is malfunctioning, or if application programs are not well designed or properly configured. If there is too much broadcast traffic on your network, performance can be severely degraded or everything can come to complete halt. You can protect your network from broadcast storms by setting a threshold for broadcast traffic for each port.
Port Configuration CLI – Specify any interface, and then enter the threshold. The following disables broadcast storm control for port 1, and then sets broadcast suppression at 600 packets per second for port 2. This threshold will then apply to all ports with broadcast storm control enabled.
Configuring the Switch Web – Click Port, Mirror. Specify the source port, the traffic type to be mirrored, and the target port, then click Add. CLI – Use the interface command to select the monitor port, then use the port monitor command to specify the source port. Note that default mirroring under the CLI is for both received and transmitted packets.
Port Configuration Web - Click Rate Limit, Input/Output Port/Trunk Configuration. Set the Input Rate Limit Status or Output Rate Limit Status, then set the rate limit for the individual interfaces, and click Apply. CLI - This example sets the rate limit for input and output traffic passing through port 1 to 50 Mbps.
Configuring the Switch Statistical Values Parameter Description Interface Statistics Received Octets The total number of octets received on the interface, including framing characters. Received Unicast Packets The number of subnetwork-unicast packets delivered to a higher-layer protocol. Received Multicast Packets The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast address at this sub-layer.
Port Configuration Parameter Description Single Collision Frames The number of successfully transmitted frames for which transmission is inhibited by exactly one collision. Internal MAC Transmit Errors A count of frames for which transmission on a particular interface fails due to an internal MAC sublayer transmit error. Multiple Collision Frames A count of successfully transmitted frames for which transmission is inhibited by more than one collision.
Configuring the Switch Parameter Description 64 Bytes Frames The total number of frames (including bad packets) received and transmitted that were 64 octets in length (excluding framing bits but including FCS octets).
Port Configuration CLI – This example shows statistics for port 12.
Configuring the Switch VDSL Configuration You can configure and display communication parameters for VDSL and Ethernet ports on the switch and connected CPEs. VDSL Global Configuration This Web page assigns the same profile to each VDSL switch port. Details of these profiles are given in the table below. Profile Name ProfileType Downstream Rate (Mbps) Upstream Rate (Mbps) Default Public 1.20 1.40 A1-02OAG-R1 Public 7.56 2.43 A2-02OAG-R1 Public 10.80 2.43 A3-01OAG-R1 Public 17.28 3.
VDSL Configuration 4. The maximum distances for VDSL links using the recommended profiles are: Upstream Downstream Mode Max. Range 16 Mbps 16 Mbps Symmetric 600m (1970 ft) 11 Mbps 34 Mbps Asymetric 610m (2000 ft) 5. Type-1 26 AWG (100 ohm)/0.4 mm, or Type-2 24 AWG (100 ohm)/0.5 mm cable may be installed to achieve the maximum distance. However, typically, 24 AWG (100 ohm)/0.5 mm wire is better than 26 AWG (100 ohm)/0.4 mm wire.
Configuring the Switch VDSL Port Configuration You can enable/disable a selected port, enable/disable Remote Digital Loopback (RDL), set the optimal transmission rate, and configure a profile for the selected port. Command Attributes • Active Status – Check this box to enable the selected port. • RDL – Check this box to enable Remote Digital Loopback (RDL).
VDSL Configuration Profile Name Theoretical Minimum Signal-to-Noise Ratio (dB) DS1 DS2 US1 A5-50-7 35 26 23 US2 14 A6-22-3A 26 10 17 10 A7-40-5A 32 23 17 Not Used A8-46-7A 35 26 23 14 TLAN 32 10 29 10 Max-Rate 41 41 41 41 Noise margins should be configured to a level appropriate to the actual noise level of the environment. A noisier environment requires a higher noise margin to ensure a stable link. The noise margin only comes into effect after a link is activated.
Configuring the Switch Web – Click VDSL, Port Configuration. Select a port from the drop-down list, and click Select. CLI – The following examples show how these features are configured in the CLI. Examples The following example disables VDSL port 1. Console(config)#interface ethernet 1/1 Console(config-if)#efm shutdown Console(config-if)# 4-84 4-104 The following example shows how to enable/disable RDL on VDSL port 1.
VDSL Configuration The following example shows rate adaption enabled for port 1. Console#config Console(config)#interface ethernet 1/1 Console(config-if)#efm rate-adapt Console(config-if)#end Console# 4-84 4-108 The following example configures VDSL port 1 with an upstream noise margin of 6, and a downstream noise margin of 6.
Configuring the Switch - PBO – Indicates the status of the power back-off mechanism (on/off). If PBO is enabled, the power of transmission from the port will automatically be adjusted to ensure that the signal successfully reaches the receive port. - Rate Adaptation – The data rate on a VDSL line can be affected by factors such as temperature, humidity, and electro-magnetic radiation. When rate adaption is enabled, the switch will determine the optimal transmission rate for the current conditions.
VDSL Configuration CLI –The following examples show how VDSL link current values are displayed in the CLI. Examples The following example displays VDSL link current values on VDSL switch port 2. Console#show controller efm Ethernet 1/2 Downstream Reed-Solomon errors: 0 Console#show controller efm Ethernet 1/2 Link status: Down Console#show controller efm Ethernet 1/2 Local receive power: 26.00 dBm/Hz Console#show controller lre Ethernet 1/2 SNR: 27.
Configuring the Switch Displaying VDSL Port Ethernet Statistics VDSL Port Ethernet Statistics display key statistics for an interface. Web – Click VDSL, VDSL Port Ethernet Statistics.
VDSL Configuration CLI – Use the show interfaces counters command.
Configuring the Switch • Config Profile – In this version, only “DEFVAL” is displayed. In future versions, a drop-down list of all configurable VDSL profiles will be displayed in this field. • Alarm Config Profile – The alarm profile is pre-configured to send trap messages via SNMP protocol to register errors on the VDSL line. Web – Click VDSL, Line Configuration. Select the line from the drop-down list, and click Query. CLI – Use the show controllers efm line-table command.
VDSL Configuration • Physical Interfaces Information - Serial Number – A number given by the manufacturer to the item produced. This only displays on the CPE side. - Vendor ID – The name of the manufacturer of this switch. - Version Number – The number of the current hardware. - Current Signal to Noise Ratio Margin – To ensure a stable link, you should add a margin to the theoretical minimum Signal-to-noise ratio (SNR). For details see “VDSL Port Configuration” on page 3-58.
Configuring the Switch Web – Click VDSL, Interface Information. Select Line and Channel from the drop-down lists, and click Query. CLI – The following examples show how these parameters are displayed in the CLI. Examples The following example displays physical interface information for VDSL port 1.
VDSL Configuration VDSL Performance Monitor Information This screen displays line and channel performance data information since the switch was last reset, during the current 15 minute interval, and during the current day. Command Attributes • Line – Select the VDSL line from the drop-down list. • Channel – Select Slow or Fast from the drop-down menu. The switch uses the slow channel for data that requires a very low error rate in transmission.
Configuring the Switch Web – Click VDSL, Performance Monitor Information.
VDSL Configuration CLI – Use the show controllers efm current-performance command.
Configuring the Switch Monitoring VDSL Performance History This page displays line and channel performance data information during selected 15 minute intervals over the last 24 hours of switch operation, and during selected 1-day intervals from the current day to 30 days ago. Command Attributes • Line – Select the VDSL line from the drop-down list. • Channel – Select Slow or Fast from the drop-down list. • Side – This only displays Local.
VDSL Configuration Web – Click VDSL, Performance Monitor History. Note: The parameters described above are not displayed in the CLI for periods before the current 15 minute, or 24 hour interval. To display these parameters during the current 15 minute, or 24 hour period see “VDSL Performance Monitor Information” on page 3-69. Address Table Settings Switches store the addresses for all known devices. This information is used to pass traffic directly between the inbound and outbound ports.
Configuring the Switch Web – Click Address Table, Static Addresses. Specify the interface, the MAC address and VLAN, then click Add Static Address. CLI – This example adds an address to the static address table, but sets it to be deleted when the switch is reset.
VDSL Configuration Web – Click Address Table, Dynamic Addresses. Specify the search type (i.e., mark the Interface, MAC Address, or VLAN checkbox), select the method of sorting the displayed addresses, and then click Query. CLI – This example also displays the address table entries for port 1.
Configuring the Switch Web – Click Address Table, Address Aging. Specify the new aging time, click Apply. CLI – This example sets the aging time to 400 seconds. Console(config)#mac-address-table aging-time 400 Console(config)# 4-124 Spanning Tree Algorithm Configuration The Spanning Tree Algorithm (STA) can be used to detect and disable network loops, and to provide backup links between switches, bridges or routers.
Spanning Tree Algorithm Configuration If a bridge does not get a Hello BPDU after a predefined interval (Maximum Age), the bridge assumes that the link to the Root Bridge is down. This bridge will then initiate negotiations with other bridges to reconfigure the network to reestablish a valid network topology. RSTP is designed as a general replacement for the slower, legacy STP. RSTP achieves must faster reconfiguration (i.e.
Configuring the Switch • Configuration Changes – The number of times the Spanning Tree has been reconfigured. • Last Topology Change – Time since the Spanning Tree was last reconfigured. These additional parameters are only displayed for the CLI: • Spanning tree mode – Specifies the type of spanning tree used on this switch: - STP: Spanning Tree Protocol (IEEE 802.1D) - RSTP: Rapid Spanning Tree (IEEE 802.1w) • Priority – Bridge priority is used in selecting the root device, root port, and designated port.
Spanning Tree Algorithm Configuration CLI – This command displays global STA settings, followed by settings for each port. Console#show spanning-tree Spanning-tree information --------------------------------------------------------------Spanning tree mode :RSTP Spanning tree enable/disable :enable Priority :32768 Bridge Hello Time (sec.) :2 Bridge Max Age (sec.) :20 Bridge Forward Delay (sec.) :15 Root Hello Time (sec.) :2 Root Max Age (sec.) :20 Root Forward Delay (sec.) :15 Designated Root :32768.
Configuring the Switch • Priority – Bridge priority is used in selecting the root device, root port, and designated port. The device with the highest priority becomes the STA root device. However, if all devices have the same priority, the device with the lowest MAC address will then become the root device. (Note that lower numeric values indicate higher priority.
Spanning Tree Algorithm Configuration Web – Click Spanning Tree, STA, Configuration. Modify the required attributes, and click Apply. CLI – This example enables Spanning Tree Protocol, and then configures the STA parameters.
Configuring the Switch The rules defining port status are: - A port on a network segment with no other STA compliant bridging device is always forwarding. - If two ports of a switch are connected to the same segment and there is no other STA device attached to this segment, the port with the smaller ID forwards packets and the other is discarding. - All ports are discarding when the switch is booted, then some of them change state to learning, and then to forwarding.
Spanning Tree Algorithm Configuration R A x Backup port receives more useful BPDUs from the same bridge and is therefore not selected as the designated port. R D B These additional parameters are only displayed for the CLI: • Admin status – Shows if this interface is enabled. • Path Cost – This parameter is used by the STA 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.
Configuring the Switch Web – Click Spanning Tree, STA, Port Information or STA Trunk Information. CLI – This example shows the STA attributes for port 5. Console#show spanning-tree ethernet 1/5 Eth 1/ 5 information ------------------------------------------------------------Admin status : enable Role : disable State : discarding Path cost : 100000 Priority : 128 Designated cost : 200000 Designated port : 128.5 Designated root : 61440.0.0000E9313131 Designated bridge : 61440.0.
Spanning Tree Algorithm Configuration • Trunk – Indicates if a port is a member of a trunk. (STA Port Configuration only) The following interface attributes can be configured: • Priority – Defines the priority used for this port in the Spanning Tree Protocol. If the path cost for all ports on a switch are the same, the port with the highest priority (i.e., lowest value) will be configured as an active link in the Spanning Tree.
Configuring the Switch • Migration – If at any time the switch detects STP BPDUs, including Configuration or Topology Change Notification BPDUs, it will automatically set the selected interface to forced STP-compatible mode. However, you can also use the Protocol Migration button to manually re-check the appropriate BPDU format (RSTP or STP-compatible) to send on the selected interfaces. (Default: Disabled) Web – Click Spanning Tree, STA, Port Configuration or Trunk Configuration.
VLAN Configuration VLANs provide greater network efficiency by reducing broadcast traffic, and allow you to make network changes without having to update IP addresses or IP subnets. VLANs inherently provide a high level of network security since traffic must pass through a configured Layer 3 link to reach a different VLAN. This switch supports the following VLAN features: • Up to 255 VLANs based on the IEEE 802.
Configuring the Switch Port Overlapping – Port overlapping can be used to allow access to commonly shared network resources among different VLAN groups, such as file servers or printers. Note that if you implement VLANs which do not overlap, but still need to communicate, you can connect them by enabled routing on this switch. Untagged VLANs – Untagged (or static) VLANs are typically used to reduce broadcast traffic and to increase security.
VLAN Configuration CLI – Enter the following command. Console#show bridge-ext Max support vlan numbers: 255 Max support vlan ID: 4093 Extended multicast filtering services: No Static entry individual port: Yes VLAN learning: IVL Configurable PVID tagging: Yes Local VLAN capable: No Traffic classes: Enabled GMRP: Disabled Console# 4-146 Displaying Current VLANs The VLAN Current Table shows the current port members of each VLAN and whether or not the port supports VLAN tagging.
Configuring the Switch Web – Click VLAN, 802.1Q VLAN, Current Table. Select any ID from the scroll-down list.
VLAN Configuration Creating VLANs Use the VLAN Static List to create or remove VLAN groups. To propagate information about VLAN groups used on this switch to external network devices, you must specify a VLAN ID for each of these groups. Command Attributes • Current – Lists all the current VLAN groups created for this system. Up to 255 VLAN groups can be defined. VLAN 1 is the default untagged VLAN. • New – Allows you to specify the name and numeric identifier for a new VLAN group.
Configuring the Switch Adding Static Members to VLANs (VLAN Index) Notes: 1. Use the VLAN Static Table to configure port members for the selected VLAN index. Assign ports as tagged if they are connected to 802.1Q VLAN compliant devices, or untagged they are not connected to any VLAN-aware devices.You can also use the VLAN Static Membership by Port page to configure VLAN groups based on the port index (page 3-93). However, note that this configuration page can only add ports to a VLAN as tagged members. 2.
VLAN Configuration Web – Click VLAN, 802.1Q VLAN, Static Table. Select a VLAN ID from the scroll-down list. Modify the VLAN name and status if required. Select the membership type by marking the appropriate radio button in the list of ports or trunks. Click Apply. CLI – The following example adds tagged and untagged ports to VLAN 2.
Configuring the Switch Web – Open VLAN, 802.1Q VLAN, Static Membership. Select an interface from the scroll-down box (Port or Trunk). Click Query to display membership information for the interface. Select a VLAN ID, and then click Add to add the interface as a tagged member, or click Remove to remove the interface. After configuring VLAN membership for each interface, click Apply. CLI – This example adds Port 3 to VLAN 1 as a tagged port, and removes Port 3 from VLAN 2.
VLAN Configuration • Ingress Filtering – Determines how to process frames tagged for VLANs for which the ingress port is not a member. (Default: Disabled) - Ingress filtering only affects tagged frames. - If ingress filtering is disabled and a port receives frames tagged for VLANs for which it is not a member, these frames will be flooded to all other ports (except for those VLANs explicitly forbidden on this port).
Configuring the Switch Web – Click VLAN, 802.1Q VLAN, Port Configuration or VLAN Trunk Configuration. Fill in the required settings for each interface, click Apply. CLI – This example sets port 3 to accept only tagged frames, assigns PVID 3 as the native VLAN ID, sets the GARP timers, and then sets the switchport mode to hybrid.
VLAN Configuration Enabling Private VLANs Use the Private VLAN Status page to enable/disable the Private VLAN function. Web – Click VLAN, Private VLAN, Status. Select Enable or Disable from the scroll-down box, and click Apply. CLI – This example enables private VLANs. Console(config)#pvlan Console(config)# 4-144 Configuring Uplink and Downlink Ports Use the Private VLAN Link Status page to set ports as downlink or uplink ports.
Configuring the Switch CLI – This example configures ports 13 and 14 as uplink ports and ports 1-8 as downlink ports.
Class of Service Configuration Command Attributes • Default Priority* – The priority that is assigned to untagged frames received on the specified interface. (Range: 0 - 7, Default: 0) • Number of Egress Traffic Classes – The number of queue buffers provided for each port. * The CLI displays this information as “Priority for untagged traffic.” Web – Click Priority, Default Port Priority or Default Trunk Priority. Modify the default priority for any interface, then click Apply.
Configuring the Switch Mapping CoS Values to Egress Queues This switch processes Class of Service (CoS) priority tagged traffic by using four priority queues for each port, with service schedules based on strict or Weighted Round Robin (WRR). Up to eight separate traffic priorities are defined in IEEE 802.1p. The default priority levels are assigned according to recommendations in the IEEE 802.1p standard as shown in the following table.
Class of Service Configuration Web – Click Priority, Traffic Classes. Mark an interface and click Select to display the current mapping of CoS values to output queues. Assign priorities to the traffic classes (i.e., output queues) for the selected interface, then click Apply. CLI – The following example shows how to change the CoS assignments to a one-to-one mapping.
Configuring the Switch CLI – The following sets the queue mode to strict priority service mode. Console(config)#queue mode strict Console(config)#exit Console#show queue mode 4-151 4-151 Queue mode: strict Console# Setting the Service Weight for Traffic Classes This switch uses the Weighted Round Robin (WRR) algorithm to determine the frequency at which it services each priority queue.
Class of Service Configuration CLI – The following example shows how to assign WRR weights to each of the priority queues. Console(config)#queue bandwidth 2 8 16 128 Console(config)#exit Console#show queue bandwidth Queue ID Weight -------- -----0 2 1 8 2 16 3 128 Console# 4-149 4-151 Mapping Layer 3/4 Priorities to CoS Values This switch supports several common methods of prioritizing layer 3/4 traffic to meet application requirements.
Configuring the Switch CLI – The following example enables IP Precedence service on the switch. Console(config)#map ip precedence Console(config)# 4-152 Mapping IP Precedence The Type of Service (ToS) octet in the IPv4 header includes three precedence bits defining eight different priority levels ranging from highest priority for network control packets to lowest priority for routine traffic. The default IP Precedence values are mapped one-to-one to Class of Service values (i.e.
Class of Service Configuration CLI – The following example globally enables IP Precedence service on the switch, maps IP Precedence value 1 to CoS value 0 (on port 1), and then displays the IP Precedence settings.
Configuring the Switch Web – Click Priority, IP DSCP Priority. Select an entry from the DSCP table, enter a value in the Class of Service Value field, then click Apply. CLI – The following example globally enables DSCP Priority service on the switch, maps DSCP value 0 to CoS value 1 (on port 1), and then displays the DSCP Priority settings.
Class of Service Configuration Mapping IP Port Priority In the IP Port Priority page, for each switch port or trunk, you can map IP ports (TCP/UDP ports) to the switch’s 4 traffic class queues. Command Attributes • Current IP Port Table – displays a list of IP ports with their mapped class of service queues. • IP Port – to set a new IP port number. • Class of Service – to set a new class of service for an IP port.
Configuring the Switch CLI – The following example shows IP Port 80 mapped to CoS value 0 for ethernet port 1. Console(config)#map ip port Console(config)#interface ethernet 1/5 Console(config-if)#map ip port 80 cos 0 Console(config-if)#end Console# show map ip port ethernet 1/5 TCP port mapping status: enabled 4-155 4-155 4-157 Port Port no.
Multicast Filtering Multicast Filtering Multicasting is used to support real-time applications such as videoconferencing or streaming audio. A multicast server does not have to establish a separate connection with each client. It merely broadcasts its service to the network, and any hosts that want to receive the multicast register with their local multicast switch/router.
Configuring the Switch Configuring IGMP Snooping and Query Parameters You can configure the switch to forward multicast traffic intelligently. Based on the IGMP query and report messages, the switch forwards traffic only to the ports that request multicast traffic. This prevents the switch from broadcasting the traffic to all ports and possibly disrupting network performance.
Multicast Filtering Web – Click IGMP Snooping, IGMP Configuration. Adjust the IGMP settings as required, and then click Apply. (The default settings are shown below.) CLI – This example modifies the settings for multicast filtering, and then displays the current status.
Configuring the Switch Web – Click IGMP Snooping, Multicast Router Port Information. Select the required VLAN ID from the scroll-down list to display the associated multicast routers. CLI – This example shows that Port 11 has been statically configured as a port attached to a multicast router.
Multicast Filtering Web – Click IGMP Snooping, Static Multicast Router Port Configuration. Specify the interfaces attached to a multicast router, indicate the VLAN which will forward all the corresponding multicast traffic, and then click Add. After you have finished adding interfaces to the list, click Apply. CLI – This example configures port 11 as a multicast router port within VLAN 1.
Configuring the Switch Web – Click IGMP Snooping, IP Multicast Registration Table. Select a VLAN ID and the IP address for a multicast service from the scroll-down lists. The switch will display all the interfaces that are propagating this multicast service. CLI – The following shows the multicast entries learned through IGMP snooping for VLAN 1: Console#show mac-address-table multicast vlan 1 igmp-snooping VLAN M'cast IP addr. Member ports Type ---- --------------- ------------ ------1 224.1.2.
Multicast Filtering Web – Click IGMP Snooping, IGMP Member Port Table. Specify the interface attached to a multicast service (via an IGMP-enabled switch or multicast router), indicate the VLAN that will propagate the multicast service, specify the multicast IP address, and click Add. After you have completed adding ports to the member list, click Apply. CLI – This example assigns a multicast address to VLAN 1, and then displays all the known multicast services supported on VLAN 1.
Configuring the Switch 3-116
Chapter 4: Command Line Interface This chapter describes how to use the Command Line Interface (CLI). Using the Command Line Interface Accessing the CLI When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt. Using the switch's command-line interface (CLI) is very similar to entering commands on a UNIX system.
Command Line Interface To access the switch through a Telnet session, you must first set the IP address for the switch, and set the default gateway if you are managing the switch from a different IP subnet. For example, Console(config)#interface vlan 1 Console(config-if)#ip address 10.1.0.254 255.255.255.0 Console(config-if)#exit Console(config)#ip default-gateway 10.1.0.
Entering Commands Entering Commands This section describes how to enter CLI commands. Keywords and Arguments A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration parameters. For example, in the command “show interfaces status ethernet 1/5,” show interfaces and status are keywords, ethernet is an argument that specifies the interface type, and 1/5 specifies the unit/port.
Command Line Interface Showing Commands If you enter a “?” at the command prompt, the system will display the first level of keywords for the current command class (Normal Exec or Privileged Exec) or configuration class (Global, ACL, Interface, Line, VLAN Database, or MSTP). You can also display a list of valid keywords for a specific command.
Entering Commands Negating the Effect of Commands For many configuration commands you can enter the prefix keyword “no” to cancel the effect of a command or reset the configuration to the default value. For example, the logging command will log system messages to a host server. To disable logging, specify the no logging command. This guide describes the negation effect for all applicable commands. Using Command History The CLI maintains a history of commands that have been entered.
Command Line Interface The system will now display the “Console#” command prompt. You can also enter Privileged Exec mode from within Normal Exec mode, by entering the enable command, followed by the privileged level password “super” (page 4-25). To enter Privileged Exec mode, enter the following user names and passwords: Username: admin Password: [admin login password] CLI session with the switch is opened. To end the CLI session, enter [Exit].
Entering Commands To enter the other modes, at the configuration prompt type one of the following commands. Use the exit or end command to return to the Privileged Exec mode.
Command Line Interface Command Groups The system commands can be broken down into the functional groups shown below.
Line Commands Line Commands You can access the onboard configuration program by attaching a VT100 compatible device to the server’s serial port. These commands are used to set communication parameters for the serial port or Telnet (i.e., a virtual terminal).
Command Line Interface Command Usage Telnet is considered a virtual terminal connection and will be shown as “Vty” in screen displays such as show users. However, the serial communication parameters (e.g., databits) do not affect Telnet connections. Example To enter console line mode, enter the following command: Console(config)#line console Console(config-line)# Related Commands show line (4-17) show users (4-53) login This command enables password checking at login.
Line Commands Example Console(config-line)#login local Console(config-line)# Related Commands username (4-24) password (4-11) 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. (Maximum length: 8 characters plain text, 32 encrypted, case sensitive) Default Setting No password is specified.
Command Line Interface exec-timeout This command sets the interval that the system waits until user input is detected. Use the no form to restore the default. Syntax exec-timeout [seconds] no exec-timeout seconds - Integer that specifies the number of seconds.
Line Commands Command Usage • When the logon attempt threshold is reached, the system interface becomes silent for a specified amount of time before allowing the next logon attempt. (Use the silent-time command to set this interval.) When this threshold is reached for Telnet, the Telnet logon interface shuts down. • This command applies to both the local console and Telnet connections.
Command Line Interface 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. 8 - Eight data bits per character. Default Setting 8 data bits per character Command Mode Line Configuration Command Usage The databits command can be used to mask the high bit on input from devices that generate 7 data bits with parity.
Line Commands Command Mode Line Configuration Command Usage Communication protocols provided by devices such as terminals and modems often require a specific parity bit setting. Example To specify no parity, enter this command: Console(config-line)#parity none Console(config-line)# speed This command sets the terminal line’s baud rate. This command sets both the transmit (to terminal) and receive (from terminal) speeds. Use the no form to restore the default setting.
Command Line Interface 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} • • 1 - One stop bit 2 - Two stop bits Default Setting 1 stop bit Command Mode Line Configuration Example To specify 2 stop bits, enter this command: Console(config-line)#stopbits 2 Console(config-line)# disconnect Use this command to terminate an SSH, Telnet, or console connection.
General Commands show line This command displays the terminal line’s parameters. Syntax show line [console | vty] • • console - Console terminal line. vty - Virtual terminal for remote console access (i.e., Telnet).
Command Line Interface enable This command activates Privileged Exec mode. In privileged mode, additional commands are available, and certain commands display additional information. See “Understanding Command Modes” on page 4-5. Syntax enable level level - Privilege level to log into the device. The device has two predefined privilege levels: 0: Normal Exec, 15: Privileged Exec. Enter level 15 to access Privileged Exec mode.
General Commands Command Usage The “>” character is appended to the end of the prompt to indicate that the system is in normal access mode. Example Console#disable Console> Related Commands enable (4-18) configure This command activates Global Configuration mode. You must enter this mode to modify any settings on the switch.
Command Line Interface 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# The ! command repeats commands from the Execution command history buffer when you are in Normal Exec or Privileged Exec Mode, and commands from the Configuration command history buffer when you are in any of the configuration
General Commands end This command returns to Privileged Exec mode. Default Setting None Command Mode Global Configuration, Interface Configuration, Line Configuration, VLAN Database Configuration, and Multiple Spanning Tree Configuration. Example This example shows how to return to the Privileged Exec mode from the Interface Configuration mode: Console(config-if)#end Console# exit This command returns to the previous configuration mode or exit the configuration program.
Command Line Interface Command Usage The quit and exit commands can both exit the configuration program. Example This example shows how to quit a CLI session: Console#quit Press ENTER to start session User Access Verification Username: System Management Commands These commands are used to control system logs, passwords, user names, browser configuration options, and display or configure a variety of other system information.
System Management Commands prompt This command customizes the CLI prompt. Use the no form to restore the default prompt. Syntax prompt string no prompt string - Any alphanumeric string to use for the CLI prompt. (Maximum length: 255 characters) Default Setting Console Command Mode Global Configuration Example Console(config)#prompt RD2 RD2(config)# hostname This command specifies or modifies the host name for this device. Use the no form to restore the default host name.
Command Line Interface User Access Commands The basic commands required for management access are listed in this section. This switch also includes other options for password checking via the console or a Telnet connection (page 4-9), user authentication via a remote authentication server (page 4-60), and host access authentication for specific ports (page 4-68).
System Management Commands Example This example shows how the set the access level and password for a user. Console(config)#username bob access-level 15 Console(config)#username bob password 0 smith Console(config)# enable password After initially logging onto the system, you should set the Privileged Exec password. Remember to record it in a safe place. This command controls access to the Privileged Exec level from the Normal Exec level. Use the no form to reset the default password.
Command Line Interface IP Filter Commands Command Function Mode Pag e management Configures IP addresses that are allowed management access GC 4-26 show management Displays the switch to be monitored or configured from a browser 4-27 PE management This command specifies the client IP addresses that are allowed management access to the switch through various protocols. Use the no form to restore the default setting.
System Management Commands Example This example restricts management access to the indicated addresses. Console(config)#management all-client 192.168.1.19 Console(config)#management all-client 192.168.1.25 192.168.1.30 Console# show management This command displays the client IP addresses that are allowed management access to the switch through various protocols.
Command Line Interface Web Server Commands Command ip http port Function Specifies the port to be used by the Web browser interface Mode Pag e GC 4-28 ip http server Allows the switch to be monitored or configured from a browser GC 4-28 ip http secure-server Enables HTTPS/SSL for encrypted communications GC 4-29 ip http secure-port Specifies the UDP port number for HTTPS/SSL GC 4-30 ip telnet server Enables Telnet access to the switch GC 4-30 ip http port This command specifies the TCP
System Management Commands Command Mode Global Configuration Example Console(config)#ip http server Console(config)# Related Commands ip http port (4-28) ip http secure-server This command enables the secure hypertext transfer protocol (HTTPS) over the Secure Socket Layer (SSL), providing secure access (i.e., an encrypted connection) to the switch’s Web interface. Use the no form to disable this function.
Command Line Interface Example Console(config)#ip http secure-server Console(config)# Related Commands ip http secure-port (4-30) copy tftp https-certificate (4-55) ip http secure-port This command specifies the UDP port number used for HTTPS/SSL 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 – The UDP port used for HTTPS/SSL.
System Management Commands Command Mode Global Configuration Example Console#config Console(config)#ip telnet server Console(config-line)# Secure Shell Commands The Berkley-standard includes remote access tools originally designed for Unix systems. Some of these tools have also been implemented for Microsoft Windows and other environments. These tools, including commands such as rsh (remote shell), and rexec (remote execute), are not secure from hostile attacks.
Command Line Interface Default Setting Disabled Command Mode Global Configuration Command Usage • The SSH server supports up to four 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.
System Management Commands Example Console(config)#ip ssh timeout 60 Console(config)# Related Commands exec-timeout (4-12) show ip ssh (4-34) ip ssh authentication-retries Use this command to configure the number of times the SSH server attempts to reauthenticate a user. Use the no form to restore the default setting. Syntax ip ssh authentication-retries count no ip ssh authentication-retries count – The number of authentication attempts permitted after which the interface is reset.
Command Line Interface Example Console#disconnect ssh 0 Console# show ip ssh Use this command to display the connection settings used when authenticating client access to the SSH server. Command Mode Privileged Exec Example Console#show ip ssh Information of secure shell SSH status: enable SSH authentication timeout: 120 SSH authentication retries: 3 Console# show ssh Use this command to display the current SSH server connections.
System Management Commands Event Logging Commands Command Function Mode Pag e logging on Controls logging of error messages GC 4-35 logging history Limits syslog messages saved to switch memory based on severity GC 4-36 logging host Adds a syslog server host IP address that will receive logging messages GC 4-37 logging facility Sets the facility type for remote logging of syslog messages GC 4-37 logging trap Limits syslog messages saved to a remote server based on severity GC 4-38 c
Command Line Interface logging history This command limits syslog messages saved to switch memory based on severity. The no form returns the logging of syslog messages to the default level. Syntax logging history {flash | ram} level no logging history {flash | ram} • • • 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). level - One of the level arguments listed below.
System Management Commands logging host This command adds a syslog server host IP address that will receive logging messages. Use the no form to remove a syslog server host. Syntax [no] logging host host_ip_address host_ip_address - The IP address of a syslog server. Default Setting None Command Mode Global Configuration Command Usage • By using this command more than once you can build up a list of host IP addresses. • The maximum number of host IP addresses allowed is five.
Command Line Interface Example Console(config)#logging facility 19 Console(config)# logging trap This command limits syslog messages saved to a remote server based on severity. Use the no form to return the remote logging of syslog messages to the default level. Syntax [no] logging trap level level - One of the level arguments listed below. Messages sent include the selected level up through level 0. (Refer to the table on page 4-36.
System Management Commands show logging This command displays the logging configuration, along with any system and event messages stored in memory. Syntax show logging {flash | ram | sendmail | trap} • • 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). sendmail - Displays settings for the SMTP event handler (page 4-43). trap - Displays settings for the trap function.
Command Line Interface The following example displays settings for the trap function. Console#show logging trap Syslog logging: Enable REMOTELOG status: disable REMOTELOG facility type: local use 7 REMOTELOG level type: Debugging messages REMOTELOG server IP address: 1.2.3.4 REMOTELOG server IP address: 0.0.0.0 REMOTELOG server IP address: 0.0.0.0 REMOTELOG server IP address: 0.0.0.0 REMOTELOG server IP address: 0.0.0.
System Management Commands logging sendmail host This command specifies SMTP servers that will be sent alert messages. Use the no form to remove an SMTP server. Syntax [no] logging sendmail host ip_address ip_address - IP address of an SMTP server that will be sent alert messages for event handling. Default Setting None Command Mode Global Configuration Command Usage • You can specify up to three SMTP servers for event handing. However, you must enter a separate command to specify each server.
Command Line Interface Command Usage The specified level indicates an event threshold. All events at this level or higher will be sent to the configured email recipients. (For example, using Level 7 will report all events from level 7 to level 0.) Example This example will send email alerts for system errors from level 3 through 0. Console(config)#logging sendmail level 3 Console(config)# logging sendmail source-email This command sets the email address used for the “From” field in alert messages.
System Management Commands Command Mode Global Configuration Command Usage You can specify up to five recipients for alert messages. However, you must enter a separate command to specify each recipient. Example Console(config)#logging sendmail destination-email ted@this-company.com Console(config)# logging sendmail This command enables SMTP event handling. Use the no form to disable this function.
Command Line Interface Example Console#show logging sendmail SMTP servers ----------------------------------------------192.168.1.19 SMTP minimum severity level: 7 SMTP destination email addresses ----------------------------------------------ted@this-company.com SMTP source email address: bill@this-company.com SMTP status: Enable Console# Time Commands The system clock can be dynamically set by polling a set of specified time servers (NTP or SNTP), or by using information broadcast by local time servers.
System Management Commands 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 (e.g., 00:00:00, Jan. 1, 2001). • This command enables client time requests to time servers specified via the sntp servers command. It issues time synchronization requests based on the interval set via the sntp poll command.
Command Line Interface Command Usage This command specifies time servers from which the switch will poll for time updates when set to SNTP client mode. The client will poll the time servers in the order specified until a response is received. It issues time synchronization requests based on the interval set via the sntp poll command. Example Console(config)#sntp server 10.1.0.
System Management Commands sntp broadcast client This command synchronizes the switch’s clock based on time broadcast from time servers (using the multicast address 224.0.1.1). Use the no form to disable SNTP broadcast client mode.
Command Line Interface clock timezone This command sets the time zone for the switch’s internal clock. Syntax clock timezone name hour hours minute minutes {before-utc | after-utc} • • • • • name - Name of time zone, usually an acronym. (Range: 1-29 characters) hours - Number of hours before/after UTC. (Range: 1-12 hours) minutes - Number of minutes before/after UTC. (Range: 0-59 minutes) before-utc - Sets the local time zone before (east) of UTC. after-utc - Sets the local time zone after (west) of UTC.
System Management Commands Default Setting None Command Mode Privileged Exec Example This example shows how to set the system clock to 15:12:34, February 1st, 2002. Console#calendar set 15:12:34 1 February 2002 Console# show calendar This command displays the system clock.
Command Line Interface Command Mode Privileged Exec Command Usage • Use this command in conjunction with the show running-config command to compare the information in running memory to the information stored in non-volatile memory. • This command displays settings for key command modes. Each mode group is separated by “!” symbols, and includes the configuration mode command, and corresponding commands.
System Management Commands Example Console#show startup-config building startup-config, please wait.....
Command Line Interface Command Usage • Use this command in conjunction with the show startup-config command to compare the information in running memory to the information stored in non-volatile memory. • This command displays settings for key command modes. Each mode group is separated by “!” symbols, and includes the configuration mode command, and corresponding commands.
System Management Commands Related Commands show startup-config (4-49) show system This command displays system information. Default Setting None Command Mode Normal Exec, Privileged Exec Command Usage • For a description of the items shown by this command, refer to “Displaying System Information” on page 3-7. • The POST results should all display “PASS.” If any POST test indicates “FAIL,” contact your distributor for assistance.
Command Line Interface Command Mode Normal Exec, Privileged Exec Command Usage The session used to execute this command is indicated by a “*” symbol next to the Line (i.e., session) index number. Example Console#show users Username accounts: Username Privilege Public-Key -------- --------- ---------admin 15 None guest 0 None Online users: Line Username Idle time (h:m:s) Remote IP addr. ----------- -------- ----------------- --------------* 0 console admin 0:00:00 1 vty 0 admin 0:04:37 10.1.0.
Flash/File Commands Flash/File Commands These commands are used to manage the system code or configuration files.
Command Line Interface Command Usage • The system prompts for data required to complete the copy command. • The destination file name should not contain slashes (\ or /), the leading letter of the file name should not be a period (.), and the maximum length for file names on the TFTP server is 127 characters or 31 characters for files on the switch. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”) • Due to the size limit of the flash memory, the switch supports only two operation code files.
Flash/File Commands 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. Success. Console# This example shows how to copy a secure-site certificate from an TFTP server. It then reboots the switch to activate the certificate: Console#copy tftp https-certificate TFTP server ip address: 10.1.0.
Command Line Interface dir This command displays a list of files in flash memory. Syntax dir [boot-rom | config | opcode [:filename]] The type of file or image to display includes: • • • • boot-rom - Boot ROM (or diagnostic) image file. config - Switch configuration file. opcode - Run-time operation code image file. filename - Name of the file or image. If this file exists but contains errors, information on this file cannot be shown.
Flash/File Commands whichboot This command displays which files were booted when the system powered up. Default Setting None Command Mode Privileged Exec 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.
Command Line Interface Related Commands dir (4-58) whichboot (4-59) Authentication Commands You can configure this switch to authenticate users logging into the system for management access using local or RADIUS authentication methods. You can also enable port-based authentication for network client access using IEEE 802.1x.
Authentication Commands • RADIUS and TACACS+ logon authentication assigns a specific privilege level for each user name and password pair. The user name, password, and privilege level must be configured on the authentication server. • You can specify three authentication methods in a single command to indicate the authentication sequence. For example, if you enter “authentication login radius tacacs local,” the user name and password on the RADIUS server is verified first.
Command Line Interface Command Mode Global Configuration Example Console(config)#radius-server host 192.168.1.25 Console(config)# radius-server port This command sets the RADIUS server network port. Use the no form to restore the default. Syntax radius-server port port_number no radius-server port port_number - RADIUS server UDP port used for authentication messages.
Authentication Commands Example Console(config)#radius-server key green Console(config)# radius-server retransmit This command sets the number of retries. Use the no form to restore the default. Syntax radius-server retransmit number_of_retries no radius-server retransmit number_of_retries - Number of times the switch will try to authenticate logon access via the RADIUS server.
Command Line Interface show radius-server This command displays the current settings for the RADIUS server. Default Setting None Command Mode Privileged Exec Example Console#show radius-server Server IP address: 10.1.0.
Authentication Commands Example Console(config)#tacacs-server host 192.168.1.25 Console(config)# 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.
Command Line Interface Example Console(config)#tacacs-server key green Console(config)# show tacacs-server This command displays the current settings for the TACACS+ server. Default Setting None Command Mode Privileged Exec Example Console#show tacacs-server Remote TACACS server configuration: Server IP address: 10.11.12.
Authentication Commands port security This command enables or configures port security. Use the no form without any keywords to disable port security. Use the no form with the appropriate keyword to restore the default settings for a response to security violation or for the maximum number of allowed addresses.
Command Line Interface Example The following example enables port security for port 5, and sets the response to a security violation to issue a trap message: Console(config)#interface ethernet 1/5 Console(config-if)#port security action trap Related Commands shutdown (4-89) mac-address-table static (4-122) show mac-address-table (4-123) 802.1x Port Authentication The switch supports IEEE 802.
Authentication Commands Default Setting RADIUS Command Mode Global Configuration Example Console(config)#authentication dot1x default radius Console(config)# dot1x default This command sets all configurable dot1x global and port settings to their default values.
Command Line Interface 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 – Requires a dot1x-aware connected client to be authorized by the RADIUS server. Clients that are not dot1x-aware will be denied access. force-authorized – Configures the port to grant access to all clients, either dot1x-aware or otherwise.
Authentication Commands Example Console(config)#interface eth 1/2 Console(config-if)#dot1x operation-mode multi-host max-count 10 Console(config-if)# dot1x re-authenticate This command forces re-authentication on all ports or a specific interface. Syntax dot1x re-authenticate interface interface • ethernet unit/port - unit - This is device 1. - port - Port number.
Command Line Interface Default 60 seconds Command Mode Global Configuration Example Console(config)#dot1x timeout quiet-period 350 Console(config)# dot1x timeout re-authperiod This command sets the time period after which a connected client must be re-authenticated. Syntax dot1x timeout re-authperiod seconds no dot1x timeout re-authperiod seconds - The number of seconds.
Authentication Commands Example Console(config)#dot1x timeout tx-period 300 Console(config)# show dot1x This command shows general port authentication related settings on the switch or a specific interface. Syntax show dot1x [statistics] [interface interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. Command Mode Privileged Exec Command Usage This command displays the following information: • Global 802.
Command Line Interface • Authenticator State Machine - State– Current state (including initialize, disconnected, connecting, authenticating, authenticated, aborting, held, force_authorized, force_unauthorized). - Reauth Count– Number of times connecting state is re-entered. • 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.
Authentication Commands Example Console#show dot1x Global 802.1X Parameters reauth-enabled: yes reauth-period: 300 quiet-period: 350 tx-period: 300 supp-timeout: 30 server-timeout: 30 reauth-max: 2 max-req: 2 802.1X Port Summary Port Name Status 1 disabled 2 disabled . . . 25 disabled 26 enabled Mode ForceAuthorized ForceAuthorized Authorized n/a n/a ForceAuthorized Auto yes yes 802.1X Port Details 802.1X is disabled on port 1 . . . 802.
Command Line Interface 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 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.
Command Line Interface Example Console(config)#snmp-server location WC-19 Console(config)# Related Commands snmp-server contact (4-77) 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 community-string [version {1 | 2c}] no snmp-server host host-addr • • • host-addr - Internet address of the host (the targeted recipient).
SNMP Commands Example Console(config)#snmp-server host 10.1.19.23 batman Console(config)# Related Commands snmp-server enable traps (4-79) snmp-server enable traps This command enables this device to send Simple Network Management Protocol traps (SNMP notifications). Use the no form to disable SNMP notifications. Syntax [no] snmp-server enable traps [authentication | link-up-down] • • authentication - Keyword to issue authentication failure traps.
Command Line Interface snmp ip filter This command sets the IP addresses of clients that are allowed management access to the switch via SNMP. Use the no form the remove an IP address. Syntax [no] snmp ip filter ip_address subnet_mask • • ip_address - An IP address indicating a client or group of clients that are allowed SNMP access to the switch. subnet_mask - An address bitmask of decimal numbers that represent the address bits to match.
SNMP Commands show snmp This command checks 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 SNMP logging has been enabled with the snmp-server enable traps command. Example Console#show snmp SNMP traps: Authentication: enable Link-up-down: enable SNMP communities: 1.
Command Line Interface DHCP Commands These commands are used to configure Dynamic Host Configuration Protocol (DHCP) client. You can configure any VLAN interface to be automatically assigned an IP address via DHCP.
DHCP Commands 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 via the ip address command. • DHCP requires the server to reassign the client’s last address if available.
Command Line Interface Interface Commands These commands are used to display or set communication parameters for an Ethernet port, aggregated link, or VLAN.
Interface Commands Command Mode Global Configuration Example To specify port 24, enter the following command: Console(config)#interface ethernet 1/24 Console(config-if)# description This command adds a description to an interface. Use the no form to remove the description. Syntax description string no description string - Comment or a description to help you remember what is attached to this interface.
Command Line Interface Default Setting • Auto-negotiation is enabled by default. • When auto-negotiation is disabled, the default speed-duplex setting is 100half for 100BASE-TX ports and 1000full for Gigabit Ethernet ports. Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • To force operation to the speed and duplex mode specified in a speed-duplex command, use the no negotiation command to disable auto-negotiation on the selected interface.
Interface Commands Command Usage • When auto-negotiation is enabled 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 and flowcontrol commands. • If autonegotiation is disabled, auto-MDI/MDI-X pin signal configuration will also be disabled for the RJ-45 ports. Example The following example configures port 11 to use autonegotiation.
Command Line Interface Command Usage 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 and flowcontrol commands. Example The following example configures Ethernet port 5 capabilities to 100half, 100full and flow control.
Interface Commands Example The following example enables flow control on port 5. Console(config)#interface ethernet 1/5 Console(config-if)#flowcontrol Console(config-if)#no negotiation Console(config-if)# Related Commands negotiation (4-86) capabilities (4-87) shutdown This command disables an interface. To restart a disabled interface, use the no form. Syntax [no] shutdown Default Setting All interfaces are enabled.
Command Line Interface Default Setting Enabled for all ports Packet-rate limit: 500 packets per second Command Mode Interface Configuration (Ethernet) Command Usage • When broadcast traffic exceeds the specified threshold, packets above that threshold are dropped. • This command can enable or disable broadcast storm control for the selected interface. However, the specified threshold value applies to all ports on the switch.
Interface Commands Example The following example clears statistics on port 5. Console#clear counters ethernet 1/5 Console# show interfaces status This command displays the status for an interface. Syntax show interfaces status [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Value: 1) • vlan vlan-id (Range: 1-4093) Default Setting Shows the status for all interfaces.
Command Line Interface Example Console#show interfaces status ethernet 1/1 Information of Eth 1/1 Basic information: Port type: 100TX-EFM Mac address: 00-01-00-02-00-04 Configuration: Name: Port admin: Up Speed-duplex: Auto Capabilities: 10half, 10full, 100half, 100full, Broadcast storm: Enabled Broadcast storm limit: 650 packets/second Flow control: Disabled Lacp: Disabled Port security: Disabled Max MAC count: 0 Port security action: None Current status: Link status: Up Port operation status: Up Operation
Interface Commands Example Ethernet 1/ 1 Iftable stats: Octets input: 113404, Octets output: 742007 Unicast input: 739, Unicast output: 836 Discard input: 0, Discard output: 0 Error input: 0, Error output: 0 Unknown protos input: 0, QLen output: 0 Extended iftable stats: Multi-cast input: 482, Multi-cast output: 9 Broadcast input: 38, Broadcast output: 0 Ether-like stats: Alignment errors: 0, FCS errors: 0 Single Collision frames: 0, Multiple collision frames: 0 SQE Test errors: 0, Deferred transmissions: 0
Command Line Interface Command Usage If no interface is specified, information on all interfaces is displayed. Example This example shows the configuration setting for port 2.
Mirror Port Commands Mirror Port Commands This section describes how to mirror traffic from a source port to a target port. Mode Page port monitor Command Configures a mirror session Function IC 4-95 show port monitor Shows the configuration for a mirror port PE 4-96 port monitor This command configures a mirror session. Use the no form to clear a mirror session.
Command Line Interface Example The following example configures the switch to mirror all packets from port 6 to 11: Console(config)#interface ethernet 1/11 Console(config-if)#port monitor ethernet 1/6 both Console(config-if)# show port monitor This command displays mirror information. Syntax show port monitor [interface] interface - ethernet unit/port (source port) • unit - Switch (unit 1) • port - Port number Default Setting Shows all sessions.
Rate Limit Commands Rate Limit Commands This function allows the network manager to control the maximum rate for traffic transmitted or received on an interface. Rate limiting is configured on interfaces at the edge of a network to limit traffic into or out of the network. Traffic that falls within the rate limit is transmitted, while packets that exceed the acceptable amount of traffic are dropped. Rate limiting can be applied to individual ports or trunks.
Command Line Interface 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. For static trunks, the switches have to comply with the Cisco EtherChannel standard. For dynamic trunks, the switches have to comply with LACP.
Link Aggregation Commands • However, if the port channel admin key is set, then the port admin key must be set to the same value for a port to be allowed to join a channel group. • If a link goes down, LACP port priority is used to select the backup link. 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 (Value: 1) Default Setting The current port will be added to this trunk.
Command Line Interface 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. • If the target switch has also enabled LACP on the connected ports, the trunk will be activated automatically.
VDSL Commands VDSL Commands These commands are used to to configure and display communication parameters for VDSL and Ethernet ports on the switch and connected CPEs.
Command Line Interface efm profile global Use this command to batch assign profiles for speed to all the VDSL ports on the switch. Syntax efm profile global profile name profile name - Name of the profile. Default Setting Default Profile Command Mode Global Configuration Command Usage Assigns the same profile to each VDSL switch port. Details of these profiles are given in the table below. Profile Name ProfileType Downstream Rate (Mbps) Upstream Rate (Mbps) Default Public 1.20 1.
VDSL Commands 2. A suffix of “A” in the profile name (e.g., S2-16-16A) indicates that this profile is for both VDSL and ADSL lines in a bundle. Profiles without a suffix of “A” in the profile name (e.g., S1-16-16) are for VDSL lines only. 3. The following profiles are recommended for use with this switch: S1-16-16, S2-16-16A, A1-34-11, and- A2-34-11A. 4. The maximum distances for VDSL links using the recommended profiles are: Upstream Downstream Mode Max.
Command Line Interface Example The following example assigns EFM profile S1-16-16 to VDSL port 1. Console#config Console(config)#interface ethernet 1/1 Console(config-if)#efm profile S1-16-16 Console(config-if)# Related Commands efm profile global (4-102) efm reset Use this command to reset the switch VDSL chipset or, if a CPE is connected, the CPE VDSL chipset. Syntax efm reset {local | remote} • local - Resets the CO-side VDSL chipset for a VDSL port.
VDSL Commands Command Mode Interface Configuration Command Usage Use this command to disable the VDSL chipset transmitter of a VDSL port that is not connected to a working CPE. In some unusual circumstances, the power emitted by VDSL ports can affect other VDSL ports. It is recommended that ports that are not wired to CPEs be shut down in this way. Also use this command to disable access to the switch from this port. Example The following example disables VDSL port 1.
Command Line Interface efm interleave This command sets the interleave parameters for the selected VDSL port. Syntax efm interleave [downstream M value] [upstream M value] [downstream I value] [upstream I value] no efm interleave • M value – M is the interleaving depth index. Range: 0-64 • I value – I is the interleaving block length. Range: 4 or 8 Default Setting • • M – The interleaving depth index. Upstream default value: 8, Downstream default value: 16 I – The interleaving block length.
VDSL Commands efm noise-margin This command sets the noise margin of the selected VDSL port. Use the no form of this command to disable this feature. Syntax efm noise-margin [downstream noise margin] [upstream noise margin] no efm noise-margin • downstream noise margin - A measure of the amount of noise that the downstream VDSL line can tolerate before the signal is affected.
Command Line Interface Profile Name Theoretical Minimum Signal-to-Noise Ratio (dB) DS1 DS2 US1 US2 A6-22-3A 26 10 17 10 A7-40-5A 32 23 17 Not Used A8-46-7A 35 26 23 14 TLAN 32 10 29 10 Max-Rate 41 41 41 41 Example The following example configures VDSL port 1 with an upstream noise margin of 6, and a downstream noise margin of 6.
VDSL Commands efm pbo This command enables and disables power back-off on the selected VDSL port. Syntax [no] efm pbo Default Setting Enabled Command Mode Interface Configuration Command Usage If PBO is enabled, the power of transmission from the port will automatically be adjusted to ensure that the signal successfully reaches the receive port. Example The following example enables power back-off for port 1.
Command Line Interface Example Console#show controllers ethernet-controller ethernet 1/2 Ethernet 1/2 : EFM PHY on Switch: Transmit 9671624 Bytes Transmitted 8487 Frames Transmitted 0 Pause frames 0 Single Collision Frames 0 Multiple collisions 0 Late collisions 0 Excessive collisions 0 Deferred frames 0 Carrier sense errors Receive 1406434 17551 0 0 0 0 0 0 EFM MAC on Transmit 0 0 0 0 0 0 0 0 0 Bytes Received Frames Received Broadcast frames Pause frames Alignment errors Collisions and Runts Oversize fram
VDSL Commands show controllers efm actual Use this command to display the current values of the VDSL link on a specific VDSL port. Syntax show controllers efm interface-id actual {dsrserrs | usrserrs | txpower | rxpower | snr | link} • • • • interface-id - ID of the VDSL port. dsrserrs - Displays the downstream Reed-Solomon errors on the VDSL port. link - Displays the VDSL link status of the VDSL port.
Command Line Interface Related Commands show controllers efm admin (4-112) show controllers efm profile (4-112) show controllers efm admin Use this command to display the actual values of the VDSL link on a specific VDSL port. Syntax show controllers efm interface-id admin {dsrate | usrate} • interface-id - ID of the VDSL port. • dsrate - Displays the downstream rate (Mbps) of the VDSL link. • usrate - Displays the upstream rate (Mbps) of the VDSL link.
VDSL Commands Command Mode Privileged EXEC Command Usage See efm profile global (4-102) for the VDSL profiles shipped with the switch, and for the their upstream and downstream data rates. Examples This example displays VDSL profiles and link status for the switch’s VDSL ports.
Command Line Interface show controllers efm status Use this command to display the VDSL link statistics and profile information on a specific VDSL port including link state, link duration, data rates, power levels, signal-to-noise ratio, and Reed-Solomon errors. Syntax show controllers efm status {link | profile} interface-id • interface-id - ID of the VDSL port • link - Displays VDSL link parameters and status. • profile - Displays VDSL link parameters and status.
VDSL Commands This example displays the link status, uptime, profile name, downstream and upstream rates, and the number of link failures for the switch’s VDSL ports.
Command Line Interface show controllers efm-noise-margin This command displays the noise margin for the switch’s VDSL ports. Syntax show controllers efm noise-margin Default Setting Default: 0 dBm Command Mode Privileged EXEC Example This example displays the downstream (DS) and upstream (US) noise-margin for the switch’s VDSL ports.
VDSL Commands show controllers efm channel-performance This command displays the channel performance for the channels in a VDSL line. For details see “Displaying VDSL Interface Information” on page 3-66.
Command Line Interface Example Console#show controllers efm line-table VDSL_LINE_ENTRY : Ethernet 1/1 Line Coding Ethernet 1/1 Line Type Ethernet 1/1 Line Config Profile Ethernet 1/1 Line Alarm Config Profile . . . 3 4 DEFVAL DEFVAL VDSL_LINE_ENTRY : Ethernet 1/12 Line Coding Ethernet 1/12 Line Type Ethernet 1/12 Line Config Profile Ethernet 1/12 Line Alarm Config Profile Console# Parameter Line Coding 3 4 DEFVAL DEFVAL Description Specifies the VDSL coding type used on this line. 1.
VDSL Commands Command Mode Privileged EXEC Example Console#show controllers efm phy-table vtu-c 1/1 VDSL_PHYS_ENTRY : Ethernet 1/1 Serial Number Ethernet 1/1 Vendor ID Ethernet 1/1 Version Number Ethernet 1/1 Current Signal to Noise Ratio Margin Ethernet 1/1 Current Attenuation Ethernet 1/1 Current Status Ethernet 1/1 Current Output Power Ethernet 1/1 Current Attainable Rate Ethernet 1/1 Current Line Rate ACCTON 91 45 54 0 -12 1350000 1350000 Console# show controllers efm channel-table This command displ
Command Line Interface show controllers efm current-performance Use this command to display line and channel performance data information for the current 15 minute interval, and for the current day.
VDSL Commands Example Console#show controllers efm current-performance vtu-c 1/1 VDSL_PERF_DATA_ENTRY : Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 Loss of Framing Loss of Signal Loss of Power Loss of Link Errored Seconds Severely Errored Seconds Unavailable Seconds Line Initialization Attempts 0 0 0 0 0 0 0 0 Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1
Command Line Interface 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.
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. • A static address cannot be learned on another port until the address is removed with the no form of this command.
Command Line Interface Command Usage • The MAC Address Table contains the MAC addresses associated with each interface. Note that the Type field may include the following types: • Learned - Dynamic address entries • Permanent - Static entry • Delete-on-reset - Static entry to be deleted when system is reset • The mask should be hexadecimal numbers (representing an equivalent bit mask) in the form xx-xx-xx-xx-xx-xx that is applied to the specified MAC address.
Spanning Tree Commands show mac-address-table aging-time This command shows the aging time for entries in the address table. Default Setting None Command Mode Privileged Exec Example Console#show mac-address-table aging-time Aging time: 300 sec. Console# Spanning Tree Commands This section includes commands that configure the Spanning Tree Algorithm (STA) globally for the switch, and commands that configure STA for the selected interface.
Command Line Interface spanning-tree This command enables the Spanning Tree Algorithm globally for the switch. Use the no form to disable it. Syntax [no] spanning-tree Default Setting Spanning tree is enabled. Command Mode Global Configuration Command Usage The Spanning Tree Algorithm (STA) can be used to detect and disable network loops, and to provide backup links between switches, bridges or routers.
Spanning Tree Commands • Rapid Spanning Tree Protocol RSTP supports connections to either STP or RSTP nodes by monitoring the incoming protocol messages and dynamically adjusting the type of protocol messages the RSTP node transmits, as described below: - STP Mode – If the switch receives an 802.1D BPDU after a port’s migration delay timer expires, the switch assumes it is connected to an 802.1D bridge and starts using only 802.1D BPDUs. - RSTP Mode – If RSTP is using 802.
Command Line Interface Example Console(config)#spanning-tree forward-time 20 Console(config)# spanning-tree hello-time This command configures the spanning tree bridge hello time globally for this switch. Use the no form to restore the default. Syntax spanning-tree hello-time time no spanning-tree hello-time time - Time in seconds. (Range: 1-10 seconds). The maximum value is the lower of 10 or [(max-age / 2) -1].
Spanning Tree Commands Command Usage This command sets the maximum time (in seconds) a device can wait without receiving a configuration message before attempting to reconfigure. All device ports (except for designated ports) should receive configuration messages at regular intervals. Any port that ages out STA information (provided in the last configuration message) becomes the designated port for the attached LAN.
Command Line Interface spanning-tree pathcost method This command configures the path cost method used for Rapid Spanning Tree. Use the no form to restore the default. 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. short - Specifies 16-bit based values that range from 1-65535.
Spanning Tree Commands Example Console(config)#spanning-tree transmission-limit 4 Console(config)# spanning-tree cost This command configures the spanning tree path cost for the specified interface. Use the no form to restore the default. Syntax spanning-tree cost cost no spanning-tree cost cost - The path cost for the port.
Command Line Interface spanning-tree port-priority This command configures the priority for the specified interface. Use the no form to restore the default. 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 128 Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • This command defines the priority for the use of a port in the Spanning Tree Algorithm.
Spanning Tree Commands Command Usage • You can enable this option if an interface is attached to a LAN segment that is at the end of a bridged LAN or to an end node. Since end nodes cannot cause forwarding loops, they can pass directly through to the spanning tree forwarding state.
Command Line Interface Example Console(config)#interface ethernet 1/5 Console(config-if)#bridge-group 1 portfast Console(config-if)# Related Commands spanning-tree edge-port (4-132) spanning-tree link-type This command configures the link type for Rapid 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. point-to-point - Point-to-point link.
Spanning Tree Commands spanning-tree protocol-migration This command re-checks the appropriate BPDU format to send on the selected interface. Syntax spanning-tree protocol-migration interface interface • ethernet unit/port - unit - This is device 1. - port - Port number.
Command Line Interface Command Usage • Use the show spanning-tree command with no parameters to display the spanning tree configuration for the switch and for every interface in the tree. • Use the show spanning-tree interface command to display the spanning tree configuration for an interface. • For a description of the items displayed under “Spanning-tree information,” see “Configuring Global Settings” on page 3-79.
VLAN Commands 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.
Command Line Interface Example Console(config)#vlan database Console(config-vlan)# Related Commands show vlan (4-143) 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}] no vlan vlan-id [name | state] • • • • vlan-id - ID of configured VLAN. (Range: 1-4093, no leading zeroes) name - Keyword to be followed by the VLAN name. vlan-name - ASCII string from 1 to 32 characters.
VLAN Commands Configuring VLAN Interfaces Command Function Mode Page interface vlan Enters interface configuration mode for a specified VLAN IC 4-139 switchport mode Configures VLAN membership mode for an interface IC 4-140 switchport acceptable-frame-types Configures frame types to be accepted by an interface IC 4-140 switchport ingress-filtering Enables ingress filtering on an interface IC 4-141 switchport native vlan Configures the PVID (native VLAN) of an interface IC 4-142 switc
Command Line Interface switchport mode This command configures the VLAN membership mode for a port. Use the no form to restore the default. Syntax switchport mode {trunk | hybrid} no switchport mode • • 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. However, note that frames belonging to the port’s default VLAN (i.e., associated with the PVID) are sent untagged.
VLAN Commands Command Usage When set to receive all frame types, any received frames that are untagged are assigned to the default VLAN. Example The following example shows how to restrict the traffic received on port 1 to tagged frames: Console(config)#interface ethernet 1/1 Console(config-if)#switchport acceptable-frame-types tagged Console(config-if)# Related Commands switchport mode (4-140) switchport ingress-filtering This command enables ingress filtering for an interface.
Command Line Interface switchport native vlan This command configures the PVID (i.e., default VLAN ID) for a port. Use the no form to restore the default. Syntax switchport native vlan vlan-id no switchport native vlan vlan-id - Default VLAN ID for a port.
VLAN Commands Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • A port, or a trunk with switchport mode set to hybrid, must be assigned to at least one VLAN as untagged. • If a trunk has switchport mode set to trunk (i.e., 1Q Trunk), then you can only assign an interface to VLAN groups as a tagged member. • Frames are always tagged within the switch.
Command Line Interface Default Setting Shows all VLANs.
Configuring Private VLANs Command Usage A Private VLAN allows modification of the default VLAN to provide port-based security and isolation between ports within the VLAN. Data traffic on the downlink ports can only be forwarded to, and from, the uplink port. Private VLANs and normal VLANs can exist simultaneously within the same switch. Example This example globally enables private vlan, and then configures ports 13 and 14 as uplink ports, and ports 1-8 as downlink ports.
Command Line Interface Bridge Extension Commands This section describes how to display default configuration settings for the Bridge Extension MIB. Command show bridge-ext Function Shows the global bridge extension configuration Mode Pag e PE 4-146 show bridge-ext This command shows the configuration for bridge extension commands.
Priority Commands Priority Commands The commands described in this section allow you to specify which data packets have greater precedence when traffic is buffered in the switch due to congestion. This switch supports CoS with four priority queues for each port. Data packets in a port’s high-priority queue will be transmitted before those in the lower-priority queues.
Command Line Interface Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority. • The default priority applies for an untagged frame received on a port set to accept all frame types (i.e, receives both untagged and tagged frames). This priority does not apply to IEEE 802.1Q VLAN tagged frames. If the incoming frame is an IEEE 802.1Q VLAN tagged frame, the IEEE 802.
Priority Commands Command Usage You can set the switch to service the queues based on a strict rule that requires all traffic in a higher priority queue to be processed before lower priority queues are serviced, or use Weighted Round-Robin (WRR) queuing that specifies a relative weight of each queue. WRR uses a predefined relative weight for each queue that determines the percentage of service time the switch services each queue before moving on to the next queue.
Command Line Interface queue cos-map This command assigns class of service (CoS) values to the priority queues (i.e., hardware output queues 0 - 3). Use the no form set the CoS map to the default values. Syntax queue cos-map queue_id [cos1 ... cosn] no queue cos-map • • • queue_id - The ID of the priority queue. Ranges are 0 to 4, where 4 is the highest priority queue. cos1 .. cosn - The CoS values that are mapped to the queue ID. It is a space-separated list of numbers.
Priority Commands show queue mode This command shows the current queue mode. Default Setting None Command Mode Privileged Exec Example Console#sh queue mode Wrr status: Enabled Console# show queue bandwidth This command displays the weighted round-robin (WRR) bandwidth allocation for the eight priority queues.
Command Line Interface Command Mode Privileged Exec Example Console#show queue Information of Eth Traffic Class : 0 Priority Queue: 0 Console# cos-map ethernet 1/1 1/1 1 2 3 4 5 6 7 0 0 1 1 2 3 2 Priority Commands (Layer 3 and 4) Command map ip precedence Function Mode Page Enables IP precedence class of service mapping GC 4-152 map ip precedence Maps IP precedence value to a class of service IC 4-153 map ip dscp Enables IP DSCP class of service mapping GC 4-153 map ip dscp Maps IP DSCP va
Priority Commands map ip precedence (Interface Configuration) This command sets IP precedence priority (i.e., IP Type of Service priority). Use the no form to restore the default table. Syntax map ip precedence ip-precedence-value cos cos-value no map ip precedence • • precedence-value - 3-bit precedence value. (Range: 0-7) cos-value - Class-of-Service value (Range: 0-7) Default Setting The list below shows the default priority mapping.
Command Line Interface Command Usage • The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority. • IP Precedence and IP DSCP cannot both be enabled. Enabling one of these priority types will automatically disable the other type. Example The following example shows how to enable IP DSCP mapping globally: Console(config)#map ip dscp Console(config)# map ip dscp (Interface Configuration) This command sets IP DSCP priority (i.e.
Priority Commands Example The following example shows how to map IP DSCP value 1 to CoS value 0: Console(config)#interface ethernet 1/5 Console(config-if)#map ip dscp 1 cos 0 Console(config-if)# map ip port (Global Configuration) Use this command to enable IP port mapping (i.e., class of service mapping for TCP/UDP sockets). Use the no form to disable IP port mapping.
Command Line Interface show map ip precedence This command shows the IP precedence priority map. Syntax show map ip precedence interface interface • ethernet unit/port - unit - This is device 1. - port - Port number.
Priority Commands Default Setting None Command Mode Privileged Exec Example Console#show map ip dscp ethernet 1/1 DSCP mapping status: disabled Port DSCP COS --------- ---- --Eth 1/ 1 0 0 Eth 1/ 1 1 0 Eth 1/ 1 2 0 Eth 1/ 1 3 0 . . . Eth 1/ 1 61 0 Eth 1/ 1 62 0 Eth 1/ 1 63 0 Console# Related Commands map ip dscp (Global Configuration) (4-153) map ip dscp (Interface Configuration) (4-154) show map ip port Use this command to show the IP port priority map.
Command Line Interface Example The following shows that HTTP traffic has been mapped to CoS value 0: Console#show map ip port TCP port mapping status: disabled Port Port no. COS --------- -------- --Eth 1/ 5 80 0 Console# Related Commands map ip port (Interface Configuration) (4-155) Multicast Filtering Commands This switch uses IGMP (Internet Group Management Protocol) to query for any attached hosts that want to receive a specific multicast service.
Multicast Filtering Commands Default Setting Enabled Command Mode Global Configuration Example The following example enables IGMP snooping. Console(config)#ip igmp snooping Console(config)# ip igmp snooping vlan static This command adds a port to a multicast group. Use the no form to remove the port.
Command Line Interface Default Setting IGMP Version 2 Command Mode Global Configuration Command Usage All systems on the subnet must support the same version. If there are legacy devices in your network that only support Version 1, you will also have to configure this switch to use Version 1. Some commands are only enabled for IGMPv2, including ip igmp query-max-response-time and ip igmp query-timeout.
Multicast Filtering Commands show mac-address-table multicast This command shows known multicast addresses. Syntax show mac-address-table multicast [vlan vlan-id] [user | igmp-snooping] • • • vlan-id - VLAN ID (1 to 4094) user - Display only the user-configured multicast entries. igmp-snooping - Display only entries learned through IGMP snooping. Default Setting None Command Mode Privileged Exec Command Usage Member types displayed include IGMP or USER, depending on selected options.
Command Line Interface ip igmp snooping querier This command enables the switch as an IGMP querier. Use the no form to disable it. Syntax [no] ip igmp snooping querier Default Setting Enabled Command Mode Global Configuration Command Usage If enabled, the switch will serve as querier if elected. The querier is responsible for asking hosts if they want to receive multicast traffic.
Multicast Filtering Commands Example The following shows how to configure the query count to 10: Console(config)#ip igmp snooping query-count 10 Console(config)# Related Commands ip igmp snooping query-max-response-time (4-163) ip igmp snooping query-interval This command configures the query interval. Use the no form to restore the default. Syntax ip igmp snooping query-interval seconds no ip igmp snooping query-interval seconds - The frequency at which the switch sends IGMP host-query messages.
Command Line Interface Command Usage • The switch must be using IGMPv2 for this command to take effect. • This command defines the time after a query, during which a response is expected from a multicast client. If a querier has sent a number of queries defined by the ip igmp snooping query-count, but a client has not responded, a countdown timer is started using an initial value set by this command.
Multicast Filtering Commands Related Commands ip igmp snooping version (4-159) Static Multicast Routing Commands Command Function Mode Pag e ip igmp snooping vlan mrouter Adds a multicast router port GC 4-165 show ip igmp snooping mrouter Shows multicast router ports PE 4-166 ip igmp snooping vlan mrouter This command statically configures a multicast router port. Use the no form to remove the configuration.
Command Line Interface show ip igmp snooping mrouter This command displays information on statically configured and dynamically learned multicast router ports. Syntax show ip igmp snooping mrouter [vlan vlan-id] vlan-id - VLAN ID (Range: 1-4093) Default Setting Displays multicast router ports for all configured VLANs. Command Mode Privileged Exec Command Usage Multicast router port types displayed include Static or Dynamic.
IP Interface Commands ip address This command sets the IP address for the currently selected VLAN interface. Use the no form to restore the default IP address. Syntax ip address {ip-address netmask | bootp | dhcp} no ip address • • • • ip-address - IP address netmask - Network mask for the associated IP subnet. This mask identifies the host address bits used for routing to specific subnets. bootp - Obtains IP address from BOOTP. dhcp - Obtains IP address from DHCP. Default Setting IP address: 0.0.0.
Command Line Interface ip default-gateway This command establishes a static route between this switch and devices that exist on another network segment. Use the no form to remove the static route. Syntax ip default-gateway gateway no ip default-gateway gateway - IP address of the default gateway Default Setting No static route is established. Command Mode Global Configuration Command Usage A gateway must be defined if the management station is located in a different IP segment.
IP Interface Commands show ip redirects This command shows the default gateway configured for this device. Default Setting None Command Mode Privileged Exec Example Console#show ip redirects ip default gateway 10.1.0.254 Console# Related Commands ip default-gateway (4-168) ping This command sends ICMP echo request packets to another node on the network. Syntax ping host [count count][size size] • • • host - IP address or IP alias of the host. count - Number of packets to send.
Command Line Interface Example Console#ping 10.1.0.9 Type ESC to abort. PING to 10.1.0.9, by 5 32-byte payload ICMP packets, timeout is 5 seconds response time: 10 ms response time: 10 ms response time: 10 ms response time: 10 ms response time: 0 ms Ping statistics for 10.1.0.
Appendix A: Software Specifications Software Features Authentication Local, RADIUS, TACACS, Port (802.1x), HTTPS, SSH, Port Security DHCP Client Port Configuration 1000BASE-T: 10/100/1000 Mbps, half/full duplex 1000BASE-SX/LX: 1000 Mbps, full duplex Flow Control Full Duplex: IEEE 802.
Software Specifications Management Features In-Band Management Telnet, Web-based HTTP or HTTPS, SNMP manager, or Secure Shell Out-of-Band Management RS-232 DB-9 console port Software Loading TFTP in-band or XModem out-of-band SNMP Management access via MIB database Trap management to specified hosts RMON Groups 1, 2, 3, 9 (Statistics, History, Alarm, Event) Standards ANSI Plan 998 Draft IETF ADSL MIB VDSL 10 IEEE 802.3 Ethernet, IEEE 802.3u Fast Ethernet IEEE 802.
Management Information Bases Management Information Bases Bridge MIB (RFC 1493) Entity MIB (RFC 2737) Ethernet MIB (RFC 2665) Ether-like MIB (RFC 1643) Extended Bridge MIB (RFC 2674) Extensible SNMP Agents MIB (RFC 2742) Forwarding Table MIB (RFC 2096) IGMP MIB (RFC 2933) Interface Group MIB (RFC 2233) Interfaces Evolution MIB (RFC 2863) IP Multicasting related MIBs MAU MIB (RFC 2668) MIB II (RFC 1213) Port Access Entity MIB (IEEE 802.
Software Specifications A-4
Appendix B: Troubleshooting Troubleshooting Chart Symptom Action Cannot connect using Telnet, • Be sure you have configured the agent with a valid IP address, subnet Web browser, or SNMP mask and default gateway. software • If you are trying to connect to the agent via the IP address for a tagged VLAN group, your management station must include the appropriate tag in its transmitted frames.
Troubleshooting B-2
Glossary Boot Protocol (BOOTP) BOOTP is used to provide bootup information for network devices, including IP address information, the address of the TFTP server that contains the devices system files, and the name of the boot file. Class of Service (CoS) CoS is supported by prioritizing packets based on the required level of service, and then placing them in the appropriate output queue.
Glossary GARP VLAN Registration Protocol (GVRP) Defines a way for switches to exchange VLAN information in order to register necessary VLAN members on ports along the Spanning Tree so that VLANs defined in each switch can work automatically over a Spanning Tree network.
Glossary IEEE 802.3x Defines Ethernet frame start/stop requests and timers used for flow control on full-duplex links. 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. IGMP Query On each subnetwork, one IGMP-capable device will act as the querier — that is, the device that asks all hosts to report on the IP multicast groups they wish to join or to which they already belong.
Glossary Management Information Base (MIB) An acronym for Management Information Base. It is a set of database objects that contains information about a specific device. 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 multicast VLAN group. Network Time Protocol (NTP) NTP provides the mechanisms to synchronize time across the network.
Glossary Remote Authentication Dial-in User Service (RADIUS) RADIUS is a logon authentication protocol that uses software running on a central server to control access to RADIUS-compliant devices on the network. Remote Monitoring (RMON) 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.
Glossary Transmission Control Protocol/Internet Protocol (TCP/IP) Protocol suite that includes TCP as the primary transport protocol, and IP as the network layer protocol. Trivial File Transfer Protocol (TFTP) A TCP/IP protocol commonly used for software downloads. User Datagram Protocol (UDP) UDP provides a datagram mode for packet-switched communications. It uses IP as the underlying transport mechanism to provide access to IP-like services.
Index 802.
Index logon authentication 3-24, 4-60 RADIUS client 4-61 RADIUS server 4-61 TACACS+ client 3-25, 4-64 TACACS+ server 3-25, 4-64 logon authentication, sequence 3-26, 4-60 M main menu 3-3 Management Information Bases (MIBs) A-3 mirror port, configuring 3-49, 4-95 multicast filtering 3-109, 4-158 multicast groups 3-113, 4-161 displaying 4-161 static 3-113, 4-159, 4-161 multicast services configuring 3-114, 4-159 displaying 3-113, 4-161 multicast, static router port 3-112, 4-165 P password, line 4-11 password
Index startup files creating 3-16, 4-55 displaying 3-15, 4-49 setting 3-15, 4-59 static addresses, setting 3-73, 4-122 statistics port 3-51, 4-92 STP 3-79, 4-126 STP Also see STA system clock, setting 3-18, 4-44 system software, downloading from server 3-15, 4-55 T TACACS+, logon authentication 3-25, 4-64 time, setting 3-18, 4-44 traffic class weights 3-102, 4-149 trap manager 2-7, 3-22, 4-78 troubleshooting C-1 trunk configuration 3-44, 4-98 LACP 3-46, 4-99 static 3-45, 4-99 U upgrading software 3-15, 4-
Index Index-4
VS4512 VS4512DC E122003-R02 150000041800A