background image

 

2-329

Catalyst 2350 Switch Command Reference

OL-19055-01

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

expression

]

Syntax Description

Command Modes

User EXEC

Command History

Usage Guidelines

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 mac address-table interface

 command:

Switch> 

show mac address-table interface gigabitethernet0/2

          Mac Address Table

------------------------------------------

Vlan    Mac Address     Type    Ports

----    -----------     ----    -----

   1    0030.b635.7862  DYNAMIC Gi0/2

   1    00b0.6496.2741  DYNAMIC Gi0/2

Total Mac Addresses for this criterion: 2 

interface-id

Specify an interface type; valid interfaces include physical ports and port 
channels.

vlan

 vlan-id

(Optional) Display entries for a specific VLAN; the range is 1 to 4094.

| 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

.

expression

Expression in the output to use as a reference point.

Release

Modification

12.2(46)EY

This command was introduced.

Summary of Contents for Catalyst 2350

Page 1: ...s Inc 170 West Tasman Drive San Jose CA 95134 1706 USA http www cisco com Tel 408 526 4000 800 553 NETS 6387 Fax 408 527 0883 Catalyst 2350 Switch Command Reference Cisco IOS Release 12 2 46 EY February 2009 Text Part Number OL 19055 01 ...

Page 2: ...N ADVISED OF THE POSSIBILITY OF SUCH DAMAGES CCDE CCENT Cisco Eos Cisco HealthPresence the Cisco logo Cisco Lumin Cisco Nexus Cisco StadiumVision Cisco TelePresence Cisco WebEx DCE and Welcome to the Human Network are trademarks Changing the Way We Work Live Play and Learn and Cisco Store are service marks and Access Registrar Aironet AsyncOS Bringing the Meeting To You Catalyst CCDA CCDP CCIE CCI...

Page 3: ...ileged EXEC Mode 1 3 Global Configuration Mode 1 3 Interface Configuration Mode 1 4 config vlan Mode 1 4 Line Configuration Mode 1 4 C H A P T E R 2 Catalyst 2350 Switch Cisco IOS Commands 2 1 aaa authorization network 2 1 archive download sw 2 3 archive tar 2 6 archive upload sw 2 9 boot config file 2 11 boot enable break 2 12 boot helper 2 13 boot helper config file 2 14 boot manual 2 15 boot pr...

Page 4: ...7 cluster enable 2 38 cluster holdtime 2 40 cluster member 2 41 cluster outside interface 2 43 cluster run 2 44 cluster timer 2 45 copy logging onboard 2 46 define interface range 2 48 delete 2 50 diagnostic monitor 2 51 diagnostic schedule 2 53 diagnostic start 2 55 duplex 2 57 errdisable detect cause 2 59 errdisable detect cause small frame 2 61 errdisable recovery 2 62 errdisable recovery cause...

Page 5: ...atic 2 99 ip ssh 2 101 ipv6 mld snooping 2 103 ipv6 mld snooping last listener query count 2 105 ipv6 mld snooping last listener query interval 2 107 ipv6 mld snooping listener message suppression 2 109 ipv6 mld snooping robustness variable 2 111 ipv6 mld snooping tcn 2 113 ipv6 mld snooping vlan 2 115 lacp port priority 2 117 lacp system priority 2 119 link state group 2 121 link state track 2 12...

Page 6: ... map 2 163 mls qos srr queue input priority queue 2 165 mls qos srr queue input threshold 2 167 mls qos srr queue output cos map 2 169 mls qos srr queue output dscp map 2 171 mls qos trust 2 173 mls qos vlan based 2 175 monitor session 2 176 pagp learn method 2 180 pagp port priority 2 182 police 2 184 police aggregate 2 186 policy map 2 188 port channel load balance 2 191 priority queue 2 193 que...

Page 7: ...net 2 245 show controllers tcam 2 247 show controllers utilization 2 249 show diagnostic 2 251 show dtp 2 255 show eap 2 257 show env 2 260 show errdisable detect 2 262 show errdisable flap values 2 264 show errdisable recovery 2 265 show etherchannel 2 267 show fallback profile 2 270 show flowcontrol 2 272 show idprom 2 274 show interfaces 2 276 show interfaces counters 2 285 show interfaces tran...

Page 8: ...ount 2 325 show mac address table dynamic 2 327 show mac address table interface 2 329 show mac address table static 2 331 show mac address table vlan 2 333 show mls qos 2 335 show mls qos aggregate policer 2 336 show mls qos input queue 2 337 show mls qos interface 2 339 show mls qos maps 2 343 show mls qos queue set 2 346 show mls qos vlan 2 348 show monitor 2 349 show pagp 2 351 show policy map...

Page 9: ...9 spanning tree mst configuration 2 411 spanning tree mst cost 2 413 spanning tree mst forward time 2 415 spanning tree mst hello time 2 416 spanning tree mst max age 2 417 spanning tree mst max hops 2 418 spanning tree mst port priority 2 419 spanning tree mst pre standard 2 421 spanning tree mst priority 2 422 spanning tree mst root 2 423 spanning tree port priority 2 425 spanning tree portfast ...

Page 10: ...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 2 473 vtp global configuration 2 478 vtp VLAN configuration 2 482 A P P E N D I X A Catalyst 2350 Switch Boot Loader Commands A 1 arp A 2 boot A 3 cat A 5 copy A 6 delete A 7 dir A 8 flash_init A 10 format A 11 fsck A 12 help A 13 memory A 14 mgmt_clr A 16 mgmt_init A 17 m...

Page 11: ...nooping B 11 debug lacp B 12 debug matm B 13 debug matm move update B 14 debug monitor B 15 debug nvram B 16 debug pagp B 17 debug platform acl B 18 debug platform cpu queues B 20 debug platform etherchannel B 22 debug platform frontend controller B 23 debug platform ip igmp snooping B 24 debug platform led B 26 debug platform matm B 27 debug platform messaging application B 28 debug platform phy ...

Page 12: ... debug spanning tree switch B 54 debug spanning tree uplinkfast B 56 debug sw vlan B 57 debug sw vlan ifs B 59 debug sw vlan notification B 60 debug sw vlan vtp B 61 debug udld B 63 debug vqpc B 65 A P P E N D I X C Catalyst 2350 Show Platform Commands C 1 show platform acl C 2 show platform dl C 3 show platform etherchannel C 4 show platform forward C 5 show platform frontend controller C 7 show ...

Page 13: ...ow 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 A P P E N D I X D Acknowledgments for Open Source Software D 1 I N D E X ...

Page 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...

Page 15: ...ion set available from the Cisco com home page by selecting Technical Support Documentation Documentation Cisco IOS Software This guide does not provide procedures for configuring your switch For detailed configuration procedures see the software configuration guide for this release This guide does not describe system messages you might encounter For more information see the system message guide f...

Page 16: ...r initial configuration information see the Using Express Setup section in the getting started guide or the Configuring the Switch with the CLI Based Setup Program appendix in the hardware installation guide For device manager requirements see the System Requirements section in the release notes For Network Assistant requirements see the Getting Started with Cisco Network Assistant For cluster req...

Page 17: ...dules Compatibility Matrix Cisco Small Form Factor Pluggable Modules Compatibility Matrix Compatibility Matrix for 1000BASE T Small Form Factor Pluggable Modules For information about the Network Admission Control NAC features see the Network Admission Control Software Configuration Guide Obtaining Documentation and Submitting a Service Request For information on obtaining documentation submitting...

Page 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...

Page 19: ...Appendix B Catalyst 2350 Debug Commands For information on the show platform commands see Appendix C Catalyst 2350 Show Platform Commands For more information on Cisco IOS Release 12 2 see the Cisco IOS Release 12 2 Command Summary For task oriented configuration steps see the software configuration guide for this release In this document IP refers to IP version 4 IPv4 unless there is a specific r...

Page 20: ...ileged EXEC mode enter the enable command Privileged EXEC From user EXEC mode enter the enable command Switch To exit to user EXEC mode enter the disable command To enter global configuration mode enter the configure command Global configuration From privileged EXEC mode enter the configure command Switch config To exit to privileged EXEC mode enter the exit or end command or press Ctrl Z To enter...

Page 21: ...display a comprehensive list of commands enter a question mark at the prompt Switch To return to user EXEC mode enter the disable privileged EXEC command Global Configuration Mode Global configuration commands apply to features that affect the device as a whole Use the configure privileged EXEC command to enter global configuration mode The default is to enter commands from the management console ...

Page 22: ...ation file by using the copy running config startup config privileged EXEC command The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode The extended range VLAN configurations are not saved in the VLAN database Enter the vlan vlan id global configuration command to access config vlan mode Switch config vlan 2000 Switch config vlan The suppo...

Page 23: ...y 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: ...1 6 Catalyst 2350 Switch Command Reference OL 19055 01 Chapter 1 Using the Command Line Interface CLI Command Modes ...

Page 25: ...on Defaults Authorization is disabled Command Modes Global configuration Command History Usage Guidelines Use the aaa authorization network default group radius global configuration command to allow the switch to download authorization parameters from the RADIUS servers in the default authorization list The authorization parameters are used by features such as VLAN assignment to get parameters fro...

Page 26: ...zation network default group radius You can verify your settings by entering the show running config privileged EXEC command 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 h...

Page 27: ... the IP base feature set to the IP services features set directory Specify a directory for all of the images force reload Unconditionally force a system reload after successfully downloading the software image imageonly Download only the software image but not the HTML files associated with the embedded device manager The HTML files for the existing version are deleted only if the existing version...

Page 28: ...oaded instead of specifying complete paths with each tar file 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 source url1 sourceurl2 sourceurl3 sourceurl4 The source URLs for the software images Enter one source URL for the software image that the switch supports The ...

Page 29: ...ve download sw command Use the directory option to specify a directory for the images Examples This example shows how to download a new image from a TFTP server at 172 20 129 10 and to overwrite the image on the switch Switch archive download sw overwrite tftp 172 20 129 10 test image tar This example shows how to download only the software image from a TFTP server at 172 20 129 10 to the switch S...

Page 30: ...or the local flash filesystem flash The syntax for the FTP ftp username password location directory tar filename tar The syntax for an HTTP server http username password hostname host ip directory image name tar The syntax for a secure HTTP server https username password hostname host ip directory image name tar The syntax for the Remote Copy Protocol RCP rcp username location directory tar filena...

Page 31: ...e tar file to display xtract source url flash file url dir file Extract files from a tar file to the local file system For source url specify the source URL alias for the local file system These options are supported The syntax for the local flash file system flash The syntax for the FTP ftp username password location directory tar filename tar The syntax for an HTTP server http username password ...

Page 32: ...56 bytes c2350 lanlite tar 122 46 EY tar info 219 bytes info ver 219 bytes This example shows how to display only thec2350 lanlite tar 122 46 EY tar html directory and its contents Switch archive tar table flash c2350 lanlite tar 122 46 EY tar html c2350 lanlite tar 122 46 EY tar html directory c2350 lanlite tar 122 46 EY tar html const htm 556 bytes c2350 lanlite tar 122 46 EY tar html xhome htm ...

Page 33: ...les and info After these files are uploaded the software creates the tar file Image names are case sensitive version version_string Optional Specify the specific version string of the image to be uploaded destination url The destination URL alias for a local or network file system The image name tar is the name of software image to be stored on the server These options are supported Local flash fi...

Page 34: ... 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 archive tar Creates a tar file lists the files in a tar file or extracts the files from a tar file ...

Page 35: ...ash file url no boot config file Syntax Description Defaults The default configuration file is flash config text Command Modes Global configuration Command History Usage Guidelines Filenames and directory names are case sensitive This command changes the setting of the CONFIG_FILE environment variable For more information see Appendix A Catalyst 2350 Switch Boot Loader Commands Related Commands fl...

Page 36: ...e Break key on the console Command Modes Global configuration Command History Usage Guidelines When you enter this command you can interrupt the automatic boot process by pressing the Break key on the console after the flash file system is initialized Note Despite the setting of this command you can interrupt the automatic boot process at any time by pressing the MODE button on the switch front pa...

Page 37: ...n Command History Usage Guidelines This variable is used only for internal development and testing Filenames and directory names are case sensitive This command changes the setting of the HELPER environment variable For more information see Appendix A Catalyst 2350 Switch Boot Loader Commands Related Commands filesystem Alias for a flash file system Use flash for the system board flash device file...

Page 38: ...boot helper config file Syntax Description Defaults No helper configuration file is specified Command Modes Global configuration Command History Usage Guidelines This variable is used only for internal development and testing Filenames and directory names are case sensitive This command changes the setting of the HELPER_CONFIG_FILE environment variable For more information see Appendix A Catalyst ...

Page 39: ...Defaults Manual booting is disabled Command Modes Global configuration Command History Usage Guidelines The next time you reboot the system the switch is in boot loader mode which is shown by the switch prompt To boot up the system use the boot boot loader command and specify the name of the bootable image This command changes the setting of the MANUAL_BOOT environment variable For more informatio...

Page 40: ...t setting boot private config file filename no boot private config file Syntax Description Defaults The default configuration file is private config Command Modes Global configuration Command History Usage Guidelines Filenames are case sensitive Examples This example shows how to specify the name of the private configuration file to be pconfig Switch config boot private config file pconfig Related...

Page 41: ... before continuing the search in the original directory Command Modes Global configuration Command History Usage Guidelines Filenames and directory names are case sensitive If you enter the boot system filesystem file url command the specified software image is loaded during the next boot cycle If you are using the archive download sw privileged EXEC command to maintain system images you never nee...

Page 42: ...ort group in either the active or passive mode auto Enable the Port Aggregation Protocol PAgP only if a PAgP device is detected Auto mode places a port into a passive negotiating state in which the port responds to PAgP packets it receives but does not start PAgP packet negotiation A channel is formed only with another port group in desirable mode When auto is enabled silent operation is the defau...

Page 43: ...ample spanning tree commands or commands to configure a Layer 2 EtherChannel as a trunk If you do not specify non silent with the auto or desirable mode silent is assumed The silent mode is used when the switch is connected to a device that is not PAgP capable and seldom if ever sends packets A example of a silent partner is a file server or a packet analyzer that is not generating traffic In this...

Page 44: ...net0 1 2 Switch config if range switchport mode access Switch config if range switchport access vlan 10 Switch config if range channel group 5 mode active Switch config if range end You can verify your settings by entering the show running config privileged EXEC command Related Commands Command Description channel protocol Restricts the protocol used on a port to manage channeling interface port c...

Page 45: ...the channel group interface configuration command to configure the EtherChannel parameters The channel group command also can set the mode for the EtherChannel You cannot enable both the PAgP and LACP modes on an EtherChannel group PAgP and LACP are not compatible both ends of a channel must use the same protocol Examples This example shows how to specify LACP as the protocol that manages the Ethe...

Page 46: ...ou enter policy map class configuration mode and these configuration commands are available exit exits policy map class configuration mode and returns to policy map configuration mode no returns a command to its default setting police defines a policer or aggregate policer for the classified traffic The policer specifies the bandwidth limitations and the action to take when the limits are exceeded...

Page 47: ...pmap c set dscp 10 Switch config pmap c police 1000000 20000 exceed action policed dscp transmit Switch config pmap c exit You can verify your settings by entering the show policy map privileged EXEC command Related Commands Command Description class map Creates a class map to be used for matching packets to the class whose name you specify police Defines a policer for classified traffic policy ma...

Page 48: ... to define packet classification marking and aggregate policing as part of a globally named service policy applied on a per port basis After you are in quality of service QoS class map configuration mode these configuration commands are available description describes the class map up to 200 characters The show class map privileged EXEC command displays the description and the name of the class ma...

Page 49: ... the class map called class1 with one match criterion which is an access list called 103 Switch config access list 103 permit ip any any dscp 10 Switch config class map class1 Switch config cmap match access group 103 Switch config cmap exit This example shows how to delete the class map class1 Switch config no class map class1 You can verify your settings by entering the show class map privileged...

Page 50: ...ng the clear eap command or you can clear only the specific information by using the keywords Examples This example shows how to clear all EAP information Switch clear eap This example shows how to clear EAP session credential information for the specified profile Switch clear eap sessions credential type1 Related Commands credentials name Clear EAP credential information for the specified profile...

Page 51: ...nterface command Examples This example shows how to re enable all VLANs that were error disabled on Gigabit Ethernet port 0 2 Switch clear errdisable interface gigabitethernet0 2 vlan Related Commands vlan list Optional Specify a list of VLANs to be re enabled If a vlan list is not specified then all VLANs are re enabled Release Modification 12 2 46 EY This command was introduced Command Descripti...

Page 52: ... only the counters for the specified channel group by using the clear lacp channel group number counters command Examples This example shows how to clear all channel group information Switch clear lacp counters This example shows how to clear LACP traffic counters for group 4 Switch clear lacp 4 counters You can verify that the information was deleted by entering the show lacp counters or the show...

Page 53: ...lt is defined Command Modes Privileged EXEC Command History Usage Guidelines We recommend that you keep OBFL enabled and do not erase the data stored in the flash memory Examples This example shows how to clear all the OBFL information except for the uptime and CLI command information Switch clear logging onboard Clear logging onboard buffer confirm You can verify that the information was deleted ...

Page 54: ...ess table Switch clear mac address table dynamic address 0008 0070 0007 You can verify that the information was deleted by entering the show mac address table privileged EXEC command Related Commands dynamic Delete all dynamic MAC addresses dynamic address mac addr Optional Delete the specified dynamic MAC address dynamic interface interface id Optional Delete all dynamic MAC addresses on the spec...

Page 55: ... or you can clear only the counters for the specified channel group by using the clear pagp channel group number counters command Examples This example shows how to clear all channel group information Switch clear pagp counters This example shows how to clear PAgP traffic counters for group 10 Switch clear pagp 10 counters You can verify that information was deleted by entering the show pagp privi...

Page 56: ...tory Usage Guidelines If the interface id is not specified spanning tree counters are cleared for all interfaces Examples This example shows how to clear spanning tree counters for all interfaces Switch clear spanning tree counters Related Commands interface interface id Optional Clear all spanning tree counters on the specified interface Valid interfaces include physical ports VLANs and port chan...

Page 57: ...panning tree MST switch can also detect that a port is at the boundary of a region when it receives a legacy BPDU an MST BPDU Version 3 associated with a different region or a rapid spanning tree RST BPDU Version 2 However the switch does not automatically revert to the rapid PVST or the MSTP mode if it no longer receives IEEE 802 1D BPDUs because it cannot learn whether the legacy switch has been...

Page 58: ...n This command has no arguments or keywords Defaults No default is defined Command Modes Privileged EXEC Command History Examples This example shows how to clear the VTP counters Switch clear vtp counters You can verify that information was deleted by entering the show vtp counters privileged EXEC command Related Commands Release Modification 12 2 46 EY This command was introduced Command Descript...

Page 59: ...on the cluster command switch A cluster member can have only one cluster command switch The cluster member switch retains the identity of the cluster command switch during a system reload by using the mac address parameter You can enter the no form on a cluster member switch to remove it from the cluster during debugging or recovery procedures You would normally use this command from the cluster m...

Page 60: ...dress 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 Switch configure terminal Enter configuration commands one per line End with CNTL Z Switch config no cluster commander address You can verify your settings by entering the show cluster privileged EXEC command Related Commands Command Descript...

Page 61: ...hop count is set to 1 it disables extended discovery The cluster command switch discovers only candidates that are one hop from the edge of the cluster The edge of the cluster is the point between the last discovered cluster member switch and the first discovered candidate switch Examples This example shows how to set hop count limit to 4 This command is executed on the cluster command switch Swit...

Page 62: ...on any command capable switch that is not part of any cluster This command fails if a device is already configured as a member of the cluster You must name the cluster when you enable the cluster command switch If the switch is already configured as the cluster command switch this command changes the cluster name if it is different from the previous cluster name Examples This example shows how to ...

Page 63: ...ommand Reference OL 19055 01 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 ...

Page 64: ...command switch propagates the values to all its cluster members so that the setting is consistent among all switches in the cluster The holdtime is typically set as a multiple of the interval timer cluster timer For example it takes holdtime in secs divided by the interval in secs number of heartbeat messages to be missed in a row to declare a switch down Examples This example shows how to change ...

Page 65: ...ext available member number and assigns it to the switch that is joining the cluster You must enter the enable password of the candidate switch for authentication when it joins the cluster The password is not saved in the running or startup configuration After a candidate switch becomes a member of the cluster its password becomes the same as the cluster command switch password If a switch does no...

Page 66: ... number and assigns it to the switch that is joining the cluster Switch config cluster member mac address 00E0 1E00 3333 You can verify your settings by entering the show cluster members privileged EXEC command on the cluster command switch Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs show cluster candidates ...

Page 67: ...r this command only on the cluster command switch If you enter this command on a cluster member switch an error message appears Examples This example shows how to set the outside interface to VLAN 1 Switch config cluster outside interface vlan 1 You can verify your setting by entering the show running config privileged EXEC command Related Commands interface id Interface to serve as the outside in...

Page 68: ...ering is disabled and the switch cannot become a candidate switch When you enter the no cluster run command on a cluster member switch it is removed from the cluster Clustering is disabled and the switch cannot become a candidate switch When you enter the no cluster run command on a switch that is not part of a cluster clustering is disabled on this switch This switch cannot then become a candidat...

Page 69: ...all its cluster members so that the setting is consistent among all switches in the cluster The holdtime is typically set as a multiple of the heartbeat interval timer cluster timer For example it takes holdtime in secs divided by the interval in secs number of heartbeat messages to be missed in a row to declare a switch down Examples This example shows how to change the heartbeat interval timer a...

Page 70: ...are copied For destination specify the destination on the local or network file system and the filename These options are supported The syntax for the local flash file system flash number filename The syntax for the FTP ftp username password host filename The syntax for an HTTP server http username password hostname host ip directory filename The syntax for the NVRAM nvram filename The syntax for ...

Page 71: ...ation 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 Switch copy logging onboard flash obfl_file OBFL copy successful Switch Related Commands Command Description hw module module switch number logging onboard Enables OBFL onboard Displays OBFL information ...

Page 72: ... in a macro When entering the interface range use this format type first interface last interface You must add a space between the first interface number and the hyphen when entering an interface range For example gigabitethernet 0 1 2 is a valid range gigabitethernet0 1 2 is not a valid range Valid values for type and interface vlan vlan id vlan ID where the VLAN ID is 1 to 4094 VLAN interfaces m...

Page 73: ...for example gigabitethernet0 3 gigabitethernet0 1 2 gigabitethernet0 3 4 tengigabitethernet0 1 2 Examples This example shows how to create a multiple interface macro Switch config define interface range macro1 gigabitethernet0 1 2 gigabitethernet0 5 7 tengigabitethernet0 1 2 Related Commands Command Description interface range Executes a command on multiple ports at the same time show running conf...

Page 74: ...ructive file operations For more information about this command see the Cisco IOS Configuration Fundamentals Command Reference Release 12 2 Examples This example shows how to remove the directory that contains the old software image after a successful download of a new image Switch delete force recursive flash old image You can verify that the directory was removed by entering the dir filesystem p...

Page 75: ...shold value is not set Command Modes Global configuration interval Configure the interval between tests test Specify the tests to be run name Specify the name of the test For more information see the Usage Guidelines section test id Specify the ID number of the test The range is from 1 to 7 For more information see the Usage Guidelines section test id range Specify more than one test with the rang...

Page 76: ...to 60 ss Enter the seconds from 0 to 60 milliseconds Enter the test time in milliseconds from 0 to 999 day Enter the number of days between test from 0 to 20 Enter the diagnostic monitor test 1 command to enable diagnostic monitoring You must configure the failure threshold and the interval between tests before enabling diagnostic monitoring When entering the diagnostic monitor switch number test ...

Page 77: ...iagnostic content command to display the test numbers in the test ID list test Specify the tests to be scheduled name Specify the name of the test For more information see the Usage Guidelines section test id Specify the ID number of the test The range is from 1 to 7 For more information see the Usage Guidelines section test id range Specify more than one test with the range of test ID numbers For...

Page 78: ...February and so on with upper case or lower case characters dd Enter the day as a 2 digit number such as 03 or 16 yyyy Enter the year as a 4 digit number such as 2006 day of week Spell out the day of the week such as Monday Tuesday and so on with upper case or lower case characters Examples This example shows how to schedule diagnostic testing for a specific day and time Switch config diagnostic s...

Page 79: ...AsicMem B D R 7 TestInlinePwrCtlr B D R When specifying a test name use the show diagnostic content privileged EXEC command to display the test ID list To specify test 3 by using the test name enter the diagnostic start switch number test TestPortAsicCam privileged EXEC command test Specify the tests to run name Specify the name of a test For more information see the Usage Guidelines section test ...

Page 80: ...ts 1 3 4 5 and 6 enter the diagnostic start switch number test 1 3 6 command After starting the tests by using the diagnostic start command you cannot stop the testing process Examples This example shows how to start diagnostic test 1 on the switch Switch diagnostic start test 1 Switch 06 27 50 DIAG 6 TEST_RUNNING Switch Running TestPortAsicStackPortLoopback ID 1 switch 1 06 27 51 DIAG 6 TEST_OK S...

Page 81: ...d Modes Interface configuration Command History Usage Guidelines For Gigabit Ethernet ports setting the port to auto has the same effect as specifying full if the attached device does not autonegotiate the duplex parameter Note Half duplex mode is supported on Gigabit Ethernet interfaces if the duplex mode is auto and the connected device is operating at half duplex However you cannot configure th...

Page 82: ... which could result in a duplex setting mismatch You can configure the duplex setting when the speed is set to auto Caution Changing the interface speed and duplex mode configuration might shut down and re enable the interface during the reconfiguration For guidelines on setting the switch speed and duplex parameters see the Configuring Interface Characteristics chapter in the software configurati...

Page 83: ...of this command to disable the per VLAN error disable feature errdisable detect cause bpduguard shutdown vlan no errdisable detect cause bpduguard shutdown vlan Syntax Description Command Default Detection is enabled for all causes All causes except for per VLAN error disabling are configured to shut down the entire port Command Modes Global configuration all Enable error detection for all error d...

Page 84: ...bled state and allowed to retry the operation when all causes have timed out If you do not set a recovery mechanism you must enter the shutdown and then the no shutdown commands to manually recover an interface from the error disabled state Examples This example shows how to enable error disabled detection for the link flap error disabled cause Switch config errdisable detect cause link flap This ...

Page 85: ...hold for each port You can configure the port to be automatically re enabled by using the errdisable recovery cause small frame global configuration command You configure the recovery time by using the errdisable recovery interval interval global configuration command Examples This example shows how to enable the switch ports to be put into the error disabled mode if incoming small frames arrive a...

Page 86: ...nable the timer to recover from the Dynamic Trunking Protocol DTP flap error disabled state gbic invalid Enable the timer to recover from an invalid Gigabit Interface Converter GBIC module error disabled state Note This error refers to an invalid small form factor pluggable SFP error disabled state l2ptguard Enable the timer to recover from a Layer 2 protocol tunnel error disabled state link flap ...

Page 87: ...ration commands If you enable the recovery for a cause the interface is brought out of the error disabled state and allowed to retry the operation again when all the causes have timed out Otherwise you must enter the shutdown and then the no shutdown commands to manually recover an interface from the error disabled state Examples This example shows how to enable the recovery timer for the BPDU gua...

Page 88: ... command enables the recovery timer for error disabled ports You configure the recovery time by using the errdisable recovery interval interval interface configuration command Examples This example shows how to set the recovery timer Switch config errdisable recovery cause small frame You can verify your setting by entering the show interfaces user EXEC command Related Commands Release Modificatio...

Page 89: ...nd a stack trace The extended crashinfo file includes additional information that can help determine the cause of the switch failure Use the no exception crashinfo global configuration command to configure the switch to not create the extended crashinfo file Examples This example shows how to configure the switch to not create the extended crashinfo file Switch config no exception crashinfo You ca...

Page 90: ...eywords have the same result When you use the flowcontrol command to set a port to control traffic rates during congestion you are setting flow control on a port to one of these conditions receive on or desired The port cannot send pause frames but can operate with an attached device that is required to or is able to send pause frames The port can receive pause frames receive off Flow control does...

Page 91: ... Device Local Device Remote Device send off receive on send on receive on send on receive off send desired receive on send desired receive off send off receive on send off receive off Receives only Receives only Receives only Receives only Receives only Does not send or receive Sends and receives Sends only Sends and receives Sends only Receives only Does not send or receive send off receive off s...

Page 92: ...ually set the system clock or configure it by using Network Time Protocol NTP If you do not enter the message level level parameter all the hardware related messages generated by the switch are stored in the flash memory Examples This example shows how to enable OBFL on a switch and to specify that only severity 1 hardware related messages are stored in the flash memory of the switch Switch config...

Page 93: ...ical port If you create the port channel interface first the channel group number can be the same as the port channel number or you can use a new number If you use a new number the channel group command dynamically creates a new port channel 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 Disco...

Page 94: ...n EtherChannel group show etherchannel Displays EtherChannel information for a channel 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 t...

Page 95: ...h virtual interfaces SVIs To display VLAN SVIs enter the show running config privileged EXEC command VLANs not displayed cannot be used in the interface range command The commands entered under interface range command are applied to all existing VLAN SVIs in the range All configuration changes made to an interface range are saved to NVRAM but the interface range itself is not saved to NVRAM You ca...

Page 96: ...face range gigabitethernet0 1 2 When you define multiple ranges you must still enter a space after the first entry and before the comma interface range gigabitethernet0 1 2 gigabitethernet0 1 2 You cannot specify both a macro and an interface range in the same command You can also specify a single interface in port range The command is then similar to the interface interface id global configuratio...

Page 97: ...terface range Creates an interface range macro 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 98: ...ss port Note When you create an SVI it does not become active until it is associated with a physical port If you delete an SVI by entering the no interface vlan vlan id command the deleted interface is no longer visible in the output from the show interfaces privileged EXEC command Note You cannot delete the VLAN 1 interface You can re instate a deleted SVI by entering the interface vlan vlan id c...

Page 99: ...h 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 show interfaces and show interfaces vlan vlan id privileged EXEC commands Related Commands Command Description show interfaces vlan vlan id Displays the administrative and operational status of all interfaces or the specified VLAN ...

Page 100: ... are limitations for applying an access list to Layer 2 interfaces port ACLs You can only apply ACLs in the inbound direction the out keyword is not supported for Layer 2 interfaces You can only apply one IP ACL per interface Layer 2 interfaces Port ACLs do not support logging if the log keyword is specified in the IP ACL it is ignored An IP ACL applied to a Layer 2 interface only filters IP packe...

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 show access lists Displays ACLs configured on the switch show ip access lists Displays IP ACLs configured on the switch For syntax ...

Page 102: ... IP addresses it will send an error message to the console You can use the optional keyword secondary to specify an unlimited number of secondary addresses Secondary addresses are treated like primary addresses except the system never generates datagrams other than routing updates with secondary source addresses IP broadcasts and ARP requests are handled properly as are interface routes in the IP ...

Page 103: ...ess 172 20 128 2 255 255 255 0 You can verify your settings by entering the show running config privileged EXEC command 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_comma nd_reference_list html S...

Page 104: ...a web authentication rule to a switch port Examples This example shows how to apply a web authentication rule to a switchport Switch configure terminal Switch config interface gigabitethernet0 1 Switch config if ip admission rule1 Related Commands rule Apply an IP admission rule to the interface Release Modification 12 2 46 EY This command was introduced Command Description flowcontrol Enable web ...

Page 105: ...eb authentication on a switch use the ip access group in and ip admission web rule interface configuration commands to enable web authentication on a specific interface Examples This example shows how to configure only web authentication on a switchport Switch configure terminal Switch config ip admission name http rule proxy http Switch config interface gigabitethernet0 1 Switch config if ip acce...

Page 106: ...profile can be applied to one or more switch port interfaces but one port can have only one profile applied to it Examples This example shows how to apply IGMP profile 22 to a port Switch config interface gigabitethernet0 2 Switch config if ip igmp filter 22 You can verify your setting by using the show running config privileged EXEC command and by specifying an interface Related Commands profile ...

Page 107: ...mber of IGMP group entries on an interface the default throttling action is to drop the next IGMP report that the interface receives and to not add an entry for the IGMP group to the interface Command Modes Interface configuration Command History Usage Guidelines You can use this command only on Layer 2 physical interfaces and on logical EtherChannel interfaces You cannot set IGMP maximum groups f...

Page 108: ...to the default no maximum entering the ip igmp max groups deny replace command has no effect Examples This example shows how to limit to 25 the number of IGMP groups that a port can join Switch config interface gigabitethernet0 2 Switch config if ip igmp max groups 25 This example shows how to configure the switch to replace the existing group with the new group for which the IGMP report was recei...

Page 109: ...mmands deny specifies that matching addresses are denied this is the default condition exit exits from igmp profile configuration mode no negates a command or resets to its defaults permit specifies that matching addresses are permitted range specifies a range of IP addresses for the profile This can be a single IP address or a range with a start and an end address When entering a range enter the ...

Page 110: ...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 ...

Page 111: ...bal configuration Command History Usage Guidelines When IGMP snooping is enabled globally it is enabled in all the existing VLAN interfaces When IGMP snooping is globally disabled it is disabled on all the existing VLAN interfaces VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping Examples This example shows how to globally enable IGMP snooping Swi...

Page 112: ...report suppression Enables IGMP report suppression show ip igmp snooping Displays the snooping configuration show ip igmp snooping groups Displays IGMP snooping multicast information show ip igmp snooping mrouter Displays the IGMP snooping router ports show ip igmp snooping querier Displays the configuration and operation information for the IGMP querier configured on a switch ...

Page 113: ...g is globally disabled IGMP snooping is disabled on all the existing VLAN interfaces VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping Configuring the leave timer on a VLAN overrides the global setting The IGMP configurable leave time is only supported on devices running IGMP Version 2 The configuration is saved in NVRAM Examples This example show...

Page 114: ...escription 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 ip igmp snooping vlan static Configures a Layer 2 port as a member of a group show ip igmp snooping Displays the IGMP snooping configuration ...

Page 115: ...lticast enabled device Command Modes Global configuration Command History vlan vlan id Optional Enable IGMP snooping and the IGMP querier function on the specified VLAN The range is 1 to 1001 and 1006 to 4094 address ip address Optional Specify a source IP address If you do not specify an IP address the querier tries to use the global IP address configured for the IGMP querier max response time re...

Page 116: ...ooping Examples This example shows how to globally enable the IGMP snooping querier feature Switch config ip igmp snooping querier This example shows how to set the IGMP snooping querier maximum response time to 25 seconds Switch config ip igmp snooping querier max response time 25 This example shows how to set the IGMP snooping querier interval time to 60 seconds Switch config ip igmp snooping qu...

Page 117: ...outer query to multicast devices When IGMP router suppression is enabled the default the switch sends the first IGMP report from all hosts for a group to all the multicast routers The switch does not send the remaining IGMP reports for the group to the multicast routers This feature prevents duplicate reports from being sent to the multicast devices If the multicast router query includes requests ...

Page 118: ...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 ...

Page 119: ...g stops after receiving 1 general query If you set the count to 7 the flooding of multicast traffic due to the TCN event lasts until 7 general queries are received Groups are relearned based on the general queries received during the TCN event Use the ip igmp snooping tcn query solicit global configuration command to enable the switch to send the global leave message whether or not it is the spann...

Page 120: ... 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 show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN ...

Page 121: ...raffic is flooded to all the ports until two general queries are received If the switch has many ports with attached hosts that are subscribed to different multicast groups the flooding might exceed the capacity of the link and cause packet loss You can change the flooding query count by using the ip igmp snooping tcn flood query count count global configuration command Examples This example shows...

Page 122: ...en there is a maximum of one receiver on every port in the VLAN The configuration is saved in NVRAM The Immediate Leave feature is supported only with IGMP Version 2 hosts Examples This example shows how to enable IGMP immediate leave processing on VLAN 1 Switch config ip igmp snooping vlan 1 immediate leave You can verify your settings by entering the show ip igmp snooping privileged EXEC command...

Page 123: ... reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping The configuration is saved in NVRAM Examples This example shows how to statically configure a host on an interface Switch config ip igmp snooping vlan 1 static 0100 5e02 0203 interface gigabitethernet0 1 Configuring port gigabitethernet0 1 on group 0100 5e02 0203 You can verify your settings by entering the show ip igmp sn...

Page 124: ...oping report suppression Enables IGMP report suppression show ip igmp snooping Displays the snooping configuration show ip igmp snooping groups Displays IGMP snooping multicast information show ip igmp snooping mrouter Displays the IGMP snooping router ports show ip igmp snooping querier Displays the configuration and operation information for the IGMP querier configured on a switch ...

Page 125: ... not specify a keyword the SSH server selects the latest SSH version supported by the SSH client For example if the SSH client supports SSHv1 and SSHv2 the SSH server selects SSHv2 The switch supports an SSHv1 or an SSHv2 server It also supports an SSHv1 client For more information about the SSH server and the SSH client see the software configuration guide for this release A Rivest Shamir and Ade...

Page 126: ...on for the SSH server For syntax information select Cisco IOS Release 12 2 Configuration Guides and Command References Cisco IOS Security Command Reference Release 12 2 Other Security Features Secure Shell Commands show ssh Displays the status of the SSH server For syntax information select Cisco IOS Release 12 2 Configuration Guides and Command References Cisco IOS Security Command Reference Rele...

Page 127: ...uration command and reload the switch When MLD snooping is globally disabled it is disabled on all the existing VLAN interfaces When you globally enable MLD snooping it is enabled on all VLAN interfaces that are in the default state enabled VLAN configuration will override global configuration on interfaces on which MLD snooping has been disabled If MLD snooping is globally disabled you cannot ena...

Page 128: ...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 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 configura...

Page 129: ...dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch In MLD snooping the IPv6 multicast router periodically sends out queries to hosts belonging to the multicast group If a host wants to leave a multicast group it can silently leave or it can respond to the query with a Multicast Listener Done message equivalent to an I...

Page 130: ...t the last listener query count for VLAN 10 Switch config ipv6 mld snooping vlan 10 last listener query count 3 You can verify your settings by entering the show ipv6 mld snooping vlan vlan id user EXEC command Related Commands Command Description ipv6 mld snooping last listener query interval Sets IPv6 MLD snooping last listener query interval sdm prefer Configures an SDM template to optimize sys...

Page 131: ...al count is used Command Modes Global configuration Command History Usage Guidelines To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch In MLD snooping when the IPv6 multicast router receives an MLD leave message it sends out queries to hosts belonging to the multicast group If there are no responses ...

Page 132: ...he last listener query interval for VLAN 1 to 5 5 seconds Switch config ipv6 mld snooping vlan 1 last listener query interval 5500 You can verify your settings by entering the show ipv6 MLD snooping vlan vlan id user EXEC command Related Commands Command Description ipv6 mld snooping last listener query count Sets IPv6 MLD snooping last listener query count sdm prefer Configures an SDM template to...

Page 133: ...ssage suppression to be disabled Command Modes Global configuration Command History Usage Guidelines To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch MLD snooping listener message suppression is equivalent to IGMP snooping report suppression When enabled received MLDv1 reports to a group are forward...

Page 134: ...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 show ipv6 mld snooping Displays MLD snooping configuration ...

Page 135: ... address is 0 which means that the system uses the global robustness variable for aging out the listener Command Modes Global configuration Command History Usage Guidelines To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch Robustness is measured in terms of the number of MLDv1 queries sent with no re...

Page 136: ... example shows how to configure the robustness variable for VLAN 1 This value overrides the global configuration for the VLAN Switch config ipv6 mld snooping vlan 1 robustness variable 1 You can verify your settings by entering the show ipv6 mld snooping vlan vlan id user EXEC command Related Commands Command Description ipv6 mld snooping last listener query count Sets IPv6 MLD snooping last liste...

Page 137: ...isabled When enabled the default flood query count is 2 Command Modes Global configuration Command History Usage Guidelines To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch Examples This example shows how to enable TCN query soliciting Switch config ipv6 mld snooping tcn query solicit This example s...

Page 138: ... 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 ...

Page 139: ...multicast router ports Command Modes Global configuration Command History Usage Guidelines To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload the switch You should only configure the Immediate Leave feature when there is only one receiver on every port in the VLAN The configuration is saved in NVRAM The static k...

Page 140: ...able MLD Immediate Leave processing on VLAN 1 Switch config ipv6 mld snooping vlan 1 immediate leave This example shows how to disable MLD Immediate Leave processing on VLAN 1 Switch config no ipv6 mld snooping vlan 1 immediate leave This example shows how to configure a port as a multicast router port Switch config ipv6 mld snooping vlan 1 mrouter interface gigabitethernet0 2 This example shows h...

Page 141: ...arisons a numerically lower value has a higher priority When there are more than eight ports in an LACP channel group the eight ports with the numerically lowest values highest priority values for LACP port priority are bundled into the channel group and the lower priority ports are put in hot standby mode If two or more ports have the same LACP port priority for example they are configured with t...

Page 142: ...net0 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 Related Commands Command Description channel group Assigns an Ethernet port to an EtherChannel group lacp system priority Configures the LACP system priority show lacp channel group number internal Displays internal information for all channel...

Page 143: ...e Port priorities on the other switch the noncontrolling end of the link are ignored In priority comparisons numerically lower values have higher priority Therefore the system with the numerically lower value higher priority value for LACP system priority becomes the controlling system If both switches have the same LACP system priority for example they are both configured with the default setting...

Page 144: ...350 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 ...

Page 145: ...outed port In a link state group these interfaces are bundled together The downstream interfaces are bound to the upstream interfaces Interfaces connected to servers are referred to as downstream interfaces and interfaces connected to distribution switches and network devices are referred to as upstream interfaces For more information about the interactions between the downstream and upstream inte...

Page 146: ...witch config if range end Switch config if end You can verify your settings by entering the show running config privileged EXEC command Related Commands Command Description link state track 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 pro...

Page 147: ... This example shows how enable link state group 2 Switch config link state track 2 You can verify your settings by entering the show running config privileged EXEC command Related Commands number Optional Specify the link state group number The group number can be from 1 to 2 The default is 1 Release Modification 12 2 46 EY This command was introduced Command Description link state group Configure...

Page 148: ...ion command to disable the location TLV The location TLV is enabled by default For more information see the Configuring LLDP and LLDP MED chapter of the software configuration guide for this release Examples This example shows how to configure civic location information on the switch Switch config location civic location identifier 1 Switch config civic number 3550 Switch config civic primary road...

Page 149: ...ncy 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 Related Commands Command Description location interface configuration Configures the location information for an interface show location Displays the location information for an endpoint ...

Page 150: ...on for an interface Switch config if interface gigabitethernet0 1 Switch config if location civic location id 1 Switch config if end Switch config if interface gigabitethernet0 2 Switch config if location civic location id 1 Switch config if end You can verify your settings by entering the show location civic interface privileged EXEC command This example shows how to enter emergency location info...

Page 151: ...pter 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 ...

Page 152: ...ame of the file that contains the log messages The syntax for the local flash file system flash max file size Optional Specify the maximum logging file size The range is 4096 to 2147483647 nomax Optional Specify the maximum file size of 2147483647 min file size Optional Specify the minimum logging file size The range is 1024 to 2147483647 severity level number Optional Specify the logging severity...

Page 153: ...nd to display its contents The command rejects the minimum file size if it is greater than the maximum file size minus 1024 the minimum file size then becomes the maximum file size minus 1024 Specifying a level causes messages at that level and numerically lower levels to be displayed Examples This example shows how to save informational log messages to a file in flash memory Switch config logging...

Page 154: ...ncrease the aging time to record the dynamic entries for a longer time Increasing the time can reduce the possibility of flooding when the hosts send again If you do not specify a specific VLAN this command sets the aging time for all VLANs Examples This example shows how to set the aging time to 200 seconds for all VLANs Switch config mac address table aging time 200 You can verify your setting b...

Page 155: ...is received in VLAN 4 with this MAC address as its destination the packet is forwarded to the specified interface Switch config mac address table static c2f3 220a 12f4 vlan 4 interface gigabitethernet0 1 You can verify your setting by entering the show mac address table privileged EXEC command Related Commands mac addr Destination MAC address unicast or multicast to add to the address table Packet...

Page 156: ... are also not supported If you add a unicast MAC address as a static address and configure unicast MAC address filtering the switch either adds the MAC address as a static address or drops packets with that MAC address depending on which command was entered last The second command that you entered overrides the first command For example if you enter the mac address table static mac addr vlan vlan ...

Page 157: ...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 This example shows how to disable unicast MAC address filtering Switch config no mac address table static c2f3 220a 12f4 vlan 4 You can verify your setting by entering the show mac address table static privileged EXEC command...

Page 158: ...tended access control list ACL For an IP standard ACL the ACL index range is 1 to 99 and 1300 to 1999 For an IP extended ACL the ACL index range is 100 to 199 and 2000 to 2699 input interface interface id list Specify the physical ports to which the interface level class map in a hierarchical policy map applies This command can only be used in the child level policy map and must be the only match ...

Page 159: ...cp or the match ip precedence command to see the command line help strings Use the input interface interface id list keyword when you are configuring an interface level class map in a hierarchical policy map For the interface id list you can specify up to six entries Examples This example shows how to create a class map called class2 which matches all the incoming traffic with DSCP values of 10 11...

Page 160: ...rchical 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 Related Commands Command Description class map Creates a class map to be used for matching packets to the class whose name you specify show class...

Page 161: ...lso set the interface speed and duplex to auto so that the feature operates correctly When auto MDIX and autonegotiation of speed and duplex is enabled on one or both of connected interfaces link up occurs even if the cable type straight through or crossover is incorrect Auto MDIX is supported on all 10 100 and 10 100 1000 Mb s interfaces and on 10 100 1000BASE TX small form factor pluggable SFP m...

Page 162: ...pter 2 Catalyst 2350 Switch Cisco IOS Commands mdix auto Related Commands Command Description show controllers ethernet controller interface id phy Displays general information about internal registers of an interface including the operational state of auto MDIX ...

Page 163: ...olicy maps are configured The default port trust state on all ports is untrusted The default ingress and egress queue settings are in effect Command Modes Global configuration Command History Usage Guidelines QoS must be globally enabled to use QoS classification policing mark down or drop queueing and traffic shaping features You can create a policy map and attach it to a port before entering the...

Page 164: ...2 140 Catalyst 2350 Switch Command Reference OL 19055 01 Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos Related Commands Command Description show mls qos Displays QoS information ...

Page 165: ...IC device which controls more than one physical port supports 256 policers on the switch 255 user configurable policers plus 1 policer reserved for internal use The maximum number of configurable policers supported per port is 63 Policers are allocated on demand by the software and are constrained by the hardware and ASIC boundaries You cannot reserve policers per port there is no guarantee that a...

Page 166: ...the mls qos aggregate policer global configuration command For more information see the software configuration guide for this release Examples This example shows how to define the aggregate policer parameters and how to apply the policer to multiple classes in a policy map Switch config mls qos aggregate policer agg_policer1 1000000 1000000 exceed action drop Switch config policy map policy2 Switc...

Page 167: ... packets by using the override keyword Use the override keyword when all incoming packets on certain ports deserve higher or lower priority than packets entering from other ports Even if a port is previously set to trust DSCP CoS or IP precedence this command overrides the previously configured trust state and all the incoming CoS values are assigned the default CoS value configured with the mls q...

Page 168: ... 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 Related Commands Command Description show mls qos interface Displays quality of service QoS information ...

Page 169: ...ceiving port ingress mutation at the boundary of a quality of service QoS administrative domain With ingress mutation the new DSCP value overwrites the one in the packet and QoS handles the packet with this new value The switch sends the packet out the port with the new DSCP value You can configure multiple DSCP to DSCP mutation maps on ingress ports You apply the map only to DSCP trusted ports If...

Page 170: ...pmutation1 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 Related Commands Command Description mls qos map dscp mutation Defines the DSCP to DSCP mutation map mls qos trust Configures the port trust state show mls qos maps Displays QoS mapping informatio...

Page 171: ...he range is 0 to 63 dscp cos dscp list to cos Define the DSCP to CoS map For dscp list enter up to eight DSCP values with each value separated by a space The range is 0 to 63 Then enter the to keyword For cos enter a single CoS value to which the DSCP values correspond The range is 0 to 7 dscp mutation dscp mutation name in dscp to out dscp Define the DSCP to DSCP mutation map For dscp mutation na...

Page 172: ...ault DSCP to CoS map Table 2 4 shows the default IP precedence to DSCP map Table 2 2 Default CoS to DSCP Map CoS Value DSCP Value 0 0 1 8 2 16 3 24 4 32 5 40 6 48 7 56 Table 2 3 Default DSCP to CoS Map DSCP Value CoS Value 0 7 0 8 15 1 16 23 2 24 31 3 32 39 4 40 47 5 48 55 6 56 63 7 Table 2 4 Default IP Precedence to DSCP Map IP Precedence Value DSCP Value 0 0 1 8 2 16 3 24 4 32 5 40 6 48 7 56 ...

Page 173: ...igure terminal Switch config mls qos map policed dscp 1 2 3 4 5 6 to 0 This example shows how to define the DSCP to CoS map DSCP values 20 21 22 23 and 24 are mapped to CoS 1 DSCP values 10 11 12 13 14 15 16 and 17 are mapped to CoS 0 Switch configure terminal Switch config mls qos map dscp cos 20 21 22 23 24 to 1 Switch config mls qos map dscp cos 10 11 12 13 14 15 16 17 to 0 This example shows h...

Page 174: ...5 01 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 ...

Page 175: ...he mls qos queue set output qset id threshold global configuration command Note The egress queue default settings are suitable for most situations You should change them only when you have a thorough understanding of the egress queues and if these settings do not meet your QoS solution Examples This example shows how to map a port to queue set 2 It allocates 40 percent of the buffer space to egres...

Page 176: ...ption 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 queue set Maps a port to a queue set show mls qos interface buffers Displays quality of service QoS information show mls qos queue set Displays egress queue settings for the queue set ...

Page 177: ...ich defines all the characteristics of the four egress queues per port The range is 1 to 2 queue id Specific queue in the queue set on which the command is performed The range is 1 to 4 drop threshold1 drop threshold2 Two WTD thresholds expressed as a percentage of the allocated memory of the queue The range is 1 to 3200 percent reserved threshold Amount of memory to be guaranteed reserved for the...

Page 178: ...o a requesting queue The switch decides whether the target queue has not consumed more buffers than its reserved amount under limit whether it has consumed all of its maximum buffers over limit and whether the common pool is empty no free buffers or not empty free buffers If the queue is not over limit the switch can allocate buffer space from the reserved pool or from the common pool if it is not...

Page 179: ...packet By default DSCP transparency is disabled The switch modifies the DSCP field in an incoming packet and the DSCP field in the outgoing packet is based on the quality of service QoS configuration including the port trust setting policing and marking and the DSCP to DSCP mutation map Regardless of the DSCP transparency configuration the switch modifies the internal DSCP value of the packet that...

Page 180: ...te ip dscp You can verify your settings by entering the show running config include rewrite privileged EXEC command Related Commands Command Description mls qos Enables QoS globally show mls qos Displays QoS information show running config include rewrite Displays the DSCP transparency setting For syntax information select Cisco IOS Release 12 2 Configuration Guides and Command References Cisco IO...

Page 181: ...bandwidth weight global configuration command Then SRR shares the remaining bandwidth with both ingress queues and services them as specified by the weights configured with the mls qos srr queue input bandwidth weight1 weight2 global configuration command You specify which ingress queue is the priority queue by using the mls qos srr queue input priority queue global configuration command Examples ...

Page 182: ...u can verify your settings by entering the show mls qos interface interface id queueing or the show mls qos input queue privileged EXEC command Related Commands Command Description mls qos srr queue input buffers Allocates the buffers between the ingress queues mls qos srr queue input cos map Maps class of service CoS values to an ingress queue or maps CoS values to a queue and to a threshold ID m...

Page 183: ...buffer space to ingress queue 2 Switch config mls qos srr queue input buffers 60 40 You can verify your settings by entering the show mls qos interface interface id buffers or the show mls qos input queue privileged EXEC command Related Commands percentage1 percentage2 Percentage of buffers allocated to ingress queues 1 and 2 The range is 0 to 100 Separate each value with a space Release Modificat...

Page 184: ... OL 19055 01 Chapter 2 Catalyst 2350 Switch Cisco IOS Commands mls qos srr queue input buffers show mls qos input queue Displays ingress queue settings show mls qos interface buffers Displays quality of service QoS information Command Description ...

Page 185: ...nput cos map Syntax Description Defaults Table 2 6 shows the default CoS input queue threshold map Command Modes Global configuration Command History queue queue id Specify a queue number For queue id the range is 1 to 2 cos1 cos8 Map CoS values to an ingress queue For cos1 cos8 enter up to eight values and separate each value with a space The range is 0 to 7 threshold threshold id cos1 cos8 Map C...

Page 186: ...d 5 to ingress queue 1 and to threshold ID 2 with a drop threshold of 70 percent Switch config mls qos srr queue input cos map queue 1 threshold 1 0 1 2 3 Switch config mls qos srr queue input cos map queue 1 threshold 2 4 5 Switch config mls qos srr queue input threshold 1 50 70 You can verify your settings by entering the show mls qos maps privileged EXEC command Related Commands Command Descrip...

Page 187: ... 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 queue queue id Specify a queue number For queue id the range is 1 t...

Page 188: ...4 5 6 Switch config mls qos srr queue input dscp map queue 1 threshold 2 20 21 22 23 24 25 26 Switch config mls qos srr queue input threshold 1 50 70 You can verify your settings by entering the show mls qos maps privileged EXEC command 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 A...

Page 189: ...ch needs minimum delay and jitter The priority queue is guaranteed part of the bandwidth on the internal ring which reduces the delay and jitter under heavy network traffic on an oversubscribed ring when there is more traffic than the backplane can carry and the queues are full and dropping frames Shaped round robin SRR services the priority queue for its configured weight as specified by the band...

Page 190: ...idth 4 4 You can verify your settings by entering the show mls qos interface interface id queueing or the show mls qos input queue privileged EXEC command 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 mls qos srr queue input cos map Ma...

Page 191: ...ver packets assigned to threshold 2 continue to be queued and sent as long as the second threshold is not exceeded Each queue has two configurable explicit drop threshold and one preset implicit drop threshold full You configure the CoS to threshold map by using the mls qos srr queue input cos map global configuration command You configure the DSCP to threshold map by using the mls qos srr queue i...

Page 192: ...gress queues mls qos srr queue input cos map Maps class of service CoS values to an ingress queue or maps CoS values to a queue and to a threshold ID mls qos srr queue input dscp map Maps Differentiated Services Code Point DSCP values to an ingress queue or maps DSCP values to a queue and to a threshold ID mls qos srr queue input priority queue Configures the ingress priority queue and guarantees ...

Page 193: ...default CoS output queue threshold map Command Modes Global configuration Command History Usage Guidelines The drop threshold percentage for threshold 3 is predefined It is set to the queue full state queue queue id Specify a queue number For queue id the range is 1 to 4 cos1 cos8 Map CoS values to an egress queue For cos1 cos8 enter up to eight values and separate each value with a space The rang...

Page 194: ...rves 100 percent of the allocated memory and configures 200 percent as the maximum memory that this queue can have before packets are dropped Switch config mls qos srr queue output cos map queue 1 threshold 1 0 1 2 3 Switch config mls qos queue set output 1 threshold 1 50 70 100 200 Switch config interface gigabitethernet0 1 Switch config if queue set 1 You can verify your settings by entering the...

Page 195: ...ault DSCP output queue threshold map Command Modes Global configuration Command History Usage Guidelines The drop threshold percentage for threshold 3 is predefined It is set to the queue full state queue queue id Specify a queue number For queue id the range is 1 to 4 dscp1 dscp8 Map DSCP values to an egress queue For dscp1 dscp8 enter up to eight values and separate each value with a space The r...

Page 196: ...y guarantees reserves 100 percent of the allocated memory and configures 200 percent as the maximum memory that this queue can have before packets are dropped Switch config mls qos srr queue output dscp map queue 1 threshold 1 0 1 2 3 Switch config mls qos queue set output 1 threshold 1 50 70 100 200 Switch config interface gigabitethernet0 1 Switch config if queue set 1 You can verify your settin...

Page 197: ...use to classify traffic When a port is configured with trust DSCP or trust IP precedence and the incoming packet is a non IP packet the CoS to DSCP map is used to derive the corresponding DSCP value from the CoS value The CoS can be the packet CoS for trunk ports or the port default CoS for nontrunk ports If the DSCP is trusted the DSCP field of the IP packet is not modified However it is still po...

Page 198: ... mls qos trust cos dscp ip precedence and a policy map for example service policy input policy map name are mutually exclusive The last one configured overwrites the previous configuration Examples This example shows how to configure a port to trust the IP precedence field in the incoming packet Switch config interface gigabitethernet0 1 Switch config if mls qos trust ip precedence You can verify ...

Page 199: ... interface level of the hierarchical policy map When you configure hierarchical policing the hierarchical policy map is attached to the SVI and affects all traffic belonging to the VLAN The individual policer in the interface level traffic classification only affects the physical ports specified for that classification For detailed instructions about configuring hierarchical policy maps see the Cl...

Page 200: ...n_number source interface interface id both rx tx vlan vlan id both rx tx remote vlan vlan id no monitor session session_number all local remote no monitor session session_number filter vlan vlan id no monitor session session_number source interface interface id both rx tx vlan vlan id both rx tx remote vlan vlan id Syntax Description session_number Specify the session number identified with the S...

Page 201: ...e multiple destination ports 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 The RSPAN VLAN cannot be VLAN 1 the default VLAN or VLAN IDs 1002 to 1005 reserved for Token Ring and FDDI VLANs Optional Specify a series of interfaces o...

Page 202: ...o only the specified VLANs VLAN monitoring and VLAN filtering are mutually exclusive If a VLAN is a source VLAN filtering cannot be enabled If VLAN filtering is configured a VLAN cannot become a source If ingress traffic forwarding is enabled for a network security device the destination port forwards traffic at Layer 2 Destination ports can be configured to act in these ways When you enter monito...

Page 203: ...raffic replicates the source ingress traffic uses IEEE 802 1Q encapsulation Switch config monitor session 2 destination interface gigabitethernet0 2 encapsulation dot1q ingress dot1q vlan 5 This example shows how to configure the destination port for ingress traffic on VLAN 5 by using a security device that does not support encapsulation Egress traffic and ingress traffic are untagged Switch confi...

Page 204: ...ices that only support address learning by physical ports such as the Catalyst 1900 switch When the link partner to the switch is a physical learner we recommend that you configure the switch as a physical port learner by using the pagp learn method physical port interface configuration command and to set the load distribution method based on the source MAC address by using the port channel load b...

Page 205: ...ort You can verify your settings by entering the show running config privileged EXEC command or the show pagp channel group number internal privileged EXEC command Related Commands Command Description pagp port priority Selects a port over which all traffic through the EtherChannel is sent show pagp Displays PAgP channel group information show running config Displays the operating configuration Fo...

Page 206: ...keyword is provided in the command line interface CLI The pagp learn method and the pagp port priority interface configuration commands have no effect on the switch hardware but they are required for PAgP interoperability with devices that only support address learning by physical ports such as the Catalyst 1900 switch When the link partner to the switch is a physical learner we recommend that you...

Page 207: ...the source address of incoming packets show pagp 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_r eference_list html Select the Cisco IOS Commands Master List Release 12 2 to navigate to...

Page 208: ...u cannot reserve policers per port There is no guarantee that a port will be assigned to any policer To return to policy map configuration mode use the exit command To return to privileged EXEC mode use the end command Policing uses a token bucket algorithm You configure the bucket depth the maximum burst that is tolerated before the bucket overflows by using the burst byte option of the police po...

Page 209: ...icy2 Switch config pmap class class2 Switch config pmap c police 1000000 20000 exceed action policed dscp transmit Switch config pmap c exit You can verify your settings by entering the show policy map privileged EXEC command Related Commands Command Description class Defines a traffic classification match criteria through the police set and trust policy map class configuration commands for the sp...

Page 210: ...more than one physical port supports 256 policers on the switch 255 user configurable policers plus 1 policer reserved for internal use The maximum number of configurable policers supported per port is 63 Policers are allocated on demand by the software and are constrained by the hardware and ASIC boundaries You cannot reserve policers per port There is no guarantee that a port will be assigned to...

Page 211: ...r1 Switch config pmap c exit Switch config pmap class class2 Switch config pmap c set dscp 10 Switch config pmap c police aggregate agg_policer1 Switch config pmap c exit Switch config pmap class class3 Switch config pmap c trust dscp Switch config pmap c police aggregate agg_policer2 Switch config pmap c exit You can verify your settings by entering the show mls qos aggregate policer privileged E...

Page 212: ...cation match criteria for the specified class map For more information see the class section on page 2 22 description describes the policy map up to 200 characters exit exits policy map configuration mode and returns you to global configuration mode no removes a previously defined policy map rename renames the current policy map To return to global configuration mode use the exit command To return...

Page 213: ... software configuration guide for this release Examples This example shows how to create a policy map called policy1 When attached to the ingress port it matches all the incoming traffic defined in class1 sets the IP DSCP to 10 and polices the traffic at an average rate of 1 Mb s and bursts at 20 KB Traffic exceeding the profile is marked down to a DSCP value gotten from the policed DSCP map and t...

Page 214: ...g pmap c end Switch config cmap exit Switch config interface vlan 10 Switch config if service policy input pm test pm 2 This example shows how to delete policymap2 Switch config no policy map policymap2 You can verify your settings by entering the show policy map privileged EXEC command Related Commands Command Description class Defines a traffic classification match criteria through the police se...

Page 215: ...e load distribution method to dst mac Switch config port channel load balance dst mac You can verify your setting by entering the show running config privileged EXEC command or the show etherchannel load balance privileged EXEC command dst ip Load distribution is based on the destination host IP address dst mac Load distribution is based on the destination host MAC address Packets to the same dest...

Page 216: ...tes the port channel show etherchannel Displays EtherChannel information for a channel 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_comman d_reference_list html Select the Cisco IOS Commands Master List Release 12 2 to navigate to t...

Page 217: ... it is serviced until empty before the other queues are serviced Follow these guidelines when the expedite queue is enabled or the egress queues are serviced based on their SRR weights If the egress expedite queue is enabled it overrides the SRR shaped and shared weights for queue 1 If the egress expedite queue is disabled and the SRR shaped and shared weights are configured the shaped mode overri...

Page 218: ...25 Switch config if no priority queue out You can verify your settings by entering the show mls qos interface interface id queueing or the show running config privileged EXEC command Related Commands Command Description show mls qos interface queueing Displays the queueing strategy SRR priority queueing the weights corresponding to the queues and the CoS to egress queue map srr queue bandwidth sha...

Page 219: ...1 Switch config if queue set 2 You can verify your settings by entering the show mls qos interface interface id buffers privileged EXEC command Related Commands qset id ID of the queue set Each port belongs to a queue set which defines all the characteristics of the four egress queues per port The range is 1 to 2 Release Modification 12 2 46 EY This command was introduced Command Description mls q...

Page 220: ... the default seconds value that is from 10 to 60 seconds Use the radius server retransmit retries global configuration command to specify the number of times the switch tries to reach the RADIUS servers before considering the servers to be unavailable The switch dynamically determines the default tries value that is from 10 to 100 The seconds parameter is less than or equal to the number of retran...

Page 221: ...y Protocols RADIUS Commands radius server timeout seconds Specifies the time in seconds during which the switch waits for a RADIUS server to respond before the authentication times out For syntax information select Cisco IOS Security Command Reference Release 12 2 Server Security Protocols RADIUS Commands show running config Displays the operating configuration For syntax information use this link...

Page 222: ... server acct port udp port Optional Specify the UDP port for the RADIUS accounting server The range is from 0 to 65536 auth port udp port Optional Specify the UDP port for the RADIUS authentication server The range is from 0 to 65536 key string Optional Specify the authentication and encryption key for all RADIUS communication between the switch and the RADIUS daemon The key is a text string that ...

Page 223: ...1500 auth port 1510 This example shows how to configure the UDP port for the accounting server and the authentication server enable automated testing of the RADIUS server status specify the username to be used and configure a key string Switch config radius server host 1 1 1 2 acct port 800 auth port 900 test username aaafail idle time 75 key abc123 You can verify your settings by entering the sho...

Page 224: ...he cluster command switch the cluster member switch is accessed at user level If you use this command on the cluster command switch at privileged level the command accesses the remote device at privileged level If you use an intermediate enable level lower than privileged access to the cluster member switch is at user level For Catalyst 1900 and 2820 switches running standard edition software the ...

Page 225: ...ter member switches inherited the password of the cluster command switch when they joined the cluster Examples This example shows how to start a session with member 3 All subsequent commands are directed to member 3 until you enter the exit command or close the session Switch rcommand 3 Switch 3 show version Cisco Internet Operating System Software Switch 3 exit Switch Related Commands Command Des...

Page 226: ...Examples This example shows how to reload the switch Switch config reload System configuration has been modified Save yes no y Related Commands LINE Specify the reason for the reload at Specify the time in hh mm for the reload to occur cancel Cancel the pending reload in Specify a time interval in mmm or hhh mm for reloads to occur standby cpu Reload the standby route processor RP Release Modifica...

Page 227: ...rotocol VTP is enabled the RSPAN feature is propagated by VTP for VLAN IDs that are lower than 1005 If the RSPAN VLAN ID is in the extended range you must manually configure intermediate switches those in the RSPAN VLAN between the source switch and the destination switch Before you configure the RSPAN remote span command use the vlan global configuration command to create the VLAN The RSPAN VLAN ...

Page 228: ...hows 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 Related Commands Command Description monitor session Enables Switched Port Analyzer SPAN and RSPAN monitoring on a port and configures a port as a source or destination port vlan global configuration Changes t...

Page 229: ... Command Modes Interface configuration Command History Usage Guidelines The RMON statistics collection command is based on hardware counters Examples This example shows how to collect RMON statistics for the owner root Switch config interface gigabitethernet0 1 Switch config if rmon collection stats 2 owner root You can verify your setting by entering the show rmon statistics privileged EXEC comma...

Page 230: ... privileged EXEC command the show sdm prefer command shows the template currently in use and the template that will become active after a reload Use the no sdm prefer command to set the switch to the default template The access template maximizes system resources for access control lists ACLs as required to accommodate a large number of ACLs The default templates balances the use of system resourc...

Page 231: ... Default VLAN Unicast MAC addresses 4 K 6 K 12 K Internet Group Management Protocol IGMP groups and multicast routes 1 K 1 K 1 K Unicast routes 6 K 8 K 0 Directly connected hosts 4 K 6 K 0 Indirect routes 2 K 2 K 0 Policy based routing access control entries ACEs 0 5 K 0 0 Quality of service QoS classification ACEs 0 5 K 0 5 K 0 5 K Security ACEs 2 K 1 K 1 K VLANs 1 K 1 K 1 K Table 2 11 Approximat...

Page 232: ...d This example shows how to configure the dual IPv4 and IPv6 default template on a switch Switch config sdm prefer dual ipv4 and ipv6 default Switch config exit Switch reload This example shows how to change a switch template to the default template Switch config no sdm prefer Switch config exit Switch reload You can verify your settings by entering the show sdm prefer privileged EXEC command Rela...

Page 233: ...tionality of the password recovery feature by allowing an end user to reset a password only by agreeing to return to the default configuration To use the password recovery procedure a user with physical access to the switch holds down the Mode button while the unit powers up and for a second or two after the LED above port 1X turns off When the button is released the system continues with initiali...

Page 234: ... backup copy of the config file on the switch If the switch is operating in VTP transparent mode we recommend that you also save a copy of the vlan dat file in a location away from the switch You can verify if password recovery is enabled or disabled by entering the show version privileged EXEC command Examples This example shows how to disable password recovery so that a user can only reset a pas...

Page 235: ...n command on a physical port you can configure a port based policy map on the port If VLAN based QoS is enabled by using the mls qos vlan based interface configuration command on a physical port the switch removes the previously configured port based policy map After a hierarchical policy map is configured and applied on an SVI the interface level policy map takes effect on the interface You can a...

Page 236: ...Enter configuration commands one per line End with CNTL Z Switch config class map cm interface 1 Switch config cmap match input gigabitethernet0 1 gigabitethernet0 2 Switch config cmap exit Switch config policy map port plcmap Switch config pmap class map cm interface 1 Switch config pmap c police 900000 9000 exc policed dscp transmit Switch config pmap c exit Switch config pmap exit Switch config...

Page 237: ...hed to multiple ports to specify a service policy show policy map Displays QoS policy maps 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 ...

Page 238: ...iguration command This setting appears as set ip precedence in the switch configuration The set command is mutually exclusive with the trust policy map class configuration command within the same policy map For the set dscp new dscp or the set ip precedence new precedence command you can enter a mnemonic name for a commonly used value For example you can enter the set dscp af11 command which is th...

Page 239: ...icy map privileged EXEC command Related Commands Command Description class Defines a traffic classification match criteria through the police set and trust policy map class configuration commands for the specified class map name police Defines a policer for classified traffic policy map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy show policy ...

Page 240: ... facility or the configure privileged EXEC command Help text is provided for each prompt To access help text press the question mark key at a prompt To return to the privileged EXEC prompt without making changes and without running through the entire System Configuration Dialog press Ctrl C When you complete your changes the setup program shows you the configuration command script that was created...

Page 241: ...Current interface summary Any interface listed with OK value NO does not have a valid configuration Interface IP Address OK Method Status Protocol Vlan1 172 20 135 202 YES NVRAM up up GigabitEthernet0 1 unassigned YES unset up up GigabitEthernet0 2 unassigned YES unset up down output truncated Port channel1 unassigned YES unset up down Enter interface name used to connect to the management network...

Page 242: ...this configuration to nvram and exit Enter your selection 2 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 nav...

Page 243: ...e button start blinking If you press the Mode button for a total of 10 seconds the switch configuration is deleted and the switch reboots The switch can then be configured like a new switch either through the web based Express Setup program or the CLI based setup program Note As soon as you make any change to the switch configuration including entering no at the beginning of the CLI based setup pr...

Page 244: ...red switch the mode LEDs begin blinking after 2 seconds and turn solid green after 10 seconds Caution If you hold the Mode button down for a total of 10 seconds the configuration is deleted and the switch reboots This example shows how to disable Express Setup mode Switch config no setup express You can verify that Express Setup mode is disabled by pressing the Mode button The mode LEDs do not tur...

Page 245: ...show access lists Standard IP access list 1 10 permit 1 1 1 1 20 permit 2 2 2 2 30 permit any 40 permit 0 255 255 255 wildcard bits 12 0 0 0 Standard IP access list videowizard_1 1 1 1 10 permit 1 1 1 1 Standard IP access list videowizard_10 10 10 10 10 permit 10 10 10 10 Extended IP access list 121 10 permit ahp host 10 10 10 10 host 20 20 10 10 precedence routine name Optional Name of the ACL nu...

Page 246: ... 0 Forwarding To CPU All frame count 0 Forwarding To CPU All bytes count 0 Forwarded All frame count 2121 Forwarded All bytes count 180762 Forwarded And Log All frame count 0 Forwarded And Log All bytes count 0 L3 ACL INPUT Statistics Drop All frame count 0 Drop All bytes count 0 Drop And Log All frame count 0 Drop And Log All bytes count 0 Bridge Only All frame count 0 Bridge Only All bytes count...

Page 247: ... Forwarding To CPU All bytes count 0 Forwarded All frame count 514434 Forwarded All bytes count 39048748 Forwarded And Log All frame count 0 Forwarded And Log All bytes count 0 Related Commands Command Description access list Configures a standard or extended numbered access list on the switch For syntax information select Cisco IOS IP Command Reference Volume 1 of 3 Addressing and Services Releas...

Page 248: ...the download 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 Examples These are examples of output from the show archive status command Switch show archive status IDLE No upgrade in progress Switch show archive status LOADING Upgrade in progress Switch show archive status EXTRACT ...

Page 249: ...isplayed Examples This is an example of output from the show boot command Table 2 12 describes each field in the display Switch show boot BOOT path list flash c2350 lanlite tar 122 46 EY tar Config file flash config text Private Config file flash private config text Enable Break no Manual Boot yes HELPER path list Auto upgrade yes Auto upgrade path output truncated begin Optional Display begins wi...

Page 250: ... 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 Enable Break Displays whether a break during booting is enabled or disabled If it is set to yes on or 1 you can inte...

Page 251: ...ead 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 boot private config file Specifies the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration boot system Specifies the Cisco IOS image to load during the nex...

Page 252: ...mand Switch show class map Class Map match all videowizard_10 10 10 10 id 2 Match access group name videowizard_10 10 10 10 Class Map match any class default id 0 Match any Class Map match all dscp5 id 3 Match ip dscp 5 Related Commands class map name Optional Display the contents of the specified class map begin Optional Display begins with the line that matches the expression exclude Optional Di...

Page 253: ...tatus and time since the status changed If redundancy is enabled it displays the primary and secondary command switch information 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 Examples This is an example of output when the show cluster command is entered on the active cluster co...

Page 254: ...ter command is entered on the cluster command switch that has lost connectivity with member 1 Switch show cluster Command switch for cluster Ajang Total number of members 7 Status 1 members are unreachable Time since last status change 0 days 0 hours 5 minutes Redundancy Disabled Heartbeat interval 8 Heartbeat hold time 80 Extended discovery hop count 3 This is an example of output when the show c...

Page 255: ...itch 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 Examples This is an example of output from the show cluster candidates command Switch show cluster candidates Upstream MAC Address Name Device Type PortIf FEC Hops SN PortIf FEC 00d0 7961 c4c0 StLouis 2 WS C2350 48TD Gi0 1 2 1 F...

Page 256: ...2 1 FEC number Upstream port Fa0 24 FEC Number Hops from cluster edge 3 Hops from command device This is an example of output from the show cluster candidates detail command Switch show cluster candidates detail Device Tahiti 12 with mac address number 00d0 7961 c4c0 Device type cisco WS C3512 XL Upstream MAC address 00d0 796d 2f00 Cluster Member 1 Local port Fa0 3 FEC number Upstream port Fa0 13 ...

Page 257: ...ss Name PortIf FEC Hops SN PortIf FEC State 0 0002 4b29 2e00 StLouis1 0 Up Cmdr 1 0030 946c d740 tal switch 1 Fa0 13 1 0 Gi0 1 Up 2 0002 b922 7180 nms 2820 10 0 2 1 Fa0 18 Up 3 0002 4b29 4400 SanJuan2 Gi0 1 2 1 Fa0 11 Up 4 0002 4b28 c480 GenieTest Gi0 2 2 1 Fa0 9 Up This is an example of output from the show cluster members for cluster member 3 Switch show cluster members 3 Device SanJuan2 with me...

Page 258: ...luster member 1 Local port 10 FEC number 0 Upstream port Fa0 18 FEC Number Hops from command device 2 Device SanJuan2 with member number 3 Device type cisco WS C2350 48TD SD MAC address 0002 4b29 4400 Upstream MAC address 0030 946c d740 Cluster member 1 Local port Gi0 1 FEC number Upstream port Fa0 11 FEC Number Hops from command device 2 Device GenieTest with member number 4 Device type cisco Sea...

Page 259: ...ut are not displayed but the lines that contain Output are displayed Examples This is a partial output example from the show controllers cpu interface command Switch show controllers cpu interface cpu queue frames retrieved dropped invalid hol block rpc 4523063 0 0 0 stp 1545035 0 0 0 ipc 1903047 0 0 0 routing protocol 96145 0 0 0 L2 protocol 79596 0 0 0 remote console 0 0 0 0 sw forwarding 5756 0...

Page 260: ...eadPtr 038C2C38 WritePtrs 038C2C38 Fifo_Flag 8A800800 Weights 001E001E Fifo1 StartPtr 03A9BC00 ReadPtr 03A9BC60 WritePtrs 03A9BC60 Fifo_Flag 89800400 writeHeaderPtr 03A9BC60 Fifo2 StartPtr 038C8800 ReadPtr 038C88E0 WritePtrs 038C88E0 Fifo_Flag 88800200 writeHeaderPtr 038C88E0 Fifo3 StartPtr 03C30400 ReadPtr 03C30638 WritePtrs 03C30638 Fifo_Flag 89800400 writeHeaderPtr 03C30638 Fifo4 StartPtr 03AD5...

Page 261: ...l 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 interface id The physical interface including type module and port number phy Optional Display the status of the internal registers on the switch physical layer device PHY for the ...

Page 262: ...0 Excessive collisions 0 Late collisions 0 Invalid frames too large 0 VLAN discard frames 0 Valid frames too large 0 Excess defer frames 0 Invalid frames too small 0 64 byte frames 0 Valid frames too small 0 127 byte frames 0 255 byte frames 0 Too old frames 0 511 byte frames 0 Valid oversize frames 0 1023 byte frames 0 System FCS error frames 0 1518 byte frames 0 RxPortFifoFull drop frame 0 Too l...

Page 263: ...VLAN discard frames The number of frames dropped on an interface because the CFI1 bit is set Excess defer frames The number of frames that are not sent after the time exceeds the maximum packet time 64 byte frames The total number of frames sent on an interface that are 64 bytes 127 byte frames The total number of frames sent on an interface that are from 65 to 127 bytes 255 byte frames The total ...

Page 264: ...frames that are from 128 to 255 bytes 256 to 511 byte frames The total number of frames that are from 256 to 511 bytes 512 to 1023 byte frames The total number of frames that are from 512 to 1023 bytes 1024 to 1518 byte frames The total number of frames that are from 1024 to 1518 bytes Overrun frames The total number of overrun frames received on an interface Pause frames The number of pause frame...

Page 265: ...d Register 1 0000 0000 0000 0000 Global Status 0000 0000 0000 0000 LED Control 0100 0001 0000 0000 Manual LED Override 0000 1000 0010 1010 Extended PHY Specific Control 0000 0000 0001 1010 Disable Receiver 1 0000 0000 0000 1011 Disable Receiver 2 1000 0000 0000 0100 Extended PHY Specific Status 1000 0100 1000 0000 Auto MDIX On AdminState 1 Flags 0x00052248 This is an example of output from the sho...

Page 266: ...007D0 40000000 SupervisorTransmitFifoSramInfo 000001D0 000001D0 40000000 GlobalStatus 00000800 IndicationStatus 00000000 IndicationStatusMask FFFFFFFF InterruptStatus 00000000 InterruptStatusMask 01FFE800 SupervisorDiag 00000000 SupervisorFrameSizeLimit 000007C8 SupervisorBroadcast 000A0F01 GeneralIO 000003F9 00000000 00000004 StackPcsInfo FFFF1000 860329BD 5555FFFF FFFFFFFF FF0FFF00 86020000 5555...

Page 267: ...xQ 3 wt 2 enqueue frames 0 RxQ 3 wt 2 drop frames 15 TxBufferFull Drop Count 0 Rx Fcs Error Frames 0 TxBufferFrameDesc BadCrc16 0 Rx Invalid Oversize Frames 0 TxBuffer Bandwidth Drop Cou 0 Rx Invalid Too Large Frames 0 TxQueue Bandwidth Drop Coun 0 Rx Invalid Too Large Frames 0 TxQueue Missed Drop Statist 0 Rx Invalid Too Small Frames 74 RxBuffer Drop DestIndex Cou 0 Rx Too Old Frames 0 SneakQueue...

Page 268: ...ow controllers cpu interface Displays the state of the CPU network ASIC and send and receive statistics 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 show idprom Displays the IDPROM information for the specified interface ...

Page 269: ...ommand See Table 2 13 and Table 2 14 for descriptions of the Transmit and Receive fields Switch show controller ethernet controller fastethernet 0 Transmit FastEthernet0 Receive 5925 Bytes 33181 Bytes 0 Unicast frames 78 Unicast frames 15 Multicast frames 437 Multicast frames 1 Broadcast frames 0 Broadcast frames 0 Too old frames 0 Unicast bytes 0 Deferred frames 0 Multicast bytes 0 MTU exceeded f...

Page 270: ...ze frames 0 1023 byte frames 0 System FCS error frames 0 1518 byte frames 0 RxPortFifoFull drop frame 0 Too large frames 0 Good 1 coll frames 0 Good 1 coll frames This is an example of output from the show controllers ethernet controller fastethernet 0 phy command on a switch Switch show controller ethernet controller fastethernet 0 phy FastEthernet0 hw_if_index 2 if_number 2 PowerPC405 FastEthern...

Page 271: ...he lines that contain output do not appear but the lines that contain Output appear Examples This is an example of output from the show controllers tcam command Switch show controllers tcam TCAM 0 Registers REV 00B30103 SIZE 00080040 ID 00000000 CCR 00000000_F0000020 RPID0 00000000_00000000 RPID1 00000000_00000000 RPID2 00000000_00000000 RPID3 00000000_00000000 asic Optional Display port ASIC hard...

Page 272: ..._FFFFFFFF_FFFFFFFF TCAM related PortASIC 1 registers LookupType 89A1C67D_24E35F00 LastCamIndex 0000FFE0 LocalNoMatch 000069E0 ForwardingRamBaseAddress 00022A00 0002FE00 00040600 0002FE00 0000D400 00000000 003FBA00 00009000 00009000 00040600 00000000 00012800 00012900 Related Commands Command Description show controllers cpu interface Displays the state of the CPU network ASIC and send and receive ...

Page 273: ...f output from the show controllers utilization command Switch show controllers utilization Port Receive Utilization Transmit Utilization Command HistoryGi Gi0 2 0 0 Gi0 3 0 0 Gi0 4 0 0 Gi0 5 0 0 Gi0 6 0 0 Gi0 7 0 0 output truncated Gi0 1 0 0 Gi0 2 0 0 output truncated Switch Receive Bandwidth Percentage Utilization 0 Switch Transmit Bandwidth Percentage Utilization 0 Switch Fabric Percentage Utili...

Page 274: ...scriptions Field Description Receive Bandwidth Percentage Utilization Displays the received bandwidth usage of the switch which is the sum of the received traffic on all the ports divided by the switch receive capacity Transmit Bandwidth Percentage Utilization Displays the transmitted bandwidth usage of the switch which is the sum of the transmitted traffic on all the ports divided it by the switc...

Page 275: ...the test ID the test attributes and the supported coverage test levels for specific tests and for switches post Display the power on self test POST results result Display the diagnostic test results detail Optional Display the detailed test results test Optional Specify the test results to display name Enter the name of the diagnostic test to display results only for this test test id Enter the te...

Page 276: ...will partition stack NA Test Interval Thre ID Test Name Attributes day hh mm ss ms shold 1 TestPortAsicStackPortLoopback B N I not configured n a 2 TestPortAsicLoopback B D X IR not configured n a 3 TestPortAsicCam B D X IR not configured n a 4 TestPortAsicRingLoopback B D X IR not configured n a 5 TestMicRingLoopback B D X IR not configured n a 6 TestPortAsicMem B D X IR not configured n a This e...

Page 277: ...rtLoopback Error code 0 DIAG_SUCCESS Total run count 19 Last test execution time Mar 01 1993 00 21 46 First test failure time n a Last test failure time n a Last test pass time Mar 01 1993 00 21 46 Total failure count 0 Consecutive failure count 0 ___________________________________________________________________________ 2 TestPortAsicLoopback U Error code 0 DIAG_SUCCESS Total run count 0 Last te...

Page 278: ..._______________________________________________ 6 TestPortAsicMem 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 n a Total failure count 0 Consecutive failure count 0 __________________________________________________________________________ 7 TestInlinePwrCtlr U Error code 0 DIAG_SUCCESS Total r...

Page 279: ... from the show dtp interface command Switch show dtp interface gigabitethernet0 1 DTP information for GigabitEthernet0 1 TOS TAS TNS ACCESS AUTO ACCESS TOT TAT TNT NATIVE NEGOTIATE NATIVE Neighbor address 1 000943A7D081 Neighbor address 2 000000000000 Hello timer expiration sec state 1 RUNNING Access timer expiration sec state never STOPPED Negotiation timer expiration sec state never STOPPED Mult...

Page 280: ...s dropped 0 nonegotiate 0 bad version 0 domain mismatches 0 bad TLVs 0 other 6320 packets output 6320 good 3160 native 3160 software encap isl 0 isl hardware native 0 output errors 0 trunk timeouts 1 link ups last link up on Mon Mar 01 1993 01 02 29 0 link downs Related Commands Command Description show interfaces trunk Displays interface trunking information ...

Page 281: ...n you use the show eap sessions privileged EXEC command with these keywords the command output shows this information None All active EAP sessions credentials name keyword The specified credentials profile interface interface id keyword The parameters for the specified interface method name keyword The specified EAP method transport name keyword The specified lower layer registrations Display EAP ...

Page 282: ... max 2 Timer Authenticator ReqId Retransmit timeout 30s remaining 2s EAP handle 0x5200000A Credentials profile None Lower layer context ID 0x93000004 Eap profile name None Method context ID 0x00000000 Peer Identity None Start timeout s 1 Retransmit timeout s 30 30 Current ID 2 Available local methods None Role Authenticator Decision Fail Lower layer Dot1x AuthenticaInterface Gi0 2 Current method N...

Page 283: ... Cisco IOS Commands show eap Method context ID 0x00000000 Peer Identity None Start timeout s 1 Retransmit timeout s 30 30 Current ID 2 Available local methods None Related Commands Command Description clear eap Clears EAP session information for the switch or for the specified port ...

Page 284: ...e sensitive For example if you enter exclude output the lines that contain output are not displayed but the lines that contain Output are displayed Examples This is an example of output from the show env all command on a switch Switch show env all FAN is OK TEMPERATURE is OK Temperature Value 42 Degree Celsius Temperature State GREEN Yellow Threshold 49 Degree Celsius Red Threshold 69 Degree Celsi...

Page 285: ... on a switch Table 2 16 describes the temperature states in the command output Switch show env temperature status Temperature Value 42 Degree Celsius Temperature State GREEN Yellow Threshold 49 Degree Celsius Red Threshold 69 Degree Celsius Table 2 16 States in the show env temperature status Command Output State Description Green The switch temperature is in the normal operating range Yellow The ...

Page 286: ...odes port mode The entire physical port is error disabled if a violation occurs vlan mode The VLAN is error disabled if a violation occurs port vlan mode The entire physical port is error disabled on some ports and per VLAN error disabled on other ports Examples This is an example of output from the show errdisable detect command Switch show errdisable detect ErrDisable Reason Detection Mode arp i...

Page 287: ...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 show errdisable flap values Displays error condition recognition information show errdisable recovery Displays error disabled recovery timer information show interfaces status Displays interface ...

Page 288: ...hows that an error will be assumed and the port shut down if three Dynamic Trunking Protocol DTP state port mode access trunk or Port Aggregation Protocol PAgP flap changes occur during a 30 second interval or if 5 link state link up down changes occur during a 10 second interval Switch show errdisable flap values ErrDisable Reason Flaps Time sec pagp flap 3 30 dtp flap 3 30 link flap 5 10 Related...

Page 289: ...at contain Output are displayed Examples This is an example of output from the show errdisable recovery command Switch show errdisable recovery ErrDisable Reason Timer Status udld Disabled bpduguard Disabled security violatio Disabled channel misconfig Disabled pagp flap Disabled dtp flap Disabled link flap Enabled l2ptguard Disabled psecure violation Disabled gbic invalid Disabled dhcp rate limit...

Page 290: ... left sec Gi0 2 link flap 279 Note Though visible in the output the unicast flood field is not valid Related Commands Command Description errdisable recovery Configures the recover mechanism variables show errdisable detect Displays error disabled detection status show errdisable flap values Displays error condition recognition information show interfaces status Displays interface status or a list...

Page 291: ... state L2 Ports 2 Maxports 16 Port channels 1 Max Port channels 16 Protocol LACP Ports in the group Port Gi0 1 Port state Up Mstr In Bndl Channel group 1 Mode Active Gcchange Port channel Po1 GC Pseudo port channel Po1 channel group number Optional Number of the channel group The range is 1 to 48 detail Display detailed EtherChannel information load balance Display the load balance or frame distri...

Page 292: ...ort channel Ag Inuse Protocol LACP Ports in the Port channel Index Load Port EC state No of bits 0 00 Gi0 1 Active 0 0 00 Gi0 2 Active 0 Time since last port bundled 01d 20h 20m 20s Gi0 2 This is an example of output from the show etherchannel 1 summary command Switch show etherchannel 1 summary Flags D down P in port channel I stand alone s suspended H Hot standby LACP only R Layer3 S Layer2 u un...

Page 293: ...ive 0 Time since last port bundled 01d 20h 24m 44s Gi0 2 This is an example of output from show etherchannel protocol command Switch show etherchannel protocol Channel group listing Group 1 Protocol LACP Group 2 Protocol PAgP Related Commands Command Description channel group Assigns an Ethernet port to an EtherChannel group channel protocol Restricts the protocol used on a port to manage channeli...

Page 294: ...n example of output from the show fallback profile command switch show fall profile Profile Name dot1x www Description NONE IP Admission Rule webauth fallback IP Access Group IN default policy Profile Name dot1x www lpip Description NONE IP Admission Rule web lpip IP Access Group IN default policy Profile Name profile1 Description NONE IP Admission Rule NONE IP Access Group IN NONE append Optional...

Page 295: ...st 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 http Enable web authentication globally on a switch ...

Page 296: ... command Use the show flowcontrol interface interface id command to display information about a specific interface 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 interface interface id Optional Display the flow control status and statistics for a specific interface module number Optional Di...

Page 297: ... admin oper admin oper Gi0 1 Unsupp Unsupp off off 0 0 Gi0 2 desired off off off 0 0 Gi0 3 desired off off off 0 0 output truncated This is an example of output from the show flowcontrol interface interface id command Switch show flowcontrol gigabitethernet0 2 Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper Gi0 2 desired off off off 0 0 Related Commands Command Desc...

Page 298: ...face Switch show idprom interface tengigabitethernet0 1 X2 Serial EEPROM Contents Non Volatile Register NVR Fields X2 MSA Version supported 0xA NVR Size in bytes 0x100 Number of bytes used 0x100 Basic Field Address 0xB Customer Field Address 0x77 Vendor Field Address 0xA7 Extended Vendor Field Address 0x100 Reserved 0x0 Transceiver type 0x2 X2 Optical connector type 0x0 Unspecified Bit encoding 0x...

Page 299: ...0x3400B01 Transceiver vendor name CISCO OPNEXT INC Part number provided by transceiver vendor TRTC010EN BMC Revision level of part number provided by vendor 00 Vendor serial number OSA093900JK Vendor manufacturing date code 2005092800 Reserved1 01 01 20 04 00 01 00 Basic Field Checksum 0x63 Customer Writable Area 0x00 58 32 2D 31 30 47 42 2D 43 58 34 20 20 20 20 20 0x10 20 56 30 31 20 4F 53 41 30 ...

Page 300: ...ities Optional Display the capabilities of all interfaces or the specified interface including the features and options that you can configure on the interface Though visible in the command line help this option is not available for VLAN IDs module number Optional Display capabilities switchport configuration or transceiver characteristics depending on preceding keyword of all interfaces on the sw...

Page 301: ...xpressions 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 transceiver detail properties dom supported list Optional Display the physical properties of a coarse wavelength division multiplexer CWDM or dense wavelength division multiplexer DWDM small form factor SFP module interface The keywor...

Page 302: ...ec 0 packets input 0 bytes 0 no buffer Received 0 broadcasts 0 multicasts 0 runts 0 giants 0 throttles 0 input errors 0 CRC 0 frame 0 overrun 0 ignored 0 watchdog 0 multicast 0 pause input 0 input packets with dribble condition detected 0 packets output 0 bytes 0 underruns 0 output errors 0 collisions 1 interface resets 0 babbles 0 late collision 0 deferred 0 lost carrier 0 no carrier 0 PAUSE outp...

Page 303: ...iption interface configuration command Switch show interfaces gigabitethernet0 2 description Interface Status Protocol Description Gi0 2 up down Connects to Marketing This is an example of output from the show interfaces etherchannel command when port channels are configured on the switch Switch show interfaces etherchannel Port channel1 Age of the Port channel 03d 20h 17m 29s Logical slot port 10...

Page 304: ...h show interfaces gigabitethernet0 2 status Port Name Status Vlan Duplex Speed Type Gi0 2 test2 notconnect 1 auto auto 10 100 1000Ba seTX This is an example of output from the show interfaces status err disabled command It displays the status of interfaces in the error disabled state Switch show interfaces status err disabled Port Name Status Reason Gi0 2 err disabled gbic invalid Gi0 3 err disabl...

Page 305: ... Encapsulation Operational Trunking Encapsulation Negotiation of Trunking Displays the administrative and operational encapsulation method and whether trunking negotiation is enabled Access Mode VLAN Displays the VLAN ID to which the port is configured Trunking Native Mode VLAN Trunking VLANs Enabled Trunking VLANs Active Lists the VLAN ID of the trunk that is in native mode Lists the allowed VLAN...

Page 306: ...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 mA milliamperes dBm decibels milliwatts N A not applicable high alarm high warning low warning low alarm A2D readouts if they differ are reported in parentheses The threshold values are uncal...

Page 307: ...Threshold Threshold Threshold Threshold Port Volts Volts Volts Volts Volts Te0 1 3 15 3 63 3 63 2 97 2 97 High Alarm High Warn Low Warn Low Alarm Current Threshold Threshold Threshold Threshold Port milliamperes mA mA mA mA Te0 1 5 0 16 3 15 3 3 9 3 2 Optical High Alarm High Warn Low Warn Low Alarm Transmit Power Threshold Threshold Threshold Threshold Port dBm dBm dBm dBm dBm Te0 1 1 9 1 0 0 5 8 ...

Page 308: ...1888 03 X2_ER ALL XFP_ER ALL XENPAK_LR 10 1838 04 X2_LR ALL XFP_LR ALL XENPAK_LW ALL X2_LW ALL XFP_LW NONE XENPAK SR NONE X2 SR ALL XFP SR ALL XENPAK LX4 NONE X2 LX4 NONE XFP LX4 NONE XENPAK CX4 NONE X2 CX4 NONE SX GBIC NONE LX GBIC NONE ZX GBIC NONE CWDM_SFP ALL Rx_only_WDM_SFP NONE SX_SFP ALL LX_SFP ALL ZX_SFP ALL SX SFP NONE LX SFP NONE ZX SFP NONE GIgE BX U SFP NONE GigE BX D SFP ALL Related C...

Page 309: ...om the show interfaces counters command It displays all counters for the switch Switch show interfaces counters Port InOctets InUcastPkts InMcastPkts InBcastPkts Gi0 1 0 0 0 0 Gi0 2 0 0 0 0 output truncated interface id Optional ID of the physical interface including type and port number errors Optional Display error counters etherchannel Optional Display EtherChannel counters including octets bro...

Page 310: ... Vlan3500 Other IP GigabitEthernet0 1 Other IP ARP CDP GigabitEthernet0 2 Other IP GigabitEthernet0 3 Other IP GigabitEthernet0 4 Other IP GigabitEthernet0 5 Other IP GigabitEthernet0 6 Other IP GigabitEthernet0 7 Other IP GigabitEthernet0 8 Other IP GigabitEthernet0 9 Other IP GigabitEthernet0 10 Other IP CDP output truncated This is an example of output from the show interfaces counters trunk co...

Page 311: ...tive Auto MDIX on Administrative Power Inline N A Operational Speed auto Operational Duplex auto Operational Auto MDIX on Media Type 10 100 1000BaseTX interface id Optional Display configuration and status for a specified physical interface detail Optional Display calibration properties including high and low numbers and any alarm information for any Digital Optical Monitoring DoM capable transcei...

Page 312: ...shold Threshold Threshold Port Volts Volts Volts Volts Volts Gi0 3 3 20 4 00 3 70 3 00 2 95 High Alarm High Warn Low Warn Low Alarm Current Threshold Threshold Threshold Threshold Port milliamperes mA mA mA mA Gi0 3 31 0 84 0 70 0 4 0 2 0 Optical High Alarm High Warn Low Warn Low Alarm Transmit Power Threshold Threshold Threshold Threshold Port dBm dBm dBm dBm dBm Gi0 3 0 0 0 0 0 0 0 0 0 0 0 0 Opt...

Page 313: ...mmand Optical Tx Optical Rx Temp Laser Bias Voltage current DWDM GBIC Min1 0 50 28 50 0 N A 4 50 Min2 0 30 28 29 5 N A 4 75 Max2 3 29 6 69 60 N A 5 25 Max1 3 50 6 00 70 N A 5 50 DWDM SFP Min1 0 50 28 50 0 N A 3 00 Min2 0 30 28 29 5 N A 3 09 Max2 4 30 9 50 60 N A 3 59 Max1 4 50 9 30 70 N A 3 70 RX only WDM GBIC Min1 N A 28 50 0 N A 4 50 Min2 N A 28 29 5 N A 4 75 Max2 N A 6 69 60 N A 5 25 Max1 N A 6...

Page 314: ...r 2 Catalyst 2350 Cisco IOS Commands show interfaces transceivers CWDM X2 Min1 N A N A 0 N A N A Min2 N A N A 0 N A N A Max2 N A N A 0 N A N A Max1 N A N A 0 N A N A Related Commands Command Description show interfaces Displays additional interface characteristics ...

Page 315: ...when you enter the show inventory command 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 Examples This is example output from the show inventory command Switch show inventory NAME 5 DESCR WS C2350 48TD SD PID WS C2350 48TD SD VID E0 SN CAT0749R204 entity name Optional Display the...

Page 316: ...ut specifying a profile number If no profile number is entered the display includes all profiles configured on the switch Switch show ip igmp profile 40 IGMP Profile 40 permit range 233 1 1 1 233 255 255 255 Switch show ip igmp profile IGMP Profile 3 range 230 9 9 0 230 9 9 0 IGMP Profile 4 permit range 229 9 9 0 229 255 255 255 Related Commands profile number Optional The IGMP profile number to b...

Page 317: ...output from the show ip igmp snooping vlan 1 command It shows snooping characteristics for a specific VLAN Switch show ip igmp snooping vlan 1 Global IGMP Snooping configuration IGMP snooping Enabled IGMPv3 snooping minimal Enabled Report suppression Enabled TCN solicit query Disabled TCN flood query count 2 Last member query interval 100 detail Optional Display IGMP snooping operational state inf...

Page 318: ...teroperability mode IGMP_ONLY Last member query interval 100 Vlan 2 IGMP snooping Enabled Immediate leave Disabled Multicast router learning mode pim dvmrp Source only learning age timer 10 CGMP interoperability mode IGMP_ONLY Last member query interval 333 output truncated Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN ip igmp snooping last ...

Page 319: ...member of a multicast group show ip igmp snooping groups Displays the IGMP snooping multicast table for the switch show ip igmp snooping mrouter Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN show ip igmp snooping querier Displays the configuration and operation information for the IGMP querier configured on a switch Command Description ...

Page 320: ...ast table VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping Expressions are case sensitive For example if you enter exclude output the lines that contain output do not appear but the lines that contain Output appear count Optional Display the total number of entries for the specified command options instead of the actual entries dynamic Optional D...

Page 321: ...dynamic command It shows only the entries learned by IGMP snooping Switch show ip igmp snooping groups vlan 1 dynamic Vlan Group Type Version Port List 104 224 1 4 2 igmp v2 Gi0 1 Gi0 15 104 224 1 4 3 igmp v2 Gi0 1 Gi0 15 This is an example of output from the show ip igmp snooping groups vlan vlan id ip address command It shows the entries for the group with the specified IP address Switch show ip...

Page 322: ...ping When multicast VLAN registration MVR is enabled the show ip igmp snooping mrouter command displays MVR multicast router information and IGMP snooping information 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 ip igmp snooping mrouter ...

Page 323: ...P 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 show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN show ip igmp snooping groups Displays IGMP snooping multicast information for the switch or for the specified parameter ...

Page 324: ...er is learned in the Port field The show ip igmp snooping querier detail user EXEC command is similar to the show ip igmp snooping querier command However the show ip igmp snooping querier command displays only the device IP address most recently detected by the switch querier The show ip igmp snooping querier detail command displays the device IP address most recently detected by the switch queri...

Page 325: ...sion 2 source IP address 0 0 0 0 query interval sec 60 max response time sec 10 querier timeout sec 120 tcn query count 2 tcn query interval sec 10 Vlan 1 IGMP switch querier status elected querier is 1 1 1 1 on port Gi0 1 admin state Enabled admin version 2 source IP address 10 1 1 65 query interval sec 60 max response time sec 10 querier timeout sec 120 tcn query count 2 tcn query interval sec 1...

Page 326: ...v6 default vlan global configuration command and reload 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 Examples This is an example of output from the show ipv6 mld snooping vlan command It shows snooping characteristics for a specific VLAN Switch show ipv6 mld snooping vlan 100 G...

Page 327: ...on Enabled TCN solicit query Disabled TCN flood query count 2 Robustness variable 3 Last listener query count 2 Last listener query interval 1000 Vlan 1 MLD snooping Disabled MLDv1 immediate leave Disabled Explicit host tracking Enabled Multicast router learning mode pim dvmrp Robustness variable 1 Last listener query count 2 Last listener query interval 1000 output truncated Vlan 951 MLD snooping...

Page 328: ... display information only about groups that have been configured To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload 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 vlan vlan id Optional Specify ...

Page 329: ...of output from the show snooping address count user EXEC command Switch show ipv6 mld snooping address count Total number of multicast groups 2 This is an example of output from the show snooping address user user EXEC command Switch show ipv6 mld snooping address user Vlan Group Type Version Port List 2 FF12 3 user v2 Gi0 2 Gi0 2 Gi0 1 Gi0 3 Related Commands Command Description ipv6 mld snooping ...

Page 330: ...sed in MLD snooping To configure the dual IPv4 and IPv6 template enter the sdm prefer dual ipv4 and ipv6 default vlan global configuration command and reload 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 Examples This is an example of output from the show ipv6 mld snooping mrout...

Page 331: ...fic VLAN Switch show ipv6 mld snooping mrouter vlan 100 Vlan ports 2 Gi0 11 dynamic Related Commands Command Description ipv6 mld snooping Enables and configures MLD snooping on the switch or on a VLAN ipv6 mld snooping vlan mrouter interface interface id static ipv6 multicast address interface interface id Configures multicast router ports for a VLAN sdm prefer Configures an SDM template to optim...

Page 332: ...router the output shows the port number on which the querier is learned in the Port field The output of the show ipv6 mld snoop querier vlan command displays the information received in response to a query message from an external or internal querier It does not display user configured VLAN values such as the snooping robustness variable on the particular VLAN This querier information is used only...

Page 333: ...ier vlan command Switch show ipv6 mld snooping querier vlan 2 IP address FE80 201 C9FF FE40 6000 MLD version v1 Port Gi0 1 Max response time 1000s Related Commands Command Description ipv6 mld snooping Enables and configures IPv6 MLD snooping on the switch or on a VLAN ipv6 mld snooping last listener query count Configures the maximum number of queries that the switch sends before aging out an MLD...

Page 334: ...er option to specify a channel group for all keywords except sys id 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 channel group number Optional Number of the channel group The range is 1 to 48 counters Display traffic information internal Display internal information neighbor Display neigh...

Page 335: ...Device is requesting Slow LACPDUs F Device is requesting Fast LACPDUs A Device is in Active mode P Device is in Passive mode Channel group 1 LACP port Admin Oper Port Port Port Flags State Priority Key Key Number State Gi0 1 SA bndl 32768 0x3 0x3 0x4 0x3D Gi0 2 SA bndl 32768 0x3 0x3 0x5 0x3D Table 2 18 show lacp counters Field Descriptions Field Description LACPDUs Sent and Recv The number of LACP...

Page 336: ... ports s in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating Admin Key Administrative key assigned to this port LACP automatically generates an administrative key value as a hexadecimal number The administrative key defines the ability of a port to aggregate with other ports A port s ability to aggregate with other ports is determined by the port...

Page 337: ...x3 0x3C Partner s information Partner Partner Partner Port System ID Port Number Age Flags Gi0 2 32768 0007 eb49 5e80 0xD 15s SP LACP Partner Partner Partner Port Priority Oper Key Port State 32768 0x3 0x3C This is an example of output from the show lacp sys id command Switch show lacp sys id 32765 0002 4b29 3a00 The system identification is made up of the system priority and the system MAC addres...

Page 338: ...lays only those link state groups that have link state tracking enabled or that have upstream or downstream interfaces or both configured If there is no link state configuration for a group the group is not shown as enabled or disabled 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 display...

Page 339: ...abled Down Upstream Interfaces Gi0 15 Dwn Gi0 16 Dwn Gi0 17 Dwn Downstream Interfaces Gi0 11 Dis Gi0 12 Dis Gi0 13 Dis Gi0 14 Dis Up Interface up Dwn Interface Down Dis Interface disabled Related Commands Command Description link state group Configures an interface as a member of a link state group link state track Enables a link state group show running config Displays the operating configuration...

Page 340: ... you enter exclude output the lines that contain output do not appear but the lines that contain Output appear admin tag Display administrative tag or site information civic location Display civic location information elin location Display emergency location information ELIN identifier id Specify the ID for the civic location or the elin location The id range is 1 to 4095 interface interface id Di...

Page 341: ...t from the show location civic location command that displays all the civic location information Switch show location civic location static Civic location information Identifier 1 County Santa Clara Street number 3550 Building 19 Room C6 Primary road name Cisco Way City San Jose State CA Country US Ports Gi0 1 Identifier 2 Street number 24568 Street number suffix West Landmark Golden Gate Bridge P...

Page 342: ...at displays all emergency location information Switch show location elin static Elin location information Identifier 1 Elin 14085553881 Ports Gi0 2 Identifier 2 Elin 18002228999 Related Commands Command Description location global configuration Configures the global location information for an endpoint location interface configuration Configures the location information for an interface ...

Page 343: ... output from the show mac address table command Switch show mac address table Mac Address Table Vlan Mac Address Type Ports All 0000 0000 0001 STATIC CPU All 0000 0000 0002 STATIC CPU All 0000 0000 0003 STATIC CPU All 0000 0000 0009 STATIC CPU All 0000 0000 0012 STATIC CPU All 0180 c200 000b STATIC CPU All 0180 c200 000c STATIC CPU All 0180 c200 000d STATIC CPU All 0180 c200 000e STATIC CPU All 01...

Page 344: ...how 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 show mac address table dynamic Displays dynamic MAC address table entries only show mac address table interface Displays the MAC address table information for the specified interface show mac address tab...

Page 345: ...le of output from the show mac address table address command Switch show mac address table address 0002 4b28 c482 Mac Address Table Vlan Mac Address Type Ports All 0002 4b28 c482 STATIC CPU Total Mac Addresses for this criterion 1 mac address Specify the 48 bit MAC address the valid format is H H H interface interface id Optional Display information for a specific interface Valid interfaces includ...

Page 346: ...N show mac address table count Displays the number of addresses present in all VLANs or the specified VLAN show mac address table dynamic Displays dynamic MAC address table entries only show mac address table interface Displays the MAC address table information for the specified interface show mac address table static Displays static MAC address table entries only show mac address table vlan Displ...

Page 347: ... 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 mac address table aging time command Switch show mac address table aging time Vlan Aging Time 1 300 This is an example of output from the show mac address table aging time vlan 10 command Switch show mac address table aging time vlan ...

Page 348: ... address Displays MAC address table information for the specified MAC address show mac address table count Displays the number of addresses present in all VLANs or the specified VLAN show mac address table dynamic Displays dynamic MAC address table entries only show mac address table interface Displays the MAC address table information for the specified interface show mac address table static Disp...

Page 349: ...f 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 mac address table count command Switch show mac address table count Mac Entries for Vlan 1 Dynamic Address Count 2 Static Address Count 0 Total Mac Addresses 2 vlan vlan id Optional Display the number of addresses for a specific VLAN Th...

Page 350: ...AC address show mac address table aging time Displays the aging time in all VLANs or the specified VLAN show mac address table dynamic Displays dynamic MAC address table entries only show mac address table interface Displays the MAC address table information for the specified interface show mac address table static Displays static MAC address table entries only show mac address table vlan Displays...

Page 351: ...address table dynamic command Switch show mac address table dynamic Mac Address Table Vlan Mac Address Type Ports 1 0030 b635 7862 DYNAMIC Gi0 2 1 00b0 6496 2741 DYNAMIC Gi0 2 Total Mac Addresses for this criterion 2 address mac address Optional Specify a 48 bit MAC address the valid format is H H H available in privileged EXEC mode only interface interface id Optional Specify an interface to matc...

Page 352: ...c 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 show mac address table count Displays the number of addresses present in all VLANs or the specified VLAN show mac address table interface Displays the MAC address table information for the specified interface show ...

Page 353: ... Output appear Examples This is an example of output from the show mac address table interface command Switch show mac address table interface gigabitethernet0 2 Mac Address Table Vlan Mac Address Type Ports 1 0030 b635 7862 DYNAMIC Gi0 2 1 00b0 6496 2741 DYNAMIC Gi0 2 Total Mac Addresses for this criterion 2 interface id Specify an interface type valid interfaces include physical ports and port c...

Page 354: ...MAC address 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 show mac address table dynamic Displays dynamic MAC address table entries only show mac address table static Displays static MAC address table entries only show mac address table vlan Displa...

Page 355: ...ac Address Type Ports All 0100 0ccc cccc STATIC CPU All 0180 c200 0000 STATIC CPU All 0100 0ccc cccd STATIC CPU All 0180 c200 0001 STATIC CPU All 0180 c200 0004 STATIC CPU All 0180 c200 0005 STATIC CPU 4 0001 0002 0004 STATIC Drop 6 0001 0002 0007 STATIC Drop Total Mac Addresses for this criterion 8 address mac address Optional Specify a 48 bit MAC address the valid format is H H H available in pr...

Page 356: ... MAC address 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 show mac address table count Displays the number of addresses present in all VLANs or the specified VLAN show mac address table dynamic Displays dynamic MAC address table entries only show mac a...

Page 357: ...how mac address table vlan 1 command Switch show mac address table vlan 1 Mac Address Table Vlan Mac Address Type Ports 1 0100 0ccc cccc STATIC CPU 1 0180 c200 0000 STATIC CPU 1 0100 0ccc cccd STATIC CPU 1 0180 c200 0001 STATIC CPU 1 0180 c200 0002 STATIC CPU 1 0180 c200 0003 STATIC CPU 1 0180 c200 0005 STATIC CPU 1 0180 c200 0006 STATIC CPU 1 0180 c200 0007 STATIC CPU Total Mac Addresses for this...

Page 358: ...ress 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 show mac address table dynamic Displays dynamic MAC address table entries only show mac address table interface Displays the MAC address table information for the specified interface show mac addre...

Page 359: ...command when QoS is enabled and Differentiated Services Code Point DSCP transparency is disabled Switch show mls qos QoS is enabled QoS ip packet dscp rewrite is disabled This is an example of output from the show mls qos command when QoS is enabled and DSCP transparency is enabled Switch show mls qos QoS is enabled QoS ip packet dscp rewrite is enabled Related Commands begin Optional Display begi...

Page 360: ... lines that contain output do not appear but the lines that contain Output appear Examples This is an example of output from the show mls qos aggregate policer command Switch show mls qos aggregate policer policer1 aggregate policer policer1 1000000 2000000 exceed action drop Not used by any policy map Related Commands aggregate policer name Optional Display the policer configuration for the speci...

Page 361: ...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 mls qos input queue command Switch show mls qos input queue Queue 1 2 buffers 90 10 bandwidth 4 4 priority 0 10 threshold1 100 100 threshold2 100 100 begin Optional Display begins with the line that matches the expression exclude Optional...

Page 362: ...ues mls qos srr queue input cos map Maps assigned class of service CoS values to an ingress queue and assigns CoS values to a queue and to a threshold ID mls qos srr queue input dscp map Maps assigned Differentiated Services Code Point DSCP values to an ingress queue and assigns DSCP values to a queue and to a threshold ID mls qos srr queue input priority queue Configures the ingress priority queu...

Page 363: ...ce gigabitethernet0 1 GigabitEthernet0 1 trust state not trusted trust mode not trusted trust enabled flag ena COS override dis default COS 0 interface id Optional Display QoS information for the specified port Valid interfaces include physical ports buffers Optional Display the buffer allocation among the queues queueing Optional Display the queueing strategy shared or shaped and the weights corr...

Page 364: ...is mapped to qset 1 The allocations between the queues are 25 25 25 25 This is an example of output from the show mls qos interface interface id queueing command The egress expedite queue overrides the configured shaped round robin SRR weights Switch show mls qos interface gigabitethernet0 2 queueing GigabitEthernet0 2 Egress Priority Queue enabled Shaped queue weights absolute 25 0 0 0 Shared que...

Page 365: ...ing Number of packets sent for each CoS value Policer Inprofile Number of in profile packets for each policer Outofprofile Number of out of profile packets for each policer Command Description mls qos queue set output buffers Allocates buffers to a queue set mls qos queue set output threshold Configures the weighted tail drop WTD thresholds guarantees the availability of buffers and configures the...

Page 366: ...p Maps DSCP values to an egress queue or maps DSCP values to a queue and to a threshold ID policy map Creates or modifies a policy map priority queue Enables the egress expedite queue on a port queue set Maps a port to a queue set srr queue bandwidth limit Limits the maximum output on a port srr queue bandwidth shape Assigns the shaped weights and enables bandwidth shaping on the four egress queue...

Page 367: ...fies the most significant digit in the DSCP The d2 row specifies the least significant digit in the DSCP The intersection of the d1 and d2 values provides the policed DSCP the CoS or the mutated DSCP value For example in the DSCP to CoS map a DSCP value of 43 corresponds to a CoS value of 5 cos dscp Optional Display class of service CoS to DSCP map cos input q Optional Display the CoS input queue ...

Page 368: ...witch show mls qos maps Policed dscp map d1 d2 0 1 2 3 4 5 6 7 8 9 0 00 01 02 03 04 05 06 07 08 09 1 10 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 Dscp cos map d1 d2 0 1 2 3 4 5 6 7 8 9 0 00 00 00 00 00 00 00 00 01 01 1 01 01 01 01 01 01 02 02 02 02 2 02 02 02 02 03 03 03 0...

Page 369: ...1 1 1 1 1 Dscp dscp mutation map Default DSCP Mutation Map d1 d2 0 1 2 3 4 5 6 7 8 9 0 00 01 02 03 04 05 06 07 08 09 1 10 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 Related Commands Command Description mls qos map Defines the CoS to DSCP map DSCP to CoS map DSCP to DSCP mut...

Page 370: ...et command Switch show mls qos queue set Queueset 1 Queue 1 2 3 4 buffers 25 25 25 25 threshold1 100 200 100 100 threshold2 100 200 100 100 reserved 50 50 50 50 maximum 400 400 400 400 Queueset 2 Queue 1 2 3 4 buffers 25 25 25 25 threshold1 100 200 100 100 threshold2 100 200 100 100 reserved 50 50 50 50 maximum 400 400 400 400 qset id Optional ID of the queue set Each port belongs to a queue set w...

Page 371: ...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 ...

Page 372: ...e lines that contain output do not appear but the lines that contain Output appear Examples This is an example of output from the show mls qos vlan command Switch show mls qos vlan 10 Vlan10 Attached policy map for Ingress pm test pm 2 Related Commands vlan id Specify the VLAN ID of the SVI to display the policy maps The range is 1 to 4094 begin Optional Display begins with the line that matches t...

Page 373: ...l command session Optional Display information about specified SPAN sessions session_number Specify the number of the SPAN or RSPAN session The range is 1 to 66 all Display all SPAN sessions local Display only local SPAN sessions range list Display a range of SPAN sessions where list is the range of valid sessions either a single session or a range of sessions described by two numbers the lower on...

Page 374: ...rce session 1 Switch show monitor session 1 Session 1 Type Local Session Source Ports RX Only Gi0 1 Both Gi0 2 3 Gi0 5 6 Destination Ports Gi0 20 Encapsulation Replicate Ingress Disabled This is an example of output for the show monitor session all user EXEC command when ingress traffic forwarding is enabled Switch show monitor session all Session 1 Type Local Session Source Ports Both Gi0 2 Desti...

Page 375: ...pear Examples This is an example of output from the show pagp 1 counters command Switch show pagp 1 counters Information Flush Port Sent Recv Sent Recv Channel group 1 Gi0 1 45 42 0 0 Gi0 2 45 41 0 0 This is an example of output from the show pagp dual active command Switch show pagp dual active PAgP dual active detection enabled Yes PAgP dual active version 1 1 channel group number Optional Numbe...

Page 376: ...r is running I Interface timer is running Channel group 1 Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Gi0 1 SC U6 S7 H 30s 1 128 Any 16 Gi0 2 SC U6 S7 H 30s 1 128 Any 16 This is an example of output from the show pagp 1 neighbor command Switch show pagp 1 neighbor Flags S Device is sending Slow hello C Device is in Consistent state A Device is i...

Page 377: ...ory Usage Guidelines 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 policy map command Switch show policy map Policy Map videowizard_policy2 class videowizard_10 10 10 10 set dscp 34 police 100000000 2000000 exceed action drop Policy Map m...

Page 378: ...and Reference OL 19055 01 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 ...

Page 379: ... a reload The numbers displayed for each template represent an approximate maximum number for each feature resource The actual number might vary depending on the actual number of other features configured 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 access Optional Display the template th...

Page 380: ...his level of features for 8 routed interfaces and 1024 VLANs number of unicast mac addresses 4K number of IPv4 IGMP groups multicast routes 1K number of IPv4 unicast routes 6K number of directly connected IPv4 hosts 4K number of indirect IPv4 routes 2K number of IPv4 policy based routing aces 0 5K number of IPv4 MAC qos aces 0 5K number of IPv4 MAC security aces 2K This is an example of output fro...

Page 381: ... example of output from the show sdm prefer command when you have configured a new template but have not reloaded the switch Switch show sdm prefer The current template is desktop routing template The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 1024 VLANs number of unicast mac addresses 3K number of igmp groups multicast rou...

Page 382: ...eged EXEC Command History Examples This is an example of output from the show setup express command Switch show setup express express setup mode is active Related Commands 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 expression Exp...

Page 383: ...rootcost state begin exclude include expression show spanning tree mst configuration digest instance id detail interface interface id detail begin exclude include expression Syntax Description bridge group Optional Specify the bridge group number The range is 1 to 255 active detail Optional Display spanning tree information only on active interfaces available only in privileged EXEC mode backbonef...

Page 384: ...turns to the forwarding state or ceases to be designated instance id You can specify a single instance ID a range of IDs separated by a hyphen or a series of IDs separated by a comma The range is 1 to 4094 The display shows the number of currently configured instances interface interface id Optional Valid interfaces include physical ports VLANs and port channels The VLAN range is 1 to 4094 The por...

Page 385: ...face Role Sts Cost Prio Nbr Type Gi0 1 Root FWD 3019 128 24 P2p output truncated This is an example of output from the show spanning tree detail command Switch show spanning tree detail VLAN0001 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 49152 sysid 1 address 0003 fd63 9580 Configured hello time 2 max age 20 forward delay 15 Current root has priority 327...

Page 386: ...in pvst mode Root bridge for none EtherChannel misconfiguration guard is enabled Extended system ID is enabled Portfast is disabled by default PortFast BPDU Guard is disabled by default Portfast BPDU Filter is disabled by default Loopguard is disabled by default UplinkFast is enabled BackboneFast is enabled Pathcost method used is short Name Blocking Listening Learning Forwarding STP Active VLAN00...

Page 387: ...68 sysid 0 port Gi0 1 path cost 200038 IST master this switch Operational hello time 2 forward delay 15 max age 20 max hops 20 Configured hello time 2 forward delay 15 max age 20 max hops 20 Interface role state cost prio type GigabitEthernet0 1 root FWD 200000 128 P2P bound STP GigabitEthernet0 2 desg FWD 200000 128 P2P bound STP Port channel1 desg FWD 200000 128 P2P bound STP Related Commands Co...

Page 388: ...hops Sets the number of hops in an MST region before the BPDU is discarded and the information held for an interface is aged spanning tree mst port priority Configures an interface priority spanning tree mst priority Configures the switch priority for the specified spanning tree instance spanning tree mst root Configures the MST root switch priority and timers based on the network diameter spannin...

Page 389: ...t the MTU values see the system mtu command 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 system mtu command Switch show system mtu System MTU size is 1500 bytes System Jumbo MTU size is 1550 bytes Routing MTU size is 1500 bytes Related C...

Page 390: ...onal Table 2 21 describes the fields in this display Switch show udld gigabitethernet0 1 Interface gi0 1 Port enable administrative configuration setting Follows device default Port enable operational state Enabled Current bidirectional state Bidirectional Current operational state Advertisement Single Neighbor detected Message interval 60 Time out interval 5 Entry 1 Expiration time 146 Device ID ...

Page 391: ... from the local device Measured in seconds Time out interval The time period in seconds that UDLD waits for echoes from a neighbor device during the detection window Entry 1 Information from the first cache entry which contains a copy of echo information received from the neighbor Expiration time The amount of time in seconds remaining before this cache entry is aged out Device ID The neighbor dev...

Page 392: ...on 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 udld reset Resets all interfaces shutdown by UDLD and permits traffic to begin passing through them again ...

Page 393: ...t supported on 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 Image text base 0x00003000 data base 0x01800000 ROM Bootstrap program is C2350 boot loader BOOTLDR C3560E Boot Loader C3560E HBOOT M Version 12 2 lqian v122_44_se_thr ottle 106 switc...

Page 394: ... html If you require further assistance please contact us by sending email to export cisco com cisco WS C2350 48TD PowerPC405 processor with 126976K 4088K bytes of memory Processor board ID FDO1245R0LE Last reset from power on 2 Virtual Ethernet interfaces 1 FastEthernet interface 52 Gigabit Ethernet interfaces 2 Ten Gigabit Ethernet interfaces The password recovery mechanism is enabled 64K bytes ...

Page 395: ...id the range is 1 to 4094 internal usage Optional Display a list of VLANs being used internally by the switch These VLANs are always from the extended range VLAN IDs 1006 to 4094 and you cannot create VLANs with these IDS by using the vlan global configuration command until you remove them from internal use mtu Optional Display a list of VLANs and the minimum and maximum transmission unit MTU size...

Page 396: ...t contain Output appear Examples This is an example of output from the show vlan command Table 2 22 describes the fields in the display Switch show vlan VLAN Name Status Ports 1 default active Gi0 1 Gi0 2 Gi0 3 Gi0 4 Gi0 5 Gi0 6 Gi0 7 Gi0 8 Gi0 9 Gi0 10 Gi0 11 Gi0 12 Gi0 13 Gi0 14 Gi0 15 Gi0 16 Gi0 17 Gi0 18 Gi0 19 Gi0 20 Gi0 21 Gi0 22 Gi0 23 Gi0 24 Gi0 25 Gi0 26 Gi0 27 Gi0 28 Gi0 29 Gi0 30 Gi0 31...

Page 397: ...VLANs 0 Table 2 22 show vlan Command Output Fields Field Description VLAN VLAN number Name Name if configured of the VLAN Status Status of the VLAN active or suspend Ports Ports that belong to the VLAN Type Media type of the VLAN SAID Security association ID value for the VLAN MTU Maximum transmission unit size for the VLAN Parent Parent VLAN if one exists RingNo Ring number for the VLAN if applic...

Page 398: ...AN Name Status Ports 2 VLAN0200 active Gi0 7 Gi0 8 2 VLAN0200 active Gi0 1 Gi0 2 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 2 enet 100002 1500 0 0 Remote SPAN VLAN Disabled Related Commands Command Description switchport mode Configures the VLAN membership mode of a port vlan global configuration Enables VLAN configuration mode where you can configure VLANs 1 to 4094 ...

Page 399: ...the display Switch show vtp counters VTP statistics Summary advertisements received 0 Subset advertisements received 0 Request advertisements received 0 Summary advertisements transmitted 0 Subset advertisements transmitted 0 Request advertisements transmitted 0 Number of config revision errors 0 Number of config digest errors 0 Number of V1 summary errors 0 counters Display the VTP statistics for...

Page 400: ...s switch on its trunk ports Summary advertisements contain the management domain name the configuration revision number the update timestamp and identity the authentication checksum and the number of subset advertisements to follow Subset advertisements transmitted Number of subset advertisements sent by this switch on its trunk ports Subset advertisements contain all the information for one or mo...

Page 401: ...auses the VTP database to become unsynchronized across the network Number of V1 summary errors Number of Version 1 errors Version 1 summary errors increment whenever a switch in VTP V2 mode receives a VTP Version 1 frame These errors mean that at least one neighboring switch is either running VTP Version 1 or VTP Version 2 with V2 mode disabled To solve this problem change the configuration of the...

Page 402: ... advertisements and forwards them on all trunk ports except the one on which the advertisement was received VTP Domain Name Name that identifies the administrative domain for the switch VTP Pruning Mode Displays whether pruning is enabled or disabled Enabling pruning on a VTP server enables pruning for the entire management domain Pruning restricts flooded traffic to those trunk links that the tra...

Page 403: ...nded or shut down The port must first be a member of an active VLAN before it can be re enabled The shutdown command disables all functions on the specified interface This command also marks the interface as unavailable To see if an interface is disabled use the show interfaces privileged EXEC command An interface that has been shut down is shown as administratively down in the display Examples Th...

Page 404: ...ase The command shuts down local traffic but the switch still advertises VTP information Examples This example shows how to shut down traffic on VLAN 2 Switch config shutdown vlan 2 You can verify your setting by entering the show vlan privileged EXEC command Related Commands vlan id ID of the VLAN to be locally shut down The range is 2 to 1001 VLANs defined as default VLANs under the VLAN Trunkin...

Page 405: ...es are considered packets that are 67 frames or less Use the errdisable detect cause small frame global configuration command to globally enable the small frames threshold for each port You can configure the port to be automatically re enabled by using the errdisable recovery cause small frame global configuration command You configure the recovery time by using the errdisable recovery interval in...

Page 406: ... 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 errdisable recovery cause small frame Enables the recovery timer show interfaces Displays the interface settings on the switch including input and output flow control ...

Page 407: ...val fru ctrl rep snmp authentication coldstart linkdown linkup warmstart storm control trap rate value stpx inconsistency root inconsistency loop inconsistency syslog transceiver tty vlan membership vlancreate vlandelete vtp Syntax Description bridge newroot topologychange Optional Generate STP bridge MIB traps The keywords have these meanings newroot Optional Enable SNMP STP Bridge MIB new root t...

Page 408: ...ion coldstart linkdown linkup warmstart Optional Enable SNMP traps The keywords have these meanings authentication Optional Enable authentication trap coldstart Optional Enable cold start trap linkdown Optional Enable linkdown trap linkup Optional Enable linkup trap warmstart Optional Enable warmstart trap storm control trap rate value Optional Enable storm control traps Use the trap rate keyword ...

Page 409: ...e snmp server enable traps command for each trap type Examples This example shows how to send VTP traps to the NMS Switch config snmp server enable traps vtp You can verify your setting by entering the show vtp status or the show running config privileged EXEC command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description show running config Displays the o...

Page 410: ...d the traps These keywords are supported 1 SNMPv1 This option is not available with informs 2c SNMPv2C 3 SNMPv3 These optional keywords can follow the Version 3 keyword auth Optional Enables Message Digest 5 MD5 and Secure Hash Algorithm SHA packet authentication noauth Default The noAuthNoPriv security level This is the default if the auth noauth priv keyword choice is not specified priv Optional...

Page 411: ...one or more of the these keywords bridge Send SNMP Spanning Tree Protocol STP bridge MIB traps cluster Send cluster member status traps config Send SNMP configuration traps copy config Send SNMP copy configuration traps entity Send SNMP entity traps envmon Send environmental monitor traps flash Send SNMP FLASH notifications fru ctrl Send entity FRU control traps snmp Send SNMP type traps storm con...

Page 412: ... succeeding command overwrites the previous command Only the last snmp server host command is in effect For example if you enter an snmp server host inform command for a host and then enter another snmp server host inform command for the same host the second command replaces the first The snmp server host command is used with the snmp server enable traps global configuration command Use the snmp s...

Page 413: ...he 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 snmp server enable traps Enables SNMP notification for various trap types or inform requests ...

Page 414: ...Usage Guidelines Even though you enable the notification trap for a specific interface by using the snmp trap mac notification command the trap is generated only when you enable the snmp server enable traps mac notification and the mac address table notification global configuration commands Examples This example shows how to enable the MAC notification trap when a MAC address is added to a port S...

Page 415: ...Reference OL 19055 01 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 ...

Page 416: ... designated switch When a switch receives an inferior BPDU it means that a link to which the switch is not directly connected an indirect link has failed that is the designated switch has lost its connection to the root switch If there are alternate paths to the root switch BackboneFast causes the maximum aging time on the interfaces on which it received the inferior BPDU to expire and allows a bl...

Page 417: ...e MST mode Caution Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning tree loops You can globally enable BPDU filtering on all Port Fast enabled interfaces by using the spanning tree portfast bpdufilter default global configuration command You can use the spanning tree bpdufilter interface configuration command to override the setting of...

Page 418: ... 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 spanning tree portfast global configuration Globally enables the BPDU filtering or the BPDU guard feature on Port Fast enabled interface or enables the Port Fast feature on all nontrunking interfaces spanning tree por...

Page 419: ... an interface from being included in the spanning tree topology You can enable the BPDU guard feature when the switch is operating in the per VLAN spanning tree plus PVST rapid PVST or the multiple spanning tree MST mode You can globally enable BPDU guard on all Port Fast enabled interfaces by using the spanning tree portfast bpduguard default global configuration command You can use the spanning ...

Page 420: ...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 spanning tree portfast global configuration Globally enables the BPDU filtering or the BPDU guard feature on Port Fast enabled interfaces or enables the Port Fast feature on all nontrunking interfaces spanning tree por...

Page 421: ...s represent higher costs If you configure an interface with both the spanning tree vlan vlan id cost cost command and the spanning tree cost cost command the spanning tree vlan vlan id cost cost command takes effect Examples This example shows how to set the path cost to 250 on a port Switch config interface gigabitethernet0 1 Switch config if spanning tree cost 250 This example shows how to set a...

Page 422: ...g tree cost Related Commands Command Description show spanning tree interface interface id Displays spanning tree information for the specified interface spanning tree port priority Configures an interface priority spanning tree vlan priority Sets the switch priority for the specified spanning tree instance ...

Page 423: ...ABLE Channel misconfig error detected on chars putting chars in err disable state To show switch ports that are in the misconfigured EtherChannel use the show interfaces status err disabled privileged EXEC command To verify the EtherChannel configuration on a remote device use the show etherchannel summary privileged EXEC command on the remote device When a port is in the error disabled state beca...

Page 424: ...nds Command Description errdisable recovery cause channel misconfig Enables the timer to recover from the EtherChannel misconfiguration error disabled state show etherchannel summary Displays EtherChannel information for a channel as a one line summary per channel group show interfaces status err disabled Displays the interfaces in the error disabled state ...

Page 425: ...system ID VLAN identifier for the per VLAN spanning tree plus PVST and rapid PVST or as an instance identifier for the multiple spanning tree MST The spanning tree uses the extended system ID the switch priority and the allocated spanning tree MAC address to make the bridge ID unique for each VLAN or multiple spanning tree instance Support for the extended system ID affects how you manually config...

Page 426: ...ystem 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 spanning tree vlan priority Sets the switch priority for the specified spanning tree instance ...

Page 427: ...g tree MST mode When root guard is enabled if spanning tree calculations cause an interface to be selected as the root port the interface transitions to the root inconsistent blocked state to prevent the customer s switch from becoming the root switch or being in the path to the root The root port provides the best path from the switch to the root switch When the no spanning tree guard or the no s...

Page 428: ...face gigabitethernet0 2 Switch config if spanning tree guard root This example shows how to enable loop guard on all the VLANs associated with the specified port Switch config interface gigabitethernet0 2 Switch config if spanning tree guard loop You can verify your settings by entering the show running config privileged EXEC command Related Commands Command Description show running config Display...

Page 429: ...ration Command History Usage Guidelines You can override the default setting of the link type by using the spanning tree link type command For example a half duplex link can be physically connected point to point to a single interface on a remote switch running the Multiple Spanning Tree Protocol MSTP or the rapid per VLAN spanning tree plus rapid PVST protocol and be enabled for rapid transitions...

Page 430: ...ng 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 interface id Displays spanning tree state information for the specified interface show spanning tree mst interface interface id Displays MST information for the specified interface ...

Page 431: ...effective when it is configured on the entire switched network When the switch is operating in PVST or rapid PVST mode loop guard prevents alternate and root ports from becoming designated ports and spanning tree does not send bridge protocol data units BPDUs on root or alternate ports When the switch is operating in MST mode BPDUs are not sent on nonboundary interfaces if the interface is blocked...

Page 432: ...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 spanning tree guard loop Enables the loop guard feature on all the VLANs associated with the specified interf...

Page 433: ... at any time All VLANs run PVST all VLANs run rapid PVST or all VLANs run MSTP When you enable the MST mode RSTP is automatically enabled Caution Changing spanning tree modes can disrupt traffic because all spanning tree instances are stopped for the previous mode and restarted in the new mode Examples This example shows to enable MST and RSTP on the switch Switch config spanning tree mode mst Thi...

Page 434: ...mand 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 ...

Page 435: ...le abort exits the MST region configuration mode without applying configuration changes exit exits the MST region configuration mode and applies all configuration changes instance instance id vlan vlan range maps VLANs to an MST instance The range for the instance id is 1 to 4094 The range for vlan range is 1 to 4094 You can specify a single VLAN identified by VLAN ID number a range of VLANs separ...

Page 436: ...de map VLANs 10 to 20 to MST instance 1 name the region region1 set the configuration revision to 1 display the pending configuration apply the changes and return to global configuration mode Switch spanning tree mst configuration Switch config mst instance 1 vlan 10 20 Switch config mst name region1 Switch config mst revision 1 Switch config mst show pending Pending MST configuration Name region1...

Page 437: ...IEEE default path cost values 1000 Mb s 20000 100 Mb s 200000 10 Mb s 2000000 Command Modes Interface configuration Command History Usage Guidelines When you configure the cost higher values represent higher costs Examples This example shows how to set a path cost of 250 on a port associated with instances 2 and 4 Switch config interface gigabitethernet0 2 Switch config if spanning tree mst 2 4 co...

Page 438: ...ree mst cost Related Commands Command Description show spanning tree mst interface interface id Displays MST information for the specified interface spanning tree mst port priority Configures an interface priority spanning tree mst priority Configures the switch priority for the specified spanning tree instance ...

Page 439: ...ng the spanning tree mst forward time command affects all spanning tree instances Examples This example shows how to set the spanning tree forwarding time to 18 seconds for all MST instances Switch config spanning tree mst forward time 18 You can verify your setting by entering the show spanning tree mst privileged EXEC command Related Commands seconds Length of the listening and learning states T...

Page 440: ...the spanning tree topology The max age setting must be greater than the hello time setting Changing the spanning tree mst hello time command affects all spanning tree instances Examples This example shows how to set the spanning tree hello time to 3 seconds for all multiple spanning tree MST instances Switch config spanning tree mst hello time 3 You can verify your setting by entering the show spa...

Page 441: ...root switch within the specified interval the switch recomputes the spanning tree topology The max age setting must be greater than the hello time setting Changing the spanning tree mst max age command affects all spanning tree instances Examples This example shows how to set the spanning tree max age to 30 seconds for all multiple spanning tree MST instances Switch config spanning tree mst max ag...

Page 442: ...remented count as the remaining hop count in the generated M records A switch discards the BPDU and ages the information held for the interface when the count reaches 0 Changing the spanning tree mst max hops command affects all spanning tree instances Examples This example shows how to set the spanning tree max hops to 10 for all multiple spanning tree MST instances Switch config spanning tree ms...

Page 443: ...nning tree MST puts the interface with the lowest interface number in the forwarding state and blocks other interfaces Examples This example shows how to increase the likelihood that the interface associated with spanning tree instances 20 and 22 is placed into the forwarding state if a loop occurs Switch config interface gigabitethernet0 2 Switch config if spanning tree mst 20 22 port priority 0 ...

Page 444: ... 01 Chapter 2 Catalyst 2350 Cisco IOS Commands spanning tree mst port priority 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 Command Description ...

Page 445: ...IST runs on this interface Note If a switch port is connected to a switch running prestandard Cisco IOS software you must use the spanning tree mst pre standard interface configuration command on the port If you do not configure the port to send only prestandard BPDUs the Multiple STP MSTP performance might diminish When the port is configured to automatically detect prestandard neighbors the pres...

Page 446: ...mst instance id privileged EXEC command Related Commands instance id Range of spanning tree instances You can specify a single instance a range of instances separated by a hyphen or a series of instances separated by a comma The range is 0 to 4094 priority Set the switch priority for the specified spanning tree instance This setting affects the likelihood that the switch is selected as the root sw...

Page 447: ...ended system ID support the switch sets the switch priority for the instance to 24576 if this value will cause this switch to become the root for the specified instance If any root switch for the specified instance has a switch priority lower than 24576 the switch sets its own priority to 4096 less than the lowest switch priority 4096 is the value of the least significant bit of a 4 bit switch pri...

Page 448: ... spanning tree mst 10 root primary diameter 4 This example shows how to configure the switch as the secondary root switch for instance 10 with a network diameter of 4 Switch config spanning tree mst 10 root secondary diameter 4 You can verify your settings by entering the show spanning tree mst instance id privileged EXEC command Related Commands Command Description show spanning tree mst instance...

Page 449: ...nstance associated with VLAN 1 You can set the priority on a VLAN that has no interfaces assigned to it The setting takes effect when you assign the interface to the VLAN If you configure an interface with both the spanning tree vlan vlan id port priority priority command and the spanning tree port priority priority command the spanning tree vlan vlan id port priority priority command takes effect...

Page 450: ... 0 This example shows how to set the port priority value on VLANs 20 to 25 Switch config if spanning tree vlan 20 25 port priority 0 You can verify your settings by entering the show spanning tree interface interface id privileged EXEC command Related Commands Command Description show spanning tree interface interface id Displays spanning tree information for the specified interface spanning tree ...

Page 451: ...tiple spanning tree MST mode Use the spanning tree portfast bpdufilter default global configuration command to globally enable BPDU filtering on interfaces that are Port Fast enabled the interfaces are in a Port Fast operational state The interfaces still send a few BPDUs at link up before the switch begins to filter outbound BPDUs You should globally enable BPDU filtering on a switch so that host...

Page 452: ... command Use the spanning tree portfast default global configuration command to globally enable the Port Fast feature on all nontrunking interfaces Configure Port Fast only on interfaces that connect to end stations otherwise an accidental topology loop could cause a data packet loop and disrupt switch and network operation A Port Fast enabled interface moves directly to the spanning tree forwardi...

Page 453: ...e 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 spanning tree bpdufilter Prevents an interface from sending or receiving BPDUs spanning tree bpduguard Puts an interface in the error disabled state when it receives a BPDU spanning tree portfa...

Page 454: ...rk operation To enable Port Fast on trunk ports you must use the spanning tree portfast trunk interface configuration command The spanning tree portfast command is not supported on trunk ports You can enable this feature when the switch is operating in the per VLAN spanning tree plus PVST rapid PVST or the multiple spanning tree MST mode This feature affects all VLANs on the interface An interface...

Page 455: ...figuration 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 spanning tree bpdufilter Prevents an interface from sending or receiving bridge protocol data units BPDUs spanning tree bp...

Page 456: ... Guidelines Increasing the transmit hold count value can have a significant impact on CPU utilization when the switch is in rapid per VLAN spanning tree plus rapid PVST mode Decreasing this value might slow down convergence We recommend using the default setting Examples This example shows how to set the transmit hold count to 8 Switch config spanning tree transmit hold count 8 You can verify your...

Page 457: ... it is enabled for the entire switch and cannot be enabled for individual VLANs When UplinkFast is enabled the switch priority of all VLANs is set to 49152 If you change the path cost to a value less than 3000 and you enable UplinkFast or UplinkFast is already enabled the path cost of all interfaces and VLAN trunks is increased by 3000 if you change the path cost to 3000 or above the path cost is ...

Page 458: ...n the root inconsistent state blocked and prevented from reaching the forwarding state If you set the max update rate to 0 station learning frames are not generated so the spanning tree topology converges more slowly after a loss of connectivity Examples This example shows how to enable UplinkFast Switch config spanning tree uplinkfast You can verify your setting by entering the show spanning tree...

Page 459: ...he forwarding time specifies how long each of the listening and learning states last before the interface begins forwarding The range is 4 to 30 seconds hello time seconds Optional Set the interval between hello bridge protocol data units BPDUs sent by the root switch configuration messages The range is 1 to 10 seconds max age seconds Optional Set the interval between messages the spanning tree re...

Page 460: ... be used only on backbone switches When you enter the spanning tree vlan vlan id root command the software checks the switch priority of the current root switch for each VLAN Because of the extended system ID support the switch sets the switch priority for the specified VLAN to 24576 if this value will cause this switch to become the root for the specified VLAN If any root switch for the specified...

Page 461: ...t switch for VLAN 10 with a network diameter of 4 Switch config spanning tree vlan 10 root secondary diameter 4 You can verify your settings by entering the show spanning tree vlan vlan id privileged EXEC command Related Commands Command Description show spanning tree vlan Displays spanning tree information spanning tree cost Sets the path cost for spanning tree calculations spanning tree guard En...

Page 462: ...nd then forces the speed setting to the negotiated value The duplex setting remains as configured on each end of the link which could result in a duplex setting mismatch If both ends of the line support autonegotiation we highly recommend the default autonegotiation settings If one interface supports autonegotiation and the other end does not do use the auto setting on the supported side but set t...

Page 463: ... config if speed 100 This example shows how to set a port to autonegotiate at only 10 Mb s Switch config interface gigabitethernet0 18 Switch config if speed auto 10 This example shows how to set a port to autonegotiate at only 10 or 100 Mb s Switch config interface gigabitethernet0 17 Switch config if speed auto 10 100 You can verify your settings by entering the show interfaces privileged EXEC c...

Page 464: ...t of the time The line rate drops to 80 percent of the connected speed These values are not exact because the hardware adjusts the line rate in increments of six Note The egress queue default settings are suitable for most situations You should change them only when you have a thorough understanding of the egress queues and if these settings do not meet your quality of service QoS solution Example...

Page 465: ...s Code Point DSCP values to an egress queue or maps DSCP values to a queue and to a threshold ID mls qos queue set output threshold Configures the weighted tail drop WTD thresholds guarantees the availability of buffers and configures the maximum memory allocation for the queue set queue set Maps a port to a queue set show mls qos interface queueing Displays QoS information srr queue bandwidth sha...

Page 466: ...ursty traffic or to provide a smoother output over time The shaped mode overrides the shared mode If you configure a shaped queue weight to 0 by using the srr queue bandwidth shape interface configuration command this queue participates in shared mode The weight specified with the srr queue bandwidth shape command is ignored and the weights specified with the srr queue bandwidth share interface co...

Page 467: ...r queue bandwidth share 4 4 4 4 You can verify your settings by entering the show mls qos interface interface id queueing privileged EXEC command Related Commands Command Description mls qos queue set output buffers Allocates buffers to a queue set mls qos srr queue output cos map Maps class of service CoS values to an egress queue or maps CoS values to a queue and to a threshold ID mls qos srr qu...

Page 468: ...dth is guaranteed at this level but not limited to it For example if a queue empties and does not require a share of the link the remaining queues can expand into the unused bandwidth and share it among themselves If you configure a shaped queue weight to 0 by using the srr queue bandwidth shape interface configuration command this queue participates in SRR shared mode The weight specified with th...

Page 469: ...qos interface interface id queueing privileged EXEC command Related Commands Command Description mls qos queue set output buffers Allocates buffers to a queue set mls qos srr queue output cos map Maps class of service CoS values to an egress queue or maps CoS values to a queue and to a threshold ID mls qos srr queue output dscp map Maps Differentiated Services Code Point DSCP values to an egress q...

Page 470: ...access mode before the switchport access vlan command can take effect An access port can be assigned to only one VLAN Examples This example shows how to change a switched port interface that is operating in access mode to operate in VLAN 2 instead of the default VLAN Switch config if switchport access vlan 2 You can verify your setting by entering the show interfaces interface id switchport privil...

Page 471: ...ng You can use the switchport autostate exclude command to exclude a port from the SVI interface line state up or down calculation For example you might exclude a monitoring port from the calculations so that the VLAN is not considered up when only the monitoring port is active When you enter the switchport autostate exclude command on a port the command applies to all VLANs that are enabled on th...

Page 472: ...ative private vlan trunk associations none Administrative private vlan trunk mappings none Operational private vlan none Trunking VLANs Enabled ALL Pruning VLANs Enabled 2 1001 Capture Mode Disabled Capture VLANs Allowed ALL Autostate mode exclude Related Commands Command Description show interfaces interface id switchport Displays the administrative and operational status of a switching nonroutin...

Page 473: ...cause spanning tree Port Fast is enabled you should enter the switchport host command only on ports that are connected to a single host Connecting other switches hubs concentrators or bridges to a fast start port can cause temporary spanning tree loops Enable the switchport host command to decrease the time that it takes to start up packet forwarding Examples This example shows how to optimize the...

Page 474: ... connecting to it does not agree to the change When you enter dynamic auto mode the interface converts the link to a trunk link if the neighboring interface is set to trunk or desirable mode When you enter dynamic desirable mode the interface becomes a trunk interface if the neighboring interface is set to trunk desirable or auto mode access Set the port to access mode either static access or dyna...

Page 475: ...o not generate DTP frames Access ports and trunk ports are mutually exclusive Examples This example shows how to configure a port for access mode Switch config interface gigabitethernet0 1 Switch config if switchport mode access This example shows how set the port to dynamic desirable mode Switch config interface gigabitethernet2 0 1 Switch config if switchport mode dynamic desirable This example ...

Page 476: ...ing the switchport mode access or the switchport mode trunk interface configuration command This command returns an error if you attempt to execute it in dynamic auto or desirable mode Internetworking devices that do not support DTP might forward DTP frames improperly and cause misconfigurations To avoid this you should turn off DTP by using the switchport no negotiate command to configure the int...

Page 477: ...the mode set Switch config interface gigabitethernet0 1 Switch config if switchport nonegotiate You can verify your setting by entering the show interfaces interface id switchport privileged EXEC command Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching nonrouting port including port blocking and port protection settin...

Page 478: ...utive VLAN IDs with a comma use a hyphen to designate a range of IDs remove removes the defined list of VLANs from those currently set instead of replacing the list Valid IDs are from 1 to 1005 extended range VLAN IDs are valid in some cases Note You can remove extended range VLANs from the allowed VLAN list but you cannot remove them from the pruning eligible list Separate nonconsecutive VLAN IDs...

Page 479: ... 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 The no form of the allowed vlan command resets the list to the default list which allows all VLANs Trunk pruning The pruning eligible li...

Page 480: ...rnet0 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 Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching nonrouting port including port blocking and port protection settings switchport mode Config...

Page 481: ...lue global configuration command to specify the difference between the yellow and red thresholds and to configure the yellow threshold For example if the red threshold is 66 degrees C and you want to configure the yellow threshold as 51 degrees C set the difference between the thresholds as 15 by using the system env temperature threshold yellow 15 command Note The internal temperature sensor in t...

Page 482: ...ommand Reference OL 19055 01 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 ...

Page 483: ...mbo bytes command to change the system jumbo MTU size you must reset the switch before the new configuration takes effect The system MTU setting is saved in the switch environmental variable in NVRAM and becomes effective when the switch reloads 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 runn...

Page 484: ...e 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 Related Commands Command Description show system mtu Displays the packet size set for Gigabit Ethernet and 10 Gigabit Ethernet ports ...

Page 485: ...ast source or destination MAC address the physical path is not identified and an error message appears The traceroute mac command output shows the Layer 2 path when the specified source and destination addresses belong to the same VLAN If you specify source and destination addresses that belong to different VLANs the Layer 2 path is not identified and an error message appears If the source or dest...

Page 486: ...2 6 6 Gi0 2 auto auto Gi0 3 auto auto con5 WS C2950G 24 EI 2 2 5 5 Fa0 3 auto auto Gi0 1 auto auto con1 WS C3550 12G 2 2 1 1 Gi0 1 auto auto Gi0 2 auto auto con2 WS C3550 24 2 2 2 2 Gi0 2 auto auto Fa0 1 auto auto Destination 0000 0201 0201 found on con2 WS C3550 24 2 2 2 2 Layer 2 trace completed This example shows how to display the Layer 2 path by specifying the interfaces on the source and des...

Page 487: ...00 0301 0201 Error Source and destination macs are on different vlans Layer2 trace aborted This example shows the Layer 2 path when the destination MAC address is a multicast address Switch traceroute mac 0000 0201 0601 0100 0201 0201 Invalid destination mac address This example shows the Layer 2 path when source and destination switches belong to multiple VLANs Switch traceroute mac 0000 0201 060...

Page 488: ...route mac ip command output shows the Layer 2 path when the specified source and destination IP addresses are in the same subnet When you specify the IP addresses the switch uses Address Resolution Protocol ARP to associate the IP addresses with the corresponding MAC addresses and the VLAN IDs If an ARP entry exists for the specified IP address the switch uses the associated MAC address and identi...

Page 489: ...4 EI 2 2 5 5 Fa0 3 auto auto Gi0 1 auto auto con1 WS C3550 12G 2 2 1 1 Gi0 1 auto auto Gi0 2 auto auto con2 WS C3550 24 2 2 2 2 Gi0 2 auto auto Fa0 1 auto auto Destination 0000 0201 0201 found on con2 WS C3550 24 2 2 2 2 Layer 2 trace completed This example shows how to display the Layer 2 path by specifying the source and destination hostnames Switch traceroute mac ip con6 con2 Translating IP to ...

Page 490: ...nfiguration command within the same policy map If you specify trust cos QoS uses the received or default port CoS value and the CoS to DSCP map to generate a DSCP value for the packet If you specify trust dscp QoS uses the DSCP value from the ingress packet 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 In...

Page 491: ...to trust incoming DSCP values for traffic classified with class1 Switch config policy map policy1 Switch config pmap class class1 Switch config pmap c trust dscp Switch config pmap c police 1000000 20000 exceed action policed dscp transmit Switch config pmap c exit You can verify your settings by entering the show policy map privileged EXEC command Related Commands Command Description class Define...

Page 492: ...and aggressive modes see the Understanding UDLD section in the software configuration guide for this release If you change the message time between probe packets you are making a trade off between the detection speed and the CPU load By decreasing the time you can make the detection response faster but increase the load on the CPU This command affects fiber optic interfaces only Use the udld inter...

Page 493: ...ally recover from the UDLD error disabled state Examples This example shows how to enable UDLD on all fiber optic interfaces Switch config udld enable You can verify your setting by entering the show udld privileged EXEC command Related Commands Command Description show udld Displays UDLD administrative and operational status for all ports or the specified port udld port Enables UDLD on an individ...

Page 494: ...ion normal the default and aggressive In normal mode UDLD detects unidirectional links due to misconnected interfaces on fiber optic connections In aggressive mode UDLD also detects unidirectional links due to one way traffic on fiber optic and twisted pair links and due to misconnected interfaces on fiber optic links For information about normal and aggressive modes see the Configuring UDLD chapt...

Page 495: ...le UDLD on an port Switch config interface gigabitethernet0 1 Switch config if udld port This example shows how to disable UDLD on a fiber optic interface despite the setting of the udld global configuration command Switch config interface gigabitethernet0 1 Switch config if no udld port You can verify your settings by entering the show running config or the show udld interface privileged EXEC com...

Page 496: ...ples This example shows how to reset all interfaces disabled by UDLD Switch udld reset 1 ports shutdown by UDLD were reset You can verify your setting by entering the show udld privileged EXEC command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description show running config Displays the operating configuration For syntax information use this link to the C...

Page 497: ...mand to put the switch in VTP transparent mode Extended range VLANs are not learned by VTP and are not added to the VLAN database but when VTP mode is transparent VTP mode and domain name and all VLAN configurations are saved in the running configuration and you can save them in the switch startup configuration file When you save the VLAN and VTP configurations in the startup configuration file an...

Page 498: ...ode for this VLAN disable backup CRF mode for this VLAN the default bridge bridge number type specifies the logical distributed source routing bridge the bridge that interconnects all logical rings having this VLAN as a parent VLAN in FDDI NET Token Ring NET and TrBRF VLANs The range is 0 to 15 The default bridge number is 0 no source routing bridge for FDDI NET TrBRF and Token Ring NET VLANs The ...

Page 499: ... 802 10 The range is 1 to 4294967294 and the number must be unique within the administrative domain The default value is 100000 plus the VLAN ID number shutdown shuts down VLAN switching on the VLAN This command takes effect immediately Other commands take effect when you exit config vlan mode state specifies the VLAN state active means the VLAN is operational the default suspend means the VLAN is...

Page 500: ...T VTP v1 mode is enabled name vlan name media tr net state suspend active said said value mtu mtu size bridge bridge number stp type ieee ibm tb vlan1 tb vlan1 id tb vlan2 tb vlan2 id Token Ring bridge relay function TrBRF VTP v2 mode is enabled name vlan name media tr 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...

Page 501: ...parent Switch config vlan 2000 Switch config vlan end Switch copy running config startup config You can verify your setting by entering the show vlan privileged EXEC command Related Commands VTP v1 mode is enabled No VLAN can have an STP type set to auto This rule applies to Ethernet FDDI FDDI NET Token Ring and Token Ring NET VLANs Add a VLAN that requires translational bridging values are not se...

Page 502: ... You cannot configure VLANs on the switch When a VTP client starts up it does not send VTP advertisements until it receives advertisements to initialize its VLAN database server Place the switch in VTP server mode A switch in VTP server mode is enabled for VTP and sends advertisements You can configure VLANs on the switch The switch can recover all the VLAN information in the current VTP database ...

Page 503: ...nfiguration for the first 1005 VLANs are selected by VLAN database information and VLANs greater than 1005 are configured from the switch configuration file The vtp file filename cannot be used to load a new database it renames only the file in which the existing database is stored Follow these guidelines when configuring a VTP domain name The switch is in the no management domain state until you ...

Page 504: ... extended range VLANs are configured on the switch and you attempt to set the VTP mode to server or client you receive an error message and the configuration is not allowed VTP can be set to either server or client mode only when dynamic VLAN creation is disabled Follow these guidelines when setting a VTP password Passwords are case sensitive Passwords should match on all switches in the same doma...

Page 505: ...ame of the interface providing the VTP updater ID for this device Switch config vtp interface gigabitethernet This example shows how to set the administrative domain for the switch Switch config vtp domain OurDomainName This example shows how to place the switch in VTP transparent mode Switch config vtp mode transparent This example shows how to configure the VTP domain password Switch config vtp ...

Page 506: ...ord can be an ASCII string from 1 to 32 characters The password is case sensitive pruning Enable pruning in the VTP administrative domain VTP pruning causes information about each pruning eligible VLAN to be removed from VTP updates if there are no stations belonging to that VLAN v2 mode Enable VLAN Trunking Protocol VTP Version 2 in the administrative domains client Place the switch in VTP client...

Page 507: ...tion changes on a switch in server mode If the receiving switch is in server mode or transparent mode the switch configuration is not changed Switches in transparent mode do not participate in VTP If you make VTP or VLAN configuration changes on a switch in transparent mode the changes are not propagated to other switches in the network If you make a change to the VTP or VLAN configuration on a sw...

Page 508: ...hould match on all switches in the same domain When the no vtp password form of the command is used the switch returns to the no password state Follow these guidelines when enabling VTP pruning If you enable pruning on the VTP server it is enabled for the entire management domain Only VLANs included in the pruning eligible list can be pruned Pruning is supported with VTP Version 1 and Version 2 Fo...

Page 509: ... private Setting device VLAN database password to private This example shows how to enable pruning in the proposed new VLAN database Switch vlan vtp pruning Pruning switched ON This example shows how to enable v2 mode in the proposed new VLAN database Switch vlan vtp v2 mode V2 mode enabled You can verify your settings by entering the show vtp status privileged EXEC command Related Commands Comman...

Page 510: ...2 486 Catalyst 2350 Switch Command Reference OL 19055 01 Chapter 2 Catalyst 2350 Cisco IOS Commands vtp VLAN configuration ...

Page 511: ...and then entering a new password The password recovery disable feature allows the system administrator to protect access to the switch password by disabling part of this functionality and allowing the user to interrupt the boot process only by agreeing to set the system back to the default configuration With password recovery disabled the user can still interrupt the boot process and change the pa...

Page 512: ...ss Syntax Description Command Modes Boot loader Command History Usage Guidelines The ARP table has the IP address to MAC address mappings Examples This example shows how to display the ARP table switch arp 172 20 136 8 arp ing 172 20 136 8 172 20 136 8 is at 00 1b 78 d1 25 ae via port 0 ip_address Optional Show the ARP table or the mapping for a specific IP address Release Modification 12 2 46 EY ...

Page 513: ...tion in the BOOT environment variable if any If you supply an image name for the file url variable the boot command attempts to boot the specified image When you set boot loader boot command options they are executed immediately and apply only to the current boot loader session These settings are not saved for the next boot operation Filenames and directory names are case sensitive Examples This e...

Page 514: ...nd Reference OL 19055 01 Appendix A Catalyst 2350 Switch Boot Loader Commands boot Related Commands Command Description set Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command ...

Page 515: ...fo version_suffix universal 122 46 EY version_directory c2350 lanlite mz 122 46 EY image_system_type_id 0x00000002 image_name c2350 lanlite mz 122 46 EY bin ios_image_file_size 8919552 total_image_file_size 11592192 image_feature IP LAYER_3 PLUS MIN_DRAM_MEG 128 image_family C2350 stacking_number 1 34 board_ids 0x00000068 0x00000069 0x0000006a 0x0000006b info_end Related Commands filesystem Alias ...

Page 516: ...ontrol characters spaces deletes slashes quotes semicolons or colons If you are copying a file to a new directory the directory must already exist Examples This example show how to copy a file at the root switch copy flash test1 text flash test4 text File flash test1 text successfully copied to flash test4 text You can verify that the file was copied by entering the dir filesystem boot loader comm...

Page 517: ...ple shows how to delete two files switch delete flash test2 text flash test5 text Are you sure you want to delete flash test2 text y n y File flash test2 text deleted Are you sure you want to delete flash test5 text y n y File flash test2 text deleted You can verify that the files were deleted by entering the dir flash boot loader command Related Commands filesystem Alias for a flash file system U...

Page 518: ...68 Feb 01 2002 23 11 42 html 16 rwx 1037 Feb 01 2002 00 01 11 config text 14 rwx 1099 Feb 01 2002 01 14 05 homepage htm 22 rwx 96 Feb 01 2002 00 01 39 system_env_vars 17 drwx 192 Feb 06 2002 23 22 03 c2350 lanlite mz 122 46 EY 15998976 bytes total 6397440 bytes free Table A 1 describes the fields in the display filesystem Alias for a flash file system Use flash for the system board flash device fi...

Page 519: ... Catalyst 2350 Switch Boot Loader Commands dir Related Commands date Last modification date env_vars Filename Table A 1 dir Field Descriptions continued Field Description Command Description mkdir Creates one or more directories rmdir Removes one or more directories ...

Page 520: ...ts or keywords Defaults The flash file system is automatically initialized during normal system operation Command Modes Boot loader Command History Usage Guidelines During the normal boot process the flash file system is automatically initialized Use this command to manually initialize the flash file system For example you use this command during the recovery procedure for a lost or forgotten pass...

Page 521: ...em and destroy all data in that file system format filesystem Syntax Description Command Modes Boot loader Command History Usage Guidelines Caution Use this command with care it destroys all data on the file system and renders your system unusable filesystem Alias for a flash file system Use flash for the system board flash device Release Modification 12 2 46 EY This command was introduced ...

Page 522: ...nd then reconnect the power Examples This example shows how to perform an extensive file system check on flash memory switch fsck test flash test Optional Initialize the file system code and perform extra POST on flash memory An extensive nondestructive memory test is performed on every byte that makes up the file system f Optional Initialize the file system code and perform a fast file consistenc...

Page 523: ...elp boot loader command to display the available commands help Syntax Description This command has no arguments or keywords Command Modes Boot loader Command History Usage Guidelines You can also use the question mark to display a list of available boot loader commands Release Modification 12 2 46 EY This command was introduced ...

Page 524: ...tom heap utilization is 22 percent Top heap utilization is 0 percent Total heap utilization is 22 percent Total bytes 0xa9068 692328 Bytes used 0x26888 157832 Bytes available 0x827e0 534496 Alternate heap utilization is 0 percent Total alternate heap bytes 0x6fd000 7327744 Alternate heap bytes used 0x0 0 Alternate heap bytes available 0x6fd000 7327744 Table A 2 describes the fields in the display ...

Page 525: ... 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 Table A 2 memory Field Descriptions continued Field Description ...

Page 526: ...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 Examples This example shows how to clear the Ethernet management port statistics switch mgmt_clr Release Modification 12 2 46 EY This command was introduced ...

Page 527: ...Ethernet management port mgmt_init Syntax Description This command has no arguments or keywords Command Modes Boot loader Command History Usage Guidelines Use the mgmt_init command only during debugging of the Ethernet management port Examples This example shows how to initialize the Ethernet management port switch mgmt_init Release Modification 12 2 46 EY This command was introduced ...

Page 528: ...mt_show Syntax Description This command has no arguments or keywords Command Modes Boot loader Command History Examples This example shows how to display the Ethernet management port statistics switch mgmt_show Statistics Received Transmitted good frame bytes 60 120 good frames 1 2 bad frames 0 0 dropped frames 0 0 queue overflowed 0 0 memory access errors 0 0 Release Modification 12 2 46 EY This ...

Page 529: ...rectory called Saved_Configs switch mkdir flash Saved_Configs Directory flash Saved_Configs created This example shows how to make two directories switch mkdir flash Saved_Configs1 flash Test Directory flash Saved_Configs1 created Directory flash Test created You can verify that the directory was created by entering the dir filesystem boot loader command Related Commands filesystem Alias for a fla...

Page 530: ...EY info version_suffix lanlite 122 46 EY version_directory c2350 lanlite mz 122 46 EY image_system_type_id 0x00000002 image_name c2350 lanlite mz 122 46 EY bin ios_image_file_size 8919552 total_image_file_size 11592192 image_feature IP LAYER_3 PLUS MIN_DRAM_MEG 128 image_family C230 stacking_number 1 34 board_ids 0x00000068 0x00000069 0x0000006a 0x0000006b info_end Related Commands filesystem Alia...

Page 531: ...olons or colons Filenames are limited to 45 characters the name cannot contain control characters spaces deletes slashes quotes semicolons or colons Examples This example shows a file named config text being renamed to config1 text switch rename flash config text flash config1 text You can verify that the file was renamed by entering the dir filesystem boot loader command Related Commands filesyst...

Page 532: ...ng the processor registers and memory reset Syntax Description This command has no arguments or keywords Command Modes Boot loader Command History Examples This example shows how to reset the system switch reset Are you sure you want to reset the system y n y System resetting Related Commands Release Modification 12 2 46 EY This command was introduced Command Description boot Loads and boots an ex...

Page 533: ... you must first delete all the files in the directory The switch prompts you for confirmation before deleting each directory Examples This example shows how to remove a directory switch rmdir flash Test You can verify that the directory was deleted by entering the dir filesystem boot loader command Related Commands filesystem Alias for a flash file system Use flash for the system board flash devic...

Page 534: ...eak key on the console Valid values are 1 yes on 0 no and off If it is set to 1 yes or on you can interrupt the automatic boot process by pressing the Break key on the console after the flash file system has initialized HELPER filesystem file url A semicolon separated list of loadable files to dynamically load during the boot loader initialization Helper files extend or patch the functionality of ...

Page 535: ...alue Many environment variables are predefined and have default values Command Modes Boot loader Command History Usage Guidelines Environment variables are case sensitive and must be entered as documented Environment variables that have values are stored in flash memory outside of the flash file system Under normal circumstances it is not necessary to alter the setting of the environment variables...

Page 536: ...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 Related Commands Command Description unset Resets one or more environment variables to its previous setting ...

Page 537: ...Y info version_suffix lanlite 122 46 EY version_directory c2350 lanlite mz 122 46 EY image_system_type_id 0x00000002 image_name c2350 lanlite mz 122 46 EY bin ios_image_file_size 8919552 total_image_file_size 11592192 image_feature IP LAYER_3 PLUS MIN_DRAM_MEG 128 image_family C2350 stacking_number 1 34 board_ids 0x00000068 0x00000069 0x0000006a 0x0000006b info_end Related Commands filesystem Alia...

Page 538: ... the first bootable file that it can find in the flash file system ENABLE_BREAK Decides whether the automatic boot process can be interrupted by using the Break key on the console after the flash file system has been initialized HELPER A semicolon separated list of loadable files to dynamically load during the boot loader initialization Helper files extend or patch the functionality of the boot lo...

Page 539: ...The HELPER environment variable can also be reset by using the no boot helper global configuration command The CONFIG_FILE environment variable can also be reset by using the no boot config file global configuration command The HELPER_CONFIG_FILE environment variable can also be reset by using the no boot helper config file global configuration command Examples This example shows how to reset the ...

Page 540: ...oader version version Syntax Description This command has no arguments or keywords Command Modes Boot loader Command History Examples This example shows how to display the boot loader version on a Catalyst 2350 switch switch version C2350 Boot Loader C2350 HBOOT M Version 12 2 46 EY Compiled Wed 21 Feb 02 14 58 by devgoyal Release Modification 12 2 46 EY This command was introduced ...

Page 541: ...only under the guidance of Cisco technical support staff Caution Because debugging output is assigned high priority in the CPU process it can render the system unusable 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 fe...

Page 542: ...ommand History Usage Guidelines This command is available only on the cluster command switch The undebug cluster command is the same as the no debug cluster command discovery Display cluster discovery debug messages events Display cluster event debug messages extended Display extended discovery debug messages http Display Hypertext Transfer Protocol HTTP debug messages ip packet Display IP or tran...

Page 543: ... 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 show cluster members Displays information about cluster members when executed on the command switch ...

Page 544: ...ommand is the same as the no debug dtp command Related Commands aggregation Display DTP user message aggregation debug messages all Display all DTP debug messages decision Display the DTP decision table debug messages events Display the DTP event debug messages oserrs Display DTP operating system related error debug messages packets Display DTP packet processing debug messages queue Display DTP pa...

Page 545: ... History Usage Guidelines The undebug dot1x command is the same as the no debug dot1x command Related Commands all Display all EAP debug messages authenticator Display authenticator debug messages errors Display EAP error debug messages events Display EAP event debug messages md5 Display EAP MD5 debug messages packets Display EAP packet debug messages peer Display EAP peer debug messages sm Displa...

Page 546: ... linecard keyword is not supported Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines If you do not specify a keyword all debug messages appear The undebug etherchannel command is the same as the no debug etherchannel command Related Commands all Optional Display all EtherChannel debug messages detail Optional Display detailed EtherChannel debug messages ...

Page 547: ...d EXEC Command History Usage Guidelines The undebug fastethernet af events packets command is the same as the no debug fastethernet af events packets command Related Commands af Display Ethernet management port software address filter debug messages events Display Ethernet management port event debug messages packets Display Ethernet management port packet debug messages Release Modification 12 2 ...

Page 548: ...ebug messages appear The undebug interface command is the same as the no debug interface command Related Commands interface id Display debug messages for the specified physical port identified by module number always 0 and port for example gigabitethernet 0 2 null interface number Display debug messages for null interfaces The interface number is always 0 port channel port channel number Display d...

Page 549: ...command to disable debugging debug ip igmp filter no debug ip igmp filter Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug ip igmp filter command is the same as the no debug ip igmp filter command Related Commands Release Modification 12 2 46 EY This command was introduced Command ...

Page 550: ...s command to disable debugging debug ip igmp max groups no debug ip igmp max groups Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug ip igmp max groups command is the same as the no debug ip igmp max groups command Related Commands Release Modification 12 2 46 EY This command was i...

Page 551: ...mand History Usage Guidelines The undebug ip igmp snooping command is the same as the no debug ip igmp snooping command Related Commands group Optional Display IGMP snooping group activity debug messages management Optional Display IGMP snooping management activity debug messages querier Optional Display IGMP snooping querier debug messages router Optional Display IGMP snooping router activity deb...

Page 552: ...mand Modes Privileged EXEC Command History Usage Guidelines The undebug lacp command is the same as the no debug lacp command Related Commands all Optional Display all LACP debug messages event Optional Display LACP event debug messages fsm Optional Display LACP finite state machine debug messages misc Optional Display miscellaneous LACP debug messages packet Optional Display LACP packet debug mes...

Page 553: ...ebug matm Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug matm command is the same as the no debug matm command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description debug platform matm Displays information about platform dependent MAC ad...

Page 554: ...ebug matm move update no debug matm move update Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug matm move update command is the same as the no debug matm move update command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description show debug...

Page 555: ... debug monitor command Related Commands all Display all SPAN debug messages errors Display detailed SPAN error debug messages idb update Display SPAN interface description block IDB update trace debug messages info Display SPAN informational tracing debug messages list Display SPAN port and VLAN list tracing debug messages notifications Display SPAN notification debug messages platform Display SPA...

Page 556: ...ble debugging debug nvram no debug nvram Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug nvram command is the same as the no debug nvram command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description show debugging Displays information abo...

Page 557: ...EXEC Command History Usage Guidelines The undebug pagp command is the same as the no debug pagp command Related Commands all Optional Display all PAgP debug messages dual active Optional Display dual active detection messages event Optional Display PAgP event debug messages fsm Optional Display PAgP finite state machine debug messages misc Optional Display miscellaneous PAgP debug messages packet ...

Page 558: ...ebug platform acl command all Display all ACL manager debug messages exit Display ACL exit related debug messages expand Display VMR Layer 4 VMR Operation allocation expansion debug messages fspan Display ACL FSPAN related debug messages ipe Display ACL IPE related debug messages ipv6 Display ACL IPv6 related debug messages label Display ACL label related debug messages limitations Display ACL lim...

Page 559: ...50 Switch Command Reference OL 19055 01 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 ...

Page 560: ...ut packets received by the core based tree to shortest path tree cbt to spt queue cpuhub q Display debug messages about packets received by the CPU heartbeat queue host q Display debug messages about packets received by the host queue icmp q Display debug messages about packets received by the Internet Control Message Protocol ICMP queue igmp snooping q Display debug messages about packets receive...

Page 561: ...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 ...

Page 562: ...ax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform etherchannel command is the same as the no debug platform etherchannel command Related Commands init Display EtherChannel module initialization debug messages link up Display EtherChannel link up and link down related debug messages rpc Display EtherChannel remote proce...

Page 563: ...Privileged EXEC Command History Usage Guidelines The undebug platform frontend controller command is the same as the no debug platform frontend controller command Related Commands all Display all the debug messages for front end controller image Display Image Manager debug messages led Display LED debug messages manager Display front end controller manager debug messages register Display Register ...

Page 564: ...nooping destination index di coordination remote procedure call RPC debug messages error Display IGMP snooping error messages event Display IGMP snooping event debug messages group Display IGMP snooping group debug messages mgmt Display IGMP snooping management debug messages pak ip address error ipopt leave query report rx svi tx Display IGMP snooping packet event debug messages The keywords have...

Page 565: ...ll RPC event debug messages The keywords have these meanings cfg Optional Display IGMP snooping RPC debug messages l3mm Optional IGMP snooping Layer 3 multicast router group RPC debug messages misc Optional IGMP snooping miscellaneous RPC debug messages vlan Optional IGMP snooping VLAN assert RPC debug messages warn Display IGMP snooping warning messages Release Modification 12 2 46 EY This comman...

Page 566: ...ignal Syntax Description Note Although visible in the command line help the stack keyword is not supported Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform led command is the same as the no debug platform led command Related Commands generic Display LED generic action debug messages signal Display LED signal bit map debug messages R...

Page 567: ...e as the no debug platform matm command Related Commands aging Display MAC address aging debug messages all Display all platform MAC address management event debug messages ec aging Display EtherChannel address aging related debug messages errors Display MAC address management error messages learning Display MAC address management address learning debug messages rpc Display MAC address management ...

Page 568: ...e in the command line help the stackchg keyword is not supported Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform messaging application command is the same as the no debug platform messaging application command Related Commands all Display all application messaging debug messages badpak Display bad packet debug messages cleanup Disp...

Page 569: ...ver auto MDIX debug messages cablediag Display PHY cable diagnostic debug messages dual purpose Display PHY dual purpose event debug messages flcd configure ipc iter trace Display PHY FLCD debug messages The keywords have these meanings configure Display PHY configure debug messages ipc Display Interprocess Communication Protocol IPC debug messages iter Display iter debug messages trace Display tr...

Page 570: ...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 ...

Page 571: ... events Display platform port manager event debug messages idb events Display interface descriptor block IDB related events debug messages if numbers Display interface number translation event debug messages ios events Display Cisco IOS event debug messages link status Display interface link detection event debug messages platform Display port manager function event debug messages pm events Displa...

Page 572: ...r keyword is not supported Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform pm command is the same as the no debug platform pm command Related Commands Release Modification 12 2 46 EY This command was introduced Command Description show debugging Displays information about the types of debugging that are enabled ...

Page 573: ... debug platform port asic interrupt read write Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform port asic command is the same as the no debug platform port asic command Related Commands interrupt Display port ASIC interrupt related function debug messages read Display port ASIC read debug messages write Display po...

Page 574: ...scription Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform qos acl tcam command is the same as the no debug platform qos acl tcam command Related Commands all Display all QoS and ACL ternary content addressable memory QATM manager debug messages errors Display QATM error related events debug messages labels Display QATM label relate...

Page 575: ... Command History Usage Guidelines The undebug platform resource manager command is the same as the no debug platform resource manager command Related Commands all Display all resource manager debug messages dm Display destination map debug messages erd Display equal cost route descriptor table debug messages errors Display error debug messages madmed Display the MAC address descriptor table and mu...

Page 576: ...m of this command to disable debugging debug platform snmp no debug platform snmp Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform snmp command is the same as the no debug platform snmp command Related Commands Release Modification 12 2 46 EY This command was introduced Co...

Page 577: ...his command to disable debugging debug platform span no debug platform span Syntax Description This command has no arguments or keywords Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform span command is the same as the no debug platform span command Related Commands Release Modification 12 2 46 EY This command was introduced Command ...

Page 578: ...ic all errors receive send Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform supervisor asic command is the same as the no debug platform supervisor asic command Related Commands all Display all supervisor ASIC event debug messages errors Display the supervisor ASIC error debug messages receive Display the supervis...

Page 579: ...cket unicast Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform sw bridge command is the same as the no debug platform sw bridge command Related Commands broadcast Display broadcast data debug messages control Display protocol packet debug messages multicast Display multicast data debug messages packet Display sent ...

Page 580: ...rm tcam driver write fram hash mapping otcam scr tcam no debug platform tcam driver detail log read search shadow trace write no debug platform tcam driver log asic clear reset set start stop no debug platform tcam driver read fram hash mapping otcam scr tcam no debug platform tcam driver search no debug platform tcam driver shadow no debug platform tcam driver trace no debug platform tcam driver ...

Page 581: ...splay search CAM result read debug messages tcam Display hardware memory read debug messages search Display supervisor initiated hardware memory search results debug messages shadow Display shadow table debug messages trace Display traceback debug messages write fram hash mapping otcam scr tcam Display hardware memory read debug write messages The keywords have these meanings fram Display forwardi...

Page 582: ...cription Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform udld command is the same as the no debug platform udld command Related Commands all Optional Display all UDLD debug messages error Optional Display error condition debug messages rpc events messages Optional Display UDLD remote procedure call RPC debug messages The keywords h...

Page 583: ... errors mvid rpc Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug platform vlan command is the same as the no debug platform vlan command Related Commands errors Display VLAN error debug messages mvid Display mapped VLAN ID allocations and free debug messages rpc Display remote procedure call RPC debug messages Release Mod...

Page 584: ...h visible in the command line help strings the scp and pvlan keywords are not supported Defaults Debugging is disabled Command Modes Privileged EXEC Command History all Display all PM debug messages assert Display assert debug messages card Display line card related events debug messages etherchnl Display EtherChannel related events debug messages hatable Display Host Access Table events debug mes...

Page 585: ...55 01 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 ...

Page 586: ...set Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug qos command is the same as the no debug qos command Related Commands capability Display QoS capability debug messages event Display QoS related MPQC event debug messages service policy Display QoS service policy debug message set Display QoS packet marking debug message ...

Page 587: ...lay spanning tree bridge protocol data unit BPDU debug messages bpdu opt Display optimized BPDU handling debug messages config Display spanning tree configuration change debug messages etherchannel Display EtherChannel support debug messages events Display spanning tree topology event debug messages exceptions Display spanning tree exception debug messages general Display general spanning tree act...

Page 588: ...ebug 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 ...

Page 589: ...st detail exceptions Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug spanning tree backbonefast command is the same as the no debug spanning tree backbonefast command Related Commands detail Optional Display detailed BackboneFast debug messages exceptions Optional Display spanning tree BackboneFast exception debug message...

Page 590: ...ceive transmit Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug spanning tree bpdu command is the same as the no debug spanning tree bpdu command Related Commands receive Optional Display the nonoptimized path for received BPDU debug messages transmit Optional Display the nonoptimized path for sent BPDU debug messages Rele...

Page 591: ...bpdu opt detail packet Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug spanning tree bpdu opt command is the same as the no debug spanning tree bpdu opt command Related Commands detail Optional Display detailed optimized BPDU handling debug messages packet Optional Display packet level optimized BPDU handling debug messag...

Page 592: ...g tree MST region and a single spanning tree region running Rapid Spanning Tree Protocol RSTP An MST region and a single spanning tree region running 802 1D An MST region and another MST region with a different configuration bpdu rx Debug the received MST bridge protocol data units BPDUs bpdu tx Debug the sent MST BPDUs errors Debug MSTP errors flush Debug the port flushing mechanism init Debug th...

Page 593: ...anning 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 ...

Page 594: ...s errors Display debug messages for the interface between the spanning tree software module and the port manager software module flush Display debug messages for the shim flush operation general Display general event debug messages helper Display spanning tree helper task debug messages Helper tasks handle bulk spanning tree updates pm Display port manager event debug messages rx Display received ...

Page 595: ...ing 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 ...

Page 596: ...ebug spanning tree uplinkfast exceptions Syntax Description Defaults Debugging is disabled Command Modes Privileged EXEC Command History Usage Guidelines The undebug spanning tree uplinkfast command is the same as the no debug spanning tree uplinkfast command Related Commands exceptions Optional Display spanning tree UplinkFast exception debug messages Release Modification 12 2 46 EY This command ...

Page 597: ...an command badpmcookies Display debug messages for VLAN manager incidents of bad port manager cookies cfg vlan bootup cli Display config vlan debug messages The keywords have these meanings bootup Display messages when the switch is booting up cli Display messages when the command line interface CLI is in config vlan mode events Display debug messages for VLAN manager events ifs See the debug sw v...

Page 598: ...ds 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 ...

Page 599: ...ord and the file version number Operation 2 reads the main body of the file which contains most of the domain and VLAN information Operation 3 reads type length version TLV descriptor structures Operation 4 reads TLV data Related Commands open read write Display VLAN manager IFS file open operation debug messages The keywords have these meanings read Display VLAN manager IFS file read operation de...

Page 600: ...ccfwdchange Display debug messages for VLAN manager notification of aggregated access interface spanning tree forward changes allowedvlancfgchange Display debug messages for VLAN manager notification of changes to the allowed VLAN configuration fwdchange Display debug messages for VLAN manager notification of spanning tree forwarding changes linkchange Display debug messages for VLAN manager notif...

Page 601: ...pruning code events Display debug messages for general purpose logic flow and detailed VTP messages generated by the VTP_LOG_RUNTIME macro in the VTP code packets Display debug messages for the contents of all incoming VTP packets that have been passed into the VTP code from the IOS VTP platform dependent layer except for pruning packets pruning packets xmit Display debug messages generated by the...

Page 602: ...pendix 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 ...

Page 603: ...sing of configuration commands Processing of link up and link down indications For debug udld packets these debugging messages appear General packet processing program flow on receipt of an incoming packet Indications of the contents of the various pieces of packets received such as type length versions TLVs as they are examined by the packet reception code Packet transmission attempts and the out...

Page 604: ...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 ...

Page 605: ...es Privileged EXEC Command History Usage Guidelines The undebug vqpc command is the same as the no debug vqpc command Related Commands all Optional Display all VQP client debug messages cli Optional Display the VQP client command line interface CLI debug messages events Optional Display VQP client event debug messages learn Optional Display VQP client address learning debug messages packet Optiona...

Page 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...

Page 607: ... 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 ...

Page 608: ...utput do not appear but the lines that contain Output appear interface interface id Display per interface ACL manager information for the specified interface The interface can be a physical interface or a VLAN label label number detail Display per label ACL manager information The label number range is 0 to 255 The keyword has this meaning detail Optional Display detailed ACL manager label informa...

Page 609: ...hile troubleshooting a problem Do not use this command unless a technical support representative asks you to do so 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 detail Optional Display detailed dynamically loaded module information begin Optional Display begins with the line that matches t...

Page 610: ...ve while troubleshooting a problem Do not use this command unless a technical support representative asks you to do so 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 data structures Display EtherChannel data structures flags Display EtherChannel port flags time stamps Display EtherChannel t...

Page 611: ... 0 to 7 ip src ip dst ip Optional but required for IP packets Source and destination IP addresses in dotted decimal notation frag field Optional The IP fragment field for a fragmented IP packet The range is 0 to 65535 dscp dscp Optional Differentiated Services Code Point DSCP field in the IP header The range is 0 to 63 l4protocol id The numeric value of the Layer 4 protocol field in the IP header ...

Page 612: ...ort representative asks you to do so 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 For examples of the show platform forward command output displays and what they mean see the Troubleshooting chapter of the software configuration guide for this release include Optional Display inc...

Page 613: ...example if you enter exclude output the lines that contain output do not appear but the lines that contain Output appear buffer Display the last 1024 bytes sent from the manager to the subordinate and the reverse generic Display the generic counters that do not specifically apply to the manager or subordinate manager number Display the counters for the manager and the subordinate specified by numb...

Page 614: ...ters flood vlan vlan id Display IGMP snooping flood information The keyword has this meaning vlan vlan id Optional Display flood information for the specified VLAN The range is 1 to 4094 group ip address Display the IGMP snooping multicast group information where ip address is the IP address of the group hardware Display IGMP snooping information loaded into hardware retry count local count Displa...

Page 615: ...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 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 616: ...tput the lines that contain output do not appear but the lines that contain Output appear acl Display access control list ACL Layer 4 operators information pacl port asic Display port ACL Layer 4 operators information The keyword has this meaning port asic Optional Port ASIC number qos port asic Display quality of service QoS Layer 4 operators information The keyword has this meaning port asic Opt...

Page 617: ...s a technical support representative asks you to do so 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 aging array Optional Display the MAC address table aging array hash table Optional Display the MAC address table hash table mac address mac address Optional Display the MAC address table MA...

Page 618: ...t contain output do not appear but the lines that contain Output appear application incoming outgoing summary Display application message information The keywords have these meanings incoming Optional Display only information about incoming application messaging requests outgoing Optional Display only information about incoming application messaging requests summary Optional Display summary inform...

Page 619: ...entative while troubleshooting a problem Do not use this command unless a technical support representative asks you to do so 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 session session number Optional Display SPAN information for the specified SPAN session The range is 1 to 66 begin Opti...

Page 620: ... not appear but the lines that contain Output appear counters Display module counters information group masks Display EtherChannel group masks information idbs active idbs deleted idbs Display interface data block IDB information The keywords have these meanings active idbs Display active IDB information deleted idbs Display deleted and leaked IDB information if numbers Display interface numbers i...

Page 621: ...mber asic number stats drop enqueue miscellaneous supervisor asic number port number asic number transmit port fifo queue supervisor sram asic number port number asic number vct asic number port number asic number version begin exclude include expression Syntax Description cpu queue map table asic number port number asic number Display the CPU queue map table entries The keywords have these meanin...

Page 622: ...che The keywords 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 specified port and ASIC number The range is 0 to 27 where 0 is the supervisor and 1 to 25 are the ports mac info asic number port number asic number Display the contents of the MAC information register The keywords have these mean...

Page 623: ...y the buffer queue information port fifo Display the port FIFO information supervisor sram Display the supervisor static RAM SRAM information asic number Optional Display information for the specified ASIC The range is 0 to 1 port number Optional Display information for the specified port and ASIC number The range is 0 to 27 where 0 is the supervisor and 1 to 25 are the ports span vlan id asic num...

Page 624: ... port number Optional Display information for the specified port and ASIC number The range is 0 to 27 where 0 is the supervisor and 1 to 25 are the ports vct asic number port number asic number Display the VLAN compression table entries for the specified ASIC or for the specified port and ASIC The keywords have these meanings asic number Optional Display information for the specified ASIC The rang...

Page 625: ...is 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 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 626: ...if you enter exclude output the lines that contain output do not appear but the lines that contain Output appear label asic number Display QoS label maps for the specified ASIC Optional For asic number the range is 0 to 1 policer parameters asic number port alloc number asic number Display policer information The keywords have these meanings parameters asic number Display parameter information for...

Page 627: ...0 to 65535 med index number Display the multi expansion descriptor table for the specified index The keyword has this meaning index number Optional Display the specified index The range is 0 to 65535 mod Display the resource manager module information msm hash table vlan vlan id mac address mac address vlan vlan id Display the MAC address descriptor table and the station descriptor table informati...

Page 628: ... representative while troubleshooting a problem Do not use this command unless your technical support representative asks you to do so 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 include Optional Display includes lines that match the specified expression expression Expression in the outp...

Page 629: ... 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 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 begin Optional Display begins with the line that ma...

Page 630: ...pport representative while troubleshooting a problem Do not use this command unless your technical support representative asks you to do so 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 detail Optional Display detailed spanning tree information vlan vlan id Optional Display VLAN switch spa...

Page 631: ...representative while troubleshooting a problem Do not use this command unless your technical support representative asks you to do so 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 vlan id Display spanning tree instance information for the specified VLAN The range is 1 to 4094 begin Optiona...

Page 632: ...ble l2 asic number detail invalid index number detail invalid invalid num number detail invalid invalid invalid num number detail invalid invalid begin exclude include expression show platform tcam table mac address asic number detail invalid index number detail invalid invalid num number detail invalid invalid invalid num number detail invalid invalid begin exclude include expression show platfor...

Page 633: ...ble all Display all the hardware memory tables l2 Display the Layer 2 lookup table mac address Display the MAC address table qos Display the QoS table static address Display the static address table station Display the station table vlan list Display the VLAN list table asic number detail invalid index number detail invalid invalid num number detail invalid invalid invalid num number detail invali...

Page 634: ... sensitive For example if you enter exclude output the lines that contain output do not appear but the lines that contain Output appear misc Display miscellaneous VLAN module information mvid Display the mapped VLAN ID MVID allocation information prune Display the platform maintained pruning database refcount Display the VLAN lock module wise reference counts rpc receive transmit Display remote pr...

Page 635: ...egraph Company or of the Regents of the University of California Permission is granted to anyone to use this software for any purpose on any computer system and to alter it and redistribute it subject to the following restrictions 1 The author is not responsible for the consequences of use of this software no matter how awful even if they arise from flaws in it 2 The origin of this software must n...

Page 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...

Page 637: ...command 2 13 boot helper config file command 2 14 booting Cisco IOS image 2 17 displaying environment variables 2 225 interrupting 2 12 manually 2 15 boot loader accessing A 1 booting Cisco IOS image A 3 helper image 2 13 directories creating A 19 displaying a list of A 8 removing A 23 displaying available commands A 13 memory heap utilization A 14 version A 30 environment variables described A 24...

Page 638: ...ommand 2 35 cluster discovery hop count command 2 37 cluster enable command 2 38 cluster holdtime command 2 40 cluster member command 2 41 cluster outside interface command 2 43 cluster requirements xvi cluster run command 2 44 clusters adding candidates 2 41 building manually 2 41 communicating with devices outside the cluster 2 43 members by using Telnet 2 200 debug messages display B 2 displayi...

Page 639: ... B 33 debug platform qos acl tcam command B 34 debug platform resource manager command B 35 debug platform snmp command B 36 debug platform span command B 37 debug platform supervisor asic command B 38 debug platform sw bridge command B 39 debug platform tcam driver command B 40 debug platform udld command B 42 debug platform vlan command B 43 debug pm command B 44 debug qos command B 46 debug spa...

Page 640: ...ority for hot standby ports 2 117 restricting a protocol 2 21 system priority 2 119 load distribution methods 2 191 EtherChannel continued PAgP aggregate port learner 2 180 clearing channel group information 2 31 debug messages display B 17 displaying 2 351 error detection for 2 59 error recovery timer 2 62 learn method 2 180 modes 2 18 physical port learner 2 180 priority of interface for transmi...

Page 641: ...oftware images Immediate Leave processing IGMP 2 98 IPv6 2 115 initial configuration See getting started guide and hardware installation guide interface configuration mode 1 2 1 4 interface port channel command 2 69 interface range command 2 71 interface range macros 2 48 interfaces assigning Ethernet interface to channel group 2 18 configuring 2 57 configuring multiple 2 71 creating port channel ...

Page 642: ...error recovery timer 2 62 Layer 2 traceroute IP addresses 2 466 MAC addresses 2 463 line configuration mode 1 2 1 4 link flap error detection for 2 59 error recovery timer 2 62 link state group command 2 121 link state track command 2 123 load distribution methods for EtherChannel 2 191 location global configuration command 2 124 location interface configuration command 2 126 logging file command ...

Page 643: ...p command 2 161 mls qos srr queue input dscp map command 2 163 mls qos srr queue input priority queue command 2 165 mls qos srr queue input threshold command 2 167 mls qos srr queue output cos map command 2 169 mls qos srr queue output dscp map command 2 171 mls qos trust command 2 173 mls qos vlan based command 2 175 Mode button and password recovery 2 209 modes commands 1 1 monitor session comma...

Page 644: ...eed 2 440 normal range VLANs 2 475 note description xvi no vlan command 2 475 O online diagnostics configuring health monitoring diagnostic tests 2 51 displaying configured boot up coverage level 2 251 current scheduled tasks 2 251 event logs 2 251 supported test suites 2 251 test ID 2 251 test results 2 251 test statistics 2 251 enabling scheduling 2 53 syslog messages 2 51 global configuration m...

Page 645: ...n displaying 2 260 priority queue command 2 193 privileged EXEC mode 1 2 1 3 product identification information displaying 2 291 pruning VLANs 2 456 VTP displaying interface information 2 276 enabling 2 480 2 484 pruning eligible VLAN list 2 457 PVST See STP Q QoS class maps creating 2 24 defining the match criteria 2 134 displaying 2 228 defining the CoS value for an incoming packet 2 143 display...

Page 646: ... displaying 2 343 policy maps applying an aggregate policer 2 186 applying to an interface 2 211 2 216 creating 2 188 defining policers 2 141 2 184 displaying policers 2 336 displaying policy maps 2 353 hierarchical 2 189 policed DSCP map 2 147 QOS continued setting DSCP or IP precedence values 2 214 traffic classifications 2 22 trust states 2 468 port trust states 2 173 queues enabling the expedi...

Page 647: ...d 2 237 show controllers ethernet controller fastethernet command 2 245 show controllers tcam command 2 247 show controller utilization command 2 249 show dtp 2 255 show eap command 2 257 show env command 2 260 show errdisable detect command 2 262 show errdisable flap values command 2 264 show errdisable recovery command 2 265 show etherchannel command 2 267 show fallback profile command 2 270 sho...

Page 648: ...rm vlan command C 28 show policy map command 2 353 show sdm prefer command 2 355 show setup express command 2 358 show spanning tree command 2 359 show system mtu command 2 367 show trust command 2 468 show udld command 2 368 show version command 2 371 show vlan command 2 373 show vlan command fields 2 375 show vtp command 2 377 shutdown command 2 381 shutdown vlan command 2 382 small frame violat...

Page 649: ...display BackboneFast events B 49 MSTP B 52 optimized BPDUs handling B 51 spanning tree activity B 47 switch shim B 54 transmitted and received BPDUs B 50 UplinkFast B 56 detection of indirect link failures 2 394 STP continued EtherChannel misconfiguration 2 401 extended system ID 2 403 path cost 2 399 protocol modes 2 411 root port accelerating choice of new 2 435 loop guard 2 405 preventing from ...

Page 650: ...ebug messages display B 63 enable globally 2 470 enable per interface 2 472 error recovery timer 2 62 message timer 2 470 normal mode 2 470 2 472 reset a shutdown interface 2 474 status 2 368 udld command 2 470 udld port command 2 472 udld reset command 2 474 UniDirectional Link Detection See UDLD unset boot loader command A 28 upgrading downloading software images 2 3 software images monitoring s...

Page 651: ...eristics 2 480 clearing pruning counters 2 34 configuring domain name 2 480 2 484 file name 2 480 mode 2 480 2 484 password 2 480 2 484 counters display fields 2 378 displaying information 2 377 enabling pruning 2 480 2 484 Version 2 2 480 2 484 mode 2 480 2 484 pruning 2 480 2 484 saving the configuration 2 475 statistics 2 377 status 2 377 status display fields 2 379 vtp global configuration com...

Page 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...

Reviews: