User EXEC Mode Privileged EXEC Mode Global Configuration Mode Interface Configuration Mode config-vlan Mode Line Configuration Mode Catalyst 2350 Switch Cisco IOS Commands C H A P T E R aaa authorization network archive download-sw archive tar archive upload-sw boot config-file...
Page 5
Contents ip address 2-78 ip admission 2-80 ip admission name proxy http 2-81 ip igmp filter 2-82 ip igmp max-groups 2-83 ip igmp profile 2-85 ip igmp snooping 2-87 ip igmp snooping last-member-query-interval 2-89 ip igmp snooping querier 2-91 ip igmp snooping report-suppression 2-93 ip igmp snooping tcn 2-95...
Page 7
Contents 2-214 setup 2-216 setup express 2-219 show access-lists 2-221 show archive status 2-224 show boot 2-225 show class-map 2-228 show cluster 2-229 show cluster candidates 2-231 show cluster members 2-233 show controllers cpu-interface 2-235 show controllers ethernet-controller 2-237 show controllers ethernet-controller fastethernet 2-245 show controllers tcam 2-247...
Page 8
Contents show ipv6 mld snooping 2-302 show ipv6 mld snooping address 2-304 show ipv6 mld snooping mrouter 2-306 show ipv6 mld snooping querier 2-308 show lacp 2-310 show link state group 2-314 show location 2-316 show mac address-table 2-319 show mac address-table address 2-321 show mac address-table aging-time 2-323...
Page 10
Contents switchport autostate exclude 2-447 switchport host 2-449 switchport mode 2-450 switchport nonegotiate 2-452 switchport trunk 2-454 system env temperature threshold yellow 2-457 system mtu 2-459 traceroute mac 2-461 traceroute mac ip 2-464 trust 2-466 udld 2-468 udld port 2-470 udld reset 2-472 vlan (global configuration)
Page 11
Contents rmdir A-23 A-24 type A-27 unset A-28 version A-30 Catalyst 2350 Debug Commands A P P E N D I X debug cluster debug dtp debug eap debug etherchannel debug fastethernet debug interface debug ip igmp filter debug ip igmp max-groups B-10 debug ip igmp snooping B-11...
Page 13
Contents show platform resource-manager C-21 show platform snmp counters C-23 show platform spanning-tree synchronization C-24 show platform stp-instance C-25 show platform tcam C-26 show platform vlan C-28 Acknowledgments for Open-Source Software A P P E N D I X N D E X Catalyst 2350 Switch Command Reference xiii OL-19055-01...
Page 15
This guide provides the information that you need about the Layer 2 commands that have been created or changed for use with the Catalyst 2350 switch. For information about the standard Cisco IOS Release 12.2 commands, see the Cisco IOS documentation set available from the Cisco.com home page by selecting Technical Support &...
Means reader be careful. In this situation, you might do something that could result in equipment Caution damage or loss of data. Related Publications These documents provide complete information about the switch and are available from these Cisco.com sites: http://www.cisco.com/en/US/products/ps10116/tsd_products_support_series_home.html Note Before installing, configuring, or upgrading the switch, see these documents: •...
Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
Page 18
Preface Catalyst 2350 Switch Command Reference xviii OL-19055-01...
C H A P T E R Using the Command-Line Interface The Catalyst 2350 switch is supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure software features. You can connect to the switch through the console port or Ethernet management port.
Chapter 1 Using the Command-Line Interface CLI Command Modes Table 1-1 lists the main command modes, how to access each mode, the prompt you see in that mode, and how to exit that mode. The prompts listed use the default name Switch. Table 1-1 Command Modes Summary Command Mode...
Chapter 1 Using the Command-Line Interface CLI Command Modes Privileged EXEC Mode Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure privileged EXEC command through which you access the remaining command modes.
Chapter 1 Using the Command-Line Interface CLI Command Modes Interface Configuration Mode Interface configuration commands modify the operation of the interface. Interface configuration commands always follow a global configuration command, which defines the interface type. Use the interface interface-id command to access interface configuration mode. The new prompt means interface configuration mode.
Chapter 1 Using the Command-Line Interface CLI Command Modes The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt. Switch(config-line)# ? To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z.
Page 24
Chapter 1 Using the Command-Line Interface CLI Command Modes Catalyst 2350 Switch Command Reference OL-19055-01...
C H A P T E R Catalyst 2350 Switch Cisco IOS Commands aaa authorization network Use the aaa authorization network global configuration command to the configure the switch to use user-RADIUS authorization for all network-related service requests, such as VLAN assignment. Use the no form of this command to disable RADIUS user authorization.
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference OL-19055-01...
Page 27
Chapter 2 Catalyst 2350 Switch 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 the switch and to overwrite or keep the existing image. archive download-sw [/allow-feature-upgrade | /directory | /force-reload | /imageonly |...
The /imageonly option removes the HTML files for the existing image if the existing image is being removed or replaced. Only the Cisco IOS image (without the HTML files) is downloaded. Catalyst 2350 Switch Command Reference...
Page 29
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands archive download-sw Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient flash memory. If leaving the software in place prevents the new image from fitting in flash memory due to space constraints, an error results.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands archive tar archive tar Use the archive tar privileged EXEC command to create a tar file, list files in a tar file, or 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...]}...
Chapter 2 Catalyst 2350 Switch 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: •...
Page 32
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands archive tar Command Modes Privileged EXEC Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines Filenames and directory names are case sensitive. Image names are case sensitive. 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.10.30:...
Page 33
Use the upload feature only if the HTML files associated with the embedded device manager have been installed with the existing image. The files are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. After these files are uploaded, the software creates the tar file.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands archive upload-sw Examples This example shows how to upload the currently running image to a TFTP server at 172.20.140.2: Switch# archive upload-sw tftp://172.20.140.2/test-image.tar Related Commands Command Description archive download-sw Downloads a new image to the switch.
Use the boot config-file global configuration command on a standalone switch to specify the filename that Cisco IOS 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.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands boot enable-break boot enable-break Use the boot enable-break global configuration command on a standalone switch to enable interrupting the automatic boot process. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 Switch 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 patch the functionality of the boot loader. Use the no form of this command to return to the default.
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 Cisco IOS that are loaded. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command on a standalone switch to enable manually booting the switch during the next boot cycle. Use the no form of this command to return to the default setting.
Use the boot private-config-file global configuration command on a standalone switch to specify the filename that Cisco IOS 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.
Use the boot system global configuration command to specify the Cisco IOS image to load during the next boot cycle. Use the no form of this command to return to the default setting. boot system {filesystem:/file-url ...}...
Page 42
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command to assign an Ethernet port to an EtherChannel group, to enable an EtherChannel mode, or both. Use the no form of this command to remove an Ethernet port from an EtherChannel group.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands channel-group Command Modes Interface configuration Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines For Layer 2 EtherChannels, you do not have to create a port-channel interface first by using the interface port-channel global configuration command before assigning a physical port to a channel group.
Page 44
Displays PAgP channel-group information. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_ command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Page 45
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands channel-protocol channel-protocol Use the channel-protocol interface configuration command to restrict the protocol used on a port to manage channeling. Use the no form of this command to return to the default setting.
Page 46
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands class class Use the class policy-map configuration command to define a traffic classification match criteria (through the police, set, and trust policy-map class configuration commands) for the specified class-map name. Use the no form of this command to delete an existing class map.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands class Examples This example shows how to create a policy map called policy1. When attached to the ingress direction, it matches all the incoming traffic defined in class1, sets the IP Differentiated Services Code Point (DSCP) to 10, and polices the traffic at an average rate of 1 Mb/s and bursts at 20 KB.
Page 48
Chapter 2 Catalyst 2350 Switch 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 2350 Switch Cisco IOS Commands class-map If you enter the match-all or match-any keyword, you can only use it to specify an extended named access control list (ACL) with the match access-group acl-index-or-name class-map configuration command. To define packet classification on a physical-port basis, only one match command per class map is supported.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands clear eap clear eap Use the clear eap privileged EXEC command to clear Extensible Authentication Protocol (EAP) session information for the switch or for the specified port. clear eap sessions [credentials name [interface interface-id] | interface interface-id | method name | transport name] [credentials name | interface interface-id | transport name] ...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands clear errdisable interface clear errdisable interface Use the clear errdisable interface privileged EXEC command to re-enable a VLAN that was error disabled. clear errdisable interface interface-id vlan [vlan-list] Syntax Description vlan list (Optional) Specify a list of VLANs to be re-enabled.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands clear lacp clear lacp Use the clear lacp privileged EXEC command to clear Link Aggregation Control Protocol (LACP) channel-group counters. clear lacp {channel-group-number counters | counters} Syntax Description channel-group-number (Optional) Channel group number. The range is 1 to 48.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands clear logging onboard clear logging onboard Use the clear logging onboard privileged EXEC command to clear all of the on-board failure logging (OBFL) data except for the uptime and CLI-command information stored in the flash memory.
Chapter 2 Catalyst 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch 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 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster commander-address cluster commander-address You do not need to enter this command from a standalone cluster member switch. The cluster command switch automatically provides its MAC address to cluster member switches when these switches join the cluster.
Page 60
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster commander-address Examples This is partial sample output from the running configuration of a cluster member. Switch(config)# show running-configuration <output truncated> cluster commander-address 00e0.9bc0.a500 member 4 name my_cluster <output truncated> This example shows how to remove a member from the cluster by using the cluster member console.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster discovery hop-count cluster discovery hop-count Use the cluster discovery hop-count global configuration command on the cluster 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.
Chapter 2 Catalyst 2350 Switch 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 to optionally assign a member number to it. Use the no form of the command to remove all members and to make the cluster command switch a candidate switch.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster enable Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 2350 Switch Command Reference 2-39 OL-19055-01...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster holdtime cluster holdtime Use the cluster holdtime global configuration command on the cluster command switch to set the duration in seconds before a switch (either the command or cluster member switch) declares the other switch down after not receiving heartbeat messages.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster member cluster member Use the cluster member global configuration command on the cluster command switch to add candidates to a cluster. Use the no form of the command to remove members from the cluster.
Page 66
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster member This example shows how to add a switch with MAC address 00E0.1E00.3333 to the cluster. This switch does not have a password. The cluster command switch selects the next available member number and assigns it to the switch that is joining the cluster.
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch 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...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands cluster timer cluster timer Use the cluster timer global configuration command on the a cluster command switch to set the interval in seconds between heartbeat messages. Use the no form of this command to set the interval to the default value.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands copy logging onboard copy logging onboard Use the copy logging onboard privileged EXEC command to copy on-board failure logging (OBFL) data to the local network or a specific file system. copy logging onboard destination...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands copy logging onboard Usage Guidelines For information about OBFL, see the hw-module command. Examples This example shows how to copy the OBFL data messages to the obfl_file file on the flash file system:...
Chapter 2 Catalyst 2350 Switch 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...
Page 73
Executes a command on multiple ports at the same time. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, see the Cisco IOS Configuration Fundamentals Command Reference, Release 12.2. Examples...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic monitor diagnostic monitor Use the diagnostic monitor global configuration command to configure health-monitoring diagnostic testing. Use the no form of this command to disable testing and to return to the default settings.
Page 76
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic monitor Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines Follow these guidelines when configuring health-monitoring diagnostic testing: name—Enter the show diagnostic content privileged EXEC command to display the test names in •...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic schedule diagnostic schedule Use the diagnostic schedule global configuration command to configure the diagnostic test schedule. Use the no form of this command to remove the schedule. diagnostic schedule test {name | test-id | test-id-range | all | basic | non-disruptive} {daily hh:mm...
Page 78
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic schedule test-id-range—Enter the show diagnostic content command to display the test numbers in the test • ID list. Enter the range as integers separated by a comma and a hyphen (for example, 1,3-6 specifies test IDs 1, 3, 4, 5, and 6).
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic start diagnostic start Use the diagnostic start privileged EXEC command to run an online diagnostic test. diagnostic start test {name | test-id | test-id-range | all | basic | non-disruptive} Syntax Description test Specify the tests to run.
Page 80
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands diagnostic start If specifying more than one test to run, use the test-id-range parameter, and enter integers separated by a comma and a hyphen. For example, to specify tests 2, 3, and 4, enter the diagnostic start switch number test 2-4 command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands duplex duplex Use the duplex interface configuration command to specify the duplex mode of operation for a port. Use the no form of this command to return the port to its default value.
Page 82
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands duplex If both ends of the line support autonegotiation, we highly recommend using the default autonegotiation settings. If one interface supports autonegotiation and the other end does not, configure duplex and speed on both interfaces;...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable detect cause errdisable detect cause Use the errdisable detect cause global configuration command to enable error-disabled detection for a specific cause or all causes. Use the no form of this command to disable the error-disabled detection feature.
Page 84
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable detect cause Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines A cause (link-flap, dhcp-rate-limit, and so forth) is the reason for the error-disabled state. When a cause is detected on an interface, the interface is placed in an error-disabled state, an operational state that is similar to a link-down state.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable detect cause small-frame errdisable detect cause small-frame Use the errdisable detect cause small-frame global configuration command to allow any switch port to be error disabled if incoming VLAN-tagged packets are small frames (67 bytes or less) and arrive at the minimum configured rate (the threshold).
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable recovery errdisable recovery Use the errdisable recovery global configuration command to configure the recovery mechanism variables. Use the no form of this command to return to the default setting. errdisable recovery {cause {all | bpduguard | channel-misconfig | dtp-flap | gbic-invalid |...
Page 87
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable recovery Command Modes Global configuration Command History Release Modification 12.246)EY This command was introduced. Usage Guidelines A cause (all, bpduguard, and so forth) is defined as the reason that the error-disabled state occurred.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands errdisable recovery cause small-frame errdisable recovery cause small-frame Use the errdisable recovery cause small-frame global configuration command to enable the recovery timer for ports to be automatically re-enabled after they are error disabled by the arrival of small frames.
Use the exception crashinfo global configuration command to configure the switch to create the extended crashinfo file when the Cisco IOS image fails. Use the no form of this command to disable this feature. exception crashinfo...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands flowcontrol flowcontrol Use the flowcontrol interface configuration command to set the receive flow-control state for an interface. When flow control send is operable and 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.
Page 91
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands flowcontrol Table 2-1 shows the flow control results on local and remote ports for a combination of settings. The table assumes that receive desired has the same results as using the receive on keywords.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands hw-module hw-module Use the hw-module global configuration command to enable on-board failure logging (OBFL). Use the no form of this command to disable this feature. hw-module module [switch-number] logging onboard [message level level]...
Only one port channel in a channel group is allowed. Follow these guidelines when you use the interface port-channel command: If you want to use the Cisco Discovery Protocol (CDP), you must configure it only on the physical • port and not on the port-channel interface.
Page 94
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-70...
Chapter 2 Catalyst 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands interface range Valid values for port-range type and interface: vlan vlan-ID - vlan-ID, where VLAN ID is from 1 to 4094 • gigabitethernet module/{first port} - {last port}, where module is always 0 •...
Page 97
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-73...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands interface vlan interface vlan Use the interface vlan global configuration command to create or access a dynamic switch virtual interface (SVI) and to enter interface configuration mode. Use the no form of this command to delete an SVI.
Page 99
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands interface vlan Examples This example shows how to create a new SVI with VLAN ID 23 and to enter interface configuration mode: Switch(config)# interface vlan 23 Switch(config-if)# You can verify your setting by entering the...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command to control access to a Layer 2 interface. Use the no form of this command to remove all access groups or the specified access group from the interface.
Page 101
IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands ip access-list Configures a named ACL. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip address ip address Use the ip address interface configuration command to set an IP address for the switch or an IP address for each switch virtual interface (SVI) on the switch. Use the no form of this command to remove an IP address or to disable IP processing.
Page 103
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma nd_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip admission ip admission Use the ip admission interface configuration command to enable web authentication. You can also use this command in fallback-profile mode. Use the no form of this command to disable web authentication.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip admission name proxy http ip admission name proxy http Use the ip admission name proxy http global configuration command to enable web authentication. Use the no form of this command to disable web authentication.
Chapter 2 Catalyst 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch 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.
Page 108
Displays the running configuration on the switch interface, including interface-id the maximum number of IGMP groups that an interface can join and the throttling action. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
Chapter 2 Catalyst 2350 Switch 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.
Page 110
Chapter 2 Catalyst 2350 Switch 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 2350 Switch 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 on the switch or to enable it on a per-VLAN basis. Use the no form of this command to return to the default setting.
Page 112
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip igmp snooping Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping last-member-query-interval ip igmp snooping last-member-query-interval Use the ip igmp snooping last-member-query-interval global configuration command to enable the Internet Group Management Protocol (IGMP) configurable-leave timer globally or on a per-VLAN basis.
Page 114
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping last-member-query-interval Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping vlan immediate-leave Enables IGMP Immediate-Leave processing. ip igmp snooping vlan static Configures a Layer 2 port as a multicast router port.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping querier ip igmp snooping querier Use the ip igmp snooping querier global configuration command to globally enable the Internet Group Management Protocol (IGMP) querier function in Layer 2 networks. Use the command with keywords to enable and configure the IGMP querier feature on a VLAN interface.
Page 116
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping querier Usage Guidelines Use this command to enable IGMP snooping to detect the IGMP version and IP address of a device that sends IGMP query messages, which is also called a querier.
Chapter 2 Catalyst 2350 Switch 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 to forward all IGMP reports to multicast routers.
Page 118
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping tcn ip igmp snooping tcn Use the ip igmp snooping tcn global configuration command to configure the Internet Group Management Protocol (IGMP) Topology Change Notification (TCN) behavior. Use the no form of this command to return to the default settings.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping tcn Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping tcn flood Specifies flooding on an interface as the IGMP snooping spanning-tree TCN behavior.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping tcn flood ip igmp snooping tcn flood Use the ip igmp snooping tcn flood interface configuration command to specify multicast flooding as the Internet Group Management Protocol (IGMP) snooping spanning-tree Topology Change Notification (TCN) behavior.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping vlan immediate-leave ip igmp snooping vlan immediate-leave Use the ip igmp snooping immediate-leave global configuration command to enable Internet Group Management Protocol (IGMP) snooping immediate-leave processing on a per-VLAN basis. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping vlan static ip igmp snooping vlan static Use the ip igmp snooping static global configuration command to enable Internet Group Management Protocol (IGMP) snooping and to statically add a Layer 2 port as a member of a multicast group. Use the no form of this command to remove ports specified as members of a static multicast group.
Page 124
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ip igmp snooping vlan static Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip igmp snooping Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information.
Chapter 2 Catalyst 2350 Switch 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. This command is available only when your switch is running the cryptographic (encrypted) software image.
Page 126
Features > Secure Shell Commands. show ssh Displays the status of 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 >...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping ipv6 mld snooping Use the ipv6 mld snooping global configuration command without keywords to enable IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping globally or on the specified VLAN. Use the no form of this command to disable MLD snooping on the switch or the VLAN.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping Examples This example shows how to globally enable MLD snooping: Switch(config)# ipv6 mld snooping This example shows how to disable MLD snooping on a VLAN: Switch(config)# no ipv6 mld snooping vlan 11 You can verify your settings by entering the show ipv6 mld snooping user EXEC command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-count ipv6 mld snooping last-listener-query-count Use the ipv6 mld snooping last-listener-query-count global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery Mulitcast Address Specific Queries (MASQs) or that will be sent before aging out a client.
Page 130
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-count Examples This example shows how to globally set the last-listener query count: Switch(config)# ipv6 mld snooping last-listener-query-count 1 This example shows how to set the last-listener query count for VLAN 10:...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-interval ipv6 mld snooping last-listener-query-interval Use the ipv6 mld snooping last-listener-query-interval global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping last-listener query interval on the switch or on a VLAN.
Page 132
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-interval Examples This example shows how to globally set the last-listener query interval to 2 seconds: Switch(config)# ipv6 mld snooping last-listener-query-interval 2000 This example shows how to set the last-listener query interval for VLAN 1 to 5.5 seconds:...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping listener-message-suppression ipv6 mld snooping listener-message-suppression Use the ipv6 mld snooping listener-message-suppression global configuration command to enable IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping listener message suppression. Use the no form of this command to disable MLD snooping listener message suppression.
Page 134
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping listener-message-suppression Related Commands Command Description ipv6 mld snooping Enables IPv6 MLD snooping. sdm prefer Configures an SDM template to optimize system resources based on how the switch is being used.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping robustness-variable ipv6 mld snooping robustness-variable Use the ipv6 mld snooping robustness-variable global configuration command to configure the number of IP version 6 (IPv6) Multicast Listener Discovery (MLD) queries that the switch sends before deleting a listener that does not respond, or enter a VLAN ID to configure on a per-VLAN basis.
Page 136
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping robustness-variable Examples This example shows how to configure the global robustness variable so that the switch sends out three queries before it deletes a listener port that does not respond: Switch(config)# ipv6 mld snooping robustness-variable 3 This example shows how to configure the robustness variable for VLAN 1.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping tcn ipv6 mld snooping tcn Use the ipv6 mld snooping tcn global configuration commands to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) Topology Change Notifications (TCNs). Use the no form of the commands to reset the default settings.
Page 138
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping tcn Related Commands Command Description sdm prefer Configures an SDM template to optimize system resources based on how the switch is being used. show ipv6 mld snooping Displays MLD snooping configuration.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping vlan ipv6 mld snooping vlan Use the ipv6 mld snooping vlan global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping parameters on the VLAN interface. Use the no form of this command to reset the parameters to the default settings.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands ipv6 mld snooping vlan The configuration and the static ports and groups are saved in NVRAM. When the IPv6 multicast router is a Catalyst 6500 switch and you are using extended VLANs (in the range 1006 to 4094), IPv6 MLD snooping must be enabled on the extended VLAN on the Catalyst 6500 switch in order for the Catalyst 2350 switch to receive queries on the VLAN.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command to configure the port priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Page 142
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands lacp port-priority Examples This example shows how to configure the LACP port priority on a port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# lacp port-priority 1000 You can verify your settings by entering the show lacp [channel-group-number] internal privileged EXEC command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command to configure the system priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Page 144
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands lacp system-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp port-priority Configures the LACP port priority. show lacp sys-id Displays the system identifier that is being used by LACP.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands link state group link state group Use the link state group interface configuration command to configure a port as a member of a link-state group. Use the no form of this command to remove the port from the link-state group.
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-122...
Configures an interface as a member of a link-state group. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands location (global configuration) location (global configuration) Use the location global configuration command to configure location information for an endpoint. Use the no form of this command to remove the location information. location {admin-tag string | civic-location identifier id | elin-location string identifier id}...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands location (global configuration) This example shows how to configure the emergency location information location on the switch: Switch (config)# location elin-location 14085553881 identifier 1 You can verify your settings by entering the show location elin privileged EXEC command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands location (interface configuration) location (interface configuration) Use the location interface command to enter location information for an interface. Use the no form of this command to remove the interface location information. location {additional-location-information word | civic-location-id id | elin-location-id id}...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands location (interface configuration) Related Commands Command Description location (global configuration) Configures the location information for an endpoint. show location Displays the location information for an endpoint. Catalyst 2350 Switch Command Reference 2-127...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands logging file logging file Use the logging file global configuration command to set logging file parameters. Use the no form of this command to return to the default setting. logging file filesystem:filename [max-file-size | nomax [min-file-size]] [severity-level-number |...
Page 153
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma nd_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch 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 table.
Chapter 2 Catalyst 2350 Switch 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.
Chapter 2 Catalyst 2350 Switch 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.12f4 vlan 4 drop...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands match (class-map configuration) match (class-map configuration) 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.
Page 159
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands match (class-map configuration) If you enter the class-map {match-all | match-any} class-map-name global configuration command, you can enter these match commands: • match access-group acl-name The ACL must be an extended named ACL.
Page 160
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands match (class-map configuration) This example shows how to specify a range of physical ports to which an interface-level class map in a hierarchical policy map applies: Switch(config)# class-map match-all class4 Switch(config-cmap)# match input-interface gigabitethernet0/1 - gigabitethernet0/5 Switch(config-cmap)# exit You can verify your settings by entering the show class-map privileged EXEC command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mdix auto mdix auto Use the mdix auto interface configuration command to enable the automatic medium-dependent interface crossover (auto-MDIX) feature on the interface. When auto-MDIX is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) and configures the connection appropriately.
Page 162
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mdix auto Related Commands Command Description Displays general information about internal registers of an interface, show controllers including the operational state of auto-MDIX. ethernet-controller interface-id phy Catalyst 2350 Switch Command Reference 2-138...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos mls qos Use the mls qos global configuration command to enable quality of service (QoS) for the entire switch. When the mls qos command is entered, QoS is enabled with the default parameters on all ports in the system.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos aggregate-policer mls qos aggregate-policer Use the mls qos aggregate-policer global configuration command to define policer parameters, which can be shared by multiple classes within the same policy map. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
Page 166
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos aggregate-policer You cannot delete an aggregate policer if it is being used in a policy map. You must first use the no police aggregate aggregate-policer-name policy-map class configuration command to delete the aggregate policer from all policy maps before using the no mls qos aggregate-policer aggregate-policer-name command.
Chapter 2 Catalyst 2350 Switch 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.
Page 168
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos cos This example shows how to assign all the packets entering a port to the default port CoS value of 4 on a port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mls qos cos 4 Switch(config-if)# mls qos cos override You can verify your settings by entering the show mls qos interface privileged EXEC command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos dscp-mutation mls qos dscp-mutation Use the mls qos dscp-mutation interface configuration command to apply a Differentiated Services Code Point (DSCP)-to-DSCP-mutation map to a DSCP-trusted port. Use the no form of this command to return the map to the default settings (no DSCP mutation).
Page 170
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos dscp-mutation This example show how to remove the DSCP-to-DSCP-mutation map name dscpmutation1 from the port and to reset the map to the default: Switch(config-if)# no mls qos dscp-mutation dscpmutation1 You can verify your settings by entering the show mls qos maps privileged EXEC command.
Chapter 2 Catalyst 2350 Switch 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, DSCP-to-CoS map, the DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the policed-DSCP map. Use the no form of this command to return to the default map.
Page 172
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos map Defaults Table 2-2 shows the default CoS-to-DSCP map: Table 2-2 Default CoS-to-DSCP Map CoS Value DSCP Value Table 2-3 shows the default DSCP-to-CoS map: Table 2-3 Default DSCP-to-CoS Map...
Page 173
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos map The default DSCP-to-DSCP-mutation map is a null map, which maps an incoming DSCP value to the same DSCP value. The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value.
Page 174
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos map Related Commands Command Description mls qos dscp-mutation Applies a DSCP-to-DSCP-mutation map to a DSCP-trusted port. show mls qos maps Displays quality of service (QoS) mapping information. Catalyst 2350 Switch Command Reference...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos queue-set output buffers mls qos queue-set output buffers Use the mls qos queue-set output buffers global configuration command to allocate buffers to a queue-set (four egress queues per port). Use the no form of this command to return to the default setting.
Page 176
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos queue-set output buffers Related Commands Command Description mls qos queue-set output threshold Configures the weighted tail-drop (WTD) thresholds, guarantees the availability of buffers, and configures the maximum memory allocation to a queue-set.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos queue-set output threshold mls qos queue-set output threshold Use the mls qos queue-set output threshold global configuration command to configure the weighted tail-drop (WTD) thresholds, to guarantee the availability of buffers, and to configure the maximum memory allocation to a queue-set (four egress queues per port).
Page 178
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos queue-set output threshold Usage Guidelines Use the mls qos queue-set output qset-id buffers global configuration command to allocate a fixed number of buffers to the four queues in a queue-set.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos rewrite ip dscp mls qos rewrite ip dscp Use the mls qos rewrite ip dscp global configuration command to configure the switch to change (rewrite) the Differentiated Services Code Point (DSCP) field of an incoming IP packet. Use the no form of this command to configure the switch to not modify (rewrite) the DSCP field of the packet and to enable DSCP transparency.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input bandwidth mls qos srr-queue input bandwidth Use the mls qos srr-queue input bandwidth global configuration command to assign shaped round robin (SRR) weights to an ingress queue. The ratio of the weights is the ratio of the frequency in which the SRR scheduler dequeues packets from each queue.
Page 182
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input bandwidth This example shows how to assign the ingress bandwidths for the queues in the stack. Queue 1 is the priority queue with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is 4/(4+4).
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input buffers mls qos srr-queue input buffers Use the mls qos srr-queue input buffers global configuration command to allocate the buffers between the ingress queues. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input cos-map mls qos srr-queue input cos-map Use the mls qos srr-queue input cos-map global configuration command to map class of service (CoS) values to an ingress queue or to map CoS values to a queue and to a threshold ID. Use the no form of this command to return to the default setting.
Page 186
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input cos-map Usage Guidelines The CoS assigned at the ingress port selects an ingress or egress queue and threshold. The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. You can assign two weighted tail-drop (WTD) threshold percentages to an ingress queue by using the mls qos srr-queue input threshold global configuration command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input dscp-map mls qos srr-queue input dscp-map Use the mls qos srr-queue input dscp-map global configuration command to map Differentiated Services Code Point (DSCP) values to an ingress queue or to map DSCP values to a queue and to a threshold ID.
Page 188
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input dscp-map You can map each DSCP value to a different queue and threshold combination, allowing the frame to follow different behavior. You can map up to eight DSCP values per command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input priority-queue mls qos srr-queue input priority-queue Use the mls qos srr-queue input priority-queue global configuration command to configure the ingress priority queue and to guarantee bandwidth on the internal ring if the ring is congested. Use the no form of this command to return to the default setting.
Page 190
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input priority-queue Examples This example shows how to assign the ingress bandwidths for the queues in the ring. Queue 1 is the priority queue with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is 4/(4+4).
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input threshold mls qos srr-queue input threshold Use the mls qos srr-queue input threshold global configuration command to assign weighted tail-drop (WTD) threshold percentages to an ingress queue. Use the no form of this command to return to the default setting.
Page 192
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue input threshold Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input buffers Allocates the buffers between the ingress queues.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue output cos-map mls qos srr-queue output cos-map Use the mls qos srr-queue output cos-map global configuration command to map class of service (CoS) values to an egress queue or to map CoS values to a queue and to a threshold ID. Use the no form of this command to return to the default setting.
Page 194
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue output cos-map The egress queue default settings are suitable for most situations. You should change them only when Note you have a thorough understanding of the egress queues and if these settings do not meet your quality of service (QoS) solution.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue output dscp-map mls qos srr-queue output dscp-map Use the mls qos srr-queue output dscp-map global configuration command to map Differentiated Services Code Point (DSCP) values to an egress or to map DSCP values to a queue and to a threshold ID.
Page 196
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr-queue output dscp-map The egress queue default settings are suitable for most situations. You should change them only when Note you have a thorough understanding of the egress queues and if these settings do not meet your QoS solution.
Chapter 2 Catalyst 2350 Switch 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 packet Differentiated Services Code Point (DSCP), class of service (CoS), or IP-precedence field.
Page 198
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos trust If you configure the trust setting for DSCP or IP precedence, the DSCP or IP precedence values in the incoming packets are trusted. If you configure the mls qos cos override interface configuration command on the switch port connected to the device, the switch overrides the CoS of the incoming packets and assigns the default CoS value to them.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos vlan-based mls qos vlan-based Use the mls qos vlan-based interface configuration command to enable VLAN-based quality of service (QoS) on the physical port. Use the no form of this command to disable this feature.
Remote SPAN (RSPAN) source or destination session, to enable ingress traffic on the destination port for a network security device (such as a Cisco IDS Sensor Appliance), to add or delete interfaces or VLANs to or from an existing SPAN or RSPAN session, and to limit (filter) SPAN source traffic to specific VLANs.
Page 201
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands monitor session vlan vlan-id When used with only the ingress keyword, set default VLAN for ingress traffic. remote vlan vlan-id Specify the remote VLAN for an RSPAN source or destination session. The range is 2 to 1001 and 1006 to 4094.
Page 202
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands monitor session When you use VLAN-based SPAN (VSPAN) to analyze network traffic in a VLAN or set of VLANs, all active ports in the source VLANs become source ports for the SPAN or RSPAN session. Trunk ports are included as source ports for VSPAN, and only packets with the monitored VLAN ID are sent to the destination port.
Page 203
Displays SPAN and RSPAN session information. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co mmand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands pagp learn-method pagp learn-method Use the pagp learn-method interface configuration command to learn the source address of incoming packets received from an EtherChannel port. Use the no form of this command to return to the default setting.
Page 205
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-181...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands pagp port-priority pagp port-priority Use the pagp port-priority interface configuration command to select a port over which all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is sent. If all unused ports in the EtherChannel are in hot-standby mode, they can be placed into operation if the currently selected port and link fails.
Page 207
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_r eference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-183...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands police police Use the police policy-map class configuration command to define a policer for classified traffic. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded. Use the no form of this command to remove an existing policer.
Page 209
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands police Examples This example shows how to configure a policer that drops packets if traffic exceeds 1 Mb/s average rate with a burst size of 20 KB. The DSCPs of incoming packets are trusted, and there is no packet modification.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands police aggregate police aggregate Use the police aggregate policy-map class configuration command to apply an aggregate policer to multiple classes in the same policy map. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands police aggregate Examples This example shows how to define the aggregate policer parameters and to apply the policer to multiple classes in a policy map: Switch(config)# mls qos aggregate-policer agg_policer1 10000 1000000 exceed-action drop...
Chapter 2 Catalyst 2350 Switch 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 physical ports or switch virtual interfaces (SVIs) and to enter policy-map configuration mode.
Page 213
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands policy-map Only one policy map per ingress port or SVI is supported. You can apply the same policy map to multiple physical ports or SVIs. You can apply a nonhierarchical policy maps to physical ports or to SVIs. However, you can only apply a hierarchical policy map to SVIs.
Page 214
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands policy-map Switch(config-pmap)# class cm-test-int Switch(config-pmap-c)# police 18000000 8000 exceed-action drop Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# policy-map pm-test-pm-2 Switch(config-pmap)# class cm-non-int Switch(config-pmap-c)# set dscp 7 Switch(config-pmap-c)# service-policy pm-test-int Switch(config-pmap)# class cm-non-int-2 Switch(config-pmap-c)# set dscp 15...
Chapter 2 Catalyst 2350 Switch 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.
Page 216
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comman d_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-192...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands priority-queue priority-queue Use the priority-queue interface configuration command to enable the egress expedite queue on a port. Use the no form of this command to return to the default setting. priority-queue out...
Page 218
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands priority-queue This example shows how to disable the egress expedite queue after the SRR shaped and shared weights are configured. The shaped mode overrides the shared mode. Switch(config)# interface gigabitethernet0/2 Switch(config-if)# srr-queue bandwidth shape 25 0 0 0...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands queue-set queue-set Use the queue-set interface configuration command to map a port to a queue-set. Use the no form of this command to return to the default setting. queue-set qset-id no queue-set qset-id...
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands radius-server dead-criteria radius-server dead-criteria Use the radius-server dead-criteria global configuration command to configure the conditions that determine when a RADIUS server is considered unavailable or dead. Use the no form of this command to return to the default settings.
Page 221
Command Reference, Release 12.2 > Server Security Protocols > RADIUS Commands. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/pr od_command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands radius-server host radius-server host Use the radius-server host global configuration command to configure the RADIUS server parameters, including the RADIUS accounting and authentication. Use the no form of this command to return to the default settings.
Page 223
Reference, Release 12.2 > Server Security Protocols > RADIUS Commands. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/pr od_command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands rcommand rcommand Use the rcommand user EXEC command on the cluster command switch to start a Telnet session and to execute commands on a cluster member switch from the cluster command switch. To end the session, enter the exit command.
Page 225
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands rcommand This command will not work if the vty lines of the cluster command switch have access-class configurations. You are not prompted for a password because the cluster member switches inherited the password of the cluster command switch when they joined the cluster.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands reload reload Use the reload privileged EXEC command to reload the switch and to put a configuration change into effect. reload [LINE | at | cancel | in | standby-cpu] Syntax Description LINE Specify the reason for the reload.
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to configure a VLAN as a Remote Switched Port Analyzer (RSPAN) VLAN. Use the no form of this command to remove the RSPAN designation from the VLAN.
Page 228
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands remote-span Examples This example shows how to configure a VLAN as an RSPAN VLAN. Switch(config)# vlan 901 Switch(config-vlan)# remote-span This example shows how to remove the RSPAN feature from a VLAN. Switch(config)# vlan 901 Switch(config-vlan)# no remote-span You can verify your settings by entering the show vlan remote-span user EXEC command.
Chapter 2 Catalyst 2350 Cisco IOS Commands rmon collection stats rmon collection stats Use the rmon collection stats interface configuration command to collect Ethernet group statistics, which include usage statistics about broadcast and multicast packets, and error statistics about cyclic redundancy check (CRC) alignment errors and collisions.
Chapter 2 Catalyst 2350 Cisco IOS Commands sdm prefer sdm prefer Use the sdm prefer global configuration command to configure the template used in Switch Database Management (SDM) resource allocation. You can use a template to allocate system resources to best support the features being used in your application.
Chapter 2 Catalyst 2350 Cisco IOS Commands sdm prefer Table 2-10 lists the approximate number of each resource that is supported in each of the IPv4-only templates for a switch. The values in the template are based on 8 routed interfaces and 1024 VLANs and represent the approximate hardware boundaries set when a template is selected.
Page 232
Chapter 2 Catalyst 2350 Cisco IOS Commands sdm prefer Examples This example shows how to configure the access template on a switch: Switch(config)# sdm prefer access Switch(config)# exit Switch# reload This example shows how to configure the VLAN template on a switch:...
Chapter 2 Catalyst 2350 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). This mechanism allows an end user with physical access to the switch to hold down the Mode button and interrupt the boot process while the switch is powering up and to assign a new password.
Page 234
Chapter 2 Catalyst 2350 Cisco IOS Commands service password-recovery If you use the no service password-recovery command to control end user access to passwords, we Note 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.
Chapter 2 Catalyst 2350 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 physical port or a switch virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
Page 236
Chapter 2 Catalyst 2350 Cisco IOS Commands service-policy Examples This example shows how to apply plcmap1 to an physical ingress port: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# service-policy input plcmap1 This example shows how to remove plcmap2 from a physical port: Switch(config)# interface gigabitethernet0/2...
Page 237
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 2350 Switch Command Reference 2-213...
Chapter 2 Catalyst 2350 Cisco IOS Commands Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) or an IP-precedence value in the packet. Use the no form of this command to remove traffic classification.
Page 239
Chapter 2 Catalyst 2350 Cisco IOS Commands Examples This example shows how to assign DSCP 10 to all FTP traffic without any policers: Switch(config)# policy-map policy_ftp Switch(config-pmap)# class ftp_class Switch(config-pmap-c)# set dscp 10 Switch(config-pmap)# exit You can verify your settings by entering the show policy-map privileged EXEC command.
Chapter 2 Catalyst 2350 Cisco IOS Commands setup setup Use the setup privileged EXEC command to configure the switch with its initial configuration. setup Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History Release Modification 12.2(46)EY...
Page 241
Chapter 2 Catalyst 2350 Cisco IOS Commands setup Would you like to enter basic management setup? [yes/no]: yes Configuring global parameters: Enter host name [Switch]:host-name The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration.
Page 242
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co mmand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode. Use the no form of this command to disable Express Setup mode. setup express no setup express Syntax Description This command has no arguments or keywords.
Page 244
Chapter 2 Catalyst 2350 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: On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
Chapter 2 Catalyst 2350 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 | hardware counters | ipc] [ | {begin | exclude | include}...
Page 246
Chapter 2 Catalyst 2350 Cisco IOS Commands show access-lists Extended IP access list CMP-NAT-ACL Dynamic Cluster-HSRP deny ip any any 10 deny ip any host 19.19.11.11 20 deny ip any host 10.11.12.13 Dynamic Cluster-NAT permit ip any any 10 permit ip host 10.99.100.128 any 20 permit ip host 10.46.22.128 any...
Page 247
Commands. ip access list Configures a named IP access list on the switch. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Catalyst 2350 Switch Command Reference 2-223...
Chapter 2 Catalyst 2350 Cisco IOS Commands show archive status show archive status Use the show archive status privileged EXEC command to display the status of a new image being downloaded to a switch with the HTTP or the TFTP protocol.
Chapter 2 Catalyst 2350 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.
Page 250
If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot the first bootable file that it can find in the flash file system. Config file Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Private Config file Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration.
Page 251
Related Commands Command Description boot config-file Specifies the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. boot enable-break Enables interrupting the automatic boot process. boot manual Enables manually booting the switch during the next boot cycle.
Chapter 2 Catalyst 2350 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]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show cluster show cluster Use the show cluster user EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on the cluster command switch and cluster member switches.
Page 254
Chapter 2 Catalyst 2350 Cisco IOS Commands show cluster This is an example of output when the show cluster command is entered on a cluster member switch: Switch1> show cluster Member switch for cluster “hapuna” Member number: Management IP address: 192.192.192.192...
Chapter 2 Catalyst 2350 Cisco IOS Commands show cluster candidates show cluster candidates Use the show cluster candidates privileged EXEC command on a cluster command switch to display a list of candidate switches. show cluster candidates [detail | mac-address H.H.H.] [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 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 cluster member switch directly connected to the cluster command switch: Switch> show cluster candidates mac-address 00d0.7961.c4c0 Device 'Tahiti-12' with mac address number 00d0.7961.c4c0...
Chapter 2 Catalyst 2350 Cisco IOS Commands show cluster members show cluster members Use the show cluster members privileged EXEC command on a cluster command switch to display information about the cluster members. show cluster members [n | detail] [ | {begin | exclude | include} expression] Syntax Description (Optional) Number that identifies a cluster member.
Chapter 2 Catalyst 2350 Cisco IOS Commands show cluster members This is an example of output from the show cluster members detail command: Switch# show cluster members detail Device 'StLouis1' with member number 0 (Command Switch) Device type: cisco C2350-48TD-SD MAC address: 0002.4b29.2e00...
12.2(46)EY This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface. When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
Page 262
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-13 describes the Transmit fields, and Table 2-14 describes the Receive fields. Switch# show controllers ethernet-controller gigabitethernet0/1...
Page 263
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Table 2-13 Transmit Field Descriptions (continued) Field Description 5 collision frames The number of frames that are successfully sent on an interface after five collisions occur. 6 collision frames The number of frames that are successfully sent on an interface after six collisions occur.
Page 264
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Table 2-14 Receive Field Descriptions (continued) Field Description Unicast bytes The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits.
Page 265
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Table 2-14 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values.
Page 266
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Bit encoding:0x1 =NRZ Normal BitRate in multiple of 1M b/s :0x2848 Protocol Type:0x1 =10GgE Standards Compliance Codes : 10GbE Code Byte 0 :0x4 =10GBASE-ER 10GbE Code Byte 1 :0x0 SONET/SDH Code Byte 0:0x0...
Page 267
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller This is an example of output from the show controllers ethernet-controller port-asic statistics command: Switch# show controllers ethernet-controller port-asic statistics =========================================================================== Switch 1, PortASIC 0 Statistics --------------------------------------------------------------------------- 0 RxQ-0, wt-0 enqueue frames...
Page 268
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers ethernet-controller Related Commands Command Description show controllers Displays the state of the CPU network ASIC and send and receive statistics cpu-interface for packets reaching the CPU. show controllers tcam Displays the state of registers for all hardware memory in the system and for hardware interface ASICs that are content addressable memory controllers.
This command was introduced. Usage Guidelines The output display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. 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.
12.2(46)EY This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. 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 2350 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]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show controllers utilization This is an example of output from the show controllers utilization command on a specific port: Switch> show controllers gigabitethernet0/1 utilization Receive Bandwidth Percentage Utilization Transmit Bandwidth Percentage Utilization Table 2-15...
Chapter 2 Catalyst 2350 Cisco IOS Commands show diagnostic show diagnostic Use the show diagnostic user EXEC command to display the online diagnostic test results and the supported test suites. show diagnostic content [ | {begin | exclude | include} expression]...
Page 276
Chapter 2 Catalyst 2350 Cisco IOS Commands show diagnostic Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines The show diagnostic post command output is the same as the show post command output. 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.
Page 277
Chapter 2 Catalyst 2350 Cisco IOS Commands show diagnostic ====== ================================= =============================== ====== Card Description Current Running Test Run by ------ --------------------------------- ------------------------------- ------ ====== ================================= =============================== ====== eXpresso-239-057_2350-48TD-S# This example shows how to display the online diagnostic test schedule for a switch: Switch>...
Page 278
Chapter 2 Catalyst 2350 Cisco IOS Commands show diagnostic 4) TestPortAsicRingLoopback --------> U Error code ------------------> 0 (DIAG_SUCCESS) Total run count -------------> 0 Last test execution time ----> n/a First test failure time -----> n/a Last test failure time ------> n/a Last test pass time --------->...
Chapter 2 Catalyst 2350 Cisco IOS Commands show dtp show dtp Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface. show dtp [interface interface-id] [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show eap show eap Use the show eap privileged EXEC command to display Extensible Authentication Protocol (EAP) registration and session information for the switch or for the specified port. show eap {{registrations [method [name] | transport [name]]} | {sessions [credentials name...
Chapter 2 Catalyst 2350 Cisco IOS Commands show eap Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output appear. Examples This is an example of output from the show eap registrations privileged EXEC command: Switch>...
Page 283
Chapter 2 Catalyst 2350 Cisco IOS Commands show eap Method context ID: 0x00000000 Peer Identity: None Start timeout (s): Retransmit timeout (s): 30 (30) Current ID: Available local methods: None Related Commands Command Description clear eap Clears EAP session information for the switch or for the specified port.
Chapter 2 Catalyst 2350 Cisco IOS Commands show env show env Use the show env user EXEC command to display fan, temperature, and power information for the switch. show env {all | fan | power | temperature [status]} [ | {begin | exclude | include} expression]...
Page 285
Chapter 2 Catalyst 2350 Cisco IOS Commands show env Serial# Status Sys Pwr PoE Pwr Watts ------------------ ---------- --------------- ------- ------- ----- Built-in Good This is an example of output from the show env power command on a switch: Switch> show env power...
Chapter 2 Catalyst 2350 Cisco IOS Commands show errdisable detect show errdisable detect Use the show errdisable detect user EXEC command to display error-disabled detection status. show errdisable detect [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
Page 287
Chapter 2 Catalyst 2350 Cisco IOS Commands show errdisable detect lsgroup Enabled port pagp-flap Enabled port psecure-violation Enabled port/vlan security-violatio Enabled port sfp-config-mismat Enabled port storm-control Enabled port udld Enabled port vmps Enabled port Related Commands Command Description errdisable detect cause Enables error-disabled detection for a specific cause or all causes.
Chapter 2 Catalyst 2350 Cisco IOS Commands show errdisable flap-values show errdisable flap-values Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause. show errdisable flap-values [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show errdisable recovery show errdisable recovery Use the show errdisable recovery user EXEC command to display the error-disabled recovery timer information. show errdisable recovery [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
Page 290
Chapter 2 Catalyst 2350 Cisco IOS Commands show errdisable recovery Timer interval:300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Gi0/2 link-flap Though visible in the output, the unicast-flood field is not valid.
Chapter 2 Catalyst 2350 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 | protocol | summary} [ | {begin | exclude | include} expression]...
Page 292
Chapter 2 Catalyst 2350 Cisco IOS Commands show etherchannel Port index Load = 0x00 Protocol = LACP Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDU A - Device is in active mode. P - Device is in passive mode.
Page 293
Chapter 2 Catalyst 2350 Cisco IOS Commands show etherchannel Port state = Port-channel Ag-Inuse Protocol LACP Ports in the Port-channel: Index Load Port EC state No of bits ------+------+------+------------------+----------- Gi0/1 Active Gi0/2 Active Time since last port bundled: 01d:20h:24m:44s Gi0/2...
Chapter 2 Catalyst 2350 Cisco IOS Commands show fallback profile show fallback profile Use the show fallback profile privileged EXEC command to display the fallback profiles that are configured on a switch. show fallback profile [append | begin | exclude | include | {[redirect | tee] url} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show fallback profile Related Commands Command Description flowcontrol Create a web authentication fallback profile. ip admission Enable web authentication on a switch port ip admission name proxy Enable web authentication globally on a switch...
Chapter 2 Catalyst 2350 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 number] [ | {begin | exclude | include}...
Chapter 2 Catalyst 2350 Cisco IOS Commands show flowcontrol Examples This is an example of output from the show flowcontrol command. Switch> show flowcontrol Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- --------...
Chapter 2 Catalyst 2350 Cisco IOS Commands show idprom show idprom Use the show idprom user EXEC command to display the IDPROM information for the specified interface. show idprom {interface interface-id} [detail] [ | {begin | exclude | include} expression]...
(Optional) Display the input and output packets by switching path for the interface. status (Optional) Display the status of the interface. A status of unsupported in the Type field means that a non-Cisco small form-factor pluggable (SFP) module is inserted in the module slot. err-disabled (Optional) Display interfaces in error-disabled state.
Page 301
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces transceiver [detail | (Optional) Display the physical properties of a coarse wavelength-division properties | multiplexer (CWDM) or dense wavelength-division multiplexer (DWDM) dom-supported-list] small form-factor (SFP) module interface. The keywords have these meanings: detail—(Optional) Display calibration properties, including high and...
Page 302
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces Examples This is an example of output from the show interfaces command: Switch# show interfaces gigabitethernet0/21 GigabitEthernet0/1 is down, line protocol is down (notconnect) Hardware is Gigabit Ethernet, address is 0023.acd1.4c01 (bia 0023.acd1.4c01)
Page 303
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces This is an example of output from the show interfaces capabilities command for an interface. Switch# show interfaces gigabitethernet0/1 capabilities GigabitEthernet0/1 Model: WS-C2350-48TD Type: 10/100/1000BaseTX Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q...
Page 304
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces This is an example of output from the show interfaces stats command for a specified VLAN interface. Switch# show interfaces vlan 1 stats Switching path Pkts In Chars In Pkts Out...
Page 305
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces Trunking VLANs Enabled: ALL Pruning VLANs Enabled: NONE Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none Table 2-17 show interfaces switchport Field Descriptions...
Page 306
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces This is an example of output from the show interfaces interface-id trunk command. It displays trunking information for the port. Switch# show interfaces gigabitethernet0/1 trunk Port Mode Encapsulation Status Native vlan...
Page 307
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces Port (dBm) (dBm) (dBm) (dBm) (dBm) ------- ----------------- ---------- --------- --------- --------- Gi0/3 ( -0.0) -- -0.0 -0.0 -0.0 -0.0 This is an example of output from the show interfaces tengigabitethernet interface-id transceiver...
Page 308
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces This is an example of output from the show interfaces transceiver dom-supported-list command: Transceiver Type Cisco p/n min version supporting DOM ------------------ ------------------------- DWDM GBIC DWDM SFP RX only WDM GBIC...
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces counters show interfaces counters Use the show interfaces counters privileged EXEC command to display various counters for the switch or for a specific interface. show interfaces [interface-id | vlan vlan-id] counters [errors | etherchannel | module module-...
Page 310
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces counters This is an example of partial output from the show interfaces counters protocol status command for all interfaces. Switch# show interfaces counters protocol status Protocols allocated: Vlan1: Other, IP Vlan20: Other, IP, ARP...
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces transceivers show interfaces transceivers Use the show interfaces transceivers privileged EXEC command to display the physical properties of a small form-factor pluggable (SFP) module interface. show interfaces [interface-id] transceiver [ detail | dom-supported-list | module number |...
Page 312
Chapter 2 Catalyst 2350 Cisco IOS Commands show interfaces transceivers This is an example of output from the show interfaces interface-id transceiver detail command: Switch# show interfaces gigabitethernet0/3 transceiver detail ITU Channel not available (Wavelength not available), Transceiver is externally calibrated.
Chapter 2 Catalyst 2350 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]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp profile show ip igmp profile Use the show ip igmp profile privileged EXEC command to display all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile. show ip igmp profile [profile number] [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 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.
Page 318
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping Vlan 1: -------- IGMP snooping :Enabled Immediate leave :Disabled Multicast router learning mode :pim-dvmrp Source only learning age timer CGMP interoperability mode :IGMP_ONLY Last member query interval : 100 This is an example of output from the show ip igmp snooping command.
Page 319
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping Command Description ip igmp snooping vlan static Statically adds a Layer 2 port as a member of a multicast group. show ip igmp snooping groups Displays the IGMP snooping multicast table for the switch.
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping groups show ip igmp snooping groups Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping groups Examples This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch. Switch# show ip igmp snooping groups...
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping mrouter show ip igmp snooping mrouter Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
Page 323
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping mrouter Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping vlan static Adds a multicast router port. ip igmp snooping vlan static Statically adds a Layer 2 port as a member of a multicast group.
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping querier show ip igmp snooping querier 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.
Page 325
Chapter 2 Catalyst 2350 Cisco IOS Commands show ip igmp snooping querier Examples This is an example of output from the show ip igmp snooping querier command: Switch> show ip igmp snooping querier Vlan IP Address IGMP Version Port --------------------------------------------------- 172.20.50.11...
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping show ipv6 mld snooping Use the show ipv6 mld snooping user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping configuration of the switch or the VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping address show ipv6 mld snooping address Use the show ipv6 mld snooping address user EXEC command to display all or specified IP Version 6 (IPv6) multicast address information maintained by Multicast Listener Discovery (MLD) snooping.
Page 329
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping address Examples This is an example of output from the show snooping address user EXEC command: Switch> show ipv6 mld snooping address Vlan Group Type Version Port List -------------------------------------------------------------...
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping mrouter show ipv6 mld snooping mrouter Use the show ipv6 mld snooping mrouter user EXEC command to display dynamically learned and manually configured IP version 6 (IPv6) Multicast Listener Discovery (MLD) router ports for the switch or a VLAN.
Page 331
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping mrouter This is an example of output from the show ipv6 mld snooping mrouter vlan command. It shows multicast router ports for a specific VLAN. Switch> show ipv6 mld snooping mrouter vlan 100...
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping querier show ipv6 mld snooping querier Use the show ipv6 mld snooping querier user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping querier-related information most recently received by the switch or the VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show ipv6 mld snooping querier 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 ipv6 mld snooping querier command: Switch>...
Chapter 2 Catalyst 2350 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 | sys-id} [ | {begin | exclude |...
Chapter 2 Catalyst 2350 Cisco IOS Commands show lacp Examples This is an example of output from the show lacp counters user EXEC command. Table 2-18 describes the fields in the display. Switch> show lacp counters LACPDUs Marker Marker Response...
Chapter 2 Catalyst 2350 Cisco IOS Commands show lacp Table 2-19 describes the fields in the display: Table 2-19 show lacp internal Field Descriptions Field Description State State of the specific port. These are the allowed values: • – —Port is in an unknown state.
Page 337
Chapter 2 Catalyst 2350 Cisco IOS Commands show lacp This is an example of output from the show lacp neighbor command: Switch> show lacp neighbor Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs...
Chapter 2 Catalyst 2350 Cisco IOS Commands show link state group show link state group Use the show link state group privileged EXEC command to display the link-state group information. show link state group [number] [detail] [ | {begin | exclude | include} expression]...
Page 339
Enables a link-state group. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands show location show location Use the show location user EXEC command to display location information for an endpoint. show location admin-tag | [ | {begin | exclude | include} expression] show location civic-location {identifier id number | interface interface-id | static } | {begin |...
Chapter 2 Catalyst 2350 Cisco IOS Commands show location Examples This is an example of output from the show location civic-location command that displays location information for an interface: Switch> show location civic interface gigabitethernet0/1 Civic location information -------------------------- Identifier...
Page 342
Chapter 2 Catalyst 2350 Cisco IOS Commands show location This is an example of output from the show location elin static command that displays all emergency location information: Switch> show location elin static Elin location information -------------------------- Identifier : 1...
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table show mac address-table Use the show mac address-table user EXEC command to display a specific MAC address table static and dynamic entry or the MAC address table static and dynamic entries on a specific interface or VLAN.
Page 344
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table address show mac address-table address Use the show mac address-table address user EXEC command to display MAC address table information for the specified MAC address. show mac address-table address mac-address [interface interface-id] [vlan vlan-id] [ | {begin |...
Page 346
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table address Related Commands Command Description show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table aging-time show mac address-table aging-time Use the show mac address-table aging-time user EXEC command to display the aging time of a specific address table instance, all address table instances on a specified VLAN or, if a specific VLAN is not specified, on all VLANs.
Page 348
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table aging-time Related Commands Command Description mac address-table aging-time Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table count show mac address-table count Use the show mac address-table count user EXEC command to display the number of addresses present in all VLANs or the specified VLAN. show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression]...
Page 350
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table count Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table dynamic show mac address-table dynamic Use the show mac address-table dynamic user EXEC command to display only dynamic MAC address table entries. show mac address-table dynamic [address mac-address] [interface interface-id] [vlan vlan-id]...
Page 352
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table dynamic Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table interface show mac address-table interface Use the show mac address-table interface user command to display the MAC address table information for the specified interface in the specified VLAN. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include}...
Page 354
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table interface Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table static show mac address-table static Use the show mac address-table static user EXEC command to display only static MAC address table entries. show mac address-table static [address mac-address] [interface interface-id] [vlan vlan-id]...
Page 356
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table static Related Commands Command Description mac address-table static Adds static addresses to the MAC address table. mac address-table static drop Enables unicast MAC address filtering and configures the switch to drop traffic with a specific source or destination MAC address.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table vlan show mac address-table vlan Use the show mac address-table vlan user EXEC command to display the MAC address table information for the specified VLAN. show mac address-table vlan vlan-id [ | {begin | exclude | include} expression]...
Page 358
Chapter 2 Catalyst 2350 Cisco IOS Commands show mac address-table vlan Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos show mls qos Use the show mls qos user EXEC command to display global quality of service (QoS) configuration information. show mls qos [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos aggregate-policer show mls qos aggregate-policer Use the show mls qos aggregate-policer user EXEC command to display the quality of service (QoS) aggregate policer configuration. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos input-queue show mls qos input-queue Use the show mls qos input-queue user EXEC command to display quality of service (QoS) settings for the ingress queues. show mls qos input-queue [ | {begin | exclude | include} expression]...
Page 362
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos input-queue Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input buffers Allocates the buffers between the ingress queues.
Chapter 2 Catalyst 2350 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 port level. show mls qos interface [interface-id] [buffers | queueing | statistics]...
Page 364
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos interface DSCP Mutation Map:Default DSCP Mutation Map Trust device:none qos mode:vlan-based This is an example of output from the show mls qos interface interface-id command when VLAN-based QoS is disabled: Switch>...
Page 366
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos interface Command Description mls qos srr-queue input threshold Assigns WTD threshold percentages to an ingress queue. mls qos srr-queue output cos-map Maps CoS values to an egress queue or maps CoS values to a queue and to a threshold ID.
Chapter 2 Catalyst 2350 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. During classification, QoS uses the mapping tables to represent the priority of the traffic and to derive a corresponding class of service (CoS) or Differentiated Services Code Point (DSCP) value from the received CoS, DSCP, or IP precedence value.
Page 368
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos maps The DSCP input queue threshold and the DSCP output queue threshold maps appear as a matrix. The d1 column specifies the most-significant digit of the DSCP number. The d2 row specifies the least-significant digit in the DSCP number.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos queue-set show mls qos queue-set Use the show mls qos queue-set user EXEC command to display quality of service (QoS) settings for the egress queues. show mls qos queue-set [qset-id] [ | {begin | exclude | include} expression]...
Page 371
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos queue-set Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos queue-set output threshold Configures the weighted tail-drop (WTD) thresholds, guarantees the availability of buffers, and configures the maximum memory allocation of the queue-set.
Chapter 2 Catalyst 2350 Cisco IOS Commands show mls qos vlan show mls qos vlan Use the show mls qos vlan user EXEC command to display the policy maps attached to a switch virtual interface (SVI). show mls qos vlan vlan-id [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show monitor show monitor Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
Chapter 2 Catalyst 2350 Cisco IOS Commands show monitor Examples This is an example of output for the show monitor user EXEC command on a switch: Switch# show monitor Session 1 --------- Type : Local Session Source Ports : RX Only : Gi0/1...
Chapter 2 Catalyst 2350 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 | dual-active | internal | neighbor} [ | {begin |...
Chapter 2 Catalyst 2350 Cisco IOS Commands show pagp Channel group 1 Dual-Active Partner Partner Partner Port Detect Capable Name Port Version Gi0/1 Switch Gi0/3 Gi0/2 Switch Gi0/4 <output truncated> This is an example of output from the show pagp 1 internal command: Switch>...
Chapter 2 Catalyst 2350 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.
Page 378
Chapter 2 Catalyst 2350 Cisco IOS Commands show policy-map Related Commands Command Description policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. Catalyst 2350 Switch Command Reference 2-354 OL-19055-01...
Chapter 2 Catalyst 2350 Cisco IOS Commands show sdm prefer show sdm prefer Use the show sdm prefer privileged EXEC command to display information about the Switch Database Management (SDM) templates that can be used to maximize used for allocating system resources for a particular feature, or use the command without a keyword to display the template in use.
Page 380
Chapter 2 Catalyst 2350 Cisco IOS Commands show sdm prefer Examples The switch supports only 128 VLANs, although the output in the examples and on the switch refers to Note 1024 VLANs. This is an example of output from the show sdm prefer command: Switch# show sdm prefer The current template is "desktop default"...
Page 381
Chapter 2 Catalyst 2350 Cisco IOS Commands show sdm prefer This is an example of output from the show sdm prefer vlan command: Switch# show sdm prefer vlan "desktop vlan" template: The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 1024 VLANs.
Chapter 2 Catalyst 2350 Cisco IOS Commands show setup express show setup express Use the show setup express privileged EXEC command to display if Express Setup mode is active on the switch. show setup express [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree show spanning-tree Use the show spanning-tree user EXEC command to display spanning-tree state information. show spanning-tree [bridge-group | active [detail] | backbonefast | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | mst | pathcost method | root | summary...
Page 384
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree mst [configuration (Optional) Display the multiple spanning-tree (MST) region [digest]] [instance-id configuration and status (available only in privileged EXEC mode). [detail | interface The keywords have these meanings: interface-id [detail]] digest—(Optional) Display the MD5 digest included in the current •...
Page 385
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree | 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.
Page 386
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree Port 1 (GigabitEthernet0/1) of VLAN0001 is forwarding Port path cost 3019, Port priority 128, Port Identifier 128.24. Designated root has priority 32768, address 0001.42e2.cdd0 Designated bridge has priority 32768, address 00d0.bbf5.c680 Designated port id is 128.25, designated path cost 19...
Page 387
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree mst configuration command: Switch# show spanning-tree mst configuration Name [region1] Revision Instance Vlans Mapped -------- ------------------ 1-9,21-4094 10-20 ---------------------------- This is an example of output from the show spanning-tree mst interface interface-id command:...
Page 388
Chapter 2 Catalyst 2350 Cisco IOS Commands show spanning-tree Command Description spanning-tree loopguard default Prevents alternate or root ports from becoming the designated port because of a failure that leads to a unidirectional link. spanning-tree mst configuration Enters multiple spanning-tree (MST) configuration mode through which the MST region configuration occurs.
Chapter 2 Catalyst 2350 Cisco IOS Commands show system mtu show system mtu Use the show system mtu privileged EXEC command to display the global maximum transmission unit (MTU) or maximum packet size set for the switch. show system mtu [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show udld show udld Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port. show udld [interface-id] [ | {begin | exclude | include} expression]...
Page 391
Chapter 2 Catalyst 2350 Cisco IOS Commands show udld Table 2-21 show udld Field Descriptions Field Description Interface The interface on the local device configured for UDLD. Port enable administrative How UDLD is configured on the port. If UDLD is enabled or...
Page 392
Chapter 2 Catalyst 2350 Cisco IOS Commands show udld Related Commands Command Description udld Enables aggressive or normal mode in UDLD or sets the configurable message timer time. udld port Enables UDLD on an individual interface or prevents a fiber-optic interface from being enabled by the udld global configuration command.
Though visible in the show version output, the configuration register information is not supported on Note the switch. Switch> show version Cisco IOS Software, C2350 Software (C2350-LANLITEK9-M), Version 12.2(46)EY, RELE ASE SOFTWARE (fc1) Copyright (c) 1986-2009 by Cisco Systems, Inc. Compiled Fri 23-Jan-09 15:45 by myl...
Page 394
If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com.
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 Cisco IOS Commands show vlan Usage Guidelines In the show vlan mtu command output, the MTU_Mismatch column shows whether all the ports in the VLAN have the same MTU. When yes appears in this column, it means that the VLAN has ports with different MTUs, and packets that are switched from a port with a larger MTU to a port with a smaller MTU might be dropped.
Page 397
Chapter 2 Catalyst 2350 Cisco IOS Commands show vlan Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ isolated Gi0/1,Gi0/3 community Gi0/1, Gi0/3 community Gi0/1, Gi0/3 <output truncated> Table 2-22 show vlan Command Output Fields Field Description VLAN VLAN number. Name Name, if configured, of the VLAN.
Page 398
Chapter 2 Catalyst 2350 Cisco IOS Commands show vlan This is an example of output from the show vlan id command. Switch# show vlan id 2 VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- VLAN0200 active Gi0/7, Gi0/8 VLAN0200 active...
Chapter 2 Catalyst 2350 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 | password | status} [ | {begin | exclude | include} expression]...
Chapter 2 Catalyst 2350 Cisco IOS Commands show vtp VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Gi0/47 Gi0/48 Gi0/1 Gi0/2 Table 2-23 show vtp counters Field Descriptions Field Description...
Page 401
Chapter 2 Catalyst 2350 Cisco IOS Commands show vtp Table 2-23 show vtp counters Field Descriptions (continued) Field Description Number of configuration Number of MD5 digest errors. 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.
Page 402
Chapter 2 Catalyst 2350 Cisco IOS Commands show vtp Table 2-24 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.
2 V ] Chapter 2 Catalyst 2350 Cisco IOS Commands shutdown shutdown Use the shutdown interface configuration command to disable an interface. Use the no form of this command to restart a disabled interface. shutdown no shutdown Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 Cisco IOS Commands small-frame violation rate small-frame violation rate Use the small-frame violation rate pps interface configuration command to configure the rate (threshold) for an interface to be error disabled when it receives VLAN-tagged packets that are small frames (67 bytes or less) at the specified rate.
Page 406
Chapter 2 Catalyst 2350 Cisco IOS Commands small-frame violation rate Related Commands Command Description errdisable detect cause small-frame Allows any switch port to be put into the error-disabled state if an incoming frame is smaller than the minimum size and arrives at the specified rate (threshold).
Chapter 2 Catalyst 2350 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) notifications for various traps or inform requests to the network management system (NMS).
Page 408
Chapter 2 Catalyst 2350 Cisco IOS Commands snmp-server enable traps flash [insertion | (Optional) Enable SNMP FLASH notifications. The keywords have these removal] meanings: insertion—(Optional) Generate a trap when a switch (flash) is inserted into a stack, either physically or because of a power cycle or reload.
Page 409
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. snmp-server host Specifies the host that receives SNMP traps.
Chapter 2 Catalyst 2350 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.
Page 411
Chapter 2 Catalyst 2350 Cisco IOS Commands snmp-server host notification-type (Optional) Type of notification to be sent to the host. If no type is specified, all notifications are sent. The notification type can be one or more of the these keywords: bridge—Send SNMP Spanning Tree Protocol (STP) bridge MIB traps.
Page 412
The community string is defined as comaccess: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com comaccess snmp This example shows how to enable the switch to send all traps to the host myhost.cisco.com by using the community string public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com public...
Page 413
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma nd_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands snmp trap mac-notification snmp trap mac-notification Use the snmp trap mac-notification interface configuration command to enable the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific Layer 2 interface. Use the no form of this command to return to the default setting.
Page 415
Chapter 2 Catalyst 2350 Cisco IOS Commands snmp trap mac-notification Related Commands Command Description snmp-server enable traps Sends the SNMP MAC notification traps when the mac-notification keyword is appended. Catalyst 2350 Switch Command Reference 2-391 OL-19055-01...
Chapter 2 Catalyst 2350 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 the command to return to the default setting. spanning-tree backbonefast no spanning-tree backbonefast Syntax Description This command has no arguments or keywords.
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree bpdufilter spanning-tree bpdufilter Use the spanning-tree bpdufilter interface configuration command to prevent an interface from sending or receiving bridge protocol data units (BPDUs). Use the no form of this command to return to the default setting.
Page 418
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod _command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree bpduguard spanning-tree bpduguard Use the spanning-tree bpduguard interface configuration command to put an interface 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.
Page 420
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod _command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 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.
Page 422
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree cost Related Commands Command Description show spanning-tree interface Displays spanning-tree information for the specified interface. interface-id spanning-tree port-priority Configures an interface priority. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2350 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 an EtherChannel misconfiguration. Use the no form of this command to disable the feature.
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree etherchannel guard misconfig Related Commands Command Description errdisable recovery cause Enables the timer to recover from the EtherChannel channel-misconfig misconfiguration error-disabled state. show etherchannel summary Displays EtherChannel information for a channel as a one-line summary per channel-group.
Chapter 2 Catalyst 2350 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.
Page 426
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree extend system-id Related Commands Command Description show spanning-tree summary Displays a summary of spanning-tree interface states. spanning-tree mst root Configures the MST root switch priority and timers based on the network diameter.
Chapter 2 Catalyst 2350 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.
Page 428
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/pr od_command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 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 interface, and to enable rapid spanning-tree transitions to the forwarding state. Use the no form of this command to return to the default setting.
Page 430
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree link-type Related Commands Command Description clear spanning-tree detected-protocols Restarts the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface. show spanning-tree interface Displays spanning-tree state information for the specified interface-id interface.
Chapter 2 Catalyst 2350 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.
Page 432
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 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.
Page 434
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 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.
Page 436
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree mst configuration When you map VLANs to an MST instance, the mapping is incremental, and VLANs specified in the command are added to or removed from the VLANs that were previously mapped. To specify a range, use a hyphen;...
Chapter 2 Catalyst 2350 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.
Page 438
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree mst cost Related Commands Command Description show spanning-tree Displays MST information for the specified interface. interface interface-id spanning-tree mst Configures an interface priority. port-priority spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 2350 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 specifies how long each of the listening and learning states last before the interface begins forwarding.
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 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 an interface is aged.
Chapter 2 Catalyst 2350 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 find the interface to put in the forwarding state.
Page 444
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree mst port-priority Command Description 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. Catalyst 2350 Switch Command Reference 2-420...
The port can accept both prestandard and standard BPDUs. If the neighbor types are mismatched, only the common and internal spanning tree (CIST) runs on this interface. If a switch port is connected to a switch running prestandard Cisco IOS software, you must use the Note spanning-tree mst pre-standard interface configuration command on the port.
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 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 settings.
Page 448
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 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 find the interface to put in the forwarding state. Use the no form of this command to return to the default setting.
Page 450
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree port-priority Examples This example shows how to increase the likelihood that a port will be put in the forwarding state if a loop occurs: Switch(config)# interface gigabitethernet0/2 Switch(config-if)# spanning-tree vlan 20 port-priority 0...
Chapter 2 Catalyst 2350 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 interfaces, the BPDU guard feature on Port Fast-enabled interfaces, or the Port Fast feature on all nontrunking interfaces.
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree portfast (global configuration) Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in Caution spanning-tree loops. Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on interfaces that are in a Port Fast-operational state.
Page 453
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod _command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 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.
Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_c ommand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree transmit hold-count spanning-tree transmit hold-count Use the spanning-tree transmit hold-count global configuration command to configure the number of bridge protocol data units (BPDUs) sent every second. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 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.
Page 458
Chapter 2 Catalyst 2350 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 2350 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. spanning-tree vlan vlan-id [forward-time seconds | hello-time seconds | max-age seconds |...
Page 460
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree vlan Command Modes Global configuration Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines 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.
Page 461
Chapter 2 Catalyst 2350 Cisco IOS Commands spanning-tree vlan 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...
Chapter 2 Catalyst 2350 Cisco IOS Commands speed speed Use the speed interface configuration command to specify the speed of a 10/100 Mb/s or 10/100/1000 Mb/s port. Use the no or default form of this command to return the port to its default value.
Page 463
Chapter 2 Catalyst 2350 Cisco IOS Commands speed For guidelines on setting the switch speed and duplex parameters, see the “Configuring Interface Characteristics” chapter in the software configuration guide for this release. Examples This example shows how to set speed on a port to 100 Mb/s:...
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth limit srr-queue bandwidth limit Use the srr-queue bandwidth limit interface configuration command to limit the maximum output on a port. Use the no form of this command to return to the default setting.
Page 465
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth limit Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos srr-queue output cos-map Maps class of service (CoS) values to egress queue or maps CoS values to a queue and to a threshold ID.
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth shape srr-queue bandwidth shape Use the srr-queue bandwidth shape interface configuration command to assign the shaped weights and to enable bandwidth shaping on the four egress queues mapped to a port. Use the no form of this command to return to the default setting.
Page 467
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth shape Examples This example shows how to configure the queues for the same port for both shaping and sharing. Because the weight ratios for queues 2, 3, and 4 are set to 0, these queues operate in shared mode. The bandwidth weight for queue 1 is 1/8, which is 12.5 percent.
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth share srr-queue bandwidth share Use the srr-queue bandwidth share interface configuration command to assign the shared weights and to enable bandwidth sharing on the four egress queues mapped to a port. The ratio of the weights is the ratio of frequency in which the shaped round robin (SRR) scheduler dequeues packets from each queue.
Page 469
Chapter 2 Catalyst 2350 Cisco IOS Commands srr-queue bandwidth share Examples This example shows how to configure the weight ratio of the SRR scheduler running on an egress port. Four queues are used. The bandwidth ratio allocated for each queue in shared mode is 1/(1+2+3+4), 2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4), which is 10 percent, 20 percent, 30 percent, and 40 percent for queues 1, 2, 3, and 4.
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport access switchport access Use the switchport access interface configuration command to configure a port as a static-access port. If the switchport mode is set to access, the port operates as a member of the specified VLAN.
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport autostate exclude switchport autostate exclude Use the switchport autostate exclude interface configuration command to exclude an interface from the VLAN interface (switch virtual interface) line-state up or down calculation. Use the no form of this command to return to the default setting.
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport host switchport host Use the switchport host interface configuration command to optimize a Layer 2 port for a host connection. The no form of this command has no affect on the system.
Chapter 2 Catalyst 2350 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 reset the mode to the appropriate default for the device.
Page 475
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport mode To autonegotiate trunking, the interfaces must be in the same VLAN Trunking Protocol (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 2350 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.
Page 477
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport nonegotiate Examples This example shows how to cause a port to refrain from negotiating trunking mode and to act as a trunk or access port (depending on the mode set): Switch(config)# interface gigabitethernet0/1...
Chapter 2 Catalyst 2350 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 this command to reset a trunking characteristic to the default.
VLAN trunk port by removing VLAN 1 from the allowed list. When you remove VLAN 1 from a trunk port, the interface continues to send and receive management traffic, for example, Cisco Discovery Protocol (CDP), Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), Dynamic Trunking Protocol (DTP), and VLAN Trunking Protocol (VTP) in VLAN 1.
Page 480
Chapter 2 Catalyst 2350 Cisco IOS Commands switchport trunk This example shows how to remove VLANs 3 and 10 to 15 from the pruning-eligible list: Switch(config)# interface gigabitethernet0/2 Switch(config-if)# switchport trunk pruning vlan remove 3,10-15 You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command.
Chapter 2 Catalyst 2350 Cisco IOS Commands system env temperature threshold yellow system env temperature threshold yellow Use the system env temperature threshold yellow global configuration command to configure the difference between the yellow and red temperature thresholds that determines the value of yellow threshold.
Chapter 2 Catalyst 2350 Cisco IOS Commands system env temperature threshold yellow Related Commands Command Description show env temperature status Displays the temperature status and threshold levels. Catalyst 2350 Switch Command Reference 2-458 OL-19055-01...
The MTU settings that you enter with the system mtu jumbo command are not saved in the switch Cisco IOS configuration file, even if you enter the copy running-config startup-config privileged EXEC command. Therefore, if you use TFTP to configure a...
Page 484
Chapter 2 Catalyst 2350 Cisco IOS Commands system mtu Examples This example shows how to set the maximum jumbo packet size for Gigabit Ethernet ports to 6000 bytes: Switch(config)# system mtu jumbo 6000 Switch(config)# exit Switch# reload You can verify your setting by entering the show system mtu privileged EXEC command.
This command was introduced. Usage Guidelines For Layer 2 traceroute to function properly, Cisco Discovery Protocol (CDP) must be enabled on all the switches in the network. Do not disable CDP. When the switch detects a device in the Layer 2 path that does not support Layer 2 traceroute, the switch continues to send Layer 2 trace queries and lets them time out.
Page 486
Chapter 2 Catalyst 2350 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.
Page 487
Chapter 2 Catalyst 2350 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 command was introduced. Usage Guidelines For Layer 2 traceroute to function properly, Cisco Discovery Protocol (CDP) must be enabled on all the switches in the network. Do not disable CDP. When the switch detects an device in the Layer 2 path that does not support Layer 2 traceroute, the switch continues to send Layer 2 trace queries and lets them time out.
Chapter 2 Catalyst 2350 Cisco IOS Commands traceroute mac ip 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.
Chapter 2 Catalyst 2350 Cisco IOS Commands trust trust Use the trust policy-map class configuration command to define a trust state for traffic classified through the class policy-map configuration or the class-map global configuration command. Use the no form of this command to return to the default setting.
Page 491
Chapter 2 Catalyst 2350 Cisco IOS Commands trust If you specify trust ip-precedence, QoS uses the IP precedence value from the ingress packet and the IP-precedence-to-DSCP map. For non-IP packets that are tagged, QoS uses the received CoS value; for non-IP packets that are untagged, QoS uses the default port CoS value.
Chapter 2 Catalyst 2350 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 time. Use the no form of the command to disable aggressive or normal mode UDLD on all fiber-optic ports.
Page 493
Chapter 2 Catalyst 2350 Cisco IOS Commands udld The no udld port 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...
Chapter 2 Catalyst 2350 Cisco IOS Commands udld port udld port Use the udld port interface configuration command to enable the UniDirectional Link Detection (UDLD) on an individual interface or prevent a fiber-optic interface from being enabled by the udld global configuration command.
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
Chapter 2 Catalyst 2350 Cisco IOS Commands vlan (global configuration) vlan (global configuration) Use the vlan global configuration command to add a VLAN and to 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.
Page 498
Chapter 2 Catalyst 2350 Cisco IOS Commands vlan (global configuration) 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. When you enter the VLAN ID of an existing VLAN, you do not create a new VLAN, but you can modify VLAN parameters for that VLAN.
Page 499
Chapter 2 Catalyst 2350 Cisco IOS Commands vlan (global configuration) 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.
Page 500
Chapter 2 Catalyst 2350 Cisco IOS Commands vlan (global configuration) Table 2-26 Valid Commands and Syntax for Different Media Types (continued) Media Type Valid Syntax FDDI-NET name vlan-name, media fd-net, state {suspend | active}, said said-value, mtu mtu-size, bridge bridge-number, stp type {ieee | ibm | auto}, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id If VTP v2 mode is disabled, do not set the stp type to auto.
Page 501
Chapter 2 Catalyst 2350 Cisco IOS Commands vlan (global configuration) Table 2-27 VLAN Configuration Rules (continued) Configuration Rule 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.
VTP administrative domain for the switch. The domain name is case sensitive. file filename Specify the Cisco IOS file system file where the VTP VLAN configuration is stored. interface name Specify the name of the interface providing the VTP ID updated for this device.
Chapter 2 Catalyst 2350 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.
Page 504
Chapter 2 Catalyst 2350 Cisco IOS Commands vtp (global configuration) 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 •...
Page 505
Chapter 2 Catalyst 2350 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.
Chapter 2 Catalyst 2350 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 2350 Cisco IOS Commands vtp (VLAN configuration) Command Modes VLAN configuration Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines If the VTP mode is transparent, the mode and domain name are saved in the switch running configuration file, and you can save the configuration in the switch startup configuration file by using the copy running-config startup-config privileged EXEC command.
Page 508
Chapter 2 Catalyst 2350 Cisco IOS Commands vtp (VLAN configuration) Follow these guidelines when configuring a VTP domain name: The switch is in the no-management-domain state until you configure a domain name. While in the • no-management-domain state, the switch does not send any VTP advertisements even if changes occur to the local VLAN configuration.
Page 509
Setting device to VTP TRANSPARENT mode. This example shows how to set the administrative domain for the switch: Switch(vlan)# vtp domain OurDomainName Changing VTP domain name from cisco to OurDomainName This example shows how to configure the VTP domain password: Switch(vlan)# vtp password private Setting device VLAN database password to private.
You gain access to the boot loader command line if the switch is set to manually boot, if an error occurs during power-on self test (POST) DRAM testing, or if an error occurs while loading the operating system (a corrupted Cisco IOS image). You can also access the boot loader if you have lost or forgotten the switch password.
Appendix A Catalyst 2350 Switch Boot Loader Commands Use the arp boot loader command to display the contents the Address Resolution Protocol (ARP) table. arp [ip_address] Syntax Description ip_address (Optional) Show the ARP table or the mapping for a specific IP address. Command Modes Boot loader Command History...
(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. (Optional) Pause for the Cisco IOS debugger immediately after starting. (Optional) Pause for the JTAG debugger right after loading the image.
Page 514
Appendix A Catalyst 2350 Switch Boot Loader Commands boot Related Commands Command Description Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command. Catalyst 2350 Switch Command Reference OL-19055-01...
Appendix A Catalyst 2350 Switch Boot Loader Commands 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.
Appendix A Catalyst 2350 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.
Page 517
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 Switch Boot Loader Commands 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.
Page 519
Appendix A Catalyst 2350 Switch Boot Loader Commands Table A-1 dir Field Descriptions (continued) Field Description <date> Last modification date. env_vars Filename. Related Commands Command Description mkdir Creates one or more directories. rmdir Removes one or more directories. Catalyst 2350 Switch Command Reference OL-19055-01...
Appendix A Catalyst 2350 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...
Appendix A Catalyst 2350 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: Alias for a flash file system. Use flash: for the system board flash device. Command Modes Boot loader Command History...
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 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.2(46)EY This command was introduced.
Appendix A Catalyst 2350 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.2(46)EY This command was introduced.
Page 525
Appendix A Catalyst 2350 Switch Boot Loader Commands memory Table A-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 A Catalyst 2350 Switch Boot Loader Commands mgmt_clr mgmt_clr Use the mgmt_clr boot loader command to clear the Ethernet management port statistics. mgmt_clr Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(46)EY This command was introduced.
Appendix A Catalyst 2350 Switch Boot Loader Commands mgmt_init mgmt_init Use the mgmt_init boot loader command to initialize the Ethernet management port. mgmt_init Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(46)EY This command was introduced.
Appendix A Catalyst 2350 Switch Boot Loader Commands mgmt_show mgmt_show Use the mgmt_show boot loader command to display the Ethernet management port statistics. mgmt_show Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.2(46)EY This command was introduced.
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 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.
Appendix A Catalyst 2350 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.
115200. HELPER_CONFIG_FILE filesystem:/file-url—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 Cisco IOS that are loaded, including the helper image.
Page 535
Appendix A Catalyst 2350 Switch Boot Loader Commands Defaults The environment variables have these default values: MANUAL_BOOT: No (0) BOOT: Null string ENABLE_BREAK: No (Off or 0) (the automatic boot process cannot be interrupted by pressing the Break key on the console). HELPER: No default value (helper files are not automatically loaded).
Appendix A Catalyst 2350 Switch Boot Loader Commands The boot loader prompt string (PS1) can be up to 120 printable characters except the equal sign (=). Examples This example shows how to change the boot loader prompt: switch: set PS1 loader: loader: You can verify your setting by using the set boot loader command.
Page 537
Appendix A Catalyst 2350 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.
Page 538
HELPER_CONFIG_FILE—Resets 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 Cisco IOS that are loaded, including the helper image. This variable is used only for internal development and testing.
Page 539
Appendix A Catalyst 2350 Switch Boot Loader Commands unset The BOOT environment variable can also be reset by using the no boot system global configuration command. The ENABLE_BREAK environment variable can also be reset by using the no boot enable-break global configuration command.
Appendix A Catalyst 2350 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.2(46)EY This command was introduced.
For this reason, use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. It is best to use the debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.
Appendix B Catalyst 2350 Debug Commands debug cluster debug cluster Use the debug cluster privileged EXEC command to enable debugging of cluster-specific events. Use the no form of this command to disable debugging. debug cluster {discovery | events | extended | http | ip [packet] | members | nat | neighbors | platform | snmp | vqpxy} no debug cluster {discovery | events | extended | http | ip [packet] | members | nat | neighbors | platform | snmp | vqpxy}...
Page 543
Appendix B Catalyst 2350 Debug Commands debug cluster Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster candidates Displays a list of candidate switches when entered on the command switch.
Appendix B Catalyst 2350 Debug Commands debug dtp debug dtp Use the debug dtp privileged EXEC command to enable debugging of the Dynamic Trunking Protocol (DTP) activity. Use the no form of this command to disable debugging. debug dtp {aggregation | all | decision | events | oserrs | packets | queue | states | timers} no debug dtp {aggregation | all | decision | events | oserrs | packets | queue | states | timers} Syntax Description aggregation...
Appendix B Catalyst 2350 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 B Catalyst 2350 Debug Commands debug fastethernet debug fastethernet Use the debug fastethernet privileged EXEC command to enable debugging of the Ethernet management port. Use the no form of this command to disable debugging. debug fastethernet {af | events | packets} no debug fastethernet {af | events | packets} Syntax Description Display Ethernet management port software-address-filter debug messages.
Appendix B Catalyst 2350 Debug Commands debug interface debug interface Use the debug interface privileged EXEC command to enable debugging of interface-related activities. Use the no form of this command to disable debugging. debug interface {interface-id | null interface-number | port-channel port-channel-number | vlan vlan-id} no debug interface {interface-id | null interface-number | port-channel port-channel-number | vlan vlan-id}...
Appendix B Catalyst 2350 Debug Commands debug ip igmp filter debug ip igmp filter Use the debug ip igmp filter privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) filter events. Use the no form of this command to disable debugging. debug ip igmp filter no debug ip igmp filter Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug ip igmp max-groups debug ip igmp max-groups Use the debug ip igmp max-groups privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) maximum groups events. Use the no form of this command to disable debugging.
Appendix B Catalyst 2350 Debug Commands debug ip igmp snooping debug ip igmp snooping Use the debug igmp snooping privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) snooping activity. Use the no form of this command to disable debugging. debug ip igmp snooping [group | management | querier | router | timer] no debug ip igmp snooping [group | management | querier | router | timer] Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug lacp debug lacp Use the debug lacp privileged EXEC command to enable debugging of Link Aggregation Control Protocol (LACP) activity. Use the no form of this command to disable debugging. debug lacp [all | event | fsm | misc | packet] no debug lacp [all | event | fsm | misc | packet] Syntax Description (Optional) Display all LACP debug messages.
Appendix B Catalyst 2350 Debug Commands debug matm debug matm Use the debug matm privileged EXEC command to enable debugging of platform-independent MAC address management. Use the no form of this command to disable debugging. debug matm no debug matm Syntax Description This command has no arguments or keywords.
Appendix B Catalyst 2350 Debug Commands debug matm move update debug matm move update Use the debug matm move update privileged EXEC command to enable debugging of MAC address-table move update message processing. debug matm move update no debug matm move update Syntax Description This command has no arguments or keywords.
Appendix B Catalyst 2350 Debug Commands debug monitor debug monitor Use the debug monitor privileged EXEC command to enable debugging of the Switched Port Analyzer (SPAN) feature. Use the no form of this command to disable debugging. debug monitor {all | errors | idb-update | info | list | notifications | platform | requests | snmp} no debug monitor {all | errors | idb-update | info | list | notifications | platform | requests | snmp} Syntax Description Display all SPAN debug messages.
Appendix B Catalyst 2350 Debug Commands debug nvram debug nvram Use the debug nvram privileged EXEC command to enable debugging of NVRAM activity. Use the no form of this command to disable debugging. debug nvram no debug nvram Syntax Description This command has no arguments or keywords.
Appendix B Catalyst 2350 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 | dual-active | event | fsm | misc | packet] no debug pagp [all | dual-active | event | fsm | misc | packet] Syntax Description (Optional) Display all PAgP debug messages.
Appendix B Catalyst 2350 Debug Commands debug platform acl debug platform acl Use the debug platform acl privileged EXEC command to enable debugging of the access control list (ACL) manager. Use the no form of this command to disable debugging. debug platform acl {all | exit | label | main | racl | stack | vacl | vlmap | warn} no debug platform acl {all | exit | label | main | racl | stack | vacl | vlmap | warn} Syntax Description...
Page 559
Appendix B Catalyst 2350 Debug Commands debug platform acl Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 2350 Switch Command Reference B-19 OL-19055-01...
Appendix B Catalyst 2350 Debug Commands debug platform cpu-queues debug platform cpu-queues Use the debug platform cpu-queues privileged EXEC command to enable debugging of platform central processing unit (CPU) receive queues. Use the no form of this command to disable debugging. debug platform cpu-queues {broadcast-q | cbt-to-spt-q | cpuhub-q | host-q | icmp-q | igmp-snooping-q | layer2-protocol-q | logging-q | remote-console-q | routing-protocol-q | rpffail-q | software-fwd-q | stp-q}...
Page 561
Appendix B Catalyst 2350 Debug Commands debug platform cpu-queues Usage Guidelines The undebug platform cpu-queues command is the same as the no debug platform cpu-queues command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 2350 Switch Command Reference B-21 OL-19055-01...
Appendix B Catalyst 2350 Debug Commands debug platform etherchannel debug platform etherchannel Use the debug platform etherchannel privileged EXEC command to enable debugging of platform-dependent EtherChannel events. Use the no form of this command to disable debugging. debug platform etherchannel {init | link-up | rpc | warnings} no debug platform etherchannel {init | link-up | rpc | warnings} Syntax Description init...
Appendix B Catalyst 2350 Debug Commands debug platform frontend-controller debug platform frontend-controller Use the debug platform frontend-controller privileged EXEC command to enable debugging of front-end controller activity. Use the no form of this command to disable debugging. debug platform frontend-controller {all | image | led | manager | register | thermal} no debug platform frontend-controller {all | image | led | manager | register | thermal} Syntax Description Display all the debug messages for front-end controller.
Appendix B Catalyst 2350 Debug Commands debug platform ip igmp snooping debug platform ip igmp snooping Use the debug platform ip igmp snooping privileged EXEC command to enable debugging of platform-dependent Internet Group Management Protocol (IGMP) snooping. Use the no form of this command to disable debugging.
Page 565
Appendix B Catalyst 2350 Debug Commands debug platform ip igmp snooping rpc [cfg | l3mm | misc Display IGMP snooping remote procedure call (RPC) event debug messages. | vlan] The keywords have these meanings: cfg—(Optional) Display IGMP snooping RPC debug messages. •...
Appendix B Catalyst 2350 Debug Commands debug platform led debug platform led Use the debug platform led privileged EXEC command to enable debugging of light-emitting diode (LED) actions. Use the no form of this command to disable debugging. debug platform led {generic | signal} no debug platform led {generic | signal} Syntax Description generic...
Appendix B Catalyst 2350 Debug Commands debug platform matm debug platform matm Use the debug platform matm privileged EXEC command to enable debugging of platform-dependent MAC address management. Use the no form of this command to disable debugging. debug platform matm {aging | all | ec-aging | errors | learning | rpc | secure-address | warnings} no debug platform matm {aging | all | ec-aging | errors | learning | rpc | secure-address | warnings} Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug platform phy debug platform phy Use the debug platform phy privileged EXEC command to enable debugging of PHY driver information. Use the no form of this command to disable debugging. debug platform phy {automdix | cablediag | dual-purpose | flcd {configure | ipc | iter | trace} | flowcontrol | forced | init-seq | link-status | read | sfp | show-controller | speed | write | xenpak} no debug platform phy {automdix | cablediag | dual-purpose | flcd {configure | ipc | iter | trace}...
Page 570
Appendix B Catalyst 2350 Debug Commands debug platform phy Usage Guidelines The undebug platform phy command is the same as the no debug platform phy command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 2350 Switch Command Reference B-30 OL-19055-01...
Page 572
Appendix B Catalyst 2350 Debug Commands debug platform pm Although visible in the command-line help, the stack-manager keyword is not supported. Note Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.2(46)EY This command was introduced. Usage Guidelines The undebug platform pm command is the same as the no debug platform pm command.
Appendix B Catalyst 2350 Debug Commands debug platform port-asic debug platform port-asic Use the debug platform port-asic privileged EXEC command to enable debugging of the port application-specific integrated circuit (ASIC) driver. Use the no form of this command to disable debugging.
Appendix B Catalyst 2350 Debug Commands debug platform qos-acl-tcam debug platform qos-acl-tcam Use the debug platform qos-acl-tcam privileged EXEC command to enable debugging of the quality of service (QoS) and access control list (ACL) hardware memory manager software. Use the no form of this command to disable debugging.
Appendix B Catalyst 2350 Debug Commands debug platform snmp debug platform snmp Use the debug platform snmp privileged EXEC command to enable debugging of the platform-dependent Simple Network Management Protocol (SNMP) software. Use the no form of this command to disable debugging. debug platform snmp no debug platform snmp Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug platform span debug platform span Use the debug platform span privileged EXEC command to enable debugging of the platform-dependent Switched Port Analyzer (SPAN) software. Use the no form of this command to disable debugging. debug platform span no debug platform span Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug platform supervisor-asic debug platform supervisor-asic Use the debug platform supervisor-asic privileged EXEC command to enable debugging of the supervisor application-specific integrated circuit (ASIC). Use the no form of this command to disable debugging. debug platform supervisor-asic {all | errors | receive | send} no debug platform supervisor-asic {all | errors | receive | send} Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug platform sw-bridge debug platform sw-bridge Use the debug platform sw-bridge privileged EXEC command to enable debugging of the software bridging function. Use the no form of this command to disable debugging. debug platform sw-bridge {broadcast | control | multicast | packet | unicast} no debug platform sw-bridge {broadcast | control | multicast | packet | unicast} Syntax Description broadcast...
Appendix B Catalyst 2350 Debug Commands debug platform udld debug platform udld Use the debug platform udld privileged EXEC command to enable debugging of the platform-dependent UniDirectional Link Detection (UDLD) software. Use the no form of this command to disable debugging. debug platform udld [all | error | rpc {events | messages}] no debug platform udld [all | error | rpc {events | messages}] Syntax Description...
Appendix B Catalyst 2350 Debug Commands debug platform vlan debug platform vlan Use the debug platform vlan privileged EXEC command to enable debugging of the VLAN manager software. Use the no form of this command to disable debugging. debug platform vlan {errors | mvid | rpc} no debug platform vlan {errors | mvid | rpc} Syntax Description errors...
Appendix B Catalyst 2350 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.
Page 585
Appendix B Catalyst 2350 Debug Commands debug pm Usage Guidelines The undebug pm command is the same as the no debug pm command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 2350 Switch Command Reference B-45 OL-19055-01...
Appendix B Catalyst 2350 Debug Commands debug qos debug qos Use the debug qos privileged EXEC command to enable debugging of the quality of service (QoS) feature. Use the no form of this command to disable debugging. debug qos {capability | event | service-policy | set} no debug qos {capability | event | service-policy | set} Syntax Description capability...
Appendix B Catalyst 2350 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. debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | etherchannel | events | exceptions | general | mstp | pvst+ | root | snmp | switch | synchronization | uplinkfast} no debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | etherchannel | events | exceptions | general | mstp | pvst+ | root | snmp | switch | synchronization | uplinkfast}...
Page 588
Appendix B Catalyst 2350 Debug Commands debug spanning-tree 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. show spanning-tree Displays spanning-tree state information.
Appendix B Catalyst 2350 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...
Appendix B Catalyst 2350 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.
Appendix B Catalyst 2350 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 B Catalyst 2350 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. debug spanning-tree mstp {all | boundary | bpdu-rx | bpdu-tx | errors | flush | init | migration | pm | proposals | region | roles | sanity_check | sync | tc | timers} no debug spanning-tree mstp {all | boundary | bpdu-rx | bpdu-tx | errors | flush | init | migration...
Page 593
Appendix B Catalyst 2350 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. show spanning-tree Displays spanning-tree state information.
Appendix B Catalyst 2350 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.
Page 595
Appendix B Catalyst 2350 Debug Commands debug spanning-tree switch Usage Guidelines The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show spanning-tree Displays spanning-tree state information.
Appendix B Catalyst 2350 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...
Appendix B Catalyst 2350 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. debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | mapping | notification | packets | redundancy | registries | vtp} no debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | mapping | notification | packets | redundancy | registries | vtp}...
Page 598
Appendix B Catalyst 2350 Debug Commands debug sw-vlan Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain. show vtp Displays general information about VTP management domain, status, and counters.
Appendix B Catalyst 2350 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 B Catalyst 2350 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. debug sw-vlan vtp {events | packets | pruning [packets | xmit] | redundancy | xmit} no debug sw-vlan vtp {events | packets | pruning | redundancy | xmit} Syntax Description...
Page 602
Appendix B Catalyst 2350 Debug Commands debug sw-vlan vtp Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show vtp Displays general information about VTP management domain, status, and counters. Catalyst 2350 Switch Command Reference B-62 OL-19055-01...
Appendix B Catalyst 2350 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...
Page 604
Appendix B Catalyst 2350 Debug Commands debug udld State change indications from the port manager software • MAC address registry calls • Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show udld Displays UDLD administrative and operational status for all ports or the specified port.
Appendix B Catalyst 2350 Debug Commands debug vqpc debug vqpc Use the debug vqpc privileged EXEC command to enable debugging of the VLAN Query Protocol (VQP) client. Use the no form of this command to disable debugging. debug vqpc [all | cli | events | learn | packet] no debug vqpc [all | cli | events | learn | packet] Syntax Description (Optional) Display all VQP client debug messages.
This appendix describes the show platform privileged EXEC commands that have been created or changed for use with the Catalyst 2350 switch. These commands display information helpful in diagnosing and resolving internetworking problems and should be used only under the guidance of Cisco technical support staff.
Appendix C Catalyst 2350 Show Platform Commands show platform etherchannel show platform etherchannel Use the show platform etherchannel privileged EXEC command to display platform-dependent EtherChannel information. show platform etherchannel {data-structures | flags | time-stamps} [ | {begin | exclude | include} expression] Syntax Description data-structures...
Appendix C Catalyst 2350 Show Platform Commands show platform forward show platform forward Use the show platform forward privileged EXEC command for an interface to specify how the hardware would forward a frame that matches the specified parameters. show platform forward interface-id [vlan vlan-id] src-mac dst-mac [l3protocol-id] [ipv6 | sap | snap] [cos cos] [ip src-ip dst-ip [frag field] [dscp dscp] {l4protocol-id | icmp icmp-type icmp-code | igmp igmp-version igmp-type | sctp src-port dst-port | tcp src-port dst-port flags | udp src-port dst-port]} [ | {begin | exclude | include} expression]...
Page 612
Appendix C Catalyst 2350 Show Platform Commands show platform forward | include (Optional) Display includes lines that match the specified expression. expression Expression in the output to use as a reference point. Command Modes Privileged EXEC Command History Release Modification 12.2(46)EY This command was introduced.
Appendix C Catalyst 2350 Show Platform Commands show platform frontend-controller show platform frontend-controller Use the show platform frontend-controller privileged EXEC command to display counter and status information for the front-end controller manager and subordinate applications and to display the hardware and software information for the front-end controller. show platform frontend-controller {buffer | generic | manager number | subordinate number | version number} [ | {begin | exclude | include} expression] Syntax Description...
Appendix C Catalyst 2350 Show Platform Commands show platform ip igmp snooping show platform ip igmp snooping Use the show platform ip igmp snooping privileged EXEC command to display platform-dependent Internet Group Management Protocol (IGMP) snooping information. show platform ip igmp snooping {all | control [di] | counters | flood [vlan vlan-id] | group ip-address | hardware | retry [count | local [count] | remote [count]]} [ | {begin | exclude | include} expression] Syntax Description...
Page 615
Appendix C Catalyst 2350 Show Platform Commands show platform ip igmp snooping Usage Guidelines You should use this command only when you are working directly with a technical support representative while troubleshooting a problem. Do not use this command unless a technical support representative asks you to do so.
Appendix C Catalyst 2350 Show Platform Commands show platform monitor show platform monitor Use the show platform monitor privileged EXEC command to display platform-dependent Switched Port Analyzer (SPAN) information. show platform monitor [session session-number] [ | {begin | exclude | include} expression] Syntax Description session (Optional) Display SPAN information for the specified SPAN session.
Appendix C Catalyst 2350 Show Platform Commands show platform port-asic show platform port-asic Use the show platform port-asic privileged EXEC command to display platform-dependent port ASIC register information. show platform port-asic {cpu-queue-map-table [asic number | port number [asic number]] | dest-map index number | etherchannel-info [asic number | port number [asic number]] | exception [asic number | port number [asic number]] |...
Page 622
Appendix C Catalyst 2350 Show Platform Commands show platform port-asic exception [asic number | port Display the exception-index register information. The keywords number [asic number]] have these meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1. port number—(Optional) Display information for the •...
Page 623
Appendix C Catalyst 2350 Show Platform Commands show platform port-asic port-info [asic number | port Display port information register values. The keywords have these number [asic number]] meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1. port number—(Optional) Display information for the •...
Page 624
Appendix C Catalyst 2350 Show Platform Commands show platform port-asic transmit {port-fifo | queue | Display transmit information. The keywords have these meanings: supervisor-sram} [asic number | port-fifo—Display the contents of the port-FIFO information • port number [asic number]] register. queue—Display the contents of the queue information •...
Page 625
Appendix C Catalyst 2350 Show Platform Commands show platform port-asic Usage Guidelines You should use this command only when you are working directly with your technical support representative while troubleshooting a problem. Do not use this command unless your technical support representative asks you to do so.
Appendix C Catalyst 2350 Show Platform Commands show platform qos show platform qos Use the show platform qos privileged EXEC command to display platform-dependent quality of service (QoS) information. show platform qos {label asic number | policer {parameters asic number | port alloc number asic number}} [ | {begin | exclude | include} expression] Syntax Description label asic number...
Appendix C Catalyst 2350 Show Platform Commands show platform resource-manager show platform resource-manager Use the show platform resource-manager privileged EXEC command to display platform-dependent resource-manager information. show platform resource-manager {dm [index number] | erd [index number] | mad [index number] | med [index number] | mod | msm {hash-table [vlan vlan-id] | mac-address mac-address [vlan vlan-id]} | sd [index number] | vld [index number]} [ | {begin | exclude | include} expression] Syntax Description...
Page 628
Appendix C Catalyst 2350 Show Platform Commands show platform resource-manager | include (Optional) Display includes lines that match the specified expression. expression Expression in the output to use as a reference point. Command Modes Privileged EXEC Command History Release Modification 12.2(46)EY This command was introduced.
Appendix C Catalyst 2350 Show Platform Commands show platform snmp counters show platform snmp counters Use the show platform snmp counters privileged EXEC command to display platform-dependent Simple Network Management Protocol (SNMP) counter information. show platform snmp counters [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
Appendix C Catalyst 2350 Show Platform Commands show platform stp-instance show platform stp-instance Use the show platform stp-instance privileged EXEC command to display platform-dependent spanning-tree instance information. show platform stp-instance vlan-id [ | {begin | exclude | include} expression] Syntax Description vlan-id Display spanning-tree instance information for the specified VLAN.
Appendix C Catalyst 2350 Show Platform Commands show platform tcam table {acl | all | l2 | Display lookup and forwarding table information. The keywords mac-address | qos | have these meanings: static-address | station | acl—Display the access-control list (ACL) table. •...
A P P E N D I X Acknowledgments for Open-Source Software The Cisco IOS software pipe command uses Henry Spencer’s regular expression library (regex). The most recent version of the library has been modified slightly in the Catalyst operating system software to maintain compatibility with earlier versions of the library.
Page 636
Appendix D Acknowledgments for Open-Source Software Catalyst 2350 Switch Command Reference OL-19055-01...
I N D E X boot loader accessing aaa authorization network command booting access groups Cisco IOS image 2-76 helper image 2-13 access mode 2-452 directories access ports 2-452 creating A-19 ACLs displaying a list of displaying 2-221 removing A-23...
Page 638
2-233 channel-group command 2-18 status 2-229 channel-protocol command 2-21 hop-count limit for extended discovery 2-37 Cisco Network Assistant SNMP trap 2-385 See Network Assistant cluster timer command 2-45 class command 2-22 command modes defined class-map command 2-24...
Page 639
Index debug platform supervisor-asic command B-38 assigning default value to incoming packets debug platform sw-bridge command 2-143 B-39 overriding the incoming value debug platform tcam-driver command 2-143 B-40 CoS-to-DSCP map debug platform udld command 2-147 B-42 CPU ASIC statistics, displaying 2-235 debug platform vlan command B-43...
Page 641
Index Immediate-Leave processing IGMP 2-98 global configuration mode 1-2, 1-3 IPv6 2-115 initial configuration See getting started guide and hardware installation guide interface configuration mode 1-2, 1-4 hardware ACL statistics 2-221 interface port-channel command 2-69 health monitoring diagnostic tests 2-51 interface range command 2-71 help (boot loader) command...
Page 642
Index ip igmp snooping report-suppression command 2-93 link state track command 2-123 ip igmp snooping tcn command load-distribution methods for EtherChannel 2-95 2-191 ip igmp snooping tcn flood command location (global configuration) command 2-97 2-124 ip igmp snooping vlan immediate-leave command location (interface configuration) command 2-98 2-126...
Page 643
Index manual mls qos srr-queue output dscp-map command 2-171 audience mls qos trust command 2-173 purpose of mls qos vlan-based command 2-175 maps Mode button, and password recovery 2-209 modes, commands defining monitor session command 2-147 2-176 displaying more (boot loader) command 2-343 A-20 match (class-map configuration) command...
Page 644
Index MSTP (continued) primary or secondary 2-425 online diagnostics switch priority 2-424 configuring health monitoring diagnostic tests 2-51 state changes displaying blocking to forwarding state 2-432 configured boot-up coverage level 2-251 enabling BPDU filtering 2-395, 2-429 current scheduled tasks 2-251 enabling BPDU guard 2-397, 2-429 event logs...
Page 645
Index password-recovery mechanism, enabling and pruning disabling 2-209 VLANs 2-456 per-VLAN spanning-tree plus See STP displaying interface information 2-276 physical-port learner 2-180 enabling 2-480, 2-484 PID, displaying 2-291 pruning-eligible VLAN list 2-457 police aggregate command 2-186 PVST+ police command 2-184 See STP policed-DSCP map 2-147...
Page 646
Index QOS (continued) QOS (continued) mapping a port to a queue-set setting DSCP or IP precedence values 2-195 2-214 mapping CoS values to a queue and traffic classifications 2-22 threshold 2-169 trust states 2-468 mapping DSCP values to a queue and port trust states 2-173 threshold...
Page 647
Index reset (boot loader) command A-22 show cluster command 2-229 resource templates, displaying show cluster members command 2-355 2-233 rmdir (boot loader) command show controllers cpu-interface command A-23 2-235 rmon collection stats command show controllers ethernet-controller command 2-205 2-237 root guard, for spanning tree 2-405 show controllers ethernet-controller fastethernet command...
Page 648
Index show mac address-table static command 2-331 show vlan command 2-373 show mac address-table vlan command show vlan command, fields 2-333 2-375 show mls qos aggregate-policer command show vtp command 2-336 2-377 show mls qos command shutdown command 2-335 2-381 show mls qos input-queue command 2-337 shutdown vlan command...