Catalyst 2950 and Catalyst 2955 Switch Command Reference Cisco IOS Release 12.1(22)EA11 and Later March 2008 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
CONTENTS Preface xv Audience Purpose xv xv Conventions xv Related Publications xvi Obtaining Documentation and Submitting a Service Request Using the Command-Line Interface Type of Memory Platforms xvii 1-1 1-1 1-1 CLI Command Modes 1-2 User EXEC Mode 1-3 Privileged EXEC Mode 1-3 Global Configuration Mode 1-4 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-5 Line Configuration Mode 1-5 Command Summary 1-6 Catalyst 2950 and 2955 Cisco IOS Commands aaa accounting
Contents boot helper 2-25 boot helper-config-file boot manual 2-26 2-27 boot private-config-file boot system 2-29 channel-group 2-30 channel-protocol class 2-28 2-33 2-35 class-map 2-37 clear controllers ethernet-controller clear controllers lre 2-41 clear controllers lre link monitor clear controllers lre log clear interface clear lacp 2-42 2-43 2-44 2-45 clear lre rate selection 2-46 clear mac address-table clear pagp 2-39 2-47 2-49 clear port-security 2-50 clear spanning-tr
Contents cpe shutdown 2-72 cpe speed 2-74 cpe toggle 2-76 cpe type 2-78 define interface-range delete 2-79 2-81 deny (access-list configuration) 2-82 deny (MAC access-list configuration) dot1x 2-85 2-87 dot1x auth-fail max-attempts dot1x auth-fail vlan 2-90 dot1x control-direction dot1x default 2-92 2-94 dot1x guest-vlan 2-95 dot1x host-mode 2-97 dot1x initialize 2-98 dot1x max-req 2-99 dot1x multiple-hosts dot1x port-control 2-100 2-101 dot1x re-authenticate 2-103 dot1x re
Contents ip dhcp snooping 2-133 ip dhcp snooping information option 2-134 ip dhcp snooping information option allow-untrusted ip dhcp snooping limit rate 2-138 ip dhcp snooping trust 2-139 ip dhcp snooping vlan 2-140 ip igmp filter 2-141 ip igmp max-groups ip igmp profile 2-142 2-144 ip igmp snooping 2-146 ip igmp snooping mrouter learn pim v2 ip igmp snooping report-suppression ip igmp snooping source-only-learning ip igmp snooping vlan 2-147 2-149 2-151 2-153 ip igmp snooping vlan imm
Contents mac access-list extended 2-186 mac address-table aging-time 2-188 mac address-table notification 2-190 mac address-table static 2-192 mac address-table static drop macro apply 2-196 macro description macro global 2-199 2-200 macro global description macro name margin match 2-202 2-203 2-205 2-207 media-type 2-209 mls qos cos 2-211 mls qos map 2-213 mls qos trust 2-216 monitor session mvr 2-194 2-219 2-222 mvr immediate mvr type 2-225 2-227 mvr vlan group 2-229 pag
Contents remote-span 2-256 rmon collection stats 2-258 service password-recovery service-policy set 2-259 2-261 2-262 setup express 2-264 show access-lists show auto qos show boot 2-266 2-268 2-271 show class-map show cluster 2-273 2-275 show cluster candidates show cluster members 2-277 2-279 show controllers ethernet-controller show controllers lre cpe 2-290 show controllers lre actual 2-293 show controllers lre admin 2-296 show controllers lre link monitor show controllers lre lo
Contents show ip dhcp snooping binding show ip igmp profile 2-347 2-349 show ip igmp snooping 2-350 show ip igmp snooping querier detail show lacp 2-355 show lre upgrade 2-357 show mac access-group 2-361 show mac address-table 2-363 show mac address-table multicast show mac address-table notification show mls masks show mls qos maps show monitor 2-373 2-375 2-377 2-378 show mvr members 2-380 show pagp 2-382 show parser macro show policy-map 2-384 2-387 show port-security 2-389 2-3
Contents shutdown vlan 2-423 snmp-server enable traps snmp-server host 2-424 2-427 snmp trap mac-notification 2-431 spanning-tree backbonefast spanning-tree bpdufilter 2-432 2-433 spanning-tree bpduguard spanning-tree cost 2-435 2-437 spanning-tree etherchannel guard misconfig spanning-tree extend system-id spanning-tree guard 2-441 2-443 spanning-tree link-type 2-445 spanning-tree loopguard default spanning-tree mode 2-446 2-448 spanning-tree mst configuration spanning-tree mst cost 2
Contents switchport nonegotiate 2-491 switchport port-security 2-493 switchport port-security aging switchport priority extend switchport protected switchport trunk 2-502 2-505 2-507 traceroute mac 2-509 traceroute mac ip udld 2-499 2-501 switchport voice vlan system mtu 2-497 2-512 2-514 udld port udld reset 2-516 2-518 upgrade binary 2-519 upgrade preserve 2-520 vlan (global configuration) 2-521 vlan (VLAN configuration) 2-527 vlan database 2-533 vmps reconfirm (global configu
Contents show alarm description port show alarm profile show alarm settings show env A-11 A-12 A-14 A-16 show facility-alarm relay A-18 show facility-alarm status show fcs-threshold test relay A-19 A-20 A-21 Catalyst 2950 and 2955 Switch Boot Loader Commands B-1 boot cat B-2 B-3 copy B-4 delete dir B-5 B-6 flash_init format B-8 B-9 fsck B-10 help B-11 load_helper memory B-12 B-13 mkdir B-15 more B-16 rename B-17 reset B-18 rmdir B-19 set B-20 type unset B-23 B-24 ver
Contents debug pagp debug pm C-7 C-8 debug spanning-tree C-10 debug spanning-tree backbonefast debug spanning-tree bpdu C-13 debug spanning-tree bpdu-opt debug spanning-tree mstp debug spanning-tree switch C-14 C-15 C-17 debug spanning-tree uplinkfast debug switch dhcp debug sw-vlan C-19 C-20 C-21 debug sw-vlan ifs C-23 debug sw-vlan notification debug sw-vlan vtp debug udld C-12 C-24 C-26 C-28 Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-02 xiii
Contents Catalyst 2950 and Catalyst 2955 Switch Command Reference xiv OL-10102-02
Preface Audience This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 2950 and 2955 switches, hereafter referred to as the switches. Before using this guide, you should have experience working with the Cisco IOS and be familiar with the concepts and terminology of Ethernet and local area networking. Purpose The Catalyst 2950 switch is supported by either the standard software image (SI) or the enhanced software image (EI).
Preface • Braces ({ }) group required choices, and vertical bars ( | ) separate the alternative elements. • Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional element. Interactive examples use these conventions: • Terminal sessions and system displays are in screen font. • Information you enter is in boldface screen font. • Nonprinting characters, such as passwords or tabs, are in angle brackets (< >).
Preface • Cisco LRE CPE Hardware Installation Guide • Installation and Warranty Notes for the Cisco LRE 48 POTS Splitter • Getting Started with Cisco Network Assistant • Release Notes for Cisco Network Assistant • Cisco Small Form-Factor Pluggable Modules Installation Notes • Cisco CWDM GBIC and CWDM SFP Installation Note • For information about the Network Admission Control (NAC) features, see the Network Admission Control Software Configuration Guide Obtaining Documentation and Submitting a
Preface Catalyst 2950 and Catalyst 2955 Switch Command Reference xviii OL-10102-02
CH A P T E R 1 Using the Command-Line Interface The Catalyst 2950 and 2955 switches are supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure the software features. For a complete description of the commands that support these features, see Chapter 2, “Catalyst 2950 and 2955 Cisco IOS Commands.” For more information on Cisco IOS Release 12.1, see the command references for Cisco IOS Release 12.1 at this URL: http://www.cisco.
Chapter 1 Using the Command-Line Interface CLI Command Modes CLI Command Modes This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface type_number command works only when entered in global configuration mode.
Chapter 1 Using the Command-Line Interface CLI Command Modes Table 1-1 Command Modes Summary (continued) Command Mode Access Method Prompt Exit or Access Next Mode VLAN configuration From privileged EXEC mode, enter the vlan database command. Switch(vlan)# To exit to privileged EXEC mode, enter the exit command. Line configuration From global configuration mode, Switch(config-line)# specify a line by entering the line command. To exit to global configuration mode, enter the exit command.
Chapter 1 Using the Command-Line Interface CLI Command Modes Global Configuration Mode Global configuration commands apply to features that affect the device as a whole. Use the configure privileged EXEC command to enter global configuration mode. The default is to enter commands from the management console.
Chapter 1 Using the Command-Line Interface CLI Command Modes Enter the vlan vlan-id global configuration command to access config-vlan mode: Switch(config)# vlan 2000 Switch(config-vlan)# The supported keywords can vary but are similar to the commands available in VLAN configuration mode. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch(config-vlan)# ? For extended-range VLANs, all characteristics except MTU size must remain at the default setting.
Chapter 1 Using the Command-Line Interface Command Summary Command Summary Table 1-2 lists and describes commands that have the same function but different syntax in software releases earlier than Cisco IOS Release 12.1(6)EA2 and in Cisco IOS Release 12.1(6)EA2 or later. It lists the commands supported in releases earlier than Cisco IOS Release 12.1(6)EA2, the equivalent commands in Cisco IOS Release 12.1(6)EA2 or later, and command descriptions. If you are running Cisco IOS Release 12.
Chapter 1 Using the Command-Line Interface Command Summary Table 1-2 Command Comparison (continued) Command in Cisco IOS releases earlier than Cisco IOS Release 12.1(6)EA2 Command in Cisco IOS Release 12.1(6)EA2 or later Description show mac-address-table secure show port-security Displays the port security settings for an interface and the secure addresses in the MAC address table. show port group show etherchannel Displays EtherChannel information for a channel.
Chapter 1 Using the Command-Line Interface Command Summary For detailed command syntax and descriptions, see Chapter 2, “Catalyst 2950 and 2955 Cisco IOS Commands.” For task-oriented configuration steps, see the software configuration guide for this release.
CH A P T E R 2 Catalyst 2950 and 2955 Cisco IOS Commands aaa accounting dot1x Use the aaa accounting dot1x global configuration command to enable authentication, authorization, and accounting (AAA) accounting and to create method lists defining specific accounting methods on a per-line or per-interface basis for IEEE 802.1x sessions. Use the no form of this command to disable IEEE 802.1x accounting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands aaa accounting dot1x Defaults AAA accounting is disabled. Command Modes Global configuration Command History Release Modification 12.1(20)EA2 This command was introduced. Usage Guidelines Note Examples This command requires access to a RADIUS server. We recommend that you enter the dot1x re-authentication interface configuration command before configuring IEEE 802.1x RADIUS accounting on an interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands aaa authentication dot1x aaa authentication dot1x Use the aaa authentication dot1x global configuration command to specify the authentication, authorization, and accounting (AAA) method to use on ports complying with IEEE 802.1x authentication. Use the no form of this command to disable authentication.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands aaa authentication dot1x Related Commands Command Description aaa new-model Enables the AAA access control model. For syntax information, select Cisco IOS Security Command Reference for Release 12.1 > Authentication, Authorization, and Accounting > Authentication Commands. show running-config Displays the configuration information running on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands access-list (IP extended) access-list (IP extended) Use the extended version of the access-list global configuration command to configure an extended IP access control list (ACL). Use the no form of this command to remove an extended IP ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands access-list (IP extended) operator port (Optional) Define a source or destination port. The operator can be only eq (equal). If operator is after the source IP address and wildcard, conditions match when the source port matches the defined port. If operator is after the destination IP address and wildcard, conditions match when the destination port matches the defined port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands access-list (IP extended) Examples This example shows how to configure an extended IP ACL that allows only TCP traffic to the destination IP address 128.88.1.2 with a TCP port number of 25 and how to apply it to an interface: Switch(config)# access-list 102 permit tcp any host 128.88.1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands access-list (IP standard) access-list (IP standard) Use the standard version of the access-list global configuration command to configure a standard IP access control list (ACL). Use the no form of this command to remove a standard IP ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands access-list (IP standard) Use the show access-lists command to display the contents of all ACLs. Note Examples For more information about configuring IP ACLs, see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release. This example shows how to configure a standard IP ACL that allows only traffic from the host network 128.88.1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command to download a new image from a TFTP server to a Catalyst 2950 Long-Reach Ethernet (LRE) switch and to overwrite or to keep the existing image. archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite | /reload | /safe} source-url This command is available only on the Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive download-sw Command History Usage Guidelines Release Modification 12.1(11)YJ This command was introduced. Use the /overwrite option to overwrite the image on the flash device with the downloaded one. If the flash device has sufficient space to hold two images and you want to overwrite one of these images with the same version, you must specify the /overwrite option.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive tar archive tar Use the archive tar privileged EXEC command to create a tar file, to list files in a tar file, or to extract the files from a tar file. archive tar {/create destination-url flash:/file-url} | {/table source-url} | {/xtract source-url flash:/file-url [dir/file...]} Syntax Description /create destination-url flash:/file-url Create a new tar file on the local or network file system.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive tar /table source-url Display the contents of an existing tar file to the screen. For source-url, specify the source URL alias for the local or network file system. These options are supported: • The syntax for the local flash file system: flash: • The syntax for the FTP: ftp:[[//username[:password]@location]/directory]/tar-filename.tar • The syntax for the RCP: rcp:[[//username@location]/directory]/tar-filename.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive tar Examples This example shows how to create a tar file. The command writes the contents of the new-configs directory on the local flash device to a file named saved.tar on the TFTP server at 172.20.136.9: Switch# archive tar /create tftp:172.20.136.9/saved.tar flash:/new-configs This example shows how to display the contents of the saved.tar file that is in flash memory. The contents of the tar file appear on the screen.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive upload-sw archive upload-sw Use the archive upload-sw privileged EXEC command to upload an existing Long-Reach Ethernet (LRE) switch image to a server. archive upload-sw [/version version_string] destination-url This command is supported only on Catalyst 2950 LRE switches. Syntax Description /version version_string (Optional) Specify the version string of the image to be uploaded.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands archive upload-sw Related Commands Command Description archive download-sw Downloads a new image to a Catalyst 2950 LRE switch. archive tar Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands auto qos voip auto qos voip Use the auto qos voip interface configuration command to configure automatic quality of service (auto-QoS) for voice over IP (VoIP) within a QoS domain. Use the no form of this command to change the auto-QoS configuration settings to the standard-QoS defaults. auto qos voip {cisco-phone | cisco-softphone | trust} no auto qos voip This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands auto qos voip Table 2-2 Auto-QoS Configuration for the Egress Queues Egress Queue Queue Number CoS-to-Queue Map Queue Weight 1% WRR 4 5 1 percent 70% WRR 3 3, 6, 7 70 percent 20% WRR 2 2, 4 20 percent 10% WRR 1 0, 1 10 percent Command Modes Interface configuration Command History Release Modification 12.1(12c)EA1 This command was introduced. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands auto qos voip Cisco IP Phone. When a Cisco IP Phone is detected, the ingress classification on the interface is set to trust the QoS label received in the packet. When a Cisco IP Phone is absent, the ingress classification is set to not trust the QoS label in the packet. The egress queues on the interface are also reconfigured (see Table 2-2).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands auto qos voip This example shows how to display the QoS configuration that is automatically generated when auto-QoS is enabled: Switch# debug auto qos AutoQoS debugging is on Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot boothlpr boot boothlpr Use the boot boothlpr global configuration command to load a special software image, which when loaded into memory, can load a second software image into memory and start it. This variable is used only for internal development and testing. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot buffersize boot buffersize Use the boot buffersize global configuration command to specify the size of the file system-simulated NVRAM in flash memory. The buffer holds a copy of the configuration file in memory. Use the no form of this command to return to the default setting. boot buffersize size no boot buffersize This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot config-file boot config-file Use the boot config-file global configuration command to specify the filename that the software uses to read and write a nonvolatile copy of the system configuration. Use the no form of this command to return to the default setting. boot config-file flash:/file-url no boot config-file This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot enable-break boot enable-break Use the boot enable-break global configuration command to enable interrupting the automatic boot process on a Catalyst 2950 Long-Reach Ethernet (LRE) switch. Use the no form of this command to return to the default setting. boot enable-break no boot enable-break This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot helper boot helper Use the boot helper global configuration command to dynamically load files during boot loader initialization to extend or to patch the functionality of the boot loader. Use the no form of this command to return to the default setting. boot helper filesystem:/file-url ... no boot helper This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot helper-config-file boot helper-config-file Use the boot helper-config-file global configuration command to specify the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of the software that are loaded. This variable is used only for internal development and testing.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command to enable starting the Catalyst 2950 Long-Reach Ethernet (LRE) switch manually during the next power on cycle. Use the no form of this command to return to the default setting. boot manual no boot manual This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot private-config-file boot private-config-file Use the boot private-config-file global configuration command to specify the filename that the software uses to read and write a nonvolatile copy of the private configuration. Use the no form of this command to return to the default setting. boot private-config-file filename no boot private-config-file Syntax Description filename Defaults The default configuration file is private-config.text.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands boot system boot system Use the boot system global configuration command to specify the software image to load during the next power on cycle. Use the no form of this command to return to the default setting. boot system filesystem:/file-url ... no boot system This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command to assign an Ethernet interface to an EtherChannel group and to enable an EtherChannel mode. Use the no form of this command to remove an Ethernet interface from an EtherChannel group.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands channel-group on Enable on mode. In on mode, a usable EtherChannel exists only when both connected port groups are in the on mode. This mode is not available on Long-Reach Ethernet (LRE) switches, because LRE interfaces do not support an EtherChannel-only mode. passive Enable LACP only if an LACP device is detected.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands channel-group In this case, running PAgP on a physical port prevents that port from ever becoming operational; however, it allows PAgP to operate, to attach the interface to a channel group, and to use the interface for transmission. Both ends of the link cannot be set to silent. Note Caution You cannot enable both PAgP and LACP modes on an EtherChannel group. You should use care when using the on mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands channel-protocol channel-protocol Use the channel-protocol interface configuration command to configure an EtherChannel for the Port Aggregation Protocol (PAgP) or Link Aggregation Control Protocol (LACP). Use the no form of this command to disable PAgP or LACP on the EtherChannel. channel-protocol {lacp | pagp} no channel-protocol Syntax Description lacp Configure an EtherChannel with the LACP protocol.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands channel-protocol Related Commands Command Description show lacp Display LACP information. show pagp Display PAgP information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands class class Use the class policy-map configuration command to define a traffic classification for the policy to act on using the class-map name or access group. Use the no form of this command to delete an existing class map. class class-map-name [access-group name acl-index-or-name] no class class-map-name This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands class • exit: exits policy-map class configuration mode and returns to policy-map configuration mode. • no: returns a command to its default setting. • set: specifies a Differentiated Services Code Point (DSCP) value to be assigned to the classified traffic. For more information, see the set command. • police: defines a policer for the classified traffic.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands class-map class-map Use the class-map global configuration command to create a class map to be used for matching packets to the class whose name you specify and to enter class-map configuration mode. Use the no form of this command to delete an existing class map and to return to global configuration mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands class-map Note Examples For more information about configuring ACLs, see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release. This example shows how to configure the class map named class1. class1 has one match criteria, which is a numbered ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear controllers ethernet-controller clear controllers ethernet-controller Use the clear controllers ethernet-controller privileged EXEC command to clear the Ethernet link transmit and receive statistics for a switch port and for a Long-Reach Ethernet (LRE) customer premises equipment (CPE) device. clear controllers ethernet-controller interface-id [cpe [port port-id]] Syntax Description cpe Clear the LRE CPE port statistics for all CPE ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear controllers ethernet-controller Examples This example shows how to clear the Ethernet link statistics for an LRE port: Switch# clear controllers ethernet-controller longreachethernet0/1 This example clears the Ethernet statistics for all the CPE Ethernet ports on a Cisco 585 LRE CPE: Switch# clear controllers ethernet-controller longreachethernet0/1 cpe You can verify that information was deleted by entering the show controllers ethernet-contro
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear controllers lre clear controllers lre Use the clear controllers lre user EXEC command to reset an Long-Reach Ethernet (LRE) switch interface or a Cisco LRE customer premises equipment (CPE) device interface. clear controllers lre {local link | remote [link | micro]} interface-id This command is available only on Catalyst 2950 LRE switches. Syntax Description local link Reset the LRE interfaces on the switch by resetting the interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear controllers lre link monitor clear controllers lre link monitor Use the clear controllers lre link monitor privileged EXEC command to clear Long-Reach Ethernet (LRE) link monitor data. clear controllers lre link monitor interface-id This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear controllers lre log clear controllers lre log Use the clear controllers lre log privileged EXEC command to clear the history of link, configuration, and timer events for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. clear controllers lre log [interface-id] This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id Defaults No default is defined.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear interface clear interface Use the clear interface privileged EXEC command to clear the hardware logic on an interface or a VLAN. clear interface {interface-id | vlan vlan-id} Syntax Description interface-id ID of the interface. vlan-id VLAN ID. The range is 1 to 4094. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear lacp clear lacp Use the clear lacp privileged EXEC command to clear Link Aggregration Control Protocol (LACP) channel-group information. clear lacp {channel-group-number | counters} Syntax Description channel-group-number Channel group number. The range is 1 to 6. counters Clear traffic counters. Defaults This command has no default setting. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear lre rate selection clear lre rate selection Use the clear lre rate selection privileged EXEC command to reset the current rate selection setting and to restart rate selection for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. clear lre rate selection [lock] [interface-id] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear mac address-table clear mac address-table Use the clear mac address-table privileged EXEC command to delete from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. This command also clears the MAC address notification global counters.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear mac address-table Related Commands Command Description mac address-table notification Enables the MAC address notification feature. show mac address-table Displays the MAC address table static and dynamic entries. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear pagp clear pagp Use the clear pagp privileged EXEC command to clear Port Aggregation Protocol (PAgP) channel-group information. clear pagp {channel-group-number [counters] | counters} Syntax Description channel-group-number Channel group number. The range is 1 to 6. counters Clear traffic counters. Defaults This command has no default setting. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear port-security clear port-security Use the clear port-security privileged EXEC command to delete from the MAC address table all secure addresses, all configured secure addresses, or a specific or all dynamic or sticky secure address on an interface or on the switch. clear port-security {all | configured | dynamic | sticky} [address mac-address] | [interface interface-id] Syntax Description all Delete all secure MAC addresses.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear port-security This example shows how to remove all the dynamic secure addresses learned on a specific interface: Switch# clear port-security dynamic interface fastethernet0/1 This example shows how to remove all the sticky secure addresses from the address table: Switch# clear port-security sticky You can verify that the information was deleted by entering the show port-security privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters Use the clear spanning-tree counters privileged EXEC command to clear the spanning-tree counters. clear spanning-tree counters [interface interface-id] Syntax Description interface interface-id Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.1(13)EA1 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear spanning-tree detected-protocols clear spanning-tree detected-protocols Use the clear spanning-tree detected-protocols privileged EXEC command to restart the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear vmps statistics clear vmps statistics Use the clear vmps statistics privileged EXEC command to clear the statistics maintained by the VLAN Query Protocol (VQP) client. clear vmps statistics Syntax Description This command has no arguments or keywords. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands clear vtp counters clear vtp counters Use the clear vtp counters privileged EXEC command to clear the VLAN Trunking Protocol (VTP) and pruning counters. clear vtp counters Syntax Description This command has no arguments or keywords. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.0(5.2)WC(1) This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster commander-address cluster commander-address You do not need to enter this command. The command switch automatically provides its MAC address to member switches when these switches join the cluster. The member switch adds this information and other cluster information to its running configuration file.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster commander-address This example shows how to remove a member from the cluster by using the cluster member console: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# no cluster commander-address You can verify your settings by entering the show cluster privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster discovery hop-count cluster discovery hop-count Use the cluster discovery hop-count global configuration command on the command switch to set the hop-count limit for extended discovery of candidate switches. Use the no form of this command to return to the default setting. cluster discovery hop-count number no cluster discovery hop-count Syntax Description number Defaults The hop count is set to 3.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster enable cluster enable Use the cluster enable global configuration command on a command-capable switch to enable it as the cluster command switch, assign a cluster name, and optionally assign a member number to it. Use the no form of this command to remove all members and make the command switch a candidate switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster holdtime cluster holdtime Use the cluster holdtime global configuration command on the command switch to set the duration in seconds before a switch (either the command or member switch) declares the other switch down after not receiving heartbeat messages. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster management-vlan cluster management-vlan Use the cluster management-vlan global configuration command on the command switch to change the management VLAN for the entire cluster. Use the no form of this command to change the management VLAN to VLAN 1. cluster management-vlan n no cluster management-vlan Syntax Description n Defaults The default management VLAN is VLAN 1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster member cluster member Use the cluster member global configuration command on the command switch to add members to a cluster. Use the no form of this command to remove members from the cluster. cluster member [n] mac-address H.H.H [password enable-password] [vlan vlan-id] no cluster member n Syntax Description n (Optional) The number that identifies a cluster member. The range is 0 to 15. mac-address H.H.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster member Examples This example shows how to add a switch as member 2 with MAC address 00E0.1E00.2222 and the password key to a cluster. The command switch adds the candidate to the cluster through VLAN 3. Switch(config)# cluster member 2 mac-address 00E0.1E00.2222 password key vlan 3 This example shows how to add a switch with MAC address 00E0.1E00.3333 to the cluster. This switch does not have a password.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster run cluster run Use the cluster run global configuration command to enable clustering on a switch. Use the no form of this command to disable clustering on a switch. cluster run no cluster run Defaults Clustering is enabled on all switches. Command Modes Global configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster standby-group cluster standby-group Use the cluster standby-group global configuration command to enable command switch redundancy by binding the Hot Standby Router Protocol (HSRP) standby group to the cluster. Use the no form of this command to unbind the cluster from the HSRP standby group. cluster standby-group HSRP-group-name no cluster standby-group Syntax Description HSRP-group-name Defaults The cluster is not bound to any HSRP group.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster standby-group This example shows the error message when this command is entered on a member switch: Switch(config)# cluster standby-group my_hsrp %ERROR:This command runs on a cluster command switch You can verify your settings by entering the show cluster privileged EXEC command. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cluster timer cluster timer Use the cluster timer global configuration command on the command switch to set the interval in seconds between heartbeat messages. Use the no form of this command to return to the default setting. cluster timer interval-in-secs no cluster timer Syntax Description interval-in-secs Defaults The interval is 8 seconds. Command Modes Global configuration Command History Release Modification 12.0(5.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands controller longreachethernet controller longreachethernet Use the controller longreachethernet global configuration command to enter the controller configuration mode. controller longreachethernet ctrlr-number This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description ctrlr-number Defaults No default is defined. Command Modes Global configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe duplex cpe duplex Use the cpe duplex interface configuration command to specify the duplex mode of operation for all customer premises equipment (CPE) ports. Use the no form of this command to return to the default setting. cpe duplex {{auto | full | half} [port port-id]} no cpe duplex {{auto | full | half} [port port-id]} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe duplex This example shows how to set a port on a Cisco 585 LRE CPE to full-duplex mode: Switch# configure terminal Switch(config)# interface longreachethernet0/3 Switch(config-if)# cpe duplex full port 3 This example shows how to restore a port on a Cisco 585 LRE CPE to the default mode of half duplex: Switch# configure terminal Switch(config)# interface longreachethernet0/3 Switch(config-if)# no cpe duplex full port 3 This example shows how the c
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe protected cpe protected Use the cpe protected interface configuration command to restrict data traffic to individual ports on Cisco 585 LRE customer premises equipment (CPE) ports. Use the no form of this command to allow different ports on the same CPE device to exchange data directly. cpe protected [port port-id] no cpe protected [port port-id] This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe shutdown cpe shutdown Use the cpe shutdown interface configuration command to disable one or more customer premises equipment (CPE) ports. Use the no form of this command to enable a port. cpe shutdown [port port-id] no cpe shutdown [port port-id] This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description port port-id Defaults The CPE ports are enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe shutdown After the cpe shutdown port 2 command was entered in the previous example, this example shows how to enable all the CPE Ethernet ports that were not shut down. After the no cpe shutdown command is entered, port 2 is still shut down because the cpe shutdown port 2 command was entered in the previous example. Use the no cpe shutdown port 2 command to enable the port 2.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe speed cpe speed Use the cpe speed interface configuration command to set the speed of a customer premises equipment (CPE) port. Use the no form of this command to return to the default setting. cpe speed {{auto | 10 | 100} [port port-id]} no cpe speed {{auto | 10 | 100} [port port-id]} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe speed This example shows how to set port 1 to 10 Mbps, port 2 to 100 Mbps, and the remainder of the ports to autonegotiate.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe toggle cpe toggle Use the cpe toggle interface configuration command to enable the CPE toggle feature. When this feature is enabled, a remote customer premises equipment (CPE) link automatically transitions from down to up if the Long-Reach Ethernet (LRE) link comes up in less than 30 seconds. Use the no form of this command to disable the CPE toggle feature on a specific port or on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe toggle Related Commands Command Description show running-config Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands cpe type cpe type Use the cpe type interface configuration command to set the type of customer premises equipment (CPE) port that is connected to a Long-Reach Ethernet (LRE) switch. cpe type [cisco575-lre | cisco576-lre997 | cisco585-lre | unknown] This command is available only on Catalyst 2950 LRE switches. Syntax Description cisco575-lre Model number of the Cisco 575 LRE CPE device.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands define interface-range define interface-range Use the define interface-range global configuration command to create an interface-range macro. Use the no form of this command to delete the defined macro. define interface-range macro-name interface-range no define interface-range macro-name interface-range Syntax Description macro-name Name of the interface-range macro; up to 32 characters.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands define interface-range For physical interfaces, the interface-id is defined as a slot/number (where slot is always 0 for the switch), and the range can be entered as type 0/number - number (for example, fastethernet0/1 - 2). You can also enter multiple ranges.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands delete delete Use the delete privileged EXEC command to delete a file or directory on the flash memory device. delete [/force] [/recursive] filesystem:/file-url Syntax Description /force (Optional) Suppress the prompt that confirms the deletion. /recursive (Optional) Delete the named directory and all subdirectories and the files contained in it. filesystem: Alias for a flash file system. Use flash: for the system board flash device.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands deny (access-list configuration) deny (access-list configuration) Use the deny access-list configuration command to configure conditions for a named or numbered IP access control list (ACL). Use the no form of this command to remove a deny condition from the IP ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands deny (access-list configuration) operator port (Optional) Define a source or destination port. The operator can be only eq (equal). If operator is after the source IP address and wildcard, conditions match when the source port matches the defined port. If operator is after the destination IP address and wildcard, conditions match when the destination port matches the defined port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands deny (access-list configuration) This is an example of a standard ACL that sets a deny condition: Switch(config)# ip access-list standard Acclist1 Switch(config-ext-nacl)# deny 192.5.34.0 0.0.0.255 Switch(config-ext-nacl)# deny 128.88.10.0 0.0.0.255 Switch(config-ext-nacl)# deny 36.1.1.0 0.0.0.255 Note In these examples, all other IP access is implicitly denied.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands deny (MAC access-list configuration) deny (MAC access-list configuration) Use the deny MAC access-list configuration command to prevent Layer 2 traffic from being forwarded if the conditions are matched. Use the no form of this command to remove a deny condition from the MAC named access control list (ACL).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands deny (MAC access-list configuration) vines-ip Select EtherType VINES IP. xns-idp Select EtherType Xerox Network Systems (XNS) protocol suite (0 to 65535), an arbitrary Ethertype in decimal, hexadecimal, or octal. Defaults This command has no defaults. However, the default action for a MAC named ACL is to deny. Command Modes MAC access-list configuration Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x dot1x Use the dot1x global configuration command to enable IEEE 802.1x authentication globally. Use the no form of this command to return to the default setting. dot1x {system-auth-control} | {guest-vlan supplicant} no dot1x {system-auth-control} | {guest-vlan supplicant} Syntax Description system-auth-control Enable IEEE 802.1x authentication globally on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x Related Commands Command Description dot1x guest-vlan Enables and specifies an active VLAN as an IEEE 802.1x guest VLAN. dot1x port-control Enables manual control of the authorization state of the port. show dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x auth-fail max-attempts dot1x auth-fail max-attempts Use the dot1x auth-fail max-attempts interface configuration command to configure the maximum number of authentication attempts allowed before a port is moved to the restricted VLAN. To return to the default setting, use the no form of this command. dot1x auth-fail max-attempts max-attempts no dot1x auth-fail max-attempts Syntax Description max-attempts Defaults The default is 3 attempts.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x auth-fail vlan dot1x auth-fail vlan Use the dot1x auth-fail vlan interface configuration command to enable the restricted VLAN on a port. To return to the default setting, use the no form of this command. dot1x auth-fail vlan vlan-id no dot1x auth-fail vlan vlan-id Syntax Description vlan-id Defaults No restricted VLAN is configured. Command Modes Interface configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x auth-fail vlan When a restricted VLAN port is moved to an unauthorized state, the authentication process is restarted. If the user fails the authentication process again, the authenticator waits in the held state. After the user has correctly re-authenticated, all IEEE 802.1x ports are reinitialized and treated as normal IEEE 802.1x ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x control-direction dot1x control-direction Use the dot1x control-direction command to change the port to unidirectional or bidirectional control. dot1x control-direction {in | both} no dot1x control-direction {in | both} Syntax Description dot1x control-direction in Enable unidirectional control on port. dot1x control-direction both Enable bidirectional control on port. Command Default The port is set to bidirectional mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x control-direction If you enter the dot1x control-direction in interface configuration command to enable unidirectional control, this appears in the show dot1x all command output: ControlDirection = In If you enter the dot1x control-direction in interface configuration command and the port cannot support this mode due to a configuration conflict, this appears in the show dot1x all command output: ControlDirection Related Commands = In (Disabled
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x default dot1x default Use the dot1x default interface configuration command to reset the configurable IEEE 802.1x parameters to their default values. dot1x default Syntax Description This command has no arguments or keywords. Defaults These are the default values: • The per-interface IEEE 802.1x protocol enable state is disabled (force-authorized). • The number of seconds between re-authentication attempts is 3600 seconds.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x guest-vlan dot1x guest-vlan Use the dot1x guest-vlan interface configuration command to specify an active VLAN as an IEEE 802.1x guest VLAN for switches running the enhanced software image (EI). Use the no form of this command to return to the default setting. dot1x guest-vlan vlan-id no dot1x guest-vlan Syntax Description vlan-id Specify an active VLAN as an IEEE 802.1x guest VLAN. The range is 1 to 4094. Defaults No guest VLAN is configured.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x guest-vlan You can configure any active VLAN except an RSPAN VLAN or a voice VLAN as an IEEE 802.1x guest VLAN. The guest VLAN feature is not supported on trunk ports; it is supported only on access ports. After you configure a guest VLAN for an IEEE 802.1x port to which a DHCP client is connected, you might need to get a host IP address from a DHCP server. You can also change the settings for restarting the IEEE 802.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x host-mode dot1x host-mode Use the dot1x host-mode interface configuration command to allow a single host (client) or multiple hosts on an IEEE 802.1x-authorized port that has the dot1x port-control interface configuration command set to auto. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command to manually return an IEEE 802.1x-enabled port to an unauthorized state before initiating a new authentication session on the interface. dot1x initialize interface interface-id Syntax Description This command has no arguments or keywords. Defaults There is no default setting. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x max-req dot1x max-req Use the dot1x max-req interface configuration command to set the maximum number of times that the switch sends an Extensible Authentication Protocol (EAP) frame from the authentication server (assuming that no response is received) to the client before restarting the authentication process. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x multiple-hosts dot1x multiple-hosts This is an obsolete command. In past releases, the dot1x multiple-hosts interface configuration command was used to allow multiple hosts (clients) on an IEEE 802.1x-authorized port. Command History Related Commands Release Modification 12.1(6)EA2 This command was introduced. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command to enable manual control of the authorization state of the port. Use the no form of this command to return to the default setting. dot1x port-control {auto | force-authorized | force-unauthorized} no dot1x port-control Syntax Description auto Enable IEEE 802.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x port-control • Dynamic-access ports—If you try to enable IEEE 802.1x authentication on a dynamic-access (VLAN Query Protocol [VQP]) port, an error message appears, and IEEE 802.1x authentication is not enabled. If you try to change an IEEE 802.1x-enabled port to dynamic VLAN assignment, an error message appears, and the VLAN configuration is not changed.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command to manually initiate a re-authentication of the IEEE 802.1x-enabled port. dot1x re-authenticate {interface interface-id} Syntax Description interface interface-id Defaults There is no default setting. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x re-authentication dot1x re-authentication This is an obsolete command. In past releases, the dot1x re-authentication global configuration command was used to set the amount of time between periodic re-authentication attempts. Command History Related Commands Release Modification 12.1(6)EA2 This command was introduced. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to enable periodic re-authentication of the client. Use the no form of this command to return to the default setting. dot1x reauthentication no dot1x reauthentication Syntax Description This command has no arguments or keywords. Defaults Periodic re-authentication is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x timeout dot1x timeout Use the dot1x timeout interface configuration command to set the IEEE 802.1x timers. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands dot1x timeout Usage Guidelines You should change the default values only to adjust for unusual circumstances such as unreliable links or specific behavioral problems with certain clients and authentication servers. The dot1x timeout reauth-period interface configuration command affects the behavior of the switch only if you have enabled periodic re-authentication by using the dot1x reauthentication interface configuration command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands duplex duplex Use the duplex interface configuration command to specify the duplex mode of operation for the switch ports. Use the no form of this command to return to the default setting. duplex {auto | full | half} no duplex Syntax Description Defaults auto Port automatically detects whether it should run in full- or half-duplex mode. full Port is in full-duplex mode. half Port is in half-duplex mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands duplex On Catalyst 2950 Long-Reach Ethernet (LRE) switches, use the duplex command to configure both the MAC and LRE chipsets. A 10/100/1000 LRE switch port autonegotiates with the device at the other end of the link for the duplex setting and then forces the duplex setting to the negotiated value. A fiber-optic connection (SFP) also autonegotiates with the device at the other end of the link but only accepts a connection at full duplex.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands errdisable detect cause errdisable detect cause Use the errdisable detect global configuration command to enable error disable detection. Use the no form of this command to disable this feature.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands errdisable detect cause Examples This example shows how to enable error disable detection for the link-flap error-disable cause: Switch(config)# errdisable detect cause link-flap You can verify your settings by entering the show errdisable detect privileged EXEC command. Related Commands Command Description errdisable recovery Configures the recovery mechanism variables. show errdisable detect Displays errdisable detection status.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands errdisable recovery errdisable recovery Use the errdisable recovery global configuration command to configure the recover mechanism variables. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands errdisable recovery Defaults Recovery is disabled for all causes. The default interval is 300 seconds. Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was introduced. 12.1(9)EA1 The gbic-invalid and psecure-violation keywords were added. The rootguard keyword was removed. 12.1(13)EA1 The channel-misconfig keyword was added. 12.1(19)EA1 The dhcp-rate-limit and loopback keywords were added.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands flowcontrol flowcontrol Use the flowcontrol interface configuration command to set the receive or send flow-control value for a Gigabit Ethernet interface. When flow control send is on for a device and it detects any congestion at its end, it notifies the link partner or the remote device of the congestion by sending a pause frame. When flow control receive is on for the remote device and it receives a pause frame, it stops sending any data packets.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands flowcontrol Usage Guidelines Use the flowcontrol command only on 10/100/1000, GBIC-module ports, and SFP-module ports. We strongly recommend that you do not configure IEEE 802.3x flowcontrol when quality of service (QoS) is configured on the switch. Before configuring flowcontrol on an interface, make sure to disable QoS on the switch. Note that when used with receive, the on and desired keywords have the same result.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands flowcontrol Table 2-3 Flow Control Settings and Local and Remote Port Flow Control Resolution (continued) Flow Control Settings Flow Control Resolution Local Device Remote Device Local Device Remote Device send desired/receive on send on/receive on Sends and receives Sends and receives send on/receive off Receives only Sends only send desired/receive on Sends and receives Sends and receives send desired/receive off Receives only Send
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands flowcontrol Related Commands Command Description show interfaces flowcontrol Displays interface input and output flow control settings and status. show flowcontrol Displays flow control settings and status for specified interfaces or all interfaces on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands hw-module slot hw-module slot Use the hw-module slot privileged EXEC command to perform firmware upgrades on Long-Reach Ethernet (LRE) systems. hw-module slot module-slot-number upgrade lre [force] [{local ctrlr-unit-number | remote interface-id}] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands hw-module slot Once started, an LRE upgrade can only be stopped by physically changing the remote CPE device or by reloading the software on the Ethernet switch. In most cases, configuration for upgrades is not necessary. Examples This example shows how to start a system-wide LRE upgrade: Switch# hw-module slot 0 upgrade lre You are about to start an LRE upgrade on all LRE interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands hw-module slot This example shows what happens when you attempt to update current firmware without using the force option: Switch# hw-module slot 0 upgrade lre remote longreachethernet0/1 You are about to start an LRE upgrade on CPE Lo0/1. Users on LRE links being upgraded will experience a temporary disruption of Ethernet connectivity.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interface interface Use the interface global configuration command to configure an interface type, create a switch virtual interface to be used as the management VLAN interface, and to enter interface configuration mode. interface {interface-id | vlan number} no interface {interface-id | vlan number} Syntax Description interface-id Specify the interface type and number. vlan number VLAN number from 1 to 4094 to be used as the management VLAN.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interface Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. shutdown Disables a port and shuts down the management VLAN.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interface port-channel interface port-channel Use the interface port-channel global configuration command to access or create the port-channel logical interface for Layer 2 interfaces. Use the no form of this command to remove the port channel. interface port-channel port-channel-number no interface port-channel port-channel-number Syntax Description port-channel-number Defaults No port-channel logical interfaces are defined.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interface range interface range Use the interface range global configuration command to enter interface range configuration mode and to execute a command on multiple ports at the same time. Use the no form of this command to remove an interface range. interface range {port-range | macro name} no interface range {port-range | macro name} Syntax Description port-range Port range.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interface range • fastethernet interface-id • gigabitethernet interface-id • longreachethernet interface-id For physical interfaces, the interface-id is defined as a slot/number (where slot is always 0 for the switch), and the range is entered as type 0/number - number (for example, fastethernet0/1 - 2). You can also enter multiple ranges.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interleave interleave Use the interleave interface configuration command to set the interleave block size on the Long-Reach Ethernet (LRE) interfaces. Use the no form of this command to return to the default setting. interleave {downstream value | upstream value} no interleave {downstream value | upstream value} This command is available only on Catalyst 2950 LRE switches. Syntax Description downstream value Value at the local end of the link.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interleave Related Commands Command Description show controllers lre status interleave Displays the interleave block size values on the LRE interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command to control access to an interface. Use the no form of this command to remove an access group from an interface. ip access-group {access-list-number | name} in no ip access-group {access-list-number | name} in This command is available on physical interfaces only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip access-group Examples This example shows how to apply a numbered ACL to an interface: Switch(config)# interface fastethernet0/1 Switch(config-if)# ip access-group 101 in You can verify your settings by entering the show access-lists or show ip access-lists privileged EXEC command. Related Commands Command Description access-list (IP extended) Defines an extended IP ACL. access-list (IP standard) Defines a standard IP ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip access-list ip access-list Use the ip access-list global configuration command to create an IP access control list (ACL) to be used for matching packets to an ACL whose name or number you specify and to enter access-list configuration mode. Use the no form of this command to delete an existing IP ACL and to return to global configuration mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip access-list Examples This example shows how to configure a standard ACL named Internetfilter1: Switch(config)# ip access-list standard Internetfilter1 Switch(config-std-nacl)# permit 192.5.34.0 0.0.0.255 Switch(config-std-nacl)# permit 192.5.32.0 0.0.0.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip address ip address Use the ip address interface configuration command to set an IP address for a switch. Use the no form of this command to remove an IP address or to disable IP processing. ip address ip-address subnet-mask no ip address ip-address subnet-mask Syntax Description ip-address IP address. subnet-mask Mask for the associated IP subnet. Defaults No IP address is defined for the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping ip dhcp snooping Use the ip dhcp snooping global configuration command to globally enable DHCP snooping. Use the no form of this command to return to the default setting. ip dhcp snooping no ip dhcp snooping Syntax Description This command has no arguments or keywords. Defaults DHCP snooping is disabled. Command Modes Global configuration Command History Release Modification 12.1(19)EA1 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping information option ip dhcp snooping information option Use the ip dhcp snooping information option global configuration command to enable DHCP option-82 data insertion. Use the no form of this command to disable DHCP option-82 data insertion. ip dhcp snooping information option no ip dhcp snooping information option Syntax Description This command has no arguments or keywords. Defaults DHCP option-82 data insertion is enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping information option Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping information option allow-untrusted ip dhcp snooping information option allow-untrusted Use the ip dhcp snooping information option allow-untrusted global configuration command on an aggregation switch to configure it to accept DHCP packets with option-82 information that are received on untrusted ports that might be connected to an edge switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping information option allow-untrusted You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping limit rate ip dhcp snooping limit rate Use the ip dhcp snooping limit rate interface configuration command to configure the number of DHCP messages an interface can receive per second. Use the no form of this command to return to the default setting. ip dhcp snooping limit rate rate no ip dhcp snooping limit rate Syntax Description rate Defaults DHCP snooping rate limiting is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping trust ip dhcp snooping trust Use the ip dhcp snooping trust interface configuration command to configure a port as trusted for DHCP snooping purposes. Use the no form of this command to return to the default setting. ip dhcp snooping trust no ip dhcp snooping trust Syntax Description This command has no arguments or keywords. Defaults DHCP snooping trust is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping vlan ip dhcp snooping vlan Use the ip dhcp snooping vlan global configuration command to enable DHCP snooping on a VLAN. Use the no form of this command to disable DHCP snooping on a VLAN. ip dhcp snooping vlan vlan-id [vlan-id] no ip dhcp snooping vlan vlan-id [vlan-id] Syntax Description vlan vlan-id [vlan-id] Specify a VLAN ID or range of VLANs on which to enable DHCP snooping. The range is 1 to 4094.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp filter ip igmp filter Use the ip igmp filter interface configuration command to control whether or not all hosts on a Layer 2 interface can join one or more IP multicast groups by applying an Internet Group Management Protocol (IGMP) profile to the interface. Use the no form of this command to remove the specified profile from the interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp max-groups ip igmp max-groups Use the ip igmp max-groups interface configuration command to set the maximum number of Internet Group Management Protocol (IGMP) groups that a Layer 2 interface can join or to configure the IGMP throttling action when the maximum number of entries is in the forwarding table.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp max-groups Examples • If you configure the throttling action as replace and set the maximum group limitation, the entries that were previously in the forwarding table are removed. When the maximum number of entries is in the forwarding table, the switch replaces a randomly selected multicast entry with the received IGMP report.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp profile ip igmp profile Use the ip igmp profile global configuration command to create an Internet Group Management Protocol (IGMP) profile and enter igmp profile configuration mode. From this mode, you can specify the configuration of the IGMP profile to be used for filtering IGMP membership reports from a switchport. Use the no form of this command to delete the IGMP profile.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp profile Related Commands Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip igmp profile Displays the characteristics of all IGMP profiles or the specified IGMP profile number.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping ip igmp snooping Use the ip igmp snooping global configuration command to globally enable Internet Group Management Protocol (IGMP) snooping. Use the no form of this command to disable IGMP snooping. ip igmp snooping no ip igmp snooping Syntax Description Note This command has no arguments or keywords. Though visible in the command-line help string, the tcn keyword is not supported. Defaults IGMP snooping is globally enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping mrouter learn pim v2 ip igmp snooping mrouter learn pim v2 Use the ip igmp snooping mrouter learn pim v2 global configuration command to enable multicast router detection by Protocol-Independent Multicast protocol version 2 (PIMv2) packets when Internet Group Management Protocol (IGMP) snooping is enabled. Use the no form of this command to disable multicast router detection by PIMv2 packets.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping mrouter learn pim v2 Related Commands Command Description ip igmp snooping Globally enables IGMP snooping. ip igmp snooping source-only-learning Enable IGMP snooping source-only learning. To prevent PIMv2 packets from being sent to the CPU, you must also use the no form of this command to disable source-only-learning. show running-config | include mrouter learn pim v2 Displays the configuration information running on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression Use the ip igmp snooping report-suppression global configuration command to enable Internet Group Management Protocol (IGMP) report suppression. Use the no form of this command to disable IGMP report suppression and forward all IGMP reports to multicast routers.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping Globally enables IGMP snooping. IGMP snooping must be globally enabled in order to be enabled on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping source-only-learning ip igmp snooping source-only-learning Use the ip igmp snooping source-only-learning global configuration command to enable IP multicast-source-only learning on the switch and optionally set the aging time of the forwarding-table entries that are learned. Use the no form of this command to disable IP multicast-source-only learning or to disable aging.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping source-only-learning The aging time only affects the forwarding-table entries that the switch learns by using the source-only learning method. If the aging time is too long or is disabled, the forwarding table is filled with unused multicast addresses that the switch learned by using source-only learning or by using the IGMP join messages.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan ip igmp snooping vlan Use the ip igmp snooping vlan global configuration command to enable Internet Group Management Protocol (IGMP) snooping on a specific VLAN. Use the no form of this command to disable IGMP snooping on a VLAN interface. ip igmp snooping vlan vlan-id no ip igmp snooping vlan vlan-id Syntax Description vlan-id Defaults IGMP snooping is enabled when each VLAN is created.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan immediate-leave ip igmp snooping vlan immediate-leave Use the ip igmp snooping vlan immediate-leave global configuration command to enable Internet Group Management Protocol (IGMP) Immediate-Leave processing on a VLAN interface. Use the no form of this command to disable Immediate-Leave processing on the VLAN interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan last-member-query interval ip igmp snooping vlan last-member-query interval Use the ip igmp snooping vlan last-member-query-interval global configuration command to globally enable the Internet Group Management Protocol (IGMP) configurable-leave timer. Use the no form of this command to return the IGMP configurable-leave timer to the default setting (100 milliseconds).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan mrouter ip igmp snooping vlan mrouter Use the ip igmp snooping vlan mrouter global configuration command to add a multicast router port and to configure the multicast router learning method. Use the no form of this command to remove the configuration.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan mrouter Related Commands Command Description ip igmp snooping Globally enables Internet Group Management Protocol (IGMP) snooping. ip igmp snooping vlan Enables IGMP snooping on the VLAN interface. ip igmp snooping vlan immediate-leave Configures IGMP Immediate-Leave processing. ip igmp snooping vlan static Configures a Layer 2 port as a member of a group.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip igmp snooping vlan static ip igmp snooping vlan static Use the ip igmp snooping vlan vlan-id static global configuration command to add a Layer 2 port as a member of a multicast group. Use the no form of this command to remove the configuration. ip igmp snooping vlan vlan-id static mac-address interface interface-id no ip igmp snooping vlan vlan-id static mac-address interface interface-id Syntax Description vlan vlan-id Specify the VLAN ID.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip ssh ip ssh Use the ip ssh global configuration command to configure the switch to run Secure Shell (SSH) version 1 or SSH version 2. Use the no form of this command to return to the default setting. ip ssh version [1 | 2] no ip ssh [1 | 2] This command is available only when your switch is running the cryptographic (encrypted) software image. Syntax Description 1 (Optional) Configure the switch to run SSH version 1 (SSHv1).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands ip ssh Related Commands Command Description show ip ssh Displays if the SSH server is enabled and displays the version and configuration information for the SSH server. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Security Command Reference, Release 12.2 > Other Security Features > Secure Shell Commands. show ssh Displays the status of the SSH server.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command to set the port priority for the Link Aggregration Control Protocol (LACP). Use the no form of this command to return to the default setting. lacp port-priority priority-value no lacp port-priority Syntax Description priority-value Defaults The default priority value is 32768.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lacp port-priority Examples This example shows set the port priority for LACP: Switch(config)# lacp port-priority 32764 You can verify your settings by entering the show etherchannel privileged EXEC command. Related Commands Command Description lacp system-priority Globally sets the LACP priority.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command to set the system priority for Link Aggregration Control Protocol (LACP). Use the no form of this command to return to the default setting. lacp system-priority priority-value no lacp system-priority Syntax Description priority-value Defaults The default priority value is 32768.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lacp system-priority Related Commands Command Description lacp port-priority Sets the LACP priority for a specific port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands link monitor link monitor Use the link monitor interface configuration command to enable Long-Reach Ethernet (LRE) link monitoring on a port. Use the no form of this command to disable LRE link monitoring on a port. link monitor no link monitor This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords. Defaults LRE monitoring is enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands link monitor logging link monitor logging Use the link monitor logging interface configuration command to enable Long-Reach Ethernet (LRE) link monitoring event logging. Use the no form of this command to disable LRE link monitor logging. link monitor logging no link monitor logging This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands link monitor threshold rserr link monitor threshold rserr Use the link monitor threshold rserr interface configuration command to establish threshold values for Reed-Solomon errors. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands link monitor threshold rserr Related Commands Command Description clear controllers lre link monitor Deletes LRE link monitor data. link monitor Enables the LRE link monitor on a port. link monitor logging Enables link monitor event logging per port. link monitor threshold snr Sets a signal-to-noise margin for the LRE link monitor. show controllers lre link monitor Displays the LRE link monitor information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands link monitor threshold snr link monitor threshold snr Use the link monitor threshold snr interface configuration command to establish threshold values for signal-to-noise ratio (SNR) errors. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands local duplex local duplex Use the local duplex interface configuration command to specify the duplex mode of operation for a Long-Reach Ethernet (LRE) port. Use the no form of this command to return to the default setting. local duplex {full | half} no local duplex This command is available only on Catalyst 2950 LRE switches. Syntax Description full Port is in full-duplex mode. half Port is in half-duplex mode. Defaults The default is half.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands local speed local speed Use the local speed interface configuration command to specify the speed of a Long-Reach Ethernet (LRE) interface. Use the no form of this command to return to the default setting. local speed {10 | 100} no local speed This command is available only on Catalyst 2950 LRE switches. Syntax Description 10 Specify that the LRE port run at 10 Mbps. 100 Specify that the LRE port run at 100 Mbps. Defaults The default is 100 Mbps.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands logging lre logging lre Use the logging lre interface configuration command to specify the mode in which to log Long-Reach Ethernet (LRE) events. Use the no form of this command to disable logging of events. logging lre {event | extended | normal} no logging lre {event | extended | normal} This command is available only on Catalyst 2950 LRE switches. Syntax Description event Log events only. extended Log events and all possible parameters.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre profile lre profile Use the lre profile global configuration command to assign a Long-Reach Ethernet (LRE) profile to all switch LRE ports. Use the no form of this command to remove the profile. lre profile profile-name no lre profile profile-name This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Defaults The default for the Catalyst 2950ST-8 LRE and 2950ST-24 LRE switches is LRE-10.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre profile Related Commands Command Description profile (sequence configuration) Adds an LRE profile to a rate selection sequence. show controllers lre profile Displays LRE profile information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre rate selection sequence lre rate selection sequence Use the lre rate selection sequence global configuration command to assign the rate selection sequence for the entire switch. Use the no form of the command to delete the assigned sequence. lre rate selection sequence sequence-name no lre rate selection sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre rate selection sequence Related Commands Command Description lre rate selection sequence Assigns a sequence to the entire switch. lre sequence Creates user-defined rate selection sequences. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a rate selection sequence for a specific port. show controllers lre sequence Displays the list of sequences.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre sequence lre sequence Use the lre sequence global configuration command to define a new sequence and to enter sequence configuration mode. Use the no form of this command to delete a user-configured sequence. lre sequence sequence-name no lre sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description sequence-name Defaults No default is defined.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre sequence This example shows the error message that appears when you try to edit a system-defined sequence: Switch(config)# lre sequence lre-seq-complete-reach Error:Sequence LRE-SEQ-COMPLETE-REACH is a system defined sequence.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre syslog lre syslog Use the lre syslog global configuration command to enable a Long-Reach Ethernet (LRE) switch to send the switch debugging messages to the LRE logging process and to the system message logging process. Use the no form of this command to disable the syslog export feature. lre syslog no lre syslog This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre upbo lre upbo Use the lre upbo global configuration command to configure the reference TX power level on the Long-Reach Ethernet (LRE) customer premises equipment (CPE) device. Use the no form of this command to return t to the default setting. lre upbo {noise-model | offset value} no lre upbo {noise-model | offset value} This command is available only on Catalyst 2950 LRE switches. Syntax Description noise-model Specify the noise model.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre upbo Table 2-4 Supported Values for Noise Model ETSI Noise Model Supported Value for noise-model PSD A ETSI-A –108.7106 dBm/Hz B ETSI-B –108.7106 dBm/Hz C ETSI-C –93.6154 dBm/Hz D ETSI-D –104.7232 dBm/Hz E ETSI-E –107.0455 dBm/Hz F ETSI-F –90.6138 dBm/Hz You can use the offset values to adjust the CPE transmit reference PSD relative to the default reference of –140 dBm/Hz.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre upgrade default family lre upgrade default family Use the lre upgrade default family global configuration command to define a map between a Long-Reach Ethernet (LRE) device and an LRE binary. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lre upgrade default family Related Commands Command Description controller longreachethernet Allows you to enter controller submode. show lre upgrade Displays the LRE upgrade information. upgrade binary Configures upgrades on either end of an LRE link. upgrade preserve Prevents an upgrade of the local CPE controller and all remote CPE devices connected to it.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac access-group mac access-group Use the mac access-group interface configuration command to apply a named extended MAC access control list (ACL) to an interface. Use the no form of this command to remove a MAC ACL from an interface. mac access-group name in no mac access-group name in This command is available only if your switch is running the enhanced software image (EI). Syntax Description name Defaults No MAC ACL is applied to the interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac access-group Related Commands Command Description {deny (MAC access-list configuration) | permit (MAC access-list configuration)} Configures a MAC ACL. show access-lists Displays the ACLs configured on the switch. show mac access-group Displays the MAC ACLs configured on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac access-list extended mac access-list extended Use the mac access-list extended global configuration command to create an access control list (ACL) based on MAC addresses. Using this command changes the mode to extended MAC access-list configuration mode. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac access-list extended Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify and to enter class-map configuration mode. {deny (MAC access-list configuration) | permit (MAC access-list configuration)} Configures a MAC ACL. mac access-group Applies a MAC ACL to an interface. show access-lists Displays the ACLs configured on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table aging-time mac address-table aging-time Use the mac address-table aging-time global configuration command to set the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated. Use the no form of this command to return to the default setting. The aging time applies to all VLANs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table aging-time You can verify your settings by entering the show mac address-table privileged EXEC command. Related Commands Command Description clear mac address-table Deletes dynamic entries from the MAC address table. show mac address-table Displays the MAC address table. show mac address-table aging-time Displays the MAC address table aging time for all VLANs or the specified VLAN.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table notification mac address-table notification Use the mac address-table notification global configuration command to enable the MAC notification feature and to configure the notification-trap interval or history table. Use the no form of this command to disable this feature.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table notification Examples This example shows how to enable the MAC notification feature: Switch(config)# mac address-table notification This example shows how to set the notification-trap interval to 60 seconds: Switch(config)# mac address-table notification interval 60 This example shows how to set the number of entries in the history table to 32: Switch(config)# mac address-table notification history-size 32 You can verify your settin
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table static mac address-table static Use the mac address-table static global configuration command to add static addresses to the MAC address table. Use the no form of this command to remove static entries from the MAC address table. mac address-table static mac-addr vlan vlan-id interface interface-id no mac address-table static mac-addr vlan vlan-id [interface interface-id] Note Syntax Description Beginning with Cisco IOS Release 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table static Examples This example shows how to add the static address 0004.5600.67ab to the MAC address table: Switch(config)# mac address-table static 0004.5600.67ab vlan 1 interface fastethernet0/2 This example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When a packet is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table static drop mac address-table static drop Use the mac address-table static drop global configuration command to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mac address-table static drop Examples This example shows how to enable unicast MAC address filtering and to configure the switch to drop packets that have a source or destination address of c2f3.220a.12f4. When a packet is received in VLAN 4 with this MAC address as its source or destination, the packet is dropped. Switch(config)# mac address-table static c2f3.220a.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro apply macro apply Use the macro apply interface configuration command to apply a macro to an interface or to apply and trace a macro configuration on an interface. macro {apply | trace} macro-name [parameter {value}] [parameter {value}] [parameter {value}] Syntax Description apply Apply a macro to the specified interface. trace Use the trace keyword to apply a macro to an interface and to debug the macro.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro apply Follow these guidelines when you apply a Cisco-default Smartports macro on an interface: • Display all macros on the switch by using the show parser macro user EXEC command. Display the contents of a specific macro by using the show parser macro name macro-name user EXEC command. • Keywords that begin with $ mean that a unique parameter value is required.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro apply # Configure port as an edge network port spanning-tree portfast spanning-tree bpduguard enable -------------------------------------------------------------Switch# Switch# configure terminal Switch(config)# interface fastethernet0/4 Switch(config-if)# macro apply cisco-desktop $AVID 25 Related Commands Command Description macro description Adds a description about the macros that are applied to an interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro description macro description Use the macro description interface configuration command to enter a description about which macros are applied to an interface. Use the no form of this command to remove the description. macro description text no macro description text Syntax Description description text Defaults This command has no default setting. Command Modes Interface configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro global macro global Use the macro global global configuration command to apply a macro to a switch or to apply and trace a macro configuration on a switch. macro global {apply | trace} macro-name [parameter {value}] [parameter {value}] [parameter {value}] Syntax Description apply Apply a macro to the switch. trace Use the trace keyword to apply a macro to a switch and to debug the macro. macro-name Specify the name of the macro.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro global • Keywords that begin with $ mean that a unique parameter value is required. Append the Cisco-default macro with the required values by using the parameter value keywords. The Cisco-default macros use the $ character to help identify required keywords. There is no restriction on using the $ character to define keywords when you create a macro. When you apply a macro to a switch, the macro name is automatically added to the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro global description macro global description Use the macro global description global configuration command to enter a description about the macros that are applied to the switch. Use the no form of this command to remove the description. macro global description text no macro global description text Syntax Description description text Defaults This command has no default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro name macro name Use the macro name global configuration command to create a configuration macro. Use the no form of this command to delete the macro definition. macro name macro-name no macro name macro-name Syntax Description macro-name Defaults This command has no default setting. Command Modes Global configuration Command History Release Modification 12.1(19)EA1 This command was introduced. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands macro name Examples This example shows how to create a macro that defines the duplex mode and speed: Switch(config)# macro name duplex Enter macro commands one per line. End with the character ‘@’.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands margin margin Use the margin interface configuration command to specify the margin value used to determine link quality during Long-Reach Ethernet (LRE) rate selection. Use the no form of this command to return to the default setting. margin {downstream value | upstream value} no margin {downstream value | upstream value} This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands margin For more information about link stability and margins, see the software configuration guide for this release. Examples This example shows how to specify a margin of 2 dB for both upstream and downstream. If the SNR is 2 dB above the theoretical minimum for the chosen profile when the link is established, the link is classified as down and the next profile in the sequence is attempted.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands match match Use the match class-map configuration command to define the match criteria to classify traffic. Use the no form of this command to remove the match criteria. match {access-group acl-index | access-group name acl-name | ip dscp dscp-list} no match {access-group acl-index | access-group name acl-name | ip dscp} This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands match Examples This example shows how to classify traffic on an interface by using the access group named acl2: Switch(config)# class-map class2 Switch(config-cmap)# match access-group name acl2 Switch(config-cmap)# exit You can verify your settings by entering the show class-map privileged EXEC command. Related Commands Command Description class Defines a traffic classification for a policy to act on using the class-map name or access group.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands media-type media-type Use the media-type interface configuration command to enable or disable fiber-optic or copper connections on a Long-Reach Ethernet (LRE) switch. You can also manually set the port to select a small form-factor pluggable (SFP) module connector or an RJ-45 connector. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands media-type Related Commands Command Description show interfaces cpe Shows the status or resolution of the link.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos cos mls qos cos Use the mls qos cos interface configuration command to define the default class of service (CoS) value of a port or to assign the default CoS to all incoming packets on the port. Use the no form of this command to return to the default setting. mls qos cos {default-cos | override} no mls qos cos {default-cos | override} Syntax Description Defaults default-cos Assign a default CoS value to a port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos cos You can verify your settings by entering the show mls qos interface privileged EXEC command. Related Commands Command Description mls qos map Defines the CoS-to-DSCP map or the DSCP-to-CoS map. mls qos trust Configures the port trust state. show mls qos interface Displays quality of service (QoS) information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos map mls qos map Use the mls qos map global configuration command to define the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map or DSCP-to-CoS map. Use the no form of this command to return to the default map. mls qos map {cos-dscp dscp1...dscp8 | dscp-cos dscp-list to cos} no mls qos map {cos-dscp | dscp-cos} This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos map Table 2-6 shows the default DSCP-to-CoS map: Table 2-6 Default DSCP-to-CoS Map DSCP Value CoS Value 0 0 8, 10 1 16, 18 2 24, 26 3 32, 34 4 40, 46 5 48 6 56 7 Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was introduced. Usage Guidelines All the maps are globally defined. You apply all maps to all ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos map You can verify your settings by entering the show mls qos maps privileged EXEC command. Related Commands Command Description mls qos cos Defines the default CoS value of a port or assigns the default CoS to all incoming packets on the port. mls qos trust Configures the port trust state. show mls qos maps Displays quality of service (QoS) mapping information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos trust mls qos trust Use the mls qos trust interface configuration command to configure the port trust state. Ingress traffic can be trusted, and classification is performed by examining the class of service (CoS) or the Differentiated Services Code Point (DSCP) value. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos trust If DSCP is trusted, the DSCP field of the IP packet is not modified. However, it is still possible that the CoS value of the packet is modified (according to the DSCP-to-CoS map). If CoS is trusted, the CoS of the packet is not modified, but DSCP can be modified (according to the CoS-to-DSCP map) if it is an IP packet. To return a port to the untrusted state, use the no mls qos trust interface configuration command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mls qos trust Related Commands Command Description mls qos cos Defines the default CoS value of a port or assigns the default CoS to all incoming packets on the port. mls qos map Defines the CoS-to-DSCP map or the DSCP-to-CoS map. show mls qos interface Displays QoS information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands monitor session monitor session Use the monitor session global configuration command to start a new Switched Port Analyzer (SPAN) or Remote SPAN (RSPAN) session. Use the no form of this command to remove the SPAN or the RSPAN session or to remove source or destination interfaces from the SPAN or RSPAN session.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands monitor session Defaults On a source interface, the default is to monitor both received and transmitted traffic. If encapsulation type is not specified on a destination port, packets are sent in native form with no encapsulation. Ingress forwarding is disabled on SPAN destination ports. Command Modes Global configuration Command History Release Modification 12.1(6)EA1 This command was introduced. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands monitor session If ingress forwarding is enabled, you can use the SPAN destination port to inject traffic from a network security device. For example, if you connect a Cisco Intrusion Detection System (IDS) Sensor Appliance to a destination port, the IDS device can send TCP Reset packets to close down the TCP session of a suspected attacker.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr mvr Use the mvr global configuration command without keywords to enable the multicast VLAN registration (MVR) feature on the switch. Use the no form of this command to disable MVR and its options. Use the command with keywords to set the MVR mode for a switch, to configure the MVR IP multicast address, to set the maximum time to wait for a query reply before removing a port from group membership, and to specify the MVR multicast VLAN.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was introduced. Usage Guidelines A maximum of 256 MVR multicast groups can be configured on a switch. Use the mvr group command to statically configure all the IP multicast addresses that will take part in MVR.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr You can verify your settings by entering the show mvr privileged EXEC command. Related Commands Command Description mvr immediate Enables the Immediate-Leave feature on an interface. mvr type Configures a port as a receiver or source port. mvr vlan group Configures a receiver port as a member of an MVR group. show mvr Displays MVR global parameters or port parameters.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr immediate mvr immediate Use the mvr immediate interface configuration command to enable the Immediate-Leave feature on an interface. Use the no form of this command to disable the feature on the interface. mvr immediate no mvr immediate Syntax Description This command has no arguments or keywords. Defaults The Immediate-Leave feature is disabled. Command Modes Interface configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr immediate Related Commands Command Description mvr Enables multicast VLAN registration (MVR). mvr type Configures a port as a receiver or source port. mvr vlan group Configures a receiver port as a member of an MVR group. show mvr Displays MVR global parameters or port parameters.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr type mvr type Use the mvr type interface configuration command to configure a port as a multicast VLAN registration (MVR) receiver or source port. Use the no form of this command to return to the default setting. mvr type {receiver | source} no mvr type {receiver | source} Syntax Description receiver Port that receives multicast data and cannot send multicast data to multicast groups.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr type Examples This example shows how to configure a port as an MVR receiver port: Switch(config)# interface fastethernet0/1 Switch(config-if)# mvr type receiver This example shows how to configure a port as an MVR source port: Switch(config)# interface fastethernet0/3 Switch(config-if)# mvr type source You can verify your settings by entering the show mvr privileged EXEC command. Related Commands Command Description mvr Enables MVR.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands mvr vlan group mvr vlan group Use the mvr vlan group interface configuration command to statically configure a receiver port as a member of a multicast VLAN registration (MVR) group in a particular VLAN. Use the no form of this command to remove the port from the MVR group. mvr vlan vlan-id group ip-address no mvr vlan vlan-id group ip-address Syntax Description vlan vlan-id Specify the VLAN ID to which the receiver port belongs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands pagp learn-method pagp learn-method Use the pagp learn-method interface configuration command to set the source-address learning method of incoming packets received from an EtherChannel port. Use the no form of this command to return to the default setting. pagp learn-method aggregation-port no pagp learn-method Syntax Description Note aggregation-port Specify address learning on the logical port-channel.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands pagp learn-method Examples This example shows how to set the learning method to aggregation-port (the default): Switch(config-if)# pagp learn-method aggregation-port You can verify your settings by entering the show running-config or show pagp channel-group-number internal privileged EXEC command. Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands pagp port-priority pagp port-priority You do not need to enter this command. It is documented for informational purposes only. Though visible in the command-line help strings, the switch does not support the pagp port-priority command. Use the pagp port-priority interface configuration command to select an interface through which all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is sent.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands permit (access-list configuration) permit (access-list configuration) Use the permit access-list configuration command to configure conditions for a named or numbered IP access control list (ACL). Use the no form of this command to remove a permit condition from the IP ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands permit (access-list configuration) destination Define a destination IP address and wildcard. destination-wildcard | host The destination is the destination address of the network or host to which destination | any the packet is being sent, specified in one of these ways: operator port • The 32-bit quantity in dotted-decimal format. The destination-wildcard applies wildcard bits to the destination.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands permit (access-list configuration) Usage Guidelines Note Examples Use this command after the ip access-list global configuration command to specify permit conditions for a named or numbered IP ACL. You can specify a source IP address, destination IP address, IP protocol, TCP port, or UDP port. Specify the TCP and UDP port numbers only if protocol is tcp or udp and operator is eq.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands permit (MAC access-list configuration) permit (MAC access-list configuration) Use the permit MAC access-list configuration command to allow Layer 2 traffic to be forwarded if the conditions are matched. Use the no form of this command to remove a permit condition from the named MAC access control list (ACL).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands permit (MAC access-list configuration) vines-ip Select EtherType VINES IP. xns-idp Select EtherType Xerox Network Systems (XNS) protocol suite (0 to 65535), an arbitrary Ethertype in decimal, hexadecimal, or octal. Defaults This command has no defaults. However, the default action for a MAC-named ACL is to deny. Command Modes MAC access-list configuration Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands persistence persistence Use the persistence interface configuration command to set the amount of delay before the link reports a link failure. Use the no form of this command to return to the default setting. persistence delay no persistence delay This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description delay Defaults The default is enabled, and the duration is 3 seconds.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands police police Use the police policy-map class configuration command to define a policer for classified traffic. Use the no form of this command to remove an existing policer. police rate-bps burst-byte [exceed-action {drop | dscp dscp-value}] no policerate-bps burst-byte [exceed-action {drop | dscp dscp-value}] This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands police Note Examples For more information about configuring access control lists (ACLs), see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands policy-map policy-map Use the policy-map global configuration command to create or modify a policy map that can be attached to multiple interfaces and to enter policy-map configuration mode. Use the no form of this command to delete an existing policy map and to return to global configuration mode. policy-map policy-map-name no policy-map policy-map-name This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands policy-map Only one policy map per interface per direction is supported. You can apply the same policy map to multiple interfaces but only in the ingress direction. If a policy map with a system-defined mask and a security access control list (ACL) with a user-defined mask are configured on an interface, the switch might ignore the actions specified by the policy map and perform only the actions specified by the ACL.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands policy-map Related Commands Command Description class Defines the default CoS value of a port or assigns the default CoS to all incoming packets on the port. class-map Creates a class map to be used for matching packets to the class whose name you specify. police Defines a policer for classified traffic. set Classifies IP traffic by setting a DSCP value in the packet. show policy-map Displays quality of service (QoS) policy maps.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands port-channel load-balance port-channel load-balance Use the port-channel load-balance global configuration command to set the load-distribution method among the ports in the EtherChannel. Use the no form of this command to return to the default setting. port-channel load-balance method no port-channel load-balance Syntax Description method Load distribution method.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands port-channel load-balance Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group. interface port-channel Access or creates the port channel. show etherchannel Displays EtherChannel information for a channel. show running-config Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands profile (interface configuration) profile (interface configuration) Use the profile interface configuration command to add a Long-Reach Ethernet (LRE) profile to a port. Use the no form of this command to delete a profile from the sequence. profile profile-name no profile profile-name This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Defaults The default is not defined.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands profile (interface configuration) Related Commands Command Description lre rate selection sequence Assigns the rate selection sequence for the entire switch. lre sequence Defines a new sequence. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a rate selection sequence for a specific port. show controllers lre profile Displays LRE profile information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands profile (sequence configuration) profile (sequence configuration) Use the profile sequence configuration command to add a Long-Reach Ethernet (LRE) profile to a sequence. Use the no form of this command to delete a profile from the sequence. profile profile-name no profile profile-name This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Defaults The default profile is LRE-10.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands profile (sequence configuration) Related Commands Command Description lre rate selection sequence Assigns the rate selection sequence for the entire switch. lre sequence Defines a new sequence. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a sequence for a specific port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rate selection rate selection Use the rate selection interface configuration command to enable rate selection on a port. Use the no form of this command to disable rate selection on the port. rate selection no rate selection This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description This command has no arguments or keywords. Defaults Rate selection is enabled on all interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rate selection profile lock rate selection profile lock Use the rate selection profile lock interface configuration command to lock a profile in a port on which rate selection is enabled. Use the no form of this command to unlock a profile in a port. rate selection profile lock no rate selection profile lock This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rate selection sequence rate selection sequence Use the rate selection sequence interface configuration command to assign a sequence to a port and to start rate selection. Use the no form of this command to remove a specific rate selection sequence on a port. rate selection sequence sequence-name no rate selection sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rate selection sequence Related Commands Command Description rate selection Enables rate selection on ports already configured for rate selection. show controllers lre sequence Displays the list of sequences.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rcommand rcommand Use the rcommand user EXEC command to start a Telnet session and to enter commands from a cluster command switch for a member switch. To end the session, enter the exit command. rcommand {n | commander | mac-address hw-addr} Syntax Description n Provide the number that identifies a cluster member. The range is 0 to 15. commander Provide access to the command switch from a member switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rcommand Examples This example shows how to start a session with member 3. All subsequent commands are directed to member 3 until you enter the exit command or close the session. Switch# rcommand 3 Switch-3# show version Cisco Internet Operating System Software ... ... Switch-3# exit Switch# Related Commands Command Description show cluster members Displays information about the cluster members.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to add the Remote Switched Port Analyzer (RSPAN) feature to a VLAN. Use the no form of this command to remove the RSPAN feature from the VLAN. remote-span no remote-span This command is available only if your switch is running the enhanced software image (EI). Syntax Description This command has no arguments or keywords. Defaults No RSPAN VLANs are defined.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands remote-span Related Commands Command Description monitor session Enables SPAN and RSPAN monitoring on a port and configures a port as a source or destination port. vlan (global configuration) Enter VLAN configuration mode to configure or modify VLANs 1 to 4094.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands rmon collection stats rmon collection stats Use the rmon collection stats interface configuration command to collect Ethernet group statistics. The Ethernet group statistics include utilization statistics about broadcast and multicast packets and error statistics about Cyclic Redundancy Check (CRC) alignment errors and collisions. Use the no form of this command to return to the default setting.
2 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands service password-recovery service password-recovery Use the service password-recovery global configuration command to enable the password-recovery mechanism (the default). An end user with physical access to the switch can hold down the Mode button and interrupt the boot process while the switch is powering up and can assign a new password. Use the no form of this command to disable part of the password-recovery functionality.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands service password-recovery Note If you use the no service password-recovery command to control end user access to passwords, we recommend that you save a copy of the config file in a location away from the switch in case the end user uses the password recovery procedure and sets the system back to default values. Do not keep a backup copy of the config file on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands service-policy service-policy Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a particular interface. Use the no form of this command to remove the policy map and interface association. service-policy input policy-map-name no service-policy input policy-map-name This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands set set Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) value. Use the no form of this command to remove traffic classification. set ip dscp new-dscp no set ip dscp new-dscp This command is available only if your switch is running the enhanced software image (EI). Syntax Description new-dscp New DSCP value assigned to the classified traffic.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands set Related Commands Command Description police Defines a policer for classified traffic. policy-map Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy. show policy-map Displays quality of service (QoS) policy maps.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode on the switch. This is the default setting. Use the no form of this command to disable Express Setup mode. setup express no setup express This command is available only on Catalyst 2950 switches. Syntax Description This command has no arguments or keywords. Defaults Express Setup is enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands setup express Examples This example shows how to enable Express Setup mode: Switch(config)# setup express You can verify that Express Setup mode is enabled by pressing the Mode button: Caution • On an unconfigured switch, the mode LEDs begin blinking green after 2 seconds. • On a configured switch, the mode LEDs turn solid green after a total of 10 seconds.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show access-lists show access-lists Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch. show access-lists [name | number] [ | {begin | exclude | include} expression] Syntax Description name (Optional) Name of the ACL. number (Optional) ACL number. The range is 1 to 2699. | begin (Optional) Display begins with the line that matches the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show access-lists Related Commands Command Description access-list (IP extended) Configures an extended IP ACL on the switch. access-list (IP standard) Configures a standard IP ACL on the switch. ip access-list Configures an IP ACL on the switch. mac access-list extended Creates an ACL based on MAC addresses. show ip access-lists Displays the IP ACLs configured on a switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show auto qos show auto qos Use the show auto qos user EXEC command to display the quality of service (QoS) commands entered on the interfaces on which automatic QoS (auto-QoS) is enabled. show auto qos [interface [interface-id]] This command is available only if your switch is running the enhanced software image (EI). Syntax Description interface [interface-id] Command Modes User EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show auto qos FastEthernet0/4 auto qos voip cisco-softphone FastEthernet0/5 auto qos voip cisco-phone This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered: Switch> show auto qos interface fastethernet0/3 FastEthernet0/3 auto qos voip cisco-phone This is an example of output from the show running-config privileged EXEC command when the auto qos voi
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show auto qos Related Commands Command Description auto qos voip Automatically configures QoS for VoIP within a QoS domain.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show boot show boot Use the show boot privileged EXEC command to display the settings of the boot environment variables. show boot [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression. | include (Optional) Display includes lines that match the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show boot Table 2-8 show boot Field Descriptions Field Description BOOT path-list Displays a semicolon-separated list of executable files to load and to execute when automatically booting. If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the flash file system.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show class-map show class-map Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic. show class-map [class-map-name] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced software image (EI). Syntax Description class-map-name (Optional) Display the contents of the specified class map.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show class-map Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. match Defines the match criteria to classify traffic.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster show cluster Use the show cluster privileged EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on command and member switches. show cluster [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster This is an example of output when this command is entered on a member switch: Switch# show cluster Member switch for cluster "commander" Member number: Management IP address: Command switch mac address: Heartbeat interval: Heartbeat hold-time: 3 192.192.192.192 0000.0c07.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster candidates show cluster candidates Use the show cluster candidates privileged EXEC command on the command switch to display a list of candidate switches. show cluster candidates [detail | mac-address H.H.H.] [ | {begin | exclude | include} expression] Syntax Description detail (Optional) Display detailed information for all candidates. mac-address H.H.H. (Optional) Hexadecimal MAC address of the cluster candidate.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster candidates This is an example of output from the show cluster candidates command that uses the MAC address of a member switch directly connected to the command switch: Switch# show cluster candidates mac-address 00d0.7961.c4c0 Device 'c2950-12' with mac address number 00d0.7961.c4c0 Device type: cisco WS-C2950-12 Upstream MAC address: 00d0.796d.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster members show cluster members Use the show cluster members privileged EXEC command on the command switch to display information about the cluster members. show cluster members [n | detail] [ | {begin | exclude | include} expression] Syntax Description n (Optional) Number that identifies a cluster member. The range is 0 to 15. detail (Optional) Display detailed information for all cluster members.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show cluster members Device 'SanJuan2' with member number 3 Device type: cisco WS-C3550-12T MAC address: 0002.4b29.4400 Upstream MAC address: 0030.946c.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller show controllers ethernet-controller Use the show controllers ethernet-controller privileged EXEC command without keywords to display per-interface send and receive statistics read from the hardware. Use this command with keywords to display the interface internal registers or to display the statistics read from Long-Reach Ethernet (LRE) and customer premises equipment (CPE) ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Examples This is an example of output from the show controllers ethernet-controller command on a non-LRE switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller Table 2-9 Transmit Field Descriptions (continued) Field Description Excessive collisions The number of frames that could not be sent on an interface because more than 16 collisions occurred. Total collisions The total number of collisions on an interface. Control frames The number of control frames sent on an interface, such as STP1 BPDUs2.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller Table 2-10 Receive Field Descriptions (continued) Field Description Invalid frames, too large The number of frames received that were larger than maximum allowed MTU2 size (including the FCS bits and excluding the frame header) and that have either an FCS error or an alignment error.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller 0 0 0 0 256 to 511 byte frames 512 to 1023 byte frames 1024 to 1518 byte frames 1519 to 1522 byte frames LRE Enet Stats on Switch: Transmit 0 Bytes 0 Frames 0 0 0 0 0 0 0 Table 2-12 Pause frames 1 collision frames Multiple collisions Late collisions Excessive collisions Deferred frames Carrier sense errors Receive 0 0 0 0 0 0 0 0 Bytes Frames Broadcast frames Pause frames Alignment errors Collisions and Runts Ov
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller This is an example of output from the show controllers ethernet-controller longreachethernet0/4 cpe command. It shows the statistics of the LRE chipset and the all the LRE ports on the CPE. For this example, Table 2-13 describes the LRE Enet Stats on CPE fields, and Table 2-14 describes the CPE Fast Ethernet Port fields.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller 0 0 0 2 Late Collisions Excess Collisions Frame Discard Deferred Frames 0 0 0 0 1 0 68745 0 0 11469 0 0 Table 2-13 Oversize Frames FCS errors Excess Size Discards Jabbers Source Address Change Symbol Errors 64 Byte Frames 65-127 Byte Frames 128-255 Byte Frames 256-511 Byte Frames 512-1023 Byte Frames 1024-1522 Byte Frame LRE Enet Stats on CPE Field Descriptions for LRE and CPE Interfaces Field Description Tran
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller Table 2-14 CPE Fast Ethernet Port Field Descriptions for LRE and CPE Interfaces Field Description Transmit Bytes The total number of bytes sent on an interface. Unicast Frames The total number of frames sent to unicast addresses. Multicast Frames The total number of frames sent to multicast addresses. Broadcast Frames The total number of frames sent to broadcast addresses.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers ethernet-controller Table 2-14 CPE Fast Ethernet Port Field Descriptions for LRE and CPE Interfaces (continued) Field Description Jabbers The total number of frames received on an interface that are larger than 1522 bytes and have either an FCS or alignment error. Source Address Chang The total number of frames received on an interface for which the source address changed.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre cpe show controllers lre cpe Use the show controllers lre cpe privileged EXEC command to display information about the Cisco Long-Reach Ethernet (LRE) customer premises equipment (CPE) devices connected to an LRE switch. show controllers lre cpe {identity | mfg | protected | version}[interface-id] [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre cpe Use the show controllers lre cpe mfg privileged EXEC command output to display fields specific to each CPE device unit. The software uses the model number field to identify the kind of CPE device attached to an LRE interface. The System Serial Number is also unique to each CPE device unit.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre cpe This is an example of output from the show controllers lre cpe protected command that shows the CPE protected-port information for an LRE interface: Switch# show controllers lre cpe protected longreachethernet0/9 Interface Port Protected -------------------Lo0/9 1 true Lo0/9 2 true Lo0/9 3 true Lo0/9 4 true This is an example of output from the show controllers lre cpe protected command that shows the CPE protected-port informa
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre actual show controllers lre actual Use the show controllers lre actual privileged EXEC command to display the actual values of the Long-Reach Ethernet (LRE) link on a specific LRE switch port. show controllers lre interface-id actual {dsrserrs | link | rxpower | snr | txpower | usrserrs} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre actual The local receive-power actually displays the switch's adjustment to the incoming power level. These numbers might be different from LRE port to LRE port, as the length of the cables to the CPE devices might be different. If the SNR is too low for the environment but the link still establishes, the Reed-Solomon error rate is high, and there might be link instability (as shown by the number of Fail events counted).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre actual This is an example of output from the show controllers lre interface-id actual link command on an LRE port: Switch# show controllers lre longreachethernet0/1 actual link DOWN Switch# Related Commands Command Description show controllers lre admin Displays the administrative settings of the LRE link on a specific switch LRE port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre admin show controllers lre admin Use the show controllers lre interface-id admin privileged EXEC command to display the administrative settings of the Long-Reach Ethernet (LRE) link for a specific switch LRE port. show controllers lre interface-id admin {dsrate | usrate}[ |{begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre admin Related Commands Command Description show controllers lre cpe identity Displays the actual values of the LRE link on a specific switch LRE port. lre profile Assigns a profile to all switch LRE ports. profile (interface configuration) Assigns a profile to a specific switch LRE port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre link monitor show controllers lre link monitor Use the show controllers lre link monitor privileged EXEC command to display Long-Reach Ethernet (LRE) link monitor information. show controllers lre monitor {errors | parameters | statistics} {local [interface-id] | remote [interface-id]} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre link monitor The Time heading in the show controllers lre link monitor statistics command output shows the timestamp for the last collection sequence. The RS error count shows the cumulative error count from the last reading. This count is cleared only when the interface is shut down or when the clear controllers lre link monitor privileged EXEC command is entered.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre link monitor This is an example that shows how to display all LRE link monitor parameters for the attached CPE device: Switch# show controllers lre link monitor parameters remote LongReachEthernet0/1: LRE Link Health Monitor Parameters : SNR Tx Power SwAGCGain Time Samples Min Max Err Min Max Min Max -------- ------- --- --- --- ------- ------- ------- ------00:32:30 2 0 0 0 - 85.6 - 85.6 - 2.0 - 2.0 00:30:30 15 0 0 0 - 85.6 - 85.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre log show controllers lre log Use the show controllers lre log user EXEC command without keywords to display the history of link, configuration, and timer events for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. Use this command with keywords to display information about the LRE event log level.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre log 1d00h: [4]: State PROFILE_LINKUP: Got event:Link Down 1d00h: [5]: State PROFILE_LINKUP: Got event:Link Up 1d00h: [6]: State PROFILE_LINKUP: Got event:Link Down 1d00h: [7]: State PROFILE_LINKUP: Got event:Link Up This is an example of output from the show controllers lre log level command that displays the log level on an LRE port: Switch> show controllers lre log level longreachethernet0/1 Port Log Level ================ Lo0/1
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre profile show controllers lre profile Use the show controllers lre profile privileged EXEC command to display information about the Long-Reach Ethernet (LRE) profiles and sequences available on the switch. show controllers lre profile {details | names} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre profile Examples This is an example of output from the show controllers lre profile details command on the Catalyst 2950ST-8 LRE and 2950ST-24 LRE switches: Switch# show controllers lre profile details Global Profile:LRE-10-3 Interface --------Lo0/1 Lo0/2 Lo0/3 Lo0/4 Lo0/5 Lo0/6 Lo0/7 Lo0/8 Lo0/9 Lo0/10 Lo0/11 Lo0/12 Configured Profile -----------------LRE-10-5 LRE-10-3 LRE-10-3 LRE-10-3 LRE-10-3 LRE-10-3 LRE-10-3 LRE-10-3 LRE-10-
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre profile LRE-10-3 LRE-10-1 LRE-8 LRE-7 LRE-15-5 LRE-15-3 LRE-15-1 LRE-4 LRE-3 LRE-2 LRE-4-1LL System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured System-Configured 12.500 12.500 9.375 8.333 16.667 16.667 16.667 4.167 3.125 2.083 4.167 3.125 1.563 9.375 8.333 6.250 3.125 1.563 4.167 3.125 2.083 1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre sequence show controllers lre sequence Use the show controllers lre sequence privileged EXEC command to display the list of sequences, the profiles that are configured in that sequence, and the downstream and upstream rates of the corresponding profiles. show controllers lre sequence [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre sequence LRE-10-1 LRE-4 LRE-3 LRE-2 LRE-4-1 12.500 4.167 3.125 2.083 4.167 Sequence:LRE-SEQ-DOWNSTREAM 1.563 4.167 3.125 2.083 1.563 Type:System-Configured Profile Name -------------LRE-15 LRE-15-5 LRE-15-3 LRE-15-1 LRE-10 Downstream Rate(Mbps) ---------16.667 16.667 16.667 16.667 12.500 Upstream Rate(Mbps) ---------18.750 6.250 3.125 1.563 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre status show controllers lre status Use the show controllers lre status privileged EXEC command to display the Long-Reach Ethernet (LRE) link statistics and profile information on a switch LRE port, including link state, link duration, profile name, and data rates.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre status The Reed-Solomon errors show the number of errors detected and corrected in the data being received on and sent from the switch LRE ports. Reed-Solomon errors are the result of noise exceeding the noise margin. For short bursts of noise (such as motor power on or power surges), the interleaver prevents the loss of Ethernet data packets. The number of Reed-Solomon errors then exceeds the number of Ethernet CRC errors.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre status This is an example of output from the show controllers lre status profile command: Switch# show controllers lre status profile Port -----Lo0/1 Lo0/2 Lo0/3 Lo0/4 Lo0/5 Lo0/6 Lo0/7 Lo0/8 Lo0/9 Lo0/10 Lo0/11 Lo0/12 Lo0/13 Lo0/14 Lo0/15 Lo0/16 Lo0/17 Lo0/18 Lo0/19 Lo0/20 Lo0/21 Lo0/22 Lo0/23 Lo0/24 Link ---UP UP UP UP DOWN UP UP UP UP DOWN DOWN DOWN UP DOWN UP DOWN DOWN DOWN DOWN DOWN UP DOWN DOWN DOWN Uptime -------2d23h 2d23h
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre status This is an example of output from the show controllers lre status sequence command: Switch# show controllers lre status sequence Port ----Lo0/1 Lo0/2 Lo0/3 Sequence ----------------------LRE-SEQ-DOWNSTREAM N/A LRE-SEQ-SYM Status -------------Converged N/A Converged Profile --------------LRE-15 N/A LRE-15 This is an example of output from the show controllers lre status interleave command: Switch# show controllers lre statu
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre status Related Commands Command Description margin Specifies the margin value used to determine link quality during LRE rate selection. show controllers lre sequence Displays the sequence running on a specific switch LRE port. show controllers lre profile Displays information about the LRE profiles available on the switch. show controllers lre cpe Displays the actual values of the LRE link on a specific switch LRE port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers lre version show controllers lre version Use the show controllers lre version privileged EXEC command to display the version numbers of the various components (hardware, firmware, and patch software) that make up the Long-Reach Ethernet (LRE) switch interface. show controllers lre version [interface-id] [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers utilization show controllers utilization Use the show controllers utilization user EXEC command to display bandwidth utilization on the switch or specific ports. show controllers [interface-id] utilization [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the switch interface. | begin (Optional) Display begins with the line that matches the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show controllers utilization Table 2-15 show controllers utilization Field Descriptions Field Description Receive Bandwidth Percentage Displays the received bandwidth usage of the switch, which is the Utilization sum of the received traffic on all the ports divided by the switch receive capacity.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show dot1x show dot1x Use the show dot1x privileged EXEC command to display IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface. show dot1x [all] | [interface interface-id] | [statistics [interface interface-id]] [ | {begin | exclude | include} expression] Syntax Description all (Optional) Display the IEEE 802.1x status for all interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show dot1x Examples These are examples of output from the show dot1x and the show dot1x all privileged EXEC commands: Switch# show dot1x Sysauthcontrol Supplicant Allowed In Guest Vlan Dot1x Protocol Version Dot1x Oper Controlled Directions Dot1x Admin Controlled Directions = = = = = Enabled Disabled 1 Both Both Switch# show dot1x all Dot1x Info for interface FastEthernet 0/3 ---------------------------------------------------Supplicant MAC 00d0.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show dot1x AuthFail-Vlan = 4 AuthFail-Max-Attempts = 3 This is an example of output from the show dot1x interface fastethernet0/3 privileged EXEC command: Switch# show dot1x interface fastethernet0/3 Supplicant MAC 00d0.b71b.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show dot1x Table 2-16 Related Commands show dot1x statistics Field Descriptions (continued) Field Description RxVersion Received packets in the IEEE 802.1x Version 1 format. LastRxSrcMac Source MAC address carried in the most recently received EAPOL frame. Command Description dot1x control-direction Resets the configurable IEEE 802.1x parameters to their default values.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show env show env Use the show env user EXEC command to display fan information for the switch. show env {all | fan | power | rps} [ | {begin | exclude | include} expression] Syntax Description all Display both fan and temperature environmental status. fan Display the switch fan status (only available in privileged EXEC mode). power Display the internal power supply status. rps Display the Redundant Power System (RPS) status.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show errdisable recovery show errdisable recovery Use the show errdisable recovery user EXEC command to display the error-disable recovery timer information. show errdisable recovery [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show errdisable recovery Note Related Commands Though visible in the output, the unicast-flood field is not supported. Command Description errdisable recovery Configures the recover mechanism variables. show interfaces trunk Displays interface status or a list of interfaces in error-disabled state.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show etherchannel show etherchannel Use the show etherchannel user EXEC command to display EtherChannel information for a channel. show etherchannel [channel-group-number] {detail | load-balance | port | port-channel | summary} [ | {begin | exclude | include} expression] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 6. detail Display detailed EtherChannel information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show etherchannel Flags: S A d Timers: H S - Device is sending Slow hello. Device is in Auto mode. PAgP is down. Hello timer is running. Switching timer is running. C - Device is in Consistent state. P - Device learns on physical port. Q - Quit timer is running. I - Interface timer is running.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show etherchannel Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group. interface port-channel Accesses or creates the port channel.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show file show file Use the show file privileged EXEC command to display a list of open file descriptors, file information, and file system information. show file {descriptors | information {device:}filename | systems} [ | {begin | exclude | include} expression] Syntax Description descriptors Display a list of open file descriptors. information Display file information. device: Device containing the file.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show file Table 2-17 show file descriptors Field Descriptions Field Description FD File descriptor. The file descriptor is a small integer used to specify the file once it has been opened. Position Byte offset from the start of the file. Open Flags supplied when opening the file. PID Process ID of the process that opened the file. Path Location of the file.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show file Table 2-19 show file systems Field Descriptions Field Description Size(b) Amount of memory in the file system, in bytes. Free(b) Amount of free memory in the file system, in bytes. Type Type of file system. Flags Permissions for file system. Prefixes Alias for file system. Table 2-20 File System Types Field Description disk The file system is for a rotating medium. flash The file system is for a flash memory device.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show flowcontrol show flowcontrol Use the show flowcontrol user EXEC command to display the flow control status and statistics. show flowcontrol [interface interface-id | module module-number] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Display the flow control status and statistics for a specific interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show flowcontrol This is an example of output from the show flowcontrol interface interface-id command: Switch> show flowcontrol gigabitethernet0/2 Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- -------------- ------Gi0/2 desired off off off 0 0 Related Commands Command Description flowcontrol Sets the receive flow-control state for an interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces show interfaces Use the show interfaces privileged EXEC command to display the administrative and operational status of all interfaces or a specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces Note Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, precedence, random-detect, rate-limit, and shape options are not supported. Command Modes Privileged EXEC Command History Release Modification 12.0(5.2)WC(1) This command was introduced. 12.1(11)YJ The cpe, port port-id, and media keywords were added. 12.1(12c)EA1 The capabilities keyword was added. 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces PortSecure: Dot1x: Yes Yes This is an example of output from the show interfaces command for a specified interface: Switch# show interfaces fastethernet0/1 FastEthernet0/1 is up, line protocol is down Hardware is Fast Ethernet, address is 0005.7428.09c1 (bia 0005.7428.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces FastEthernet0/1 Switching path Processor Route cache Total Pkts In 3286423 0 3286423 Chars In 231672787 0 231672787 Pkts Out 179501 0 179501 Chars Out 17431060 0 17431060 This is an example of output from the show interfaces status command. It displays the status of all interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces Fa0/2 Unsupp. Unsupp. off
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces Table 2-23 show interfaces switchport Field Descriptions Field Description Name Displays the port name. Switchport Displays the administrative and operational status of the port. In this output, the port is in switchport mode. Administrative Mode Displays the administrative and operational mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces Port Fa0/4 Fa0/6 Vlans in spanning tree forwarding state and not pruned 1 1-2,51-52 This is an example of output from the show interfaces trunk command for an interface. It displays trunking information for the interface. Switch# show interfaces fastethernet0/1 trunk Port Fa0/1 Mode desirable Encapsulation 802.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces This is an example of output from the show interfaces command for an LRE port: Switch# show interfaces longreachethernet0/5 LongReachEthernet0/5 is up, line protocol is up Hardware is Ethernet over LRE, address is 0006.2871.5902 (bia 0006.2871.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces Related Commands Command Description switchport access Configures a port as a static-access or dynamic-access port. switchport protected Isolates Layer 2 unicast, multicast, and broadcast traffic from other protected ports on the same switch. switchport trunk pruning Configures the VLAN pruning-eligible list for ports in trunking mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces counters show interfaces counters Use the show interfaces counters privileged EXEC command to display various counters for a specific interface or for all interfaces. show interfaces [interface-id | vlan vlan-id] counters [errors | etherchannel | trunk] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the physical interface, including type and slot and port number.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces counters Table 2-24 show interfaces counters Field Descriptions Field Description InOctets Displays the number of bytes received on an interface. InUcastPkts Displays the number of unicast packets received on an interface. InMcastPkts Displays the number of multicast packets received on an interface. InBcastPkts Displays the number of broadcast packets received on the interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show interfaces counters Table 2-25 show interfaces counters errors Field Descriptions (continued) Field Description Carri-Sen Displays the number of occurrences in which the interface detects a false carrier when frames are not sent or received. Runts Displays the number of frames received on an interface that are smaller than 64 bytes and have an invalid FCS value.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show inventory show inventory Use the show inventory user EXEC command to display product identification (PID) information for the hardware. show inventory [entity-name | raw] [ | {begin | exclude | include} expression] Syntax Description entity-name (Optional) Display the specified entity. For example, enter the interface (such as gigabitethernet1/0/1) into which a small form-factor pluggable (SFP) module is installed.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip access-lists show ip access-lists Use the show ip access-lists privileged EXEC command to display IP access control lists (ACLs) configured on the switch. show ip access-lists [name | number] [ | {begin | exclude | include} expression] Syntax Description name (Optional) ACL name. number (Optional) ACL number. The range is 1 to 199 and 1300 to 2699. | begin (Optional) Display begins with the line that matches the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip access-lists This is an example of output from the show ip access-lists 103 command: Switch# show ip access-lists 103 Extended IP access list 103 permit tcp any any eq www Related Commands Command Description access-list (IP extended) Configures an extended IP ACL on the switch. access-list (IP standard) Configures a standard IP ACL on the switch. ip access-list Configures an IP ACL on the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip dhcp snooping show ip dhcp snooping Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration. show ip dhcp snooping Syntax Description This command has no arguments or keywords. Command Modes User EXEC Command History Release Modification 12.1(19)EA1 This command was introduced Usage Guidelines Expressions are case sensitive.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip dhcp snooping binding show ip dhcp snooping binding Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding table and configuration information for all interfaces on a switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries for a specific IP address: Switch> show ip dhcp snooping binding 41.0.0.51 MacAddress IpAddress Lease(sec) ------------------ --------------- ---------00:30:94:C2:EF:35 41.0.0.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp profile show ip igmp profile Use the show ip igmp profile privileged EXEC command to view all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile. show ip igmp profile [profile number] [ | {begin | exclude | include} expression] Syntax Description profile number (Optional) The IGMP profile number to be displayed. The range is 1 to 4294967295. If no profile number is entered, all IGMP profiles appear.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp snooping show ip igmp snooping Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN. Use the mrouter keyword to display the dynamically learned and manually configured multicast router ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp snooping Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp snooping Switch# Vlan ---1 show ip igmp snooping mrouter vlan 1 ports ----Fa0/2(static), Fa0/3(dynamic) This is an example of output from the show ip igmp snooping group vlan 1 command: Switch# show ip igmp snooping group vlan 1 Vlan Group Version Port List --------------------------------------------------------1 229.2.3.4 v3 fa0/1 fa0/3 1 224.1.1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp snooping querier detail show ip igmp snooping querier detail Use the show ip igmp snooping querier detail user EXEC command to display the configuration and operation information for the IGMP querier configured on a switch. show ip igmp snooping querier detail Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show ip igmp snooping querier detail Vlan 1: IGMP switch querier status -------------------------------------------------------elected querier is 1.1.1.1 on port Fa8/0/1 -------------------------------------------------------admin state : Enabled admin version : 2 source IP address : 10.1.1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lacp show lacp Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information. show lacp {channel-group-number {counters | internal | neighbor} | {counters | internal | neighbor | sys-id}} [ | {begin | exclude | include} expression] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 6. counters Display traffic information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lacp This is an example of output from the show lacp 1 internal command: Switch> show lacp internal Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 1 Port Fa0/5 Fa0/6 Fa0/7 Flags SP SP SP LACP port Priority 32768 32768 32768 State indep indep down Admin Key 0x1 0x1 0x1 Oper Key 0x1 0x1 0x1 Port Number 0x4 0x5 0x6 Port State 0x7C 0x7C 0xC Th
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lre upgrade show lre upgrade Use the show lre upgrade binaries privileged EXEC command to display the upgrade information for the Long-Reach Ethernet (LRE) switch. show lre upgrade {binaries | status | version} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description binaries Display the LRE binaries present on the system flash memory.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lre upgrade When an upgrade is running on an LRE switch controller, the status for the controller does not change from active to cmplt until all hardware elements finish upgrading. Other information displayed includes the local current (lcl curr) and proposed configuration (cfg) for each LRE interface. File names consist of: • The device family. A device family could be an LRE switch or a CPE device.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lre upgrade This example shows the status of an upgrade after it starts, but before the data transfer begins: Switch# show lre upgrade status Lo0/1: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00 Status:Pending rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00 Status:Pending Lo0/2: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show lre upgrade This example shows output from the show lre upgrade version command: Switch# show lre upgrade version Lo0/1: CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0 lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 cfg:CISCO2950-LRE_vdsloctl_02.60.00 rmt curr:CISCO575-LRE_vdslsngl_52.00.00 cfg:CISCO575-LRE_vdslsngl_52.00.00 Lo0/2: CPE:Family CISCO575-LRE, Model Cisco575-LRE , Rev A0 lcl curr:CISCO2950-LRE_vdsloctl_02.60.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac access-group show mac access-group Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch. show mac access-group [interface interface-id] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac access-group Interface GigabitEthernet0/2: Inbound access-list is 101This is an example of output from the show mac access-group interface gigabitethernet 0/2 command: Switch# show mac access-group interface gigabitethernet0/2 Interface GigabitEthernet0/2: Inbound access-list is 101 Related Commands Command Description mac access-group Applies a MAC ACL to an interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table show mac address-table Use the show mac address-table user EXEC command to display the MAC address table. show mac address-table [aging-time | count | dynamic | static] [address hw-addr] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Note Syntax Description Command Modes Beginning with Cisco IOS Release 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table This is an example of output from the show mac address-table aging-time command: Switch> show mac address-table aging-time Vlan Aging Time ---- ---------1 450 2 300 3 600 300 450 301 450 This is an example of output from the show mac address-table aging-time vlan 1 command: Switch> show mac address-table aging-time vlan 1 Vlan Aging Time ---- ---------1 450 Related Commands Command Description clear mac address-table dynamic
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table multicast show mac address-table multicast Use the show mac address-table multicast user EXEC command to display the Layer 2 multicast entries for the switch or for the VLAN. show mac address-table multicast [vlan vlan-id] [count] [igmp-snooping | user] [ | {begin | exclude | include} expression] Note The show mac address-table multicast command only shows non-IP multicast addresses.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table multicast Examples This is an example of output from the show mac address-table multicast vlan 1 command: Switch# show mac address-table multicast vlan 1 Vlan ---1 1 Mac Address ----------0100.5e00.0128 0100.5e01.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mac address-table notification show mac address-table notification Use the show mac address-table notification user EXEC command to display parameters for the MAC notification feature. show mac address-table notification [interface interface-id] [ | {begin | exclude | include} expression] Note Syntax Description Beginning with Cisco IOS Release 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls masks show mls masks Use the show mls masks user EXEC command to display the details of the access control parameters (ACPs) used for quality of service (QoS) and security access control lists (ACLs). show mls masks [qos | security] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced software image (EI). Syntax Description Note qos (Optional) Display ACPs used for QoS ACLs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls masks Examples This is an example of output from the show mls masks command: Switch> show mls masks Mask1 Type : qos Fields : ip-sa(0.0.0.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls qos interface show mls qos interface Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the interface level. show mls qos interface [interface-id] [policers] [ | {begin | exclude | include} expression] Syntax Description Note interface-id (Optional) Display QoS information for the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls qos interface This is an example of output from the show mls qos interface command when pass-through mode is configured on an interface: Switch> show mls qos interface fastethernet0/2 FastEthernet0/2 trust state:not trusted trust mode:not trusted COS override:dis default COS:0 pass-through:dscp This is an example of output from the show mls qos interface-id policers command: Switch> show mls qos interface fastethernet0/1 policers FastEthernet0
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls qos maps show mls qos maps Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. Maps are used to generate an internal Differentiated Services Code Point (DSCP) value, which represents the priority of the traffic. show mls qos maps [cos-dscp | dscp-cos] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced software image (EI).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mls qos maps This is an example of output from the show mls qos maps command: Switch> show mls qos maps Dscp-cos map: dscp: 0 8 10 16 18 24 26 32 34 40 46 48 56 ----------------------------------------------cos: 0 1 1 2 2 3 7 4 4 5 5 7 7 Cos-dscp map: cos: 0 1 2 3 4 5 6 7 -------------------------------dscp: 0 8 16 24 32 40 48 56 Related Commands Command Description mls qos map Defines the CoS-to-DSCP map and DSCP-to-CoS map.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show monitor show monitor Use the show monitor user EXEC command to display Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) session information. show monitor [session {session_number | all | local | range | remote}] [ | {begin | exclude | include} expression] Syntax Description session session_number (Optional) Specify the session number identified with this SPAN or RSPAN session. all Specify all sessions. local Specify local sessions.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show monitor Source RSPAN VLAN: None Destination Ports: None Encapsulation: Native Reflector Port: Fa0/4 Filter VLANs: None Dest RSPAN VLAN: 901 This is an example of output for the show monitor privileged EXEC command for SPAN source session 1: Switch# show monitor session 1 Session 1 --------Type: : Local Session Source Ports : Both: : Fa0/6 Related Commands Command Description monitor session Enables SPAN and RSPAN monitoring on a port and conf
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mvr show mvr Use the show mvr privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mvr interface show mvr interface Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mvr interface This is an example of output from the show mvr interface gigabitethernet0/1 command: Switch# show mvr interface gigabitethernet0/1 Type: RECEIVER Status: ACTIVE Immediate Leave: DISABLED This is an example of output from the show mvr interface fastethernet0/1 member command: Switch# show mvr interface fastethernet0/1 member 239.255.0.0 DYNAMIC ACTIVE 239.255.0.1 DYNAMIC ACTIVE 239.255.0.2 DYNAMIC ACTIVE 239.255.0.3 DYNAMIC ACTIVE 239.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mvr members show mvr members Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group. show mvr members [ip-address] [ | {begin | exclude | include} expression] Syntax Description ip-address (Optional) The IP multicast address. If the address is entered, all receiver and source ports that are members of the multicast group appear.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show mvr members This is an example of output from the show mvr members 239.255.0.2 command. It shows how to view the members of the IP multicast group 239.255.0.2. Switch# show mvr member 239.255.0.2 239.255.0.2 ACTIVE Gi0/1(d), Fa0/2(d) Related Commands Command Description mvr Enables and configures multicast VLAN registration on the switch. mvr type Configures an MVR port as a receiver or a source port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show pagp show pagp Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information. show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude | include} expression] Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 6. counters Display traffic information. internal Display internal information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show pagp This is an example of output from the show pagp 1 internal command: Switch> show pagp 1 internal Flags: S - Device is sending Slow hello. A - Device is in Auto mode. Timers: H - Hello timer is running. S - Switching timer is running. C - Device is in Consistent state. Q - Quit timer is running. I - Interface timer is running.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show parser macro show parser macro Use the show parser macro user EXEC command to display the parameters for all configured macros or for one macro on the switch. show parser macro [{brief | description [interface interface-id] | name macro-name}] [ | {begin | exclude | include} expression] Syntax Description brief (Optional) Display the name of each macro.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show parser macro # Recommended value for access vlan (AVID) should not be 1 switchport access vlan $AVID switchport mode access
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show parser macro # Allow port channels to be automatically formed channel-protocol pagp This is an example of output from the show parser macro brief command: Switch# show parser macro brief default global : cisco-global default interface: cisco-desktop default interface: cisco-phone default interface: cisco-switch default interface: cisco-router customizable : snmp This is an example of output from the show parser description command: Switch# show p
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show policy-map show policy-map Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which define classification criteria for incoming traffic. Policy maps can include policers that specify the bandwidth limitations and the action to take if the limits are exceeded.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show policy-map set ip dscp 20 police 10000000 8192 exceed-action drop This is an example of output from the show policy-map pmtimerin command: Switch> show policy-map pmtimerin Policy Map pmtimerin class cmtimerin set ip dscp 10 police 1000000 4096 exceed-action drop class ctimerin1 police 2000000 4096 exceed-action drop This is an example of output from the show policy-map policytest class classtest command: Switch> show policy-map policytest class
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show port-security show port-security Use the show port-security privileged EXEC command to display the port security settings defined for an interface or for the switch. show port-security [interface interface-id] [address] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Display the port security settings for the specified interface. address (Optional) Display all the secure addresses on all ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show port-security Fa0/2 5 4 0 Protect ---------------------------------------------------------------------------Total Addresses in System :21 Max Addresses limit in System :1024 This is an example of output from the show port-security interface command: Switch# show port-security interface fastethernet0/2 Port Security :Enabled Port status :SecureUp Violation mode :Shutdown Maximum MAC Addresses :11 Total MAC Addresses :11 Configured MAC Addresses :3
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show rps show rps Use the show rps privileged EXEC command to display the status of the Cisco Redundant Power System (RPS). show rps [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the specified expression. | exclude (Optional) Display excludes lines that match the specified expression. | include (Optional) Display includes lines that match the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show rps Table 2-28 show rps Output Description (continued) Display Description ALT_AMBER_BLACK The internal power supply in the switch has failed, and the RPS is providing power to the switch (redundancy has been allocated to this device). AMBER The RPS is in standby mode, or the RPS has detected a failure. Press the Standby/Active button on the RPS to put the RPS in active mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show running-config vlan show running-config vlan Use the show running-config vlan privileged EXEC command to display all or a range of VLAN-related configurations on the switch. show running-config vlan [vlan-ids] [ | {begin | exclude | include} expression] Syntax Description vlan-ids (Optional) Display configuration information for a single VLAN identified by VLAN ID number or a range of VLANs separated by a hyphen. The range is 1 to 4094.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show running-config vlan Related Commands Command Description show running-config Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. vlan (global configuration) Enters config-vlan mode for creating and editing VLANs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show setup express show setup express Use the show setup express privileged EXEC command to show if Express Setup mode is active on the switch. show setup express This command is available only on Catalyst 2950 switches. Syntax Description This command has no arguments or keywords. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.1(14)EA1 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show spanning-tree show spanning-tree Use the show spanning-tree user EXEC command to display spanning-tree state information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show spanning-tree mst [configuration | instance-id] [detail | interface interface-id [detail]] (Optional) Display the multiple spanning-tree (MST) region configuration and status (all options only available in privileged EXEC mode). Display MST information for an instance, a range of instances separated by a hyphen, or a series of instances separated by a comma. The range is 0 to 15. Valid interfaces include physical ports, VLANs, and port channels.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show spanning-tree Examples This is an example of output from the show spanning-tree active command: Switch# show spanning-tree active VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 20481 Address 0008.217a.5800 Cost 38 Port 1 (FastEthernet0/1) Hello Time 2 sec Max Age 20 sec Bridge ID Forward Delay 15 sec Priority 32769 (priority 32768 sys-id-ext 1) Address 0008.205e.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree summary command: Switch> show spanning-tree summary Switch is in pvst mode Root bridge for: none EtherChannel misconfiguration guard Extended system ID is enabled Portfast is disabled by PortFast BPDU Guard is disabled by Portfast BPDU Filter is disabled by Loopguard is disabled by UplinkFast is disabled BackboneFast is disabled Pathcost method used is short is enabled default d
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show spanning-tree Related Commands Command Description clear spanning-tree counters Clears the spanning-tree counters. clear spanning-tree detected-protocols Restarts the protocol migration process. spanning-tree backbonefast Enables the BackboneFast feature. spanning-tree bpdufilter Prevents a port from sending or receiving bridge protocol data units (BPDUs).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show storm-control show storm-control Use the show storm-control user EXEC command to display the packet-storm control information. This command also displays the action that the switch takes when the thresholds are reached. show storm-control [interface-id] [{broadcast | history | multicast | unicast}] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) Port for which information is to be displayed.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show storm-control Table 2-29 lists the show storm-control field descriptions. Table 2-29 show storm-control Field Descriptions Field Description Interface Displays the ID of the interface. Filter State Displays the status of the filter: • Blocking—Storm control is enabled, action is filter, and a storm has occurred. • Forwarding—Storm control is enabled, and a storm has not occurred. • Inactive—Storm control is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show storm-control Note Related Commands The duration field could be n/a when a storm is still present or when a new storm of a different type occurs before the current storm ends. Command Description storm-control Enables broadcast, multicast, or unicast storm control on a port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show system mtu show system mtu Use the show system mtu privileged EXEC command to display the global maximum packet size or maximum transmission unit (MTU) set for the switch. show system mtu [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show udld show udld Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) status for all ports or the specified port. show udld [interface-id] [ | {begin | exclude | include} expression] Syntax Description interface-id (Optional) ID of the interface and port number. Valid interfaces include physical ports and VLANs. The VLAN range is 1 to 4094.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show udld Message interval: 5 CDP Device name: 066527791 Table 2-30 show udld Field Descriptions Field Description Interface The interface on the local device configured for UDLD. Port enable administrative configuration setting How UDLD is configured on the port. If UDLD is enabled or disabled, the port enable configuration setting is the same as the operational enable state.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show udld This is an example of output from the show udld interface configuration command when the aggressive mode is configured: Switch# show udld gigabitethernet0/1 Interface Gi0/1 --Port enable administrative configuration setting:Enabled / in aggressive mode Port enable operational state:Enabled / in aggressive mode Current bidirectional state:Unknown Current operational state:Link down Message interval:7 Time out interval:5 No neighbor cache inform
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show version show version Use the show version user EXEC command to display version information for the hardware and firmware. show version [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the specified expression. | exclude (Optional) Display excludes lines that match the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show version 32K bytes of flash-simulated non-volatile configuration memory.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vlan show vlan Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch. show vlan [brief | id vlan-id | name vlan-name | remote-span | summary] [ | {begin | exclude | include} expression] Syntax Description Syntax Description Note brief (Optional) Display one line for each VLAN with the VLAN name, status, and its ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vlan Examples This is an example of output from the show vlan command. Table 2-31 describes each field in the display.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vlan Table 2-31 show vlan Command Output Fields (continued) Field Description Trans1 Translation bridge 1. Trans2 Translation bridge 2. AREHops Maximum number of hops for All-Routes Explorer frames—possible values are 1 through 13; the default is 7. STEHops Maximum number of hops for Spanning-Tree Explorer frames—possible values are 1 to 13; the default is 7.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vmps show vmps Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vmps VQP VQP Wrong Version: 0 Insufficient Resource: 0 Table 2-32 Related Commands show vmps statistics Field Descriptions Field Description VQP Queries Number of queries sent by the client to the VMPS. VQP Responses Number of responses sent to the client from the VMPS. VMPS Changes Number of times that the VMPS changed from one server to another. VQP Shutdowns Number of times the VMPS sent a response to shut down the port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vtp show vtp Use the show vtp user EXEC command to display general information about the VLAN Trunking Protocol (VTP) management domain, status, and counters. show vtp {counters | status} [ | {begin | exclude | include} expression] Syntax Description counters Display the VTP statistics for the switch. status Display general information about the VTP management domain status.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vtp Table 2-33 show vtp counters Field Descriptions Field Description Summary advertisements received Number of summary advertisements received by this switch on its trunk ports. Summary advertisements contain the management domain name, the configuration revision number, the update timestamp and identity, the authentication checksum, and the number of subset advertisements to follow.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vtp Table 2-33 show vtp counters Field Descriptions (continued) Field Description Number of configuration digest errors Number of MD5 digest errors. Digest errors increment whenever the MD5 digest in the summary packet and the MD5 digest of the received advertisement calculated by the switch do not match. This error usually means that the VTP password in the two switches is different.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vtp Table 2-34 show vtp status Field Descriptions (continued) Field Description VTP Operating Mode Displays the VTP operating mode, which can be server, client, or transparent. Server: a switch in VTP server mode is enabled for VTP and sends advertisements. You can configure VLANs on it. The switch guarantees that it can recover all the VLAN information in the current VTP database from NVRAM after reboot.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show vtp Related Commands Command Description clear vtp counters Clears the VTP and pruning counters. vtp (global configuration) Configures the VTP filename, interface name, domain name, and mode. You can save configuration resulting from this command in the switch configuration file. vtp (privileged EXEC) Configures the VTP password, pruning, and version. vtp (VLAN configuration) Configures the VTP domain name, password, pruning, and mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show wrr-queue bandwidth show wrr-queue bandwidth Use the show wrr-queue bandwidth user EXEC command to display the weighted round-robin (WRR) bandwidth allocation for the four class of service (CoS) priority queues. show wrr-queue bandwidth [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show wrr-queue cos-map show wrr-queue cos-map Use the show wrr-queue cos-map user EXEC command to display the mapping of the class of service (CoS) priority queues. show wrr-queue cos-map [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the specified expression. | exclude (Optional) Display excludes lines that match the specified expression.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands shutdown shutdown Use the shutdown interface configuration command to disable a port and to shut down the management VLAN. Use the no form of this command to enable a disabled port or to activate the management VLAN. shutdown no shutdown Syntax Description This command has no arguments or keywords. Command Modes Interface configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands shutdown vlan shutdown vlan Use the shutdown vlan global configuration command to shut down (suspend) local traffic on the specified VLAN. Use the no form of this command to restart local traffic on the VLAN. shutdown vlan vlan-id no shutdown vlan vlan-id Syntax Description vlan-id Defaults No default is defined. Command Modes Global configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server enable traps snmp-server enable traps Use the snmp-server enable traps global configuration command to enable the switch to send Simple Network Management Protocol (SNMP) notification for various trap types to the network management system (NMS). Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server enable traps Note linkup (Optional) Enable SNMP linkup traps. warmstart (Optional) Enable SNMP warmstart traps. stpx (Optional) Enable SNMP STPX MIB traps. syslog (Optional) Enable SNMP syslog traps. vlan-membership (Optional) Enable SNMP VLAN membership traps. vlancreate (Optional) Enable SNMP VLAN-created traps. vlandelete (Optional) Enable SNMP VLAN-deleted traps. vtp (Optional) Enable VLAN Trunking Protocol (VTP) traps.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server enable traps Examples This example shows how to send EnvMon traps to the NMS: Switch(config)# snmp-server enable traps envmon fan This example shows how to send VTP traps to the NMS: Switch(config)# snmp-server enable traps vtp You can verify your setting by entering the show vtp status privileged EXEC or the show running-config privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server host snmp-server host Use the snmp-server host global configuration command to specify the recipient (host) of a Simple Network Management Protocol (SNMP) notification operation. Use the no form of this command to remove the specified host.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server host Defaults port-security (Optional) Send port security traps. rtr (Optional) Send SNMP Response Time Reporter traps. snmp (Optional) Send SNMP-type traps. stpx (Optional) Send SNMP STPX MIB traps. syslog (Optional) Send SNMP syslog traps. tty (Optional) Send TCP connection traps. udp-port port-number (Optional) Send notification host’s User Datagram Protocol (UDP) port number. The range for port-number is 0 to 65535.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server host Usage Guidelines SNMP notifications can be sent as traps or inform requests. Traps are unreliable because the receiver does not send acknowledgments when it receives traps. The sender cannot determine if the traps were received. However, an SNMP entity that receives an inform request acknowledges the message with an SNMP response PDU. If the sender never receives the response, the inform request can be sent again.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp-server host Related Commands Command Description show running-config Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. snmp-server enable traps Enables SNMP notification for various trap types.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands snmp trap mac-notification snmp trap mac-notification Use the snmp trap mac-notification interface configuration command to enable the MAC notification traps on a port. Use the no form of this command to disable the traps and to return the port to default settings.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree backbonefast spanning-tree backbonefast Use the spanning-tree backbonefast global configuration command to enable the BackboneFast feature. Use the no form of this command to return to the default setting. spanning-tree backbonefast no spanning-tree backbonefast Syntax Description This command has no arguments or keywords. Defaults BackboneFast is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree bpdufilter spanning-tree bpdufilter Use the spanning-tree bpdufilter interface configuration command to prevent a port from sending or receiving bridge protocol data units (BPDUs). Use the no form of this command to return to the default setting. spanning-tree bpdufilter {disable | enable} no spanning-tree bpdufilter Syntax Description disable Disable BPDU filtering on the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree bpdufilter Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree bpduguard spanning-tree bpduguard Use the spanning-tree bpduguard interface configuration command to put a port in the error-disabled state when it receives a bridge protocol data unit (BPDU). Use the no form of this command to return to the default setting. spanning-tree bpduguard {disable | enable} no spanning-tree bpduguard Syntax Description disable Disable BPDU guard on the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree bpduguard Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree cost spanning-tree cost Use the spanning-tree cost interface configuration command to set the path cost for spanning-tree calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to place in the forwarding state. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree cost Examples This example shows how to set a path cost of 250 on an interface: Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree cost 250 This example shows how to set a path cost of 300 for VLANs 10, 12 to 15, and 20: Switch(config-if)# spanning-tree vlan 10,12-15,20 cost 300 You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree etherchannel guard misconfig spanning-tree etherchannel guard misconfig Use the spanning-tree etherchannel guard misconfig global configuration command to display an error message when the switch detects a loop that occurred because of an EtherChannel misconfiguration. Use the no form of this command to disable the feature.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree etherchannel guard misconfig Related Commands Command Description errdisable recovery cause channel-misconfig Enables the timer to recover from the EtherChannel misconfiguration error-disable state. show etherchannel summary Displays EtherChannel information for a channel as a one-line summary per channel-group. show interfaces status err-disabled Displays the interfaces in the error-disabled state.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree extend system-id spanning-tree extend system-id Use the spanning-tree extend system-id global configuration command to enable the extended system ID feature. spanning-tree extend system-id Note Though visible in the command-line help strings, the no version of this command is not supported. You cannot disable the extended system ID feature. Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree extend system-id Related Commands Command Description show spanning-tree summary Displays a summary of spanning-tree port states. spanning-tree mst root Configures the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree guard spanning-tree guard Use the spanning-tree guard interface configuration command to enable root guard or loop guard on all the VLANs associated with the selected interface. Root guard restricts which interface is allowed to be the spanning-tree root port or the path-to-the root for the switch. Loop guard prevents alternate or root ports from becoming designated ports when a failure creates a unidirectional link.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree guard Loop guard is most effective when it is configured on the entire switched network. When the switch is operating in PVST+ or rapid-PVST+ mode, loop guard prevents alternate and root ports from becoming designated ports, and spanning tree does not send bridge protocol data units (BPDUs) on root or alternate ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree link-type spanning-tree link-type Use the spanning-tree link-type interface configuration command to override the default link-type setting, which is determined by the duplex mode of the port, and to enable rapid spanning-tree transitions to the forwarding state. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree loopguard default spanning-tree loopguard default Use the spanning-tree loopguard default global configuration command to prevent alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link. Use the no form of this command to return to the default setting. spanning-tree loopguard default no spanning-tree loopguard default Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree loopguard default Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree guard loop Enables the loop guard feature on all the VLANs associated with the specified interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mode spanning-tree mode Use the spanning-tree mode global configuration command to enable per-VLAN spanning-tree plus PVST+), rapid PVST+, or multiple spanning tree (MST) on your switch. Use the no form of this command to return to the default setting. spanning-tree mode {mst | pvst | rapid-pvst} no spanning-tree mode Syntax Description mst Enable MST and Rapid Spanning Tree Protocol (RSTP) (based on IEEE 802.1s and IEEE 802.1w).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mode Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst configuration spanning-tree mst configuration Use the spanning-tree mst configuration global configuration command to enter multiple spanning-tree (MST) configuration mode through which you configure the MST region. Use the no form of this command to return to the default settings. spanning-tree mst configuration no spanning-tree mst configuration Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst configuration When you map VLANs to an MST instance, the mapping is incremental, and the VLANs specified in the command are added to or removed from the VLANs that were previously mapped. To specify a range, use a hyphen; for example, instance 1 vlan 1-63 maps VLANs 1 to 63 to MST instance 1. To specify a series, use a comma; for example, instance 1 vlan 10, 20, 30 maps VLANs 10, 20, and 30 to MST instance 1.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst cost spanning-tree mst cost Use the spanning-tree mst cost interface configuration command to set the path cost for multiple spanning-tree (MST) calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to put in the forwarding state. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst cost Related Commands Command Description show spanning-tree mst interface interface-id Displays MST information for the specified interface. spanning-tree mst port-priority Configures an interface priority. spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst forward-time spanning-tree mst forward-time Use the spanning-tree mst forward-time global configuration command to set the forward-delay time for all multiple spanning-tree (MST) instances. The forwarding time determines how long each of the listening and learning states last before the interface begins forwarding. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst hello-time spanning-tree mst hello-time Use the spanning-tree mst hello-time global configuration command to set the interval between hello bridge protocol data units (BPDUs) sent by root switch configuration messages. Use the no form of this command to return to the default setting. spanning-tree mst hello-time seconds no spanning-tree mst hello-time Syntax Description seconds Defaults The default is 2 seconds.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst max-age spanning-tree mst max-age Use the spanning-tree mst max-age global configuration command to set the interval between messages that the spanning tree receives from the root switch. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch within this interval, it recomputes the spanning-tree topology. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst max-age Related Commands Command Description show spanning-tree mst Displays multiple spanning-tree (MST) information. spanning-tree mst forward-time Sets the forward-delay time for all MST instances. spanning-tree mst hello-time Sets the interval between hello BPDUs sent by root switch configuration messages. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst max-hops spanning-tree mst max-hops Use the spanning-tree mst max-hops global configuration command to set the number of hops in a region before the bridge protocol data unit (BPDU) is discarded and the information held for a port is aged. Use the no form of this command to return to the default setting. spanning-tree mst max-hops hop-count no spanning-tree mst max-hops Syntax Description hop-count Defaults The default is 20 hops.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst port-priority spanning-tree mst port-priority Use the spanning-tree mst port-priority interface configuration command to configure an interface priority. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can determine which interface to put in the forwarding state. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst port-priority Related Commands Command Description show spanning-tree mst interface interface-id Displays MST information for the specified interface. spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst priority Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst priority spanning-tree mst priority Use the spanning-tree mst priority global configuration command to set the switch priority for the specified spanning-tree instance. Use the no form of this command to return to the default setting. spanning-tree mst instance-id priority priority no spanning-tree mst instance-id priority Syntax Description instance-id Range of spanning-tree instances.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst root spanning-tree mst root Use the spanning-tree mst root global configuration command to configure the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree mst root When you enter the spanning-tree mst instance-id root secondary command, because of support for the extended system ID, the software changes the switch priority from the default value (32768) to 28672. If the root switch fails, this switch becomes the next root switch (if the other switches in the network use the default switch priority of 32768 and are therefore unlikely to become the root switch).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree port-priority spanning-tree port-priority Use the spanning-tree port-priority interface configuration command to configure an interface priority. If a loop occurs, spanning tree can determine which interface to put in the forwarding state. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree port-priority Related Commands Command Description show spanning-tree interface interface-id Displays spanning-tree information for the specified interface. spanning-tree cost Sets the path cost for spanning-tree calculations. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree portfast (global configuration) spanning-tree portfast (global configuration) Use the spanning-tree portfast global configuration command to globally enable bridge protocol data unit (BPDU) filtering on Port Fast-enabled ports, the BPDU guard feature on Port Fast-enabled ports, or the Port Fast feature on all nontrunking ports. The BPDU filtering feature prevents the switch port from sending or receiving BPDUs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree portfast (global configuration) Caution Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops. Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on ports that are in a Port Fast-operational state. In a valid configuration, Port Fast-enabled ports do not receive BPDUs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree portfast (interface configuration) spanning-tree portfast (interface configuration) Use the spanning-tree portfast interface configuration command to enable the Port Fast feature on an interface in all its associated VLANs. When the Port Fast feature is enabled, the interface changes directly from a blocking state to a forwarding state without making the intermediate spanning-tree state changes.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree portfast (interface configuration) Examples This example shows how to enable the Port Fast feature on an interface: Switch(config)# interface fastethernet0/2 Switch(config-if)# spanning-tree portfast You can verify your settings by entering the show running-config privileged EXEC command. Related Commands Command Description show running-config Displays the current operating configuration.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree stack-port spanning-tree stack-port Use the spanning-tree stack-port interface configuration command to enable cross-stack UplinkFast (CSUF) on an interface and to accelerate the choice of a new root port when a link or switch fails or when spanning tree reconfigures itself. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree stack-port Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree uplinkfast Accelerates the choice of a new root port when a link or switch fails or when spanning tree reconfigures itself.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree uplinkfast spanning-tree uplinkfast Use the spanning-tree uplinkfast global configuration command to accelerate the choice of a new root port when a link or switch fails or when the spanning tree reconfigures itself. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree uplinkfast Do not enable the root guard on interfaces that will be used by the UplinkFast feature. With UplinkFast, the backup interfaces (in the blocked state) replace the root port in the case of a failure. However, if root guard is also enabled, all the backup interfaces used by the UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree vlan spanning-tree vlan Use the spanning-tree vlan global configuration command to configure spanning tree on a per-VLAN basis. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree vlan Command History Usage Guidelines Release Modification 12.0(5.2)WC(1) This command was introduced. 12.1(9)EA1 The priority priority range changed from 1 to 65535 to 1 to 61440 (in increments of 4096). Disabling the STP causes the VLAN to stop participating in the spanning-tree topology. Interfaces that are administratively down remain down. Received BPDUs are forwarded like other multicast frames.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands spanning-tree vlan This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLANs 20 to 24: Switch(config)# spanning-tree vlan 20-24 hello-time 3 This example shows how to set spanning-tree max-age to 30 seconds for VLAN 20: Switch(config)# spanning-tree vlan 20 max-age 30 This example shows how to reset the max-age parameter to the default value for spanning-tree instances 100 and 105 to 108 : Switch(config)# no spanning-tree
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands speed speed Use the speed interface configuration command to specify the speed of a port. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands speed If the speed is set to auto, the switch negotiates with the device at the other end of the link for the speed setting and then forces the speed setting to the negotiated value. The duplex setting remains as configured on each end of the link, which could result in a duplex setting mismatch. If both the speed and duplex are set to specific values, autonegotiation is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands speed This example shows how to set a port to autonegotiate at only 10 or 100 Mbps: Switch(config)# interface fastethernet0/1 Switch(config-if)# speed auto 10 100 You can verify your settings by entering the show interfaces transceiver properties or the show running-config privileged EXEC command. Related Commands Command Description cpe speed Sets the speed of a CPE port. duplex Specifies the duplex mode of operation for switch ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands storm-control storm-control Use the storm-control interface configuration command to enable broadcast, multicast, or unicast storm control on a port and to specify the action taken when a storm occurs on a port. Use the no form of this command to disable storm control for broadcast, multicast, or unicast traffic and disable the specified storm-control action.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands storm-control Command Modes Interface configuration Command History Release Modification 12.1(6)EA2 This command was introduced. It replaced port storm-control command. 12.1(14)EA1 The pps pps pps-low option was added. 12.1(22)EA2 The pps-low option was made optional. Usage Guidelines Use the storm-control command to enable or disable broadcast, multicast, or unicast storm control on a port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands storm-control This example shows how to enable the shutdown action on a port: Switch(config-if)# storm-control action shutdown This example shows how to enable the trap action on a port: Switch(config-if)# storm-control action trap This example shows how to disable the shutdown action on a port: Switch(config-if)# no storm-control action shutdown You can verify your settings by entering the show storm-control privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport access switchport access Use the switchport access interface configuration command to configure a port as a static-access or dynamic-access port. If the mode is set to access, the port operates as a member of the configured VLAN. If set to dynamic, the port starts discovery of its VLAN assignment based on the incoming packets it receives. Use the no form of this command to reset the access mode to the default VLAN for the switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport access • The software implements the VLAN Query Protocol (VQP) client, which can query a VMPS such as a Catalyst 6000 series switch. The VMPS server must be configured before a port is configured as dynamic. • Use dynamic-access ports only to connect end stations. Connecting them to switches or routers that use bridging protocols can cause a loss of connectivity.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport block switchport block Use the switchport block interface configuration command to prevent forwarding of unknown multicast or unicast packets. Use the no form of this command to allow forwarding of unknown multicast or unicast packets.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport block Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching port, including port blocking and port protection settings.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport host switchport host Use the switchport host interface configuration command on the switch to optimize a Layer 2 port for a host connection. The no form of this command has no effect on the system. switchport host Syntax Description This command has no arguments or keywords. Defaults The default is for the port to not be optimized for a host connection. Command Modes Interface configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport host Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including switchport mode. show running-config interface interface-id Displays the running configuration on the interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport mode switchport mode Use the switchport mode interface configuration command to configure the VLAN membership mode of a port. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport mode The no switchport mode form resets the mode to dynamic desirable. Trunk ports cannot coexist on the same switch. To autonegotiate trunking, the interfaces must be in the same VTP domain. Trunk negotiation is managed by the Dynamic Trunking Protocol (DTP), which is a point-to-point protocol. However, some internetworking devices might forward DTP frames improperly, which could cause misconfigurations.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport nonegotiate switchport nonegotiate Use the switchport nonegotiate interface configuration command to specify that Dynamic Trunking Protocol (DTP) negotiation packets are not sent on the Layer 2 interface. The switch does not engage in DTP negotiation on this interface. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport nonegotiate Examples This example shows how to cause an interface to refrain from negotiating trunking mode and to act as a trunk or access port (depending on the mode set): Switch(config-if)# switchport nonegotiate You can verify your setting by entering the show interfaces interface-id switchport privileged EXEC command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security switchport port-security Use the switchport port-security interface configuration command without keywords to enable port security on an interface. Use the keywords to configure secure MAC addresses, a maximum number of secure MAC addresses, or the violation mode. Use the no form of this command to disable port security or to return to the default settings.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security Defaults restrict (Optional) Set the security violation restrict mode. When the number of secure MAC addresses reaches the limit allowed on the port, packets with unknown source addresses are dropped until you remove a sufficient number of secure MAC addresses or increase the number of maximum allowable addresses. In this mode, you are notified that a security violation has occurred.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security You can delete a sticky secure MAC addresses from the address table by using the clear port-security sticky mac-addr privileged EXEC command. To delete all the sticky addresses on an interface, use the clear port-security sticky interface-id privileged EXEC command. If you disable sticky learning, the sticky secure MAC addresses are converted to dynamic secure addresses and are removed from the running configuration.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security This example shows how to set the maximum number of addresses that a port can learn to 20: Switch(config-if)# switchport port-security maximum 20 This example shows how to enable sticky learning and to enter two sticky secure MAC addresses: Switch(config-if)# switchport port-security mac-address sticky Switch(config-if)# switchport port-security mac-address sticky 0000.0000.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security aging switchport port-security aging Use the switchport port-security aging interface configuration command to set the aging time and type for secure address entries or to change the aging behavior for statically configured secure addresses on a particular port. Use the no form of this command to disable port security aging or to return to the default settings.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport port-security aging To allow unlimited access to a secure address, configure it as a secure address, and disable aging for the statically configured secure address by using the no switchport port-security aging static interface configuration command.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport priority extend switchport priority extend Use the switchport priority extend interface configuration command to set a port priority for the incoming untagged frames or the priority of frames received by the IP phone connected to the specified port. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport priority extend Related Commands Command Description show interfaces Displays the administrative and operational status of a port or all ports. switchport voice vlan Configures the voice VLAN on the port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport protected switchport protected Use the switchport protected interface configuration command to isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. Use the no form of this command to return to the default setting. switchport protected no switchport protected Syntax Description This command has no arguments or keywords. Defaults No protected port is defined. All ports are nonprotected.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport trunk switchport trunk Use the switchport trunk interface configuration command to set the trunk characteristics when the interface is in trunking mode. Use the no form of the command without keywords to reset all of the trunking characteristics to the defaults. Use the no form with keywords to reset those characteristics to the defaults.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport trunk • vlan-atom is either a single VLAN number from 1 to 4094, a list of nonconsecutive VLANs, or a continuous range of VLANs described by two VLAN numbers, the lower one first, separated by a hyphen. For a list of nonconsecutive VLAN IDs, separate the VLAN IDs with a comma. Do not enter a space after the comma. For a continuous range of VLAN IDs, use a hyphen to designate the range. Do not enter a space before or after the hyphen.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport trunk • If a packet has a VLAN ID that is the same as the sending port native VLAN ID, the packet is sent without a tag; otherwise, the switch sends the packet with a tag. • The no form of the native vlan command resets the native mode VLAN to the appropriate default VLAN for the device. Trunk Pruning: Note Examples • The pruning-eligible list applies only to trunk ports. • Each trunk port has its own eligibility list.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport voice vlan switchport voice vlan Use the switchport voice vlan interface configuration command to configure voice VLAN on the port. Use the no form of this command to return to the default setting. switchport voice vlan {vlan-id | dot1p | none | untagged} no switchport voice vlan Syntax Description Defaults vlan-id VLAN used for voice traffic. The range is 1 to 4094.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands switchport voice vlan Examples This example shows how to configure VLAN 2 as the voice VLAN: Switch(config-if)# switchport voice vlan 2 You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command. Related Commands Command Description show interfaces interface-id switchport Displays the administrative and operational status of a switching (nonrouting) port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands system mtu system mtu Use the system mtu global configuration command to set the maximum packet size or maximum transmission unit (MTU) size for the switch. Use the no form of this command to restore the global MTU value to its original default value. system mtu bytes no system mtu Syntax Description bytes Defaults The default MTU size is 1500 bytes. Command Modes Global configuration Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands system mtu Examples This example shows how to set the maximum packet size to 1528 bytes: Switch(config)# system mtu 1528 Switch(config)# exit This example shows the response when you try to set a switch to an out-of-range number: Switch(config)# system mtu 2000 ^ % Invalid input detected at '^' marker. You can verify your settings by entering the show system mtu privileged EXEC command.
2 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands traceroute mac traceroute mac Use the traceroute mac privileged EXEC command to display the Layer 2 path taken by the packets from the specified source MAC address to the specified destination MAC address. tracetroute mac [interface interface-id] {source-mac-address} [interface interface-id] {destination-mac-address} [vlan vlan-id] [detail] Syntax Description interface interface-id (Optional) Specify an interface on the source or destination switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands traceroute mac The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears. This feature is not supported in Token Ring VLANs.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands traceroute mac This example shows the Layer 2 path when the switch cannot find the destination port for the source MAC address: Switch# traceroute mac 0000.0011.1111 0000.0201.0201 Error:Source Mac address not found. Layer2 trace aborted. This example shows the Layer 2 path when the source and destination devices are in different VLANs: Switch# traceroute mac 0000.0201.0601 0000.0301.0201 Error:Source and destination macs are on different vlans.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands traceroute mac ip traceroute mac ip Use the traceroute mac ip privileged EXEC command to display the Layer 2 path taken by the packets from the specified source IP address or hostname to the specified destination IP address or hostname.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands traceroute mac ip This feature is not supported in Token Ring VLANs. Examples This example shows how to display the Layer 2 path by specifying the source and destination IP addresses and by using the detail keyword: Switch# traceroute mac ip 2.2.66.66 2.2.22.22 detail Translating IP to mac ..... 2.2.66.66 => 0000.0201.0601 2.2.22.22 => 0000.0201.0201 Source 0000.0201.0601 found on con6[WS-C2950G-24-EI] (2.2.6.6) con6 / WS-C2950G-24-EI / 2.2.6.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands udld udld Use the udld global configuration command to enable aggressive or normal mode in the UniDirectional Link Detection (UDLD) and to set the configurable message timer. Use the no form of this command to return to the default settings. udld {aggressive | enable | message time message-timer-interval} no udld {aggressive | enable | message time} Syntax Description Defaults aggressive Enable UDLD in aggressive mode on all fiber-optic interfaces.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands udld Examples • The no udld enable global configuration command followed by the udld {aggressive | enable} global configuration command to re-enable UDLD globally • The no udld port enable interface configuration command followed by the udld port or udld port aggressive interface configuration command to re-enable UDLD on the specified interface • The errdisable recovery cause udld and errdisable recovery interval interval global configuration comm
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands udld port udld port Use the udld port interface configuration command to enable UniDirectional Link Detection (UDLD) on an individual interface or to prevent a fiber-optic interface from being enabled by the udld global configuration command. Use the no form of this command to return to the udld global configuration command setting or to disable UDLD if entered for a nonfiber-optic port.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands udld port Use the udld port aggressive command on fiber-optic ports to override the settings of the udld enable or udld aggressive global configuration command. Use the no form on fiber-optic ports to remove this setting and to return control of UDLD enabling to the udld global configuration command or to disable UDLD on nonfiber-optic ports.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands udld reset udld reset Use the udld reset privileged EXEC command to reset all interfaces shut down by UniDirectional Link Detection (UDLD) and to permit traffic to again pass through. Other features, such as spanning tree, Port Aggregation Protocol (PAgP), and Dynamic Trunking Protocol (DTP), still have their normal effects, if enabled. udld reset Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands upgrade binary upgrade binary Use the upgrade binary controller configuration command to configure the behavior of a Long-Reach Ethernet (LRE) controller upgrade. upgrade binary LRE binary [remote lre-interface] no upgrade binary LRE binary [remote lre-interface] This command is available only on a Catalyst 2950 LRE switch. Syntax Description LRE binary The LRE binary file name being applied. remote lre-interface (Optional) The LRE interface.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands upgrade preserve upgrade preserve Use the upgrade preserve controller configuration command to prevent an upgrade from taking place on a controller in a Long-Reach Ethernet (LRE) switch and on all the devices that remotely connect to it. Use the no form of the command to allow upgrades on the devices. upgrade preserve no upgrade preserve This command is available only on a Catalyst 2950 LRE switch.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) vlan (global configuration) Use the vlan global configuration command to add a VLAN and enter the config-vlan mode. Use the no form of this command to delete the VLAN. Configuration information for normal-range VLANs (VLAN IDs 1 to 1005) is always saved in the VLAN database.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) If you try to create an extended-range VLAN when the switch is not in VTP transparent mode, the VLAN is rejected, and you receive an error message. If you enter an invalid VLAN ID, you receive an error message and do not enter config-vlan mode. Entering the vlan command with a VLAN ID enables config-vlan mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) • mtu mtu-size: specifies the maximum transmission unit (MTU) (packet size in bytes). The range is 1500 to 18190. The default is 1500 bytes. • name vlan-name: names the VLAN with an ASCII string from 1 to 32 characters that must be unique within the administrative domain. The default is VLANxxxx where xxxx represents four numeric digits (including leading zeros) equal to the VLAN ID number.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) Table 2-35 Valid Commands and Syntax for Different Media Types Media Type Valid Syntax Ethernet name vlan-name, media ethernet, state {suspend | active}, said said-value, mtu mtu-size, remote-span, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id FDDI name vlan-name, media fddi, state {suspend | active}, said said-value, mtu mtu-size, ring ring-number, parent parent-vlan-id, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id FDDI-N
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) Table 2-36 VLAN Configuration Rules (continued) Configuration Rule VTP v2 mode is enabled, and you Specify a bridge number. Do not leave this field blank. are configuring a TrBRF VLAN media type. VTP v1 mode is enabled. No VLAN can have an STP type set to auto. This rule applies to Ethernet, FDDI, FDDI-NET, Token Ring, and Token Ring-NET VLANs. Add a VLAN that requires translational bridging (values are not set to zero).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (global configuration) Related Commands Command Description show running-config vlan Displays all or a range of VLAN-related configurations on the switch. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (VLAN configuration) Configures normal-range VLANs in the VLAN database.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) vlan (VLAN configuration) Use the vlan VLAN configuration command to configure VLAN characteristics for a normal-range VLAN (VLAN IDs 1 to 1005) in the VLAN database. You access VLAN configuration mode by entering the vlan database privileged EXEC command. Use the no form of this command without additional parameters to delete a VLAN. Use the no form with parameters to change its configured characteristics.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) media {ethernet | fddi | fd-net | tokenring | tr-net} (Optional) Specify the VLAN media type. Table 2-37 lists the valid syntax for each media type. • ethernet is Ethernet media type (the default). • fddi is FDDI media type. • fd-net is FDDI network entity title (NET) media type. • tokenring is Token Ring media type if the VTP v2 mode is disabled, or TrCRF if the VTP v2 mode is enabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) Table 2-37 Valid Syntax for Different Media Types Media Type Valid Syntax Ethernet vlan vlan-id [name vlan-name] media ethernet [state {suspend | active}] [said said-value] [mtu mtu-size] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id] FDDI vlan vlan-id [name vlan-name] media fddi [state {suspend | active}] [said said-value] [mtu mtu-size] [ring ring-number] [parent parent-vlan-id] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) Table 2-38 VLAN Configuration Rules (continued) Configuration Rule VTP v2 mode is enabled, and you Specify a bridge number. Do not leave this field blank. are configuring a TrBRF VLAN media type. VTP v1 mode is enabled. No VLAN can have an STP type set to auto. This rule applies to Ethernet, FDDI, FDDI-NET, Token Ring, and Token Ring-NET VLANs. Add a VLAN that requires translational bridging (values are not set to zero).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) Command History Usage Guidelines Note Release Modification 12.0(5.2)WC(1) This command was introduced. 12.1(13)EA1 The value for vlan-id variable was changed. You can only use this command mode for configuring normal-range VLANs, that is, VLAN IDs 1 to 1005. To configure extended-range VLANs (VLAN IDs 1006 to 4094), use the vlan global configuration command. VLAN configuration is always saved in the VLAN database.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan (VLAN configuration) Examples • When the no vlan vlan-id ring form is used, the VLAN logical ring number returns to the default (0). • When the no vlan vlan-id said form is used, the VLAN SAID returns to the default (100,000 plus the VLAN ID). • When the no vlan vlan-id state form is used, the VLAN state returns to the default (active).
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan database vlan database Use the vlan database privileged EXEC command to enter VLAN configuration mode. From this mode, you can add, delete, and modify VLAN configurations for normal-range VLANs and globally propagate these changes by using the VLAN Trunking Protocol (VTP). Configuration information is saved in the VLAN database. vlan database Note VLAN configuration mode is only valid for VLAN IDs 1 to 1005.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan database When you have modified VLAN or VTP parameters, you can use these editing buffer manipulation commands: • abort: exits the mode without applying the changes. The VLAN configuration that was running before you entered VLAN configuration mode continues to be used.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vlan database MTU: 1500 Bridge Type: SRB Ring Number: 0 Translational Bridged VLAN: 1 Translational Bridged VLAN: 1003
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vmps reconfirm (global configuration) vmps reconfirm (global configuration) Use the vmps reconfirm global configuration command to change the reconfirmation interval for the VLAN Query Protocol (VQP) client. vmps reconfirm interval Syntax Description interval Defaults The default reconfirmation interval is 60 minutes. Command Modes Global configuration Command History Release Modification 12.1(13)AY This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vmps reconfirm (privileged EXEC) vmps reconfirm (privileged EXEC) Use the vmps reconfirm privileged EXEC command to immediately send VLAN Query Protocol (VQP) queries to reconfirm all dynamic VLAN assignments with the VLAN Membership Policy Server (VMPS). vmps reconfirm Syntax Description This command has no arguments or keywords. Defaults No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vmps retry vmps retry Use the vmps retry global configuration command to configure the per-server retry count for the VLAN Query Protocol (VQP) client. vmps retry count Syntax Description count Defaults The default retry count is 3. Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vmps server vmps server Use the vmps server global configuration command to configure the primary VLAN Membership Policy Server (VMPS) and up to three secondary servers. Use the no form of this command to remove a VMPS server. vmps server ipaddress [primary] no vmps server [ipaddress] Syntax Description ipaddress IP address or host name of the primary or secondary VMPS servers.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vmps server This example shows how to delete the server with IP address 191.10.49.21: Switch(config)# no vmps server 191.10.49.21 You can verify your settings by entering the show vmps privileged EXEC command and examining information in the VMPS Domain Server row. Related Commands Command Description show vmps Displays VQP and VMPS information.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (global configuration) vtp (global configuration) Use the vtp global configuration command to set or modify the VLAN Trunking Protocol (VTP) configuration characteristics. Use the no form of this command to remove the settings or to return to the default settings.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (global configuration) Defaults The default filename is flash:vlan.dat. The default mode is server mode. No domain name or password is defined. No password is configured. Pruning is disabled. The default version is version 1. Command Modes Global configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced. 12.1(6)EA2 The if-id keyword was added. 12.1(9)EA1 The domain and mode keywords were added.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (global configuration) • After you configure a domain name, it cannot be removed. You can only reassign it to a different domain. Follow these guidelines when setting VTP mode: • The no vtp mode command returns the switch to VTP server mode. • The vtp mode server command is the same as no vtp mode except that it does not return an error if the switch is not in client or transparent mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (global configuration) • If you are configuring a Token Ring bridge relay function (TrBRF) or Token Ring concentrator relay function (TrCRF) VLAN media type, you must use version 2. • If you are configuring a Token Ring or Token Ring-NET VLAN media type, you must use version 1. You cannot save password, pruning, and version configurations in the switch configuration file.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (privileged EXEC) vtp (privileged EXEC) Use the vtp privileged EXEC command to configure the VLAN Trunking Protocol (VTP) password, pruning, and version. Use the no form of this command to return to the default settings. vtp {password password | pruning | version number} no vtp {password | pruning | version} Note Syntax Description Defaults Beginning with Cisco IOS Release 12.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (privileged EXEC) Each VTP switch automatically detects the capabilities of all the other VTP devices. To use version 2, all VTP switches in the network must support version 2; otherwise, you must configure them to operate in VTP version 1 mode. If all switches in a domain are VTP version 2-capable, you need only to configure version 2 on one switch; the version number is then propagated to the other version-2 capable switches in the VTP domain.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (VLAN configuration) vtp (VLAN configuration) Use the vtp VLAN configuration command to configure VLAN Trunking Protocol (VTP) characteristics. You access VLAN configuration mode by entering the vlan database privileged EXEC command. Use the no form of this command to return to the default settings, disable the characteristic, or remove the password.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (VLAN configuration) Pruning is disabled. VTP version 2 (v2 mode) is disabled. Command Modes VLAN configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (VLAN configuration) • After you configure a domain name, it cannot be removed. You can reassign it only to a different domain. Follow these guidelines when configuring a VTP password: • Passwords are case sensitive. Passwords should match on all switches in the same domain. • When the no vtp password form of the command is used, the switch returns to the no-password state.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands vtp (VLAN configuration) Related Commands Command Description show vtp status Displays the VTP statistics for the switch and general information about the VTP management domain status. switchport trunk pruning Configures the VLAN pruning-eligible list for ports in trunking mode. vtp (global configuration) Configures the VTP filename, interface, domain-name, and mode.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands wrr-queue bandwidth wrr-queue bandwidth Use the wrr-queue bandwidth global configuration command to assign weighted round-robin (WRR) weights to the four class of service (CoS) priority queues. Use the no form of this command to disable the WRR scheduler and enable the strict priority scheduler. wrr-queue bandwidth weight1...weight4 no wrr-queue bandwidth Syntax Description weight1...weight4 Defaults WRR is disabled.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands wrr-queue bandwidth Related Commands Command Description wrr-queue cos-map Assigns CoS values to the CoS priority queues. show wrr-queue bandwidth Displays the WRR bandwidth allocation for the four CoS priority queues. show wrr-queue cos-map Displays the mapping of the CoS to the CoS priority queues.
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands wrr-queue cos-map wrr-queue cos-map Use the wrr-queue cos-map global configuration command to assign class of service (CoS) values to the CoS priority queues. Use the no form of this command to return to the default settings. wrr-queue cos-map quid cos1...cosn no wrr-queue cos-map [queue-id [cos1 ... cosn]] Syntax Description Defaults quid The queue id of the CoS priority queue. The range is 1 to 4 where 1 is the lowest CoS priority queue. cos1...
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands wrr-queue cos-map CoS Value CoS Priority Queue Not applied 1 0, 1, 2, 3 2 4, 5 3 6, 7 4 In the previous example, CoS priority queue 1 is no longer used because no CoS value is assigned to the queue. You can set the CoS values to the default values by entering the no wrr-queue cos-map global configuration command. You can verify your settings by entering the show wrr-queue cos-map privileged EXEC command.
A P P E N D I X A Catalyst 2955 Alarm Commands This appendix describes the commands used to monitor switch conditions on the Catalyst 2955 switch. These commands are not supported on the Catalyst 2950 switch. Note For more information about how to use the commands, see the “Configuring Catalyst 2955 Switch Alarms” chapter in the software configuration guide for this release.
Appendix A Catalyst 2955 Alarm Commands alarm facility fcs-hysteresis alarm facility fcs-hysteresis Use the alarm facility fcs-hysteresis global configuration command to set the frame check sequence (FCS) error hysteresis threshold as a percentage of fluctuation from the FCS bit error rate. Use the no form of this command to set the FCS error hysteresis threshold to its default value.
Appendix A Catalyst 2955 Alarm Commands alarm facility power-supply alarm facility power-supply Use the alarm facility power-supply global configuration command to set the alarm options for a missing or failing power supply when the system is operating in dual power-supply mode. Use the no form of the command to disable the specified setting.
Appendix A Catalyst 2955 Alarm Commands alarm facility temperature alarm facility temperature Use the alarm facility temperature global configuration command to configure a primary temperature monitoring alarm or to configure a secondary temperature alarm threshold with a lower maximum temperature threshold. Use the no form of this command to delete the temperature monitoring alarm configuration or to disable the secondary temperature alarm.
Appendix A Catalyst 2955 Alarm Commands alarm facility temperature Examples This example shows how to set the secondary temperature with a high threshold value of 45 0C with alarms and how to send traps to the minor relay circuitry, to the syslog, and to an SNMP server: Switch(config)# Switch(config)# Switch(config)# Switch(config)# alarm alarm alarm alarm facility facility facility facility temperature temperature temperature temperature secondary secondary secondary secondary 45 relay minor syslog
Appendix A Catalyst 2955 Alarm Commands alarm profile (global configuration) alarm profile (global configuration) Use the alarm profile global configuration command to create an alarm profile and to enter alarm profile configuration mode. Use the no form of this command to delete an alarm profile. alarm profile name no alarm profile name Syntax Description name Defaults No alarm profiles are created. Alarm profile name When a profile is created, none of the alarms are enabled.
Appendix A Catalyst 2955 Alarm Commands alarm profile (global configuration) Table A-1 AlarmList ID Numbers and Alarm Descriptions (continued) AlarmList ID Alarm Description 3 Port not Operating 4 FCS Error Rate exceeds threshold After you have created an alarm profile, you can attach the profile to an interface by using the alarm-profile interface configuration command. By default, the defaultPort profile is applied to all interfaces. This profile enables only the Port Not Operating (3) alarm.
Appendix A Catalyst 2955 Alarm Commands alarm profile (interface configuration) alarm profile (interface configuration) Use the alarm profile interface configuration command to attach an alarm profile to a port. Use the no form of this command to detach the profile from the port. alarm profile name no alarm profile Syntax Description name Defaults The alarm profile defaultPort is applied to all interfaces. In this profile, only the Port is not Operating alarm is enabled.
Appendix A Catalyst 2955 Alarm Commands fcs-threshold fcs-threshold Use the fcs-threshold interface configuration command to set the frame check sequence (FCS) bit error rate. Use the no form of the command to return to the default setting. fcs-threshold value no fcs-threshold value Value ranges from 6 to 11, representing a bit error rate from 10-6 to 10-11. Syntax Description value Defaults The default for this bit error rate is 8, which is the bit error rate for Ethernet standard 10-8.
Appendix A Catalyst 2955 Alarm Commands power-supply dual power-supply dual Use the power-supply dual global configuration command to set the dual power-supply mode of operation. Use the no form of this command to return to the default single power-supply mode. power-supply dual no power-supply dual Syntax Description This command has no arguments or keywords. Defaults By default, the system operates in single-power mode.
Appendix A Catalyst 2955 Alarm Commands show alarm description port show alarm description port Use the show alarm description port user EXEC command to display the alarm numbers with the text description. show alarm description port [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Appendix A Catalyst 2955 Alarm Commands show alarm profile show alarm profile Use the show alarm profile user EXEC command to display all alarm profiles configured in the system or the specified profile and the interfaces to which each profile is attached. show alarm profile [name] [ | {begin | exclude | include} expression] Syntax Description name (Optional) Display only the profile with the specified name. | begin (Optional) Display begins with the line that matches the expression.
Appendix A Catalyst 2955 Alarm Commands show alarm profile alarm profile teresa: Interfaces Alarms Syslog Notifies Relay Major Relay Minor FastEthernet0/1 1, 2, 3, 4 2, 3, 4 1 alarm profile test-profile: Interfaces Alarms Syslog Notifies Relay Major Relay Minor Related Commands Command Description alarm profile (global configuration) Creates an alarm profile containing one or more alarm IDs and alarm options. alarm profile (interface configuration) Attaches an alarm profile to an interface.
Appendix A Catalyst 2955 Alarm Commands show alarm settings show alarm settings Use the show alarm settings user EXEC command to display all environmental alarm settings on the switch. show alarm settings [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression. | include (Optional) Display includes lines that match the specified expression.
Appendix A Catalyst 2955 Alarm Commands show alarm settings Related Commands Command Description alarm facility power-supply Sets power supply alarm options. alarm facility temperature Sets temperature alarm options. power-supply dual Sets dual power-supply mode.
Appendix A Catalyst 2955 Alarm Commands show env show env Use the show env privileged EXEC command to display the status of environmental facilities on the Catalyst 2955 switch. show env {all | power | temperature}[ | {begin | exclude | include} expression] Note Syntax Description This command is supported with different keywords on the Catalyst 2950 platform. all Display power supply and temperature environmental status. power Display power supply environmental status.
Appendix A Catalyst 2955 Alarm Commands show env This is an example of output from the show env all command. It shows the status of all environmental facilities (power supply and temperature) on the switch. Switch# show env all Power supply A is present Power supply B is present Current temperature is 49C Highest temperature was 53C Mar 04 1993 04:06:36 Related Commands Command Description power-supply dual Sets dual power-supply mode on the switch.
Appendix A Catalyst 2955 Alarm Commands show facility-alarm relay show facility-alarm relay Use the show facility-alarm relay user EXEC command to display facility alarms associated with the indicated relay circuitry. show facility-alarm relay {major | minor} [ | {begin | exclude | include} expression] Syntax Description major Display alarms associated with major relay. minor Display alarms associated with minor relay. | begin (Optional) Display begins with the line that matches the expression.
Appendix A Catalyst 2955 Alarm Commands show facility-alarm status show facility-alarm status Use the show facility-alarm status user EXEC command to display all generated alarms for the switch. show facility-alarm status [critical | info | major | minor] [ | {begin | exclude | include} expression] Syntax Description critical (Optional) Display only critical facility alarms. info (Optional) Display all facility alarms. major (Optional) Display major facility alarms and higher.
Appendix A Catalyst 2955 Alarm Commands show fcs-threshold show fcs-threshold Use the show fcs-threshold user EXEC command to display the frame check sequence (FCS) bit error rate settings on the switch interfaces. show fcs-threshold [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression.
Appendix A Catalyst 2955 Alarm Commands test relay test relay Use the test relay privileged EXEC command to turn on or off the relay circuitry. test relay {major | minor} {on| off} Caution Using the test command alters the state (on or off) of a relay. Previous states are not saved. Command Modes Privileged EXEC Command History Release Modification 12.1(12c)EA1 This command was introduced.
Appendix A Catalyst 2955 Alarm Commands test relay Catalyst 2950 and Catalyst 2955 Switch Command Reference A-22 OL-10102-02
A P P E N D I X B Catalyst 2950 and 2955 Switch Boot Loader Commands Note You can use the boot loader commands only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. During normal boot loader operation, you are not presented with the boot loader command-line prompt.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands boot boot Use the boot boot loader command to load and boot an executable image and to enter the command-line interface. boot [-post] filesystem:/file-url ... Syntax Description -post (Optional) Run the loaded image with an extended or comprehensive power-on self-test (POST). Using this keyword causes POST to take longer to complete. filesystem: Alias for a flash file system. Use flash: for the system board flash device.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands cat cat Use the cat boot loader command to display the contents of one or more files. cat filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands copy copy Use the copy boot loader command to copy a file from a source to a destination. copy [-b block-size] filesystem:/source-file-url filesystem:/destination-file-url Syntax Description -b block-size (Optional) This option is used only for internal development and testing. filesystem: Alias for a flash file system. Use flash: for the system board flash device. /source-file-url Path (directory) and filename (source) to be copied.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands delete delete Use the delete boot loader command to delete one or more files from the specified file system. delete filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and filename to delete. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands dir dir Use the dir boot loader command to display a list of files and directories on the specified file system. dir filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url (Optional) Path (directory) and directory name whose contents you want to display. Separate each directory name with a space.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands dir Table B-1 describes the fields in the command output. Table B-1 Related Commands dir Field Descriptions Field Description 2 Index number of the file. -rwx File permission, which can be any or all of these: • d—directory • r—readable • w—writable • x—executable 1644045 Size of the file. Last modification date. env_vars Filename. Command Description mkdir Creates one or more directories.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands flash_init flash_init Use the flash_init boot loader command to initialize the flash file system. flash_init Syntax Description This command has no arguments or keywords. Defaults The flash file system is automatically initialized during normal system operation. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands format format Use the format boot loader command to format the specified file system and destroy all data in that file system. format filesystem: Syntax Description filesystem: Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced. Alias for a flash file system. Use flash: for the system board flash device.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands fsck fsck Use the fsck boot loader command to check the file system for consistency. fsck [-test | -f] filesystem: Syntax Description -test (Optional) Initialize the file system code and perform extra POST on flash memory. An extensive, nondestructive memory test is performed on every byte that makes up the file system. -f (Optional) Initialize the file system code and perform a fast file consistency check.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands help help Use the help boot loader command to display the available commands. help Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced. Usage Guidelines You can also use the question mark (?) to display a list of available boot loader commands.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands load_helper load_helper Use the load_helper boot loader command to load and initialize one or more helper images, which extend or patch the functionality of the boot loader. load_helper filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and a list of loadable helper files to dynamically load during loader initialization.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands memory memory Use the memory boot loader command to display memory heap utilization information. memory Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands memory Table B-2 Memory Field Descriptions (continued) Field Description Stack Beginning and ending address of the area in memory allocated to the software to store automatic variables, return addresses, and so forth. Heap Beginning and ending address of the area in memory that memory is dynamically allocated to and freed from.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands mkdir mkdir Use the mkdir boot loader command to create one or more new directories on the specified file system. mkdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /directory-url Name of the directories to create. Separate each directory name with a space. Command Modes Boot loader Command History Release Modification 12.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands more more Use the more boot loader command to display the contents of one or more files. more filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands rename rename Use the rename boot loader command to rename a file. rename filesystem:/source-file-url filesystem:/destination-file-url Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /source-file-url Original path (directory) and filename. /destination-file-url New path (directory) and filename. Command Modes Boot loader Command History Release Modification 12.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands reset reset Use the reset boot loader command to perform a hard reset on the system. A hard reset is similar to power-cycling the switch, clearing the processor, registers, and memory. reset Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands rmdir rmdir Use the rmdir boot loader command to remove one or more empty directories from the specified file system. rmdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /directory-url Path (directory) and name of the empty directories to remove. Separate each directory name with a space.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands set set Use the set boot loader command to set or display environment variables, which can be used to control the boot loader or any other software running on the switch. set variable value Note Syntax Description Under normal circumstances, it is not necessary to alter the setting of the environment variables.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands set BOOTHLPR filesystem:/file-url—The name of the Cisco IOS helper image that is first loaded into memory so that it can then load a second Cisco IOS image into memory and launch it. This variable is used only for internal development and testing. HELPER_CONFIG_FILE filesystem:/file-url—The name of the configuration file to be used by the Cisco IOS helper image.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands set Usage Guidelines Environment variables are case sensitive and must be entered as documented. Environment variables that have values are stored in flash memory outside of the flash file system. Under normal circumstances, it is not necessary to alter the setting of the environment variables. The MANUAL_BOOT environment variable can also be set by using the boot manual global configuration command.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands type type Use the type boot loader command to display the contents of one or more files. type filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device. /file-url Path (directory) and name of the files to display. Separate each filename with a space. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands unset unset Use the unset boot loader command to reset one or more environment variables. unset variable ... Note Syntax Description Under normal circumstances, it is not necessary to alter the setting of the environment variables. variable Use one of these keywords for variable: MANUAL_BOOT—Decides whether the switch automatically or manually boots.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands unset Command History Usage Guidelines Release Modification 12.1(11)YJ This command was introduced. Under normal circumstances, it is not necessary to alter the setting of the environment variables. The MANUAL_BOOT environment variable can also be reset by using the no boot manual global configuration command. The BOOT environment variable can also be reset by using the no boot system global configuration command.
Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands version version Use the version boot loader command to display the boot loader version. version Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)YJ This command was introduced. Examples This example shows how to display the boot loader version: switch: version C2950 Boot Loader (C2950-HBOOT-M) Version 12.
A P P E N D I X C Catalyst 2950 and 2955 Switch Debug Commands This appendix describes the Catalyst 2950- and Catalyst 2955-specific debug privileged EXEC commands. These commands are helpful in diagnosing and resolving internetworking problems and should be used only with the guidance of Cisco technical support staff. Caution Because debugging output is assigned high priority in the CPU process, it can render the system unusable.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug auto qos debug auto qos Use the debug auto qos privileged EXEC command to enable debugging of the automatic quality of service (auto-QoS) feature. Use the no form of this command to disable debugging. debug auto qos no debug auto qos Syntax Description This command has no arguments or keywords. Defaults Auto-QoS debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug auto qos Related Commands Command Description auto qos voip Configure auto-QoS for voice over IP (VoIP) within a QoS domain. show auto qos Displays the configuration applied and the new defaults in effect when auto-QoS is enabled. show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug dot1x debug dot1x Use the debug dot1x privileged EXEC command to enable debugging of the IEEE 802.1x authentication feature. Use the no form of this command to disable debugging. debug dot1x {all | errors | events | packets | registry | state-machine} no debug dot1x {all | errors | events | packets | registry | state-machine} Syntax Description all Display all IEEE 802.1x authentication debug messages. errors Debug IEEE 802.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug etherchannel debug etherchannel Use the debug etherchannel privileged EXEC command to enable debugging of the EtherChannel/PAgP shim. This shim is the software module that is the interface between the Port Aggregation Protocol (PAgP) software module and the port manager software module. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug lre debug lre Use the debug lre privileged EXEC command to enable debugging of the Catalyst 2950 Long-Reach Ethernet (LRE) switch and links. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug pagp debug pagp Use the debug pagp privileged EXEC command to enable debugging of Port Aggregation Protocol (PAgP) activity. Use the no form of this command to disable debugging. debug pagp [all | event | fsm | misc | packet] no debug pagp [all | event | fsm | misc | packet] Syntax Description all (Optional) Display all PAgP debug messages. event (Optional) Display PAgP event debug messages.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug pm debug pm Use the debug pm privileged EXEC command to enable debugging of port manager (PM) activity. The port manager is a state machine that controls all the logical and physical interfaces. All features, such as VLANs, UniDirectional Link Detection (UDLD), and so forth, work with the port manager to provide switch functions. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug pm Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree debug spanning-tree Use the debug spanning-tree privileged EXEC command to enable debugging of spanning-tree activities. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree Command History Release Modification 12.1(6)EA2 This command was introduced. 12.1(9)EA1 The mstp and csuf/csrt keywords were added. Usage Guidelines The undebug spanning-tree command is the same as the no debug spanning-tree command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree backbonefast debug spanning-tree backbonefast Use the debug spanning-tree backbonefast privileged EXEC command to enable debugging of spanning-tree BackboneFast events. Use the no form of this command to disable debugging. debug spanning-tree backbonefast [detail | exceptions] no debug spanning-tree backbonefast [detail | exceptions] Syntax Description detail (Optional) Display detailed BackboneFast debug messages.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree bpdu debug spanning-tree bpdu Use the debug spanning-tree bpdu privileged EXEC command to enable debugging of sent and received spanning-tree bridge protocol data units (BPDUs). Use the no form of this command to disable debugging. debug spanning-tree bpdu [receive | transmit] no debug spanning-tree bpdu [receive | transmit] Syntax Description receive (Optional) Display the nonoptimized path for received BPDU debug messages.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree bpdu-opt debug spanning-tree bpdu-opt Use the debug spanning-tree bpdu-opt privileged EXEC command to enable debugging of optimized spanning-tree bridge protocol data units (BPDUs) handling. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree mstp debug spanning-tree mstp Use the debug spanning-tree mstp privileged EXEC command to enable debugging of the Multiple Spanning Tree Protocol (MSTP) software. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree mstp Usage Guidelines The undebug spanning-tree mstp command is the same as the no debug spanning-tree mstp command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree switch debug spanning-tree switch Use the debug spanning-tree switch privileged EXEC command to enable debugging of the software interface between the Spanning Tree Protocol (STP) software module and the port manager software module. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree switch Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug spanning-tree uplinkfast debug spanning-tree uplinkfast Use the debug spanning-tree uplinkfast privileged EXEC command to enable debugging of spanning-tree UplinkFast events. Use the no form of this command to disable debugging. debug spanning-tree uplinkfast [exceptions] no debug spanning-tree uplinkfast [exceptions] Syntax Description exceptions Defaults Debugging is disabled.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug switch dhcp debug switch dhcp Use the debug switch dhcp privileged EXEC command to enable debugging of DHCP events. Use the no form of this command to disable debugging. debug switch dhcp no debug switch dhcp Syntax Description This command has no arguments or keywords. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(19)EA1 This command was introduced.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan debug sw-vlan Use the debug sw-vlan privileged EXEC command to enable debugging of VLAN manager activities. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan ifs debug sw-vlan ifs Use the debug sw-vlan ifs privileged EXEC command to enable debugging of the VLAN manager Cisco IOS file system (IFS) error tests. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan notification debug sw-vlan notification Use the debug sw-vlan notification privileged EXEC command to enable debugging of the activation and deactivation of Inter-Link Switch (ISL) VLAN IDs. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan notification Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan vtp debug sw-vlan vtp Use the debug sw-vlan vtp privileged EXEC command to enable debugging of the VLAN Trunking Protocol (VTP) code. Use the no form of this command to disable debugging.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug sw-vlan vtp Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vtp Displays general information about VTP management domain, status, and counters.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug udld debug udld Use the debug udld privileged EXEC command to enable debugging of the UniDirectional Link Detection (UDLD) feature. Use the no form of this command to disable UDLD debugging. debug udld {events | packets | registries} no debug udld {events | packets | registries} Syntax Description events Display debug messages for UDLD process events as they occur.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug udld • Related Commands MAC address registry calls Command Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show udld Displays UDLD administrative and operational status for all ports or the specified port.
Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug udld Catalyst 2950 and Catalyst 2955 Switch Command Reference C-30 OL-10102-02
INDEX ACLs Numerics IP 802.
Index boot loader (continued) B files BackboneFast, for STP 2-432 copying B-4 boot boothlpr command 2-21 deleting B-5 boot buffersize command boot command 2-22 displaying a list of B-2 B-6 displaying the contents of boot config-file command 2-23 boot enable-break command boot helper command renaming 2-24 B-17 file system 2-25 formatting boot helper-config file command B-3, B-16, B-23 2-26 B-9 initializing Flash booting B-8 running a consistency check Cisco IOS image interru
Index clear controllers ethernet-controller command clear controllers lre command clear controllers lre log command clear lacp command See clusters 2-43 configuration files password recovery disable considerations 2-45 clear LRE configuration events setting the NVRAM size for 2-43 specifying the name 2-43 clear mac address-table command clear pagp command clear spanning-tree counters command description 2-52 clear spanning-tree detected-protocols command clear vtp counters command 2-53 2-5
Index debug lre command dot1x default command C-6 debug pagp command debug pm command C-7 C-8 debug spanning-tree backbonefast command debug spanning-tree bpdu command C-13 debug spanning-tree bpdu-opt command debug spanning-tree command debug spanning-tree switch command 2-98 dot1x max-req command 2-99 2-103 2-104 2-105 DSCP-to-CoS map defining DTP C-24 2-214 2-213 2-490 DTP flap, error recovery timer C-26 duplex command 2-112 2-108 dynamic-access ports, configuring A-7, A-8 2-483
Index EtherChannel file name, VTP creating port-channel logical interface debug messages, displaying displaying files, deleting 2-123 receiving 2-244 PAgP sending aggregate-port learner debug messages, displaying 2-45, 2-49 fsck command G 2-30 Ethernet controller, internal register display global configuration mode 1-2, 1-4 2-281 H 2-258 2-534 heartbeat messages 2-551 duration after which switch declared dead express setup-related commands 2-264, 2-395 extended discovery of candid
Index IGMP groups interleave command configuring throttling action setting maximum internal registers, displaying 2-142 2-281 Intrusion Detection System 2-142 IGMP profiles creating 2-126 See IDS invalid GBIC 2-144 displaying error detection for 2-349 IGMP snooping error recovery timer adding ports statically configuration, displaying enabling ip access-list command 2-350 2-350 2-353 2-128 2-130 ip address command 2-132 ip addresses, setting 2-132 IP DHCP snooping 2-146 enabl
Index IPv4 1-1 lre rate selection sequence command IPv6 1-1 lre sequence command IP version 4 1-1 lre syslog command IP version 6 1-1 lre upbo command 2-177 2-179 2-180 J M jumbo frames mac access-group command displaying setting 2-404 setting switch for 2-507 2-184 MAC access-list configuration mode deny 2-85 entering permit L 2-186 2-236 mac access-list extended command deny See EtherChannel lacp port-priority command 2-85 permit 2-161 lacp system-priority command 2-236
Index MAC addresses (continued) maximum transmission unit static See MTU adding media-type command 2-192 displaying member switches 2-363 dropping on an interface See clusters 2-194 sticky memory command configuring manually mkdir command 2-493 enabling sticky learning learning dynamically 2-493 2-188 mac address-table notification command mac address-table static command MAC-named extended ACLs 2-190 2-194 mls qos trust command 2-216 mode, MVR monitor session command 2-259 2-21
Index MSTP (continued) multiple hosts on authorized port root switch Multiple Spanning Tree Protocol affects of extended system ID hello-time See MSTP 2-441 MVR 2-455, 2-462 interval between BDPU messages configuring 2-456 interval between hello BPDU messages 2-222 configuring interfaces 2-455, 2-462 displaying max-age 2-456 port priority for selection of switch priority 2-227 2-377 Immediate Leave feature maximum hop count before discarding BPDU 2-458 primary or secondary receiver
Index per-VLAN spanning-tree plus port ranges, defining See STP 2-79 ports, debug messages, display PID, displaying port security 2-343 PIM-DVMRP, as multicast router learning method police command C-8 2-156 2-497 displaying 2-239 policy-map command aging enabling 2-241 policy maps 2-389 2-493 violation error recovery timer applying to an interface creating port trust states for QoS 2-261 2-241 displaying 2-387 policers displaying 2-371 for a single class 2-239 traffic classi
Index rapid PVST+ Q See STP QoS ACPs, displaying 2-369 automatic configuration 2-17 displaying 2-273 2-371 2-268 maps 2-213 periodic 2-211 2-105 time between attempts receiver port, MVR causes 2-371 2-106 2-227 2-114 2-112 displaying policy maps 2-321 timer interval applying to an interface 2-261 defining policers 2-239 displaying policy maps 2-387 setting DSCP values 2-262 traffic classifications 2-35 relay-major command A-6 relay-minor command A-6 remote-span command 2
Index RSPAN (continued) show controller utilization command sessions show current command adding interfaces to displaying show env command 2-375 starting new 2-534 show dot1x command 2-219 2-316 2-320 show env power command 2-219 A-16 show env temperature command A-16 show errdisable recovery command S show etherchannel command 2-321 2-323 secondary temperature alarm A-4 show facility-alarm relay command sending flow-control packets 2-114 show facility-alarm status command servi
Index show port-security command show proposed command show rps command SPAN 2-389 and IDS 2-534 2-221 configuring 2-391 show running-config vlan command displaying 2-393 2-219 2-375 show setup express command 2-395 show spanning-tree command 2-396 add interfaces to show storm-control command 2-401 displaying show system mtu command show udld command start new 2-404 show vlan command spanning-tree cost command 2-411 show wrr-queue cos-map command signal to noise ratio 2-439 2-44
Index sticky learning, enabling STP (continued) 2-493 storm control root switch broadcast, enabling displaying affects of extended system ID 2-480 hello-time 2-401 multicast, enabling unicast, enabling 2-474 interval between BDPU messages 2-480 max-age 2-480 STP primary or secondary 2-432 debug message display BackboneFast events MSTP switch priority enabling BPDU guard C-10 enabling Port Fast C-17 extended system ID 2-432 2-439 2-435, 2-466 2-112 2-474 length of listening and
Index syslog command udld reset command A-6 system mtu command unicast suppression level 2-507 configuring 2-480 displaying T 2-401 enabling tar files, creating, listing, and extracting Telnet, using with cluster switches temperature alarms, setting test relay command 2-518 2-12 2-480 UniDirectional Link Detection See UDLD 2-254 unknown multicast traffic, preventing A-4 unknown unicast traffic, preventing A-21 unset (boot loader) command traceroute, Layer 2 upgrade binary command S
Index VLANs VTP (continued) adding clearing pruning counters 2-521 configuring clearing VTP counters 2-521, 2-527 debug message display ISL domain name C-24 VLAN manager activity file name C-23 mode C-21 displaying configurations 2-410 2-521 MAC addresses displaying information 2-415 enabling pruning number of 2-363 version 2 mode 2-524, 2-529 pruning 2-521, 2-527 saving the configuration shutting down 2-541, 2-545, 2-547 2-541, 2-545, 2-547 2-541, 2-547 2-541, 2-545, 2-547