Catalyst 6500 Series Switch Command Reference Release 7.6 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
C O N T E N T S Preface xxv Audience xxv Organization xxv Related Documentation Conventions xxv xxvi Obtaining Documentation xxvii Cisco.com xxvii Documentation CD-ROM xxvii Ordering Documentation xxvii Documentation Feedback xxviii Obtaining Technical Assistance xxviii Cisco.
Contents clear boot system clear cam 2-12 2-13 clear cam notification 2-14 clear channel statistics clear config 2-16 clear config pvlan clear cops 2-15 2-18 2-19 clear counters 2-21 clear crypto key rsa clear dot1x config 2-22 2-23 clear dot1x guest-vlan clear gmrp statistics 2-24 2-25 clear gvrp statistics 2-26 clear igmp statistics 2-27 clear ip alias 2-28 clear ip dns domain clear ip dns server clear ip permit clear ip route 2-29 2-30 2-31 2-33 clear kerberos clients mandatory
Contents clear mls cef 2-52 clear mls entry 2-53 clear mls entry cef adjacency clear mls exclude protocol 2-55 2-56 clear mls multicast statistics clear mls nde flow 2-58 clear mls statistics 2-59 clear mls statistics entry clear module password 2-64 2-65 clear ntp timezone clear pbf 2-61 2-63 clear multicast router clear ntp server 2-57 2-66 2-67 clear pbf-map 2-68 clear port broadcast 2-70 clear port cops 2-71 clear port host 2-72 clear port qos cos 2-73 clear port security
Contents clear security acl log flow clear security acl map clear snmp access 2-95 2-96 2-98 clear snmp access-list 2-99 clear snmp community 2-100 clear snmp community-ext clear snmp group 2-102 clear snmp ifalias 2-103 clear snmp notify 2-104 clear snmp targetaddr 2-101 2-105 clear snmp targetparams clear snmp trap 2-107 clear snmp user 2-108 clear snmp view 2-109 2-106 clear spantree detected-protocols clear spantree mst 2-111 clear spantree portcost 2-112 clear spantree port
Contents clear vmps statistics 2-137 clear vtp pruneeligible clear vtp statistics commit 2-142 configure 2-143 confreg 2-145 context 2-147 2-149 delete dev 2-139 2-140 commit lda copy 2-138 2-155 2-156 dir—ROM monitor dir—switch disable 2-158 2-160 disconnect 2-161 download 2-162 enable 2-166 format 2-167 frame fsck 2-157 2-169 2-170 history—ROM monitor history—switch l2trace 2-172 2-173 2-174 meminfo 2-177 ping 2-178 pwd 2-181 quit 2-182 reconfirm vmps reload 2-
Contents set 2-194 set accounting commands set accounting connect set accounting exec 2-195 2-196 2-197 set accounting suppress 2-199 set accounting system 2-200 set accounting update 2-202 set acllog ratelimit 2-203 set aclmerge algo 2-204 set aclmerge bdd 2-205 set alias set arp 2-206 2-207 set authentication enable set authentication login 2-209 2-211 set authorization commands set authorization enable 2-215 set authorization exec set banner lcd 2-213 2-217 2-219 set banner mo
Contents set default portstatus 2-251 set dot1q-all-tagged set dot1x 2-252 2-253 set enablepass 2-256 set errdisable-timeout set errordetection 2-257 2-259 set feature agg-link-partner 2-261 set feature dot1x-radius-keepalive set feature mdg set garp timer set gmrp 2-263 2-264 2-265 set gmrp fwdall 2-266 set gmrp registration set gmrp timer set gvrp 2-267 2-268 2-270 set gvrp applicant 2-271 set gvrp dynamic-vlan-creation set gvrp registration set gvrp timer set igmp 2-275 2-277 2-
Contents set ip http port 2-297 set ip http server set ip permit 2-299 set ip redirect set ip route 2-298 2-301 2-302 set ip unreachable 2-304 set kerberos clients mandatory 2-305 set kerberos credentials forward set kerberos local-realm 2-307 set kerberos realm 2-308 set kerberos server 2-309 set kerberos srvtab entry 2-310 set kerberos srvtab remote set key config-key 2-312 2-313 set l2protocol-tunnel cos 2-314 set l2protocol-tunnel trunk 2-315 set lacp-channel system-priority s
Contents set mls flow 2-343 set mls nde 2-345 set mls rate 2-349 set mls statistics protocol set mls verify set module 2-350 2-351 2-353 set module name 2-355 set module power 2-356 set module shutdown 2-357 set msfcautostate 2-358 set msmautostate 2-360 set multicast router 2-361 set ntp broadcastclient 2-362 set ntp broadcastdelay 2-363 set ntp client 2-364 set ntp server 2-365 set ntp summertime set ntp timezone set password set pbf 2-366 2-368 2-369 2-370 set pbf-map
Contents set port gmrp 2-398 set port gvrp 2-399 set port host 2-401 set port inlinepower set port jumbo 2-402 2-403 set port l2protocol-tunnel set port lacp-channel set port macro 2-404 2-406 2-408 set port membership set port name 2-411 2-413 set port negotiation set port protocol set port qos 2-414 2-415 2-417 set port qos autoqos set port qos cos 2-419 2-421 set port qos policy-source set port qos trust 2-422 2-424 set port qos trust-device set port qos trust-ext 2-426 2-427
Contents set qos acl mac 2-457 set qos acl map 2-459 set qos autoqos 2-461 set qos bridged-microflow-policing set qos cos-dscp-map 2-463 set qos drop-threshold 2-464 set qos dscp-cos-map 2-466 set qos ipprec-dscp-map set qos mac-cos set qos map 2-462 2-467 2-469 2-470 set qos policed-dscp-map set qos policer 2-474 set qos policy-source set qos rsvp 2-473 2-477 2-479 set qos rxq-ratio 2-481 set qos statistics export 2-483 set qos statistics export aggregate 2-484 set qos statist
Contents set security acl feature ratelimit set security acl ip 2-510 set security acl ipx 2-516 set security acl log 2-519 set security acl mac 2-520 set security acl map 2-522 set snmp 2-509 2-524 set snmp access 2-525 set snmp access-list set snmp buffer 2-527 2-529 set snmp chassis-alias 2-530 set snmp community 2-531 set snmp community-ext 2-533 set snmp extendedrmon netflow set snmp group 2-536 set snmp ifalias 2-537 set snmp notify 2-538 set snmp rmon 2-539 set snmp r
Contents set spantree global-default set spantree guard 2-570 2-572 set spantree hello 2-574 set spantree link-type 2-576 set spantree macreduction set spantree maxage set spantree mode 2-577 2-578 2-580 set spantree mst 2-582 set spantree mst config 2-583 set spantree mst link-type 2-585 set spantree mst maxhops 2-586 set spantree mst vlan 2-587 set spantree portcost 2-588 set spantree portfast 2-590 set spantree portfast bpdu-filter 2-592 set spantree portfast bpdu-guard set spa
Contents set system name 2-624 set system supervisor-update 2-625 set system switchmode allow 2-627 set system syslog-dump set system syslog-file 2-629 2-630 set tacacs attempts 2-631 set tacacs directedrequest set tacacs key 2-633 set tacacs server 2-634 set tacacs timeout 2-635 set test diagfail-action set test diaglevel set time 2-636 2-637 2-638 set timezone 2-639 set traffic monitor set trunk 2-640 2-641 set udld 2-644 set udld aggressive-mode set udld interval set vlan 2-6
Contents show boot 2-672 show boot device show cam 2-673 2-674 show cam agingtime show cam count 2-676 2-677 show cam msfc 2-678 show cam notification show cdp 2-679 2-682 show channel 2-685 show channel group 2-690 show channel hash 2-694 show channel mac 2-695 show channelprotocol show channel traffic show config 2-696 2-697 2-698 show config mode 2-704 show config qos acl show cops 2-705 2-706 show counters 2-709 show crypto key show default 2-715 2-716 show dot1q-all-ta
Contents show gvrp statistics show ifindex 2-740 2-742 show igmp flooding 2-743 show igmp leave-query-type show igmp mode 2-744 2-745 show igmp querier information show igmp ratelimit-info show igmp statistics show imagemib 2-746 2-747 2-748 2-750 show interface 2-751 show ip alias 2-753 show ip dns 2-754 show ip http 2-756 show ip permit show ip route 2-758 2-760 show kerberos 2-762 show l2protocol-tunnel statistics show lacp-channel 2-766 show lcperroraction show lda 2-770 2-
Contents show mls exclude protocol show mls multicast show mls nde 2-806 2-807 2-812 show mls netflow-route 2-813 show mls pbr-route 2-814 show mls statistics 2-815 show mls verify show module 2-819 2-820 show moduleinit 2-823 show msfcautostate 2-825 show msmautostate 2-826 show multicast group 2-827 show multicast group count 2-829 show multicast protocols status show multicast router 2-831 show multicast v3-group show netstat 2-841 show pbf 2-843 show port 2-833 2-834 show
Contents show port flowcontrol 2-884 show port inlinepower 2-886 show port jumbo 2-887 show port l2protocol-tunnel show port lacp-channel show port mac 2-888 2-889 2-892 show port mac-address 2-894 show port negotiation show port prbs 2-896 2-897 show port protocol 2-898 show port qos 2-899 show port rsvp 2-902 show port security 2-903 show port spantree show port status 2-906 2-907 show port sync-restart-delay show port tdr 2-909 show port trap 2-911 show port trunk 2-912 sh
Contents show qos mac-cos show qos maps 2-949 2-951 show qos policer 2-954 show qos policy-source show qos rsvp 2-956 2-957 show qos statistics 2-958 show qos statistics export info show qos status show radius show rcp show reset 2-961 2-962 2-964 2-965 show rgmp group 2-966 show rgmp statistics show rspan 2-960 2-967 2-968 show running-config show security acl 2-970 2-973 show security acl arp-inspection show security acl capture-ports show security acl feature ratelimit show security
Contents show snmp targetparams show snmp user 2-1008 show snmp view 2-1010 show span 2-1006 2-1012 show spantree 2-1014 show spantree backbonefast 2-1018 show spantree blockedports 2-1019 show spantree bpdu-filter 2-1021 show spantree bpdu-guard 2-1022 show spantree bpdu-skewing show spantree conflicts 2-1023 2-1025 show spantree defaultcostmode show spantree guard 2-1027 2-1028 show spantree mapping 2-1030 show spantree mistp-instance show spantree mst 2-1032 2-1034 show spant
Contents show top report show traffic 2-1078 2-1080 show trunk 2-1081 show udld 2-1084 show users 2-1086 show version show vlan 2-1087 2-1090 show vlan counters show vmps 2-1095 2-1097 show vmps mac 2-1099 show vmps statistics show vmps vlan 2-1100 2-1102 show vtp domain 2-1103 show vtp statistics slip 2-1105 2-1107 squeeze stack 2-1108 2-1109 switch 2-1110 switch console switch fabric sync 2-1111 2-1112 2-1113 sysret 2-1114 telnet 2-1115 test cable-diagnostics test snmp
Contents APPENDIX A Acronyms A-1 INDEX Catalyst 6500 Series Switch Command Reference—Release 7.
Preface This preface describes the audience, organization, and conventions of this publication and provides information on how to obtain related documentation. Audience This publication is for experienced network administrators who are responsible for configuring and maintaining Catalyst 6500 series switches. Organization This publication is organized as follows: Chapter Title Description Chapter 1 Command-Line Interfaces Describes the two types of CLIs found on Catalyst 6500 series switches.
Preface Conventions • System Message Guide—Catalyst 6500 Series, Catalyst 4000 Family, Catalyst 2948G, and Catalyst 2980G Switches • Catalyst 6500 Series Switch Quick Software Configuration Guide • ATM Software Configuration Guide and Command Reference for the Catalyst 5000 Family and 6000 Family Switches • Release Notes for Catalyst 6500 Series Switch For information about MIBs, refer to: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.
Preface Obtaining Documentation Notes use the following conventions: Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the publication. Obtaining Documentation Cisco provides several ways to obtain documentation, technical assistance, and other technical resources. These sections explain how to obtain technical information from Cisco Systems. Cisco.com You can access the most current Cisco documentation on the World Wide Web at this URL: http://www.
Preface Obtaining Technical Assistance • Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco Systems Corporate Headquarters (California, U.S.A.) at 408 526-7208 or, elsewhere in North America, by calling 800 553-NETS (6387). Documentation Feedback You can submit comments electronically on Cisco.com. On the Cisco Documentation home page, click Feedback at the top of the page. You can e-mail your comments to bug-doc@cisco.com.
Preface Obtaining Technical Assistance Technical Assistance Center The Cisco TAC is available to all customers who need technical assistance with a Cisco product, technology, or solution. Two levels of support are available: the Cisco TAC website and the Cisco TAC Escalation Center. The avenue of support that you choose depends on the priority of the problem and the conditions stated in service contracts, when applicable.
Preface Obtaining Additional Publications and Information Obtaining Additional Publications and Information Information about Cisco products, technologies, and network solutions is available from various online and printed sources. • The Cisco Product Catalog describes the networking products offered by Cisco Systems as well as ordering and customer support services. Access the Cisco Product Catalog at this URL: http://www.cisco.com/en/US/products/products_catalog_links_launch.
C H A P T E R 1 Command-Line Interfaces This chapter describes the command-line interfaces (CLI) available on the Catalyst 6500 series switches and contains these sections: • Switch CLI, page 1-1 • ROM Monitor CLI, page 1-13 For information regarding the ATM CLI and commands, refer to the ATM Software Configuration Guide and Command Reference—Catalyst 5000 Family and 6000 Family Switches publication.
Chapter 1 Command-Line Interfaces Switch CLI Note EIA/TIA-232 was known as RS-232 before its acceptance as a standard by the Electronic Industries Alliance and Telecommunications Industry Association. Accessing the Switch CLI Through the Console Port (EIA/TIA-232) To access the switch through the console (EIA/TIA-232) port, perform these steps: Task Command Step 1 From the Cisco Systems Console prompt, press Return. Step 2 At the prompt, enter the system password.
Chapter 1 Command-Line Interfaces Switch CLI After connecting through a Telnet session, you see this display: host% telnet cat6000-1.cisco.com Trying 172.16.44.30 ... Connected to cat6000-1. Operating the Switch CLI This section describes command modes and functions that allow you to operate the switch CLI. Accessing the Command Modes The CLI has two modes of operation: normal and privileged. Both are password-protected. Use normal-mode commands for everyday system monitoring.
Chapter 1 Command-Line Interfaces Switch CLI Table 1-1 Command-Line Processing Keystroke (continued) Keystroke Function Esc B Moves the cursor back one word. Esc D Deletes from the cursor to the end of the word. Esc F Moves the cursor forward one word. Delete key or Backspace key Erases a mistake when entering a command; reenter the command after using this key. 1. The arrow keys function only on ANSI-compatible terminals such as VT100s.
Chapter 1 Command-Line Interfaces Switch CLI In the following example, when you enter the letters conf and press the Tab key, the system provides the complete command: Console> (enable) conf Console> (enable) configure If you enter a set of characters that could indicate more than one command, the system beeps to indicate an error. Enter a question mark (?) to obtain a list of commands that begin with that set of characters. Do not leave a space between the last letter and the question mark (?).
Chapter 1 Command-Line Interfaces Switch CLI Deleting Entries Perform one of these tasks to delete command entries if you make a mistake or change your mind: Task Keystrokes Erase the character to the left of the cursor. Press the Delete or Backspace key. Delete the character at the cursor. Press Ctrl-D. Delete from the cursor to the end of the command line. Press Ctrl-K. Delete from the cursor to the beginning of the Press Ctrl-U or Ctrl-X. command line.
Chapter 1 Command-Line Interfaces Switch CLI Redisplaying the Current Command Line If you enter a command and the system suddenly sends a message to your screen, you can recall your current command line entry. To do so, perform this task: Task Keystrokes Redisplay the current command line. Press Ctrl-L or Ctrl-R.
Chapter 1 Command-Line Interfaces Switch CLI Using Command Aliases Like regular commands, aliases are not case sensitive. However, unlike regular commands, some aliases cannot be abbreviated. See Table 1-2 for a list of switch CLI aliases that cannot be abbreviated.
Chapter 1 Command-Line Interfaces Switch CLI Accessing Command Help To see a list of top-level commands and command categories, type help in normal or privileged mode. Context-sensitive help (usage and syntax information) for individual commands can be seen by appending help to any specific command. If you enter a command using the wrong number of arguments or inappropriate arguments, usage and syntax information for that command is displayed.
Chapter 1 Command-Line Interfaces Switch CLI session set show slip squeeze switch telnet test undelete upload verify wait whichboot write Console> (enable) Tunnel to ATM or Router module Set commands, use 'set help' for more info Show commands, use 'show help' for more info Attach/detach Serial Line IP interface Reclaim space used by deleted files Switch to standby Telnet to a remote host Test command, use 'test help' for more info Undelete a file on flash device Upload code from a pr
Chapter 1 Command-Line Interfaces Switch CLI You can designate ports by entering the module and port number pairs, separated by commas. To specify a range of ports, use a dash (-) between the module number and port number pairs. Dashes take precedence over commas. The following examples show several ways of designating ports: Example 1: 2/1,2/3 denotes module 2, port 1 and module 2, port 3. Example 2: 2/1-12 denotes module 2, ports 1 through 12.
Chapter 1 Command-Line Interfaces Switch CLI Using Command Self-Repeat Use the command self-repeat function to display matches to all possible keywords if a string represents a unique match. If a unique match is not found, the longest matching string is provided. To display the matches, enter a space after the last parameter and enter ?. Once the matches are displayed, the system comes back to the prompt and displays the last command without the ?.
Chapter 1 Command-Line Interfaces ROM Monitor CLI ROM Monitor CLI The ROM monitor is a ROM-based program that executes upon platform startup, reset, or when a fatal exception occurs. Accessing the ROM Monitor CLI The system enters ROM-monitor mode if the switch does not find a valid system image, if the NVRAM configuration is corrupted, or if the configuration register is set to enter ROM-monitor mode.
Chapter 1 Command-Line Interfaces ROM Monitor CLI Catalyst 6500 Series Switch Command Reference—Release 7.
C H A P T E R 2 Catalyst 6500 Series Switch and ROM Monitor Commands This chapter contains an alphabetical listing of all switch and ROM monitor commands available on the Catalyst 6500 series switches. For information regarding ATM module-related commands, refer to the ATM Software Configuration Guide and Command Reference for the Catalyst 5000 Family and 6000 Family Switches.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands alias alias To set and display command aliases, use the alias command. alias [name=value] Syntax Description name= (Optional) Name you give to the alias. value (Optional) Value of the alias. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines If value contains white space or other special (shell) characters, you must use quotation marks.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands alias k=stack s=set rommon 4 > s PS1=rommon ! > BOOT=bootflash:RTSYNC_llue_11,1;slot0:f1,1; ========================================================================= Related Commands unalias Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands boot boot To boot up an external process, use the boot command. boot [-x] [-v] [device:][imagename] Syntax Description -x (Optional) Load the image but do not execute. -v (Optional) Toggle verbose mode. device: (Optional) ID of the device. imagename (Optional) Name of the image. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands cd cd To set the default Flash device for the system, use the cd command. cd [[m/]device:] Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Valid devices include bootflash and slot0. Defaults The default Flash device is bootflash. Command Types Switch command. Command Modes Normal. Usage Guidelines A colon (:) is required after the specified device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear acllog clear acllog To disable ACL log rate limiting, use the clear acllog command. clear acllog Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to disable ACL log rate limiting: Console> (enable) clear acllog ACL log rate limit is cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear alias clear alias To clear the abbreviated versions of commands, use the clear alias command. clear alias {name | all} Syntax Description name Alternate identifier of the command. all Clears every alternate identifier previously created. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear arp clear arp To delete a specific entry or all entries from the ARP table, use the clear arp command. clear arp [all | dynamic | permanent | static] {ip_addr} Syntax Description all (Optional) Clears all ARP entries. dynamic (Optional) Clears all dynamic ARP entries. permanent (Optional) Clears all permanent ARP entries. static (Optional) Clears all static ARP entries. ip_addr IP address to clear from the ARP table.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear banner motd clear banner motd To clear the message-of-the-day banner, use the clear banner motd command. clear banner motd Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear boot auto-config clear boot auto-config To clear the contents of the CONFIG_FILE environment variable used to specify the configuration files used during bootup, use the clear boot auto-config command. clear boot auto-config [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear boot device clear boot device To clear the contents of the CONFIG_FILE environment variable used to specify the NAM startup configuration files used, use the clear boot device command. clear boot device mod Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is supported by the NAM module only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear boot system clear boot system To clear the contents of the BOOT environment variable and the configuration register setting, use the clear boot system command. clear boot system all [mod] clear boot system flash device:[filename] [mod] Syntax Description all Clears the whole BOOT environment variable. mod (Optional) Module number of the supervisor engine containing the Flash device. flash (Optional) Clears the Flash device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear cam clear cam To delete a specific entry or all entries from the CAM table, use the clear cam command. clear cam mac_addr [vlan] clear cam {dynamic | static | permanent} [vlan] Syntax Description mac_addr One or more MAC addresses. vlan (Optional) Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094. dynamic Clears the dynamic CAM entries from the CAM table.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear cam notification clear cam notification To clear the CAM notification counters and history log, use the clear cam notification command. clear cam notification {all | counters | history} Syntax Description all Clears the CAM notification counters and history log. counters Clears the CAM notification counters. history Clears the CAM notification history log. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear channel statistics clear channel statistics To clear PAgP statistical information, use the clear channel statistics command. clear channel statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear config clear config To clear the system or module configuration information stored in NVRAM, use the clear config command. clear config {mod | rmon | all | snmpv3 | acl nvram | interface} Syntax Description mod Number of the module. rmon Clears all RMON configurations, including the historyControlTable, the alarmTable, the eventTable, and the ringStation ControlTable.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear config This example shows how to delete all the configuration information for the Catalyst 6500 series switches: Console> (enable) clear config all This command will clear all configuration in NVRAM. Do you want to continue (y/n) [n]? y ...........................................
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear config pvlan clear config pvlan To clear all private VLAN configurations in the system including port mappings, use the clear config pvlan command. clear config pvlan Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear cops clear cops To clear Common Open Policy Service (COPS) configurations, use the clear cops command. clear cops roles role1 [role2]... clear cops all-roles clear cops server all [diff-serv | rsvp] clear cops server ipaddr [diff-serv | rsvp] clear cops domain-name Syntax Description roles role# Specifies the roles to clear. all-roles Clears all roles. server Specifies the COPS server. all Clears all server tables.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear cops This example shows how to clear all COPS servers: Console> (enable) clear cops server all All COPS servers cleared. Console> (enable) This example shows how to clear a specific COPS server: Console> (enable) clear cops server my_server1 All COPS servers cleared. Console> (enable) This example shows how to clear the COPS domain name: Console> (enable) clear cops domain-name Domain name cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear counters clear counters To clear MAC counters, EtherChannel MAC counters, port counters, and the channel traffic percentile, use the clear counters command. clear counters [all | mod/ports] Syntax Description all (Optional) Specifies all ports. mod/ports (Optional) Number of the module and the ports on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear crypto key rsa clear crypto key rsa To remove all RSA public-key pairs, use the clear crypto key rsa command. clear crypto key rsa Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear dot1x config clear dot1x config To disable dot1x on all ports and return values to the default settings, use the clear dot1x config command. clear dot1x config Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear dot1x guest-vlan clear dot1x guest-vlan To remove any active 802.1x auto ports from the guest VLAN, use the clear dot1x guest-vlan command. clear dot1x guest-vlan Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear gmrp statistics clear gmrp statistics To clear all the GMRP statistics information from a specified VLAN or all VLANs, use the clear gmrp statistics command. clear gmrp statistics {vlan | all} Syntax Description vlan Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094. all Specifies all VLANs. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear gvrp statistics clear gvrp statistics To clear all the GVRP statistics information, use the clear gvrp statistics command. clear gvrp statistics {mod/port | all} Syntax Description mod/port Number of the module and port. all Specifies all ports. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear igmp statistics clear igmp statistics To clear IGMP snooping statistical information, use the clear igmp statistics command. clear igmp statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip alias clear ip alias To clear IP aliases that were set using the set ip alias command, use the clear ip alias command. clear ip alias {name | all} Syntax Description name IP address alias to delete. all Specifies that all previously set IP address aliases be deleted. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip dns domain clear ip dns domain To clear the default DNS domain name, use the clear ip dns domain command. clear ip dns domain Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip dns server clear ip dns server To remove a DNS server from the DNS server listing, use the clear ip dns server command. clear ip dns server {ip_addr | all} Syntax Description ip_addr IP address of the DNS server you want to remove. An IP alias or a host name that can be resolved through DNS can also be used. all Specifies all the IP addresses in the DNS server listing to be removed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip permit clear ip permit To remove a specified IP address and mask or all IP addresses and masks from the permit list, use the clear ip permit command. clear ip permit all clear ip permit {ip_addr} [mask] [telnet | ssh | snmp | all] Syntax Description ip_addr IP address to be cleared. An IP alias or a host name that can be resolved through DNS can also be used. mask (Optional) Subnet mask of the specified IP address.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip permit Console> (enable) clear ip permit all IP permit list cleared. WARNING IP permit list is still enabled. Console> (enable) Related Commands set ip permit show ip permit Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip route clear ip route To delete IP routing table entries, use the clear ip route command. clear ip route destination gateway Syntax Description destination IP address of the host or network. An IP alias or a host name that can be resolved through DNS can also be used. gateway IP address or alias of the gateway router. Defaults The default is destination.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear kerberos clients mandatory clear kerberos clients mandatory To disable mandatory Kerberos authentication for services on the network, use the clear kerberos clients mandatory command. clear kerberos clients mandatory Syntax Description This command has no arguments or keywords. Defaults Kerberos clients are not set to mandatory. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear kerberos credentials forward clear kerberos credentials forward To disable credentials forwarding, use the clear kerberos credentials forward command. clear kerberos credentials forward Syntax Description This command has no arguments or keywords. Defaults The default is forwarding is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear kerberos creds clear kerberos creds To delete all the Kerberos credentials, use the clear kerberos creds command. clear kerberos creds Syntax Description This command has no arguments or keywords. Defaults The command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear kerberos realm clear kerberos realm To clear an entry that maps the name of a Kerberos realm to a DNS domain name or a host name, use the clear kerberos realm command. clear kerberos realm {dns_domain | host} kerberos_realm Syntax Description dns_domain DNS domain name to map to a Kerberos realm. host IP address or name to map to a Kerberos realm. kerberos_realm IP address or name of a Kerberos realm.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear kerberos server clear kerberos server To clear a specified Key Distribution Center (KDC) entry, use the clear kerberos server command. clear kerberos server kerberos_realm {hostname | ip_address} [port_number] Syntax Description kerberos_realm Name of a Kerberos realm. hostname Name of the host running the KDC. ip_address IP address of the host running the KDC. port_number (Optional) Number of the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear key config-key clear key config-key To remove a private 3DES key, use the clear key config-key command. clear key config-key string Syntax Description string Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to remove a private 3DES key: Name of the 3DES key; the name should be no longer than 8 bytes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear l2protocol-tunnel cos clear l2protocol-tunnel cos To clear the Layer 2 protocol tunneling CoS value for all ingress tunneling ports, use the clear l2protocol-tunnel cos command. clear l2protocol-tunnel cos Syntax Description This command has no arguments or keywords. Defaults The CoS value is restored to 5. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear l2protocol-tunnel statistics clear l2protocol-tunnel statistics To clear Layer 2 protocol tunneling statistics on a port or on all tunneling ports, use the clear l2protocol-tunnel statistics command. clear l2protocol-tunnel statistics [mod/port] Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear lacp-channel statistics clear lacp-channel statistics To clear Link Aggregation Control Protocol (LACP) statistical information, use the clear lacp-channel statistics command. clear lacp-channel statistics Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear lda clear lda To remove the accelerated server load balancing (ASLB) MLS entries or MAC addresses from the switch, use the clear lda command. clear lda mls clear lda mls [destination ip_addr_spec] [source ip_addr_spec] [protocol protocol src-port src_port dst-port dst_port] clear lda vip {all | vip | vip tcp_port} clear lda mac {all | router_mac_address} Syntax Description mls Removes an LDA MLS entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear lda Usage Guidelines This command is supported only on switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC (Policy Feature Card).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear localuser clear localuser To delete a local user account from the switch, use the clear localuser command. clear localuser name Syntax Description name Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to delete a local user account: Specifies the local user account. Console> (enable) clear localuser troy Local user cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear log clear log To delete module, system error log, or dump log entries, use the clear log command. clear log [mod] clear log dump Syntax Description mod (Optional) Module number. dump Clears dump log entries. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you do not specify a module number, the system error log for the entire system is erased.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear log command clear log command To clear the command log entry table, use the clear log command command. clear log command [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines The command log entry table is a history log of the commands sent to the switch from the console or Telnet.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear logging buffer clear logging buffer To clear the system logging buffer, use the clear logging buffer command. clear logging buffer Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear logging level clear logging level To reset the logging level for a facility or for all facilities to their default settings, use the clear logging level command. clear logging level {facility | all} Syntax Description facility Name of the facility to reset; facility types are listed in Table 2-1. all Resets all facilities.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear logging level Table 2-1 Facility Types (continued) Facility Name Definition spantree Spanning Tree Protocol sys System tac Terminal Access Controller tcp Transmission Control Protocol telnet Terminal Emulation Protocol tftp Trivial File Transfer Protocol udld User Datagram Protocol vmps VLAN Membership Policy Server vtp Virtual Terminal Protocol Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear logging server clear logging server To delete a syslog server from the system log server table, use the clear logging server command. clear logging server ip_addr Syntax Description ip_addr Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to delete a syslog server from the configuration: IP address of the syslog server to be deleted.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls cef clear mls cef To clear CEF summary statistics, use the clear mls cef command. clear mls cef Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls entry clear mls entry To clear MLS entries in the Catalyst 6500 series switches, use the clear mls entry command. clear mls entry [ip | ipx] all clear mls entry ip destination ip_addr_spec [source ip_addr_spec] [protocol protocol] [src-port src_port] [dst-port dst_port] clear mls entry ipx destination ipx_addr_spec Syntax Description ip (Optional) Specifies IP MLS. ipx (Optional) Specifies IPX MLS. all Clears all MLS entries.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls entry Up to 16 routers can be included explicitly as MLS-RPs. To use a router as an MLS, you must meet these conditions: • The router must be included (either explicitly or automatically) in the MLS-SE. • The MLS feature must be enabled in the Catalyst 6500 series switches. • The Catalyst 6500 series switches must know the router’s MAC-VLAN pairs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls entry cef adjacency clear mls entry cef adjacency To clear CEF adjacency statistics, use the clear mls entry cef adjacency command. clear mls entry cef adjacency clear mls entry cef ip [[ip_addr/]mask_len] adjacency clear mls entry cef ipx [[ipx_addr/]mask_len] adjacency Syntax Description ip Specifies IP entries. ipx Specifies IPX entries. ip_addr (Optional) IP address of the entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls exclude protocol clear mls exclude protocol To remove a protocol port that has been excluded from shortcutting using the set mls exclude protocol command, use the clear mls exclude protocol command. clear mls exclude protocol tcp | udp | both port Syntax Description tcp Specifies a TCP port. udp Specifies a UDP port. both Specifies that the port be applied to both TCP and UDP traffic. port Number of the port.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls multicast statistics clear mls multicast statistics To remove MLS multicast statistics maintained by the MSFC on the switch, use the clear mls multicast statistics command. clear mls multicast statistics [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls nde flow clear mls nde flow To reset the NDE filters in the Catalyst 6500 series switches, use the clear mls nde flow command. clear mls nde flow Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines Clearing both exclusion and inclusion filters results in exporting of all flows.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls statistics clear mls statistics To clear hardware-installed MLS statistics entries, use the clear mls statistics command. clear mls statistics clear mls statistics protocol {protocol port} | all Syntax Description statistics Clears total packets switched and total packets exported (for NDE). statistics protocol Clears protocols for statistics collection. protocol Number of the protocol in the protocol statistics list.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls statistics Related Commands set mls statistics protocol show mls statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls statistics entry clear mls statistics entry To clear statistics for MLS entries, use the clear mls statistics entry command. clear mls statistics entry [ip | ipx] all clear mls statistics entry ip [destination ip_addr_spec] [source ip_addr_spec] [protocol protocol] [src-port src_port] [dst-port dst_port] clear mls statistics entry ipx destination ipx_addr_spec Syntax Description ip (Optional) Specifies IP MLS.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear mls statistics entry • IPX address—ipx_net.ipx_node (for example 3.0034.1245.AB45, A43.0000.0000.0001) Up to 16 routers can be included explicitly as MLS-RPs. To use a router as an MLS, you must meet these conditions: • The router must be included (either explicitly or automatically) in the MLS-SE. • The MLS feature must be enabled in the Catalyst 6500 series switches.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear module password clear module password To clear the password set by the password [username] NAM command, use the clear module password command. clear module password mod Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is supported by the NAM only. Number of the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear multicast router clear multicast router To clear manually configured multicast router ports from the multicast router port list, use the clear multicast router command. clear multicast router {mod/port | all} Syntax Description mod/port Number of the module and the port on the module. all Specifies all multicast router ports to be cleared. Defaults The default configuration has no multicast router ports configured.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ntp server clear ntp server To remove one or more servers from the NTP server table, use the clear ntp server command. clear ntp server {ip_addr | all} Syntax Description ip_addr IP address of the server to remove from the server table. all Specifies all server addresses in the server table to be removed. Defaults The default configuration has no NTP servers configured. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ntp timezone clear ntp timezone To return the time zone to its default, UTC, use the clear ntp timezone command. clear ntp timezone Syntax Description This command has no arguments or keywords. Defaults The default time zone is UTC. Command Types Switch command. Command Modes Privileged. Usage Guidelines The clear ntp timezone command functions only when NTP is running.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear pbf clear pbf To remove the MAC address for the PFC2, use the clear pbf command. clear pbf Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear pbf-map clear pbf-map To clear PBF map information, use the clear pbf-map command. clear pbf-map {vlan vlan} | all | {ip_addr_1} {mac_addr_1} {vlan_1} {ip_addr_2} {mac_addr_2} {vlan_2} Syntax Description vlan vlan Clears the ACL with the name PBF_MAP_ACL_vlan and the adjacency table used by this ACL. all Clears all adjacency information and ACLs that were created by entering the set pbf-map command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear pbf-map This example shows how to clear all adjacency information and ACLs that were created by entering the set pbf-map command: Console> (enable) clear pbf-map all ACL 'PBF_MAP_ACL_11' successfully deleted. Console> (enable) ACL 'PBF_MAP_ACL_22' successfully deleted. Console> (enable) This example shows how to clear all entries that enable traffic between the two specified hosts: Console> (enable) clear pbf-map 1.1.1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port broadcast clear port broadcast To disable broadcast/multicast suppression on one or more ports, use the clear port broadcast command. clear port broadcast mod/port Syntax Description mod/port Defaults The default configuration has broadcast/multicast suppression cleared (that is, unlimited broadcast/multicast traffic allowed). Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port cops clear port cops To clear port roles, use the clear port cops command. clear port cops mod/port roles role1 [role2]... clear port cops mod/port all-roles Syntax Description mod/port Number of the module and the port on the module. roles role# Specifies the roles to clear. all-roles Clears all roles. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port host clear port host To clear the port configuration for optimizing a host connection, use the clear port host command. clear port host mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port qos cos clear port qos cos To return the values set by the set port qos cos command to the default settings for all specified ports, use the clear port qos cos command. clear port qos mod/ports.. cos Syntax Description mod/ports.. Defaults The default CoS for a port is 0. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port security clear port security To clear all MAC addresses or a specific MAC address from the list of secure MAC addresses on a port, use the clear port security command. clear port security mod/port {mac_addr | all} Syntax Description mod/port Number of the module and the port on the module. mac_addr MAC address to be deleted. all Removes all MAC addresses. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear pvlan mapping clear pvlan mapping To delete a private VLAN mapping, use the clear pvlan mapping command. clear pvlan mapping primary_vlan {isolated_vlan | community_vlan | twoway_community_vlan} mod/port clear pvlan mapping mod/port Syntax Description primary_vlan Number of the primary VLAN. isolated_vlan Number of the isolated VLAN. community_vlan Number of the community VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos acl clear qos acl To remove various ACL configurations, use the clear qos acl command. clear qos acl acl_name [editbuffer_index] clear qos acl default-action {ip | ipx | mac | all} clear qos acl map {acl_name} {mod/port | vlan} clear qos acl map {acl_name | mod/port | vlan | all} Syntax Description acl_name Unique name that identifies the list to which the entry belongs. editbuffer_index (Optional) ACE position in the ACL.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos acl This example shows how to detach an ACL from a specific VLAN: Console> (enable) clear qos acl map ftp_acl 4 Hardware programming in progress... ACL ftp_acl is detached from vlan 4. Console> (enable) This example shows how to delete a specific ACE: Console> (enable) clear qos acl my_ip_acl 1 ACL my_ip_acl ACE# 1 is deleted. my_ip_acl editbuffer modified. Use ‘commit’ command to apply changes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos config clear qos config To the default settings and delete the CoS assigned to MAC addresses, use the clear qos config command to return the values set by the set qos command. clear qos config Syntax Description This command has no arguments or keywords. Defaults The default is QoS is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos cos-dscp-map clear qos cos-dscp-map To clear CoS-to-DSCP mapping set by the set qos cos-dscp-map command and return to the default setting, use the clear qos cos-dscp-map command. clear qos cos-dscp-map Syntax Description This command has no arguments or keywords. Defaults The default CoS-to-DSCP configuration is listed in Table 2-2.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos dscp-cos-map clear qos dscp-cos-map To clear DSCP-to-CoS mapping set by the set qos dscp-cos-map command and return to the default setting, use the clear qos dscp-cos-map command. clear qos dscp-cos-map Syntax Description This command has no arguments or keywords. Defaults The default DSCP-to-CoS configuration is listed in Table 2-3.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos ipprec-dscp-map clear qos ipprec-dscp-map To reset the mapping set by the set qos ipprec-dscp-map command to the default setting, use the clear qos ipprec-dscp-map command. clear qos ipprec-dscp-map Syntax Description This command has no arguments or keywords. Defaults The default IP precedence-to-DSCP configuration is listed in Table 2-4.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos mac-cos clear qos mac-cos To clear the values set by the set qos mac-cos command, use the clear qos mac-cos command. clear qos mac-cos dest_mac [vlan] clear qos mac-cos all Syntax Description dest_mac Number of the destination host MAC address. vlan (Optional) Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094. all Clears CoS values for all MAC/VLAN pairs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos map clear qos map To return the values to the default settings, use the clear qos map command. clear qos map port_type tx | rx Syntax Description Defaults port_type Port type; valid values are 2q2t, 1p3q1t, and 1p2q2t for transmit and 1p1q4t and 1p1q0t for receive. See the “Usage Guidelines” section for additional information. tx | rx Specifies the transmit or receive queue.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos map Examples This example shows how to return the values to the default settings: Console> (enable) clear qos map 2q2t This command will take map values back to factory default. QoS map cleared. Console> (enable) Related Commands set qos map show qos maps Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos policed-dscp-map clear qos policed-dscp-map To reset the policer-to-dscp mapping table to the defaults, use the clear qos policed-dscp-map. clear qos policed-dscp-map Syntax Description This command has no arguments or keywords. Defaults The default is the identity function; for example, DSCP 63 to policed DSCP 63 and DSCP 62 to policed DSCP 62. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos policer clear qos policer To clear policing rules from NVRAM, use the clear qos policer command. clear qos policer microflow microflow_name | all clear qos policer aggregate aggregate_name | all Syntax Description microflow microflow_name Specifies the name of the microflow policing rule. aggregate aggregate_name Specifies the name of the aggregate policing rule. all Clears all policing rules.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos policer This example shows how to clear a specific aggregate policing rule: Console> (enable) clear qos policer aggregate my_micro my_micro QoS microflow policer cleared. Console> (enable) This example shows how to clear all aggregate policing rules: Console> (enable) clear qos policer aggregate all All QoS aggregate policer cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear qos statistics clear qos statistics To clear QoS statistic counters, use the clear qos statistics command. clear qos statistics [aggregate-policer [policer_name]] Syntax Description aggregate-policer (Optional) Clears QoS aggregate policer statistics. policer_name (Optional) Name of the aggregate policer. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear radius clear radius To clear one or all of the RADIUS servers from the RADIUS server table or remove a shared key entry, use the clear radius command. clear radius server all clear radius server ipaddr clear radius key Syntax Description server Specifies RADIUS servers. all Specifies all RADIUS servers. ipaddr Number of the IP address or IP alias. key Specifies the RADIUS shared key.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear rcp clear rcp To clear rcp information for file transfers, use the clear rcp command. clear rcp Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear rgmp statistics clear rgmp statistics To clear RGMP statistics information for all VLANs, use the clear rgmp statistics command. clear rgmp statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl clear security acl To remove a specific access control entry (ACE) or all ACEs from a VACL and to delete the VACLs from the edit buffer, use the clear security acl command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl Usage Guidelines Changes you make by entering this command are saved to NVRAM and hardware only after you enter the commit command. Use the show security acl command to display the VACL list. The adjacency ACE cannot be cleared before the redirect ACE. The redirect ACE and the adjacency ACE in PBF VACLs should be cleared in the following order: 1. Clear the redirect ACE. 2. Commit the VACL. 3. Clear the adjacency ACE.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl capture-ports clear security acl capture-ports To remove a port from the capture port list, use the clear security acl capture-ports command. clear security acl capture-ports {mod/ports...} Syntax Description mod/ports... Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines Configurations you make by entering this command are saved in NVRAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl log flow clear security acl log flow To clear all flows in the security ACL log table, use the clear security acl log flow command. clear security acl log flow Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl map clear security acl map To remove VACL-to-VLAN mapping, use the clear security acl map command. clear security acl map acl_name vlan clear security acl map {acl_name | vlan | all} Syntax Description acl_name Name of the VACL whose VLAN is to be deleted. vlan Number of the VLAN whose mapping is to be deleted; valid values are from 1 to 1000 and from 1025 to 4094. all Removes all VACL-to-VLAN mappings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear security acl map This example shows how to remove all VACL-to-VLAN mappings from a specific VLAN: Console> (enable) clear security acl map 5 Map deletion in progress. Successfully cleared mapping between ACL ipx1 and VLAN 5. Successfully cleared mapping between ACL mac2 and VLAN 5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp access clear snmp access To remove the access rights of an SNMP group, use the clear snmp access command. clear snmp access [-hex] {groupname} {security-model {v1 | v2c}} clear snmp access {security-model v3 {noauthentication | authentication | privacy}} [context [-hex] contextname] Syntax Description -hex (Optional) Displays the groupname or contextname in a hexadecimal format. groupname SNMP access table name.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp access-list clear snmp access-list To clear the IP address of a host that is associated with an access list number, use the clear snmp access-list command. clear snmp access-list access_number IP_address [[IP_address] ...] Syntax Description access_number Number that specifies a list of hosts that are permitted to use a specific community string; valid values are 1 to 65535.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp community clear snmp community To clear an SNMP community table, use the clear snmp community command. clear snmp community index [-hex] {index_name} Syntax Description index Specifies clearing an index. -hex (Optional) Displays the index_name value in a hexadecimal format. index_name Name of the SNMP index. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp community-ext clear snmp community-ext To clear an existing community string, use the clear snmp community-ext command. clear snmp community-ext community_string Syntax Description community_string Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp group clear snmp group To remove the SNMP user from an SNMP group, use the clear snmp group command. clear snmp group [-hex] groupname {user [-hex] username} {security-model {v1 | v2c | v3}} Syntax Description -hex (Optional) Displays the groupname and username as a hexadecimal format. groupname Name of the SNMP group that defines an access control. user Specifies the SNMP group username. username Name of the SNMP user.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp ifalias clear snmp ifalias To clear an SNMP interface alias, use the clear snmp ifalias command. clear snmp ifalias {ifindex | all} Syntax Description ifindex Interface index number. all Clears all interface aliases. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp notify clear snmp notify To clear the SNMP notifyname in the snmpNotifyTable, use the clear snmp notify command. clear snmp notify [-hex] {notifyname} Syntax Description -hex (Optional) Displays the notifyname value as a hexadecimal format. notifyname Identifier to index the snmpNotifyTable. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp targetaddr clear snmp targetaddr To clear the SNMP target address entry in the TargetAddressTable, use the clear snmp targetaddr command. clear snmp targetaddr [-hex] {addrname} Syntax Description -hex (Optional) Displays the addrname value as a hexadecimal format. addrname Name of the target agent; the maximum length is 32 bytes. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp targetparams clear snmp targetparams To clear the SNMP target parameters used in the snmpTargetParamsTable, use the clear snmp targetparams command. clear snmp targetparams [-hex] {paramsname} Syntax Description -hex (Optional) Displays the paramsname value as a hexadecimal format. paramsname Name of the target parameter in the snmpTargetParamsTable; the maximum length is 32 bytes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp trap clear snmp trap To clear an entry from the SNMP trap receiver table, use the clear snmp trap command. clear snmp trap {rcvr_addr} [all] Syntax Description rcvr_addr IP address or IP alias of the trap receiver (the SNMP management station) to clear. all (Optional) Specifies every entry in the SNMP trap receiver table. Defaults The default configuration has no entries in the SNMP trap receiver table.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp user clear snmp user To remove an SNMP user, use the clear snmp user command. clear snmp user [-hex] {username} [remote engineid] Syntax Description -hex (Optional) Displays the username value as a hexadecimal format. username Name of the user on the host that connects to the agent. remote engineid (Optional) Specifies the username value on a remote SNMP engine.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear snmp view clear snmp view To remove the MIB view entry from the vacmViewTreeFamilyTable, use the clear snmp view command. clear snmp view [-hex] {viewname subtree} Syntax Description -hex (Optional) Displays the viewname value as a hexadecimal format. viewname Name of a MIB view. subtree Name of the subtree. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree detected-protocols clear spantree detected-protocols To detect legacy bridges and the boundary ports of the MST region, use the clear spantree detected-protocols command. clear spantree detected-protocols mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree mst clear spantree mst To clear the mapping of VLANs to an MST instance, use the clear spantree mst command. clear spantree mst instance [vlan vlans] Syntax Description instance Number of the instance or range of instances; valid values are from 0 to 15. See the “Usage Guidelines” section for more information. vlan vlans (Optional) Specifies the VLAN number; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portcost clear spantree portcost To clear the port cost of a port on the switch, use the clear spantree portcost command. clear spantree portcost mod/port [mst] Syntax Description mod/port Number of the module and the port on the module. mst (Optional) Restores the default path cost to an MST instance on a port. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portinstancecost clear spantree portinstancecost To restore the default path cost to an instance on a port, use the clear spantree portinstancecost command. clear spantree portinstancecost mod/port [mst] instances Syntax Description Defaults mod/port Number of the module and the port on the module. mst (Optional) Restores the default path cost to an MST instance on a port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portinstancecost Related Commands set spantree portinstancecost show spantree statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portinstancepri clear spantree portinstancepri To restore the default path cost to an instance on a port, use the clear spantree portinstancepri command. clear spantree portinstancepri mod/port [mst] [instances] Syntax Description mod/port Number of the module and the port on the module. mst (Optional) Resets the spanning tree port MST instance priority.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portpri clear spantree portpri To clear the port priority of a port on the switch, use the clear spantree portpri command. clear spantree portpri mod/port [mst] Syntax Description mod/port Number of the module and the port on the module. mst (Optional) Resets the MST port priority. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portvlancost clear spantree portvlancost To restore the default path cost to a VLAN on a port, use the clear spantree portvlancost command. clear spantree portvlancost mod/port [vlans] Syntax Description Defaults mod/port Number of the module and the port on the module. vlans (Optional) Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portvlancost Usage Guidelines This command is valid in PVST+ mode only. If you do not specify a VLAN, all VLANs are cleared. Examples These examples show how to restore the default path cost to a VLAN on a port: Console> (enable) clear spantree portvlancost 2/10 1-10 Port 2/10 VLANs 11-21 have path cost 6 Port 2/10 VLANs 1-10,22-1000 have path cost 10.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portvlanpri clear spantree portvlanpri To reset the spanning tree port VLAN priority, use the clear spantree portvlanpri command. clear spantree portvlanpri mod/port [vlans] Syntax Description mod/port Number of the module and the port on the module. vlans (Optional) Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree root clear spantree root To restore the spanning tree bridge priority, hello time, maxage, and forward delay on the switch to their default values, use the clear spantree root command. clear spantree root [vlans] clear spantree root mistp-instance instances clear spantree root mst instances Syntax Description Defaults vlans (Optional) Number of the VLAN; valid values are from 1 to 1000 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree root This example shows how to clear the spanning tree root on an instance: Console> Instance Instance Instance Instance Console> (enable) 1 bridge 1 bridge 1 bridge 1 bridge (enable) clear spantree root mistp-instance 1 priority set to 32768. max aging time set to 20. hello time set to 2. forward delay set to 15.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree statistics clear spantree statistics To clear the spanning tree statistics, use the clear spantree statistics command. clear spantree statistics mod/port clear spantree statistics vlans clear spantree statistics mistp-instance instances clear spantree statistics mst instances Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree statistics This example shows how to clear the spanning tree statistics for an MST instance: Console> (enable) clear spantree statistics mst 0 Statistics cleared for MST instance: 0 Console> (enable) Related Commands show spantree statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree uplinkfast clear spantree uplinkfast To turn off the UplinkFast feature and to return the switch priority and port costs to the default settings, use the clear spantree uplinkfast command. clear spantree uplinkfast Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear tacacs key clear tacacs key To remove the key setting used for TACACS+ authentication and encryption, use the clear tacacs key command. clear tacacs key Syntax Description This command has no arguments or keywords. Defaults The default key value is null. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear tacacs server clear tacacs server To remove a host from the list of TACACS+ servers, use the clear tacacs server command. clear tacacs server ip_addr Syntax Description ip_addr Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear timezone clear timezone To return the time zone to its default, UTC, use the clear timezone command. clear timezone Syntax Description This command has no arguments or keywords. Defaults The default time zone is UTC. Command Types Switch command. Command Modes Privileged. Usage Guidelines The clear timezone command functions only when NTP is running.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear top clear top To stop the TopN process, use the clear top command. clear top {all | report_num} Syntax Description all Stops all nonpending TopN results. report_num TopN report number to kill; valid values are from 1 to 5. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines The clear top all command will not kill any pending TopN reports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear trunk clear trunk To restore a trunk port to its default trunk type and mode or to clear specific VLANs from the allowed VLAN list for a trunk port, use the clear trunk command. clear trunk mod/port [vlans] Syntax Description mod/port Number of the module and the port on the module. vlans (Optional) Number of the VLAN to remove from the allowed VLAN list; valid values are from 2 to 1005 and 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vlan clear vlan To delete an existing VLAN from a management domain or to clear VLANs that are secured by a Firewall Services Module, use the clear vlan command. clear vlan vlans clear vlan {vlans} firewall-vlan {mod} Syntax Description vlans Number of the VLAN; valid values are from 2 to 1000 and from 1025 to 4094. firewall-vlan Clears VLANs that are secured by a Firewall Services Module. mod Number of the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vlan Related Commands set vlan show vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vlan counters clear vlan counters To return the software-cached counters to 0 for all VLANs, use the clear vlan counters command. clear vlan counters {vlans | all} Syntax Description vlans Number of the VLAN or range of VLANs; valid values are from 1 to 1005 and from 1025 to 4094 all Clears counters for all VLANs. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vlan mapping clear vlan mapping To delete existing IEEE 802.1Q VLAN-to-ISL VLAN mappings or reserved-to-nonreserved VLAN mapping, use the clear vlan mapping command. clear vlan mapping dot1q {dot1q_vlan | all} clear vlan mapping reserved {reserved_vlan | all} Syntax Description dot1q dot1q_vlan Clears the IEEE 802.1Q VLAN-to-ISL VLAN mapping. dot1q all Clears all IEEE 802.1Q VLAN-to-ISL VLAN mappings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vlan mapping Related Commands set vlan show vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vmps rcp clear vmps rcp To delete the VMPS rcp username from the VMPS server table, use the clear vmps rcp command. clear vmps rcp username Syntax Description username Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you do not enter a username, all rcp usernames are deleted.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vmps server clear vmps server To delete a VMPS server from the VMPS server table, use the clear vmps server command. clear vmps server ip_addr Syntax Description ip_addr Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to clear a VMPS server from the VMPS table: IP address or host name of the VMPS server to be deleted.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vmps statistics clear vmps statistics To delete existing VMPS statistics, use the clear vmps statistics command. clear vmps statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vtp pruneeligible clear vtp pruneeligible To specify which VLANs in the VTP domain are ineligible for pruning, use the clear vtp pruneeligible command. clear vtp pruneeligible vlans... Syntax Description vlans... Defaults The default is VLANs 2 through 1005 are eligible for pruning. Command Types Switch command. Command Modes Privileged.
2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands clear vtp statistics clear vtp statistics To delete VTP statistics, use the clear vtp statistics command. clear vtp statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to clear VTP statistics: Console> (enable) clear vtp statistics vtp statistics cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands commit commit To commit all ACEs or a specific ACE in NVRAM that has not been written to hardware, use the commit command. commit qos acl {acl_name | all | adjacency} commit security acl {acl_name | all | adjacency} Syntax Description qos acl Specifies QoS ACEs. acl_name Name that identifies the VACL whose ACEs are to be committed. all Commits ACEs for all the ACLs. adjacency Commits adjacency table entries.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands commit Related Commands rollback Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands commit lda commit lda To commit ASLB configuration that has not been written to hardware to NVRAM, use the commit lda command. commit lda Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to commit ASLB configuration to NVRAM: Console> (enable) commit lda Commit operation in progress...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands configure configure To download a configuration file from an rcp server or the network and execute each command in that file, use the configure command. configure {host file}[rcp] configure network Syntax Description host IP address or IP alias of the host. file Name of the file. rcp (Optional) Specifies rcp as the file transfer method. network Specifies interactive prompting for the host and the file.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands configure Wed May 19 1999, 17:42:50 >> set ip alias conc7 198.133.219.207 IP alias added. >> set ip alias montreux 198.133.219.40 IP alias added. >> set ip alias cres 192.122.174.42 IP alias added. >> set prompt system5> >> set password Enter old password: Enter new password: pingpong Retype new password: pingpong Password changed. system5> (enable) Related Commands copy show config Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands confreg confreg To configure the configuration register utility, use the confreg command. confreg [num] Syntax Description num Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines Executed with the confreg argument num, the VCR changes to match the number specified. (Optional) Valid values are 0 = ROM monitor, 1 = boot helper image, and 2 to 15 = boot system.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands confreg enter to boot: 0 = ROM Monitor 1 = the boot helper image 2-15 = boot system [0]: 0 Configuration Summary enabled are: diagnostic mode console baud: 9600 boot: the ROM Monitor do you wish to change the configuration? y/n [n]: You must reset or power cycle for new config to take effect Related Commands show boot Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands context context To display the context of a loaded image, use the context command. context Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines The context from the kernel mode and process mode of a booted image are displayed, if available.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands context a0 a1 a2 a3 t0 t1 t2 t3 t4 t5 t6 t7 HI EPC Stat : : : : : : : : : : : : : : : 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000 ffffffff 00000000 00000000 34008303 00000400 60276c58 00000074 00000000 00000400 00000400 00000000 ffff00ff 600dcc10 0000003f 00000000 ffffffff 00000008 600dfd38 | | | | | | | | | | | | | | | s4 s5 s6 s7 t8 t9 k0 k1 gp sp s8 ra LO ErrPC Cause : : : : : :
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy copy To upload or download a Flash image or a switch configuration to or from a Flash device, rcp server, or TFTP server, use the copy command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy Command Types Switch command. Command Modes Privileged. Usage Guidelines Use the copy command to perform these tasks: Caution • Download a system image or configuration file from a TFTP or rcp server to a Flash device. • Upload a system image or configuration file from a Flash device to a TFTP or rcp server. • Configure the switch using a configuration file on a Flash device or on a TFTP or rcp server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy Examples This example shows how to use the copy command to upload the switch configuration to a file named cat.cfg on the slot0 Flash device: Console> (enable) copy config slot0:cat.cfg Upload configuration to slot0:cat.cfg 649324 bytes available on device slot0, proceed (y/n) [n]? y ......... ......... ......... ........ ......... . / Configuration has been copied successfully.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy Console> (enable) copy tftp config IP address or name of remote host? 172.20.22.7 Name of configuration file? cat.cfg Configure using cat.cfg from 172.20.22.7 (y/n) [n]? y / Finished network download. (10900 bytes) >> set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 Password changed. >> set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 Password changed. >> set prompt Console> >> set length 24 default Screen length set to 24. >> set logout 20 ....
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy This example shows how to configure a Catalyst 6500 series switch using a configuration file downloaded from an rcp server: Console> (enable) copy rcp config IP address or name of remote host []? 172.20.52.3 Name of file to copy from []? dns-config.cfg Configure using rcp:dns-config.cfg (y/n) [n]? y / Finished network download. (134 bytes) >> >> set ip dns server 172.16.10.70 primary 172.16.10.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands copy Related Commands configure set boot config-register set boot config-register auto-config write Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands delete delete To delete a configuration file, use the delete command. delete [[m/]device:]filename Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Device where the Flash resides. filename Name of the configuration file. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands dev dev To list the device IDs available on a switch, use the dev command. dev Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands dir—ROM monitor dir—ROM monitor To list the files of the named device, use the dir command. dir device Syntax Description device Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Examples This example shows how to use the dir command: ID of the device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands dir—switch dir—switch To display a list of files on a Flash memory device, use the dir command. dir [[m/]device:][filename] [all | deleted | long] Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Device where the Flash resides. filename (Optional) Name of the configuration file. all (Optional) Displays all files, deleted or not.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands dir—switch Table 2-11 Long Format Examples Column Heading Description # File index number ED Letter to indicate whether the file contains an error (E) or is deleted (D) type File type (1 = configuration file, 2 = image file); when the file type is unknown, the system displays a zero or FFFFFFFF in this field crc File cyclic redundancy check seek Offset into the file system of the next file nlen Filename length length File leng
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands disable disable To return to normal mode from privileged mode, use the disable command. disable Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands disconnect disconnect To close an active console port or Telnet session, use the disconnect command. disconnect {ip_addr | console} Syntax Description ip_addr IP address or IP alias. console Denotes an active console port. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands download download To copy a software image from a specified host to the Flash memory of a designated module, use the download command. download host file [mod] [rcp] download serial download vmps download boot flash_device:filename mod_num download epld file [mod [force]] Syntax Description host Name or IP address of host. file Name of file to be downloaded. mod (Optional) Number of the module to receive the downloaded image.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands download The download serial command uses Kermit through the serial EIA/TIA-232 console port. The download serial command is not allowed from a Telnet session. Before you can execute the download vmps command successfully, you must use the set vmps downloadserver command to configure the IP address of the TFTP server and the name of the VMPS configuration file on that server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands download This sample session shows how to connect to a remote terminal from a Sun workstation and how to use the download serial command to copy a software image to the supervisor engine: [At local Sun workstation] host% kermit C-Kermit 5A(172) ALPHA, 30 Jun 95, SUNOS 4.0 (BSD) Type ? or ’help’ for help C-Kermit> set line /dev/ttyb C-Kermit> c Connecting to /dev/ttyb, speed 9600. The escape character is ^ (ASCII 28).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands download This example shows how to upgrade the EPLD image in force mode on the module in slot 5: Console> (enable) download epld aq_cr128_art.bin 5 force CCCCCC Device found requiring upgrade in slot 5. ######################################################## # W A R N I N G # # # # Any disruptions to the module during programming may # # leave the module or system in an inconsistent state.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands enable enable To activate privileged mode, use the enable command. In privileged mode, additional commands are available, and certain commands display additional information. enable Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands format format To format bootflash or a Flash PC card (a Flash device must be formatted before it can be used), use the format command. format [spare spare-num] [m/]device1: [[device2:][monlib-filename]] Syntax Description spare spare_num (Optional) Indicates the number of spare sectors to reserve when other sectors fail. m/ (Optional) Module number of the supervisor engine containing the Flash device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands format You can also specify device1:monlib-filename as the device and filename to be used, as follows: format device1: [device1: [monlib-filename]] If monlib-filename is omitted, the system formats device1: using the built-in monlib file on the device. Examples Note When the system cannot find a monlib file, the system terminates the formatting process.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands frame frame To display an individual stack frame, use the frame command. frame [-d | -p] [num] Syntax Description -d (Optional) Specifies a monitor context. -p (Optional) Specifies a booted image process level context. num (Optional) Number of the frame to display, where 0 = youngest frame. Defaults The default is a booted image kernel context, which is the youngest frame. Command Types ROM monitor command. Command Types Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands fsck fsck To check a Flash file system for damage and to repair any problems, use the fsck command. fsck [m/]device: [automatic] Syntax Description m/ (Optional) Number of the module that contains the Flash device. device: Name of the Flash device; valid device names are disk0: and disk1:. automatic (Optional) Specifies automatic mode. See the “Usage Guidelines” section for more information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands fsck Enter the dir command again to see that the corrupted file is corrected: Console> (enable) dir disk0: 3 -rw556 Mar 4 -rw556 Mar 5 -rw556 Mar 6 -rw4096 Mar CORRECT Console> (enable) Related Commands 06 06 06 06 2049 2049 2049 2049 16:26:16 16:26:16 16:26:16 16:26:16 t1 t2 t3 t4 dir—switch Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands history—ROM monitor history—ROM monitor To display the command history (the last 16 commands executed in the ROM monitor environment), use the history command. This command is aliased to “h” by the ROM monitor for convenience. history Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands history—switch history—switch To show the contents of the command history buffer, use the history command. history Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The history buffer size is fixed at 20 commands.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands l2trace l2trace To display the Layer 2 path taken by the packets that start at a specified source address and end at a specified destination address, use the l2trace command. l2trace src_mac_addr dest_mac_addr [vlan] [detail] l2trace src_ip_addr dest_ip_addr [detail] Syntax Description src_mac_addr Source MAC address. dest_mac_addr Destination MAC address. vlan (Optional) Number of the VLAN. src_ip_addr Source IP address or alias.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands l2trace The Layer 2 trace feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors detected on a port). When more than one CDP neighbor is detected on the port, l2trace is aborted.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands l2trace This example shows how to display a summary of Layer 2 packet path information for a specified source and destination MAC address: Console> (enable) l2trace 00-01-22-33-44-55 10-22-33-44-55-66 Starting L2 Trace sc0 :9.7.0.7 : 3/7 4/16 :9.7.0.2 : 4/10 Console> (enable) Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands meminfo meminfo To display information about the main memory, packet memory, and NVRAM, use the meminfo command. With the -l option, the supported DRAM configurations are displayed. meminfo [-l] Syntax Description -l Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines The minus sign (-) is required with the -l option.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands ping ping To send ICMP echo-request packets to another node on the network, use the ping command. You can also use the ping command without arguments to configure ping. ping -s host ping -s host [packet_size] [packet_count] ping Syntax Description Defaults -s Causes ping to send one datagram per second, printing one line of output for every response received. host IP address or IP alias of the host.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands ping The guidelines for the ping -s command are as follows: • The maximum waiting time before timing out is 2 seconds. • A new ping packet is generated after 1 second of sending the previous packet, regardless of whether or not an echo-reply is received. • If you do not enter a packet count, continuous ping results. • Network or host unreachable—The switch found no corresponding entry in the route table.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands ping 64 bytes from elvis: icmp_seq=4. time=11 ms 64 bytes from elvis: icmp_seq=5. time=7 ms 64 bytes from elvis: icmp_seq=6. time=7 ms ^C ----elvis PING Statistics---7 packets transmitted, 7 packets received, 0% packet loss round-trip (ms) min/avg/max = 7/8/11 Console> This example shows how to configure ping: Console> (enable) ping Target IP Address []: 172.20.52.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands pwd pwd To show the current setting of the cd command, use the pwd command. pwd [[m/]device:] Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Device where the Flash resides. Defaults If no module number or device is specified, pwd defaults to the first module of the active device. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands quit quit To exit a CLI session, use the quit command. quit Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The exit and logout commands perform the same function as the quit command. Examples This example shows how to quit a CLI session: Console> quit Connection closed by foreign host.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reconfirm vmps reconfirm vmps To reconfirm the current dynamic port VLAN membership assignments with the VMPS server, use the reconfirm vmps command. reconfirm vmps Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines VMPS database changes are not conveyed automatically to switches participating in VMPS.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reload reload To force a module to accept a download through SCP, use the reload command. This command resets the module and prompts you to initiate a download when the reset is complete. reload module Syntax Description module Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is used if a module is accidently reset during the downloading of an image.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands repeat repeat To repeat a command, use the repeat command. repeat [num | string] Syntax Description number (Optional) Number of the command. string (Optional) Command string. Defaults If no argument is specified, the last command is repeated. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines The optional command number (from the history buffer list) or match string specifies which command to repeat.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands repeat rommon 23 > repeat dir dir bootflash: File size 1973032 bytes (0x1e1b28) rommon 24 > repeat dir bootflash: File size 1973032 bytes (0x1e1b28) rommon 25 > repeat 15 meminfo -l Checksum File name 0xdadf5e24 llue Checksum File name 0xdadf5e24 llue Main memory size: 16 MB.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reset—ROM monitor reset—ROM monitor To perform a soft reset of the switch, use the reset ROM monitor command. reset [-s] Syntax Description -s Defaults The default Flash device is slot0. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines This command will not boot the MSFC if the PFC is not present in the Catalyst 6500 series switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reset—switch reset—switch To restart the system or an individual module, schedule a system reset, or cancel a scheduled reset, use the reset command. reset [mod | system | mindown] reset [mindown] at {hh:mm} [mm/dd] [reason] reset [mindown] in [hh:] {mm} [reason] reset [cancel] reset {mod} [bootdevice[,bootdevice]] Syntax Description mod (Optional) Number of the module to be restarted. system (Optional) Resets the system.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reset—switch You can use the reset mindown command to reset the switch as part of a minimal downtime software upgrade in a system with a redundant supervisor engine. For complete information on performing a minimal downtime software upgrade, refer to the Catalyst 6500 Series Switch Software Configuration Guide for your switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands reset—switch This example shows how to schedule a reset with minimum downtime for a specific future time and include a reason for the reset: Console> (enable) reset mindown at 23:00 3/15 Software upgrade to 6.1(1). Reset scheduled at 23:00:00, Wed Mar 15 2000. Reset reason: Software upgrade to 6.1(1). Proceed with scheduled reset? (y/n) [n]? y Reset mindown scheduled for 23:00:00, Wed Mar 15 2000 (in 0 day 8 hours 39 minutes).
2F2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands restore counters restore counters To restore MAC and port counters, use the restore counters command. restore counters [all | mod/ports] Syntax Description all (Optional) Specifies all ports. mod/ports (Optional) Number of the module and the ports on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands rollback rollback To clear changes made to the ACL edit buffer since its last save, use the rollback command. The ACL is rolled back to its state at the last commit command. rollback qos acl {acl_name | all} rollback security acl {acl_name | all | adjacency} Syntax Description qos acl Specifies QoS ACEs. acl_name Name that identifies the VACL whose ACEs are to be affected. all Rolls back all ACLs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands session session To open a session with a module (for example, the MSM, NAM, or ATM), use the session command. This command allows you to use the module-specific CLI. session mod Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set set To display all of the ROM monitor variable names with their values, use the set command. set Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting commands set accounting commands To enable command event accounting on the switch, use the set accounting commands command. set accounting commands enable {config | enable | all} [stop-only] {tacacs+} set accounting commands disable Syntax Description enable Enables the specified accounting method for commands. config Permits accounting for configuration commands only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting connect set accounting connect To enable accounting of outbound connection events on the switch, use the set accounting connect command. set accounting connect enable {start-stop | stop-only} {tacacs+ | radius} set accounting connect disable Syntax Description enable Enables the specified accounting method for connection events. start-stop Applies the accounting method at the start and stop of the connection event.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting exec set accounting exec To enable accounting of normal login sessions on the switch, use the set accounting exec command. set accounting exec enable {start-stop | stop-only} {tacacs+ | radius} set accounting exec disable Syntax Description enable Enables the specified accounting method for normal login sessions. start-stop Specifies the accounting method applies at the start and stop of the normal login sessions.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting exec Related Commands set accounting commands set accounting connect set accounting suppress set accounting system set accounting update set radius key set radius server set tacacs key set tacacs server show accounting Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting suppress set accounting suppress To enable or disable suppression of accounting information for a user who has logged in without a username, use the set accounting suppress command. set accounting suppress null-username {enable | disable} Syntax Description null-username Specifies users must have a user ID. enable Enables suppression for a specified user. disable Disables suppression for a specified user.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting system set accounting system To enable accounting of system events on the switch, use the set accounting system command. set accounting system enable {start-stop | stop-only} {tacacs+ | radius} set accounting system disable Syntax Description enable Enables the specified accounting method for system events. start-stop Specifies the accounting method applies at the start and stop of the system event.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting system Related Commands set accounting commands set accounting connect set accounting exec set accounting suppress set accounting update set radius key set radius server set tacacs key set tacacs server show accounting Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set accounting update set accounting update To configure the frequency of accounting updates, use the set accounting update command. set accounting update {new-info | {periodic [interval]}} Syntax Description new-info Specifies an update when new information is available. periodic Specifies an update on a periodic basis. interval (Optional) Periodic update interval time; valid values are from 1 to 71582 minutes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set acllog ratelimit set acllog ratelimit To limit the number of packets sent to the route processor CPU for bridged ACEs, use the set acllog ratelimit command. set acllog ratelimit rate Syntax Description rate Defaults ACL log rate limiting is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set aclmerge algo set aclmerge algo To select the ACL merge algorithm, use the set aclmerge algo command. set aclmerge algo {bdd | odm} Syntax Description bdd Specifies the ACL merge function based on binary decision diagram (BDD). odm Specifies the ACL merge function based on order dependent merge (ODM). Defaults The merge algorithm is ODM. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set aclmerge bdd set aclmerge bdd To enable or disable the binary decision diagram (BDD) ACL merge algorithm, use the set aclmerge bdd command. set aclmerge bdd {enable | disable} Syntax Description enable Enables the BDD-based ACL merge function. disable Disables the BDD-based ACL merge function. Defaults BDD is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set alias set alias To define aliases (shorthand versions) of commands, use the set alias command. set alias name command [parameter] [parameter] Syntax Description name Alias being created. command Command for which the alias is being created. parameter (Optional) Parameters that apply to the command for which an alias is being created. Defaults The default is no aliases are configured. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set arp set arp To add IP address-to-MAC address mapping entries to the ARP table and to set the ARP aging time for the table, use the set arp command. set arp [dynamic | permanent | static] {ip_addr hw_addr} set arp agingtime agingtime Syntax Description dynamic (Optional) Specifies that entries are subject to ARP aging updates.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set arp This example shows how to configure a permanent ARP entry, which will remain in the ARP cache after a system reset: Console> (enable) set arp permanent 198.146.232.23 00-00-0c-30-0f-bc Permanent ARP entry added as 198.146.232.23 at 00-00-0c-30-0f-bc on vlan 5 Console> (enable) This example shows how to configure a static ARP entry, which will be removed from the ARP cache after a system reset: Console> (enable) set arp static 198.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authentication enable set authentication enable To enable authentication using the TACACS+, RADIUS, or Kerberos server to determine if you have privileged access permission, use the set authentication enable command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authentication enable Usage Guidelines Use authentication configuration for both console and Telnet connection attempts unless you use the console or telnet keywords to specify the authentication methods for each connection type individually.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authentication login set authentication login To enable TACACS+, RADIUS, or Kerberos as the authentication method for login, use the set authentication login command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authentication login Usage Guidelines This command allows you to choose the authentication method for the web interface. If you configure the authentication method for the HTTP session as RADIUS, then the username or password is validated using the RADIUS protocol, and TACACS+ and Kerberos authentication is set to disable for the HTTP sessions. By default, the HTTP login is validated using the local login password.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization commands set authorization commands To enable authorization of command events on the switch, use the set authorization commands command. set authorization commands enable {config | enable | all} {option} {fallbackoption} [console | telnet | both] set authorization commands disable [console | telnet | both] Syntax Description enable Enables the specified authorization method for commands.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization commands Examples This example shows how to enable authorization for all commands with the if-authenticated option and none fallbackoption: Console> (enable) set authorization commands enable all if-authenticated none Successfully enabled commands authorization.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization enable set authorization enable To enable authorization of privileged mode sessions on the switch, use the set authorization enable command. set authorization enable enable {option} {fallbackoption} [console | telnet | both] set authorization enable disable [console | telnet | both] Syntax Description enable Enables the specified authorization method.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization enable Examples This example shows how to enable authorization of configuration commands in enable, privileged login mode, sessions: Console> (enable) set authorization enable enable if-authenticated none Successfully enabled enable authorization. Console> (enable) This example shows how to disable enable mode authorization: Console> (enable) set authorization enable disable Successfully disabled enable authorization.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization exec set authorization exec To enable authorization of exec, normal login mode, session events on the switch, use the set authorization exec command. set authorization exec enable {option} {fallbackoption} [console | telnet | both] set authorization exec disable [console | telnet | both] Syntax Description enable Enables the specified authorization method.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set authorization exec Examples This example shows how to enable authorization of configuration commands in exec, normal login mode, sessions: Console> (enable) set authorization exec enable if-authenticated none Successfully enabled exec authorization. Console> (enable) This example shows how to disable exec mode authorization: Console> (enable) set authorization exec disable Successfully disabled exec authorization.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set banner lcd set banner lcd To configure the Catalyst 6500 series Switch Fabric Module LCD user banner, use the set banner lcd command. set banner lcd c [text] c Syntax Description c Delimiting character used to begin and end the message. text (Optional) Message of the day. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set banner motd set banner motd To program an MOTD banner to appear before session login, use the set banner motd command. set banner motd c [text] c Syntax Description c Delimiting character used to begin and end the message. text (Optional) Message of the day. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set banner telnet set banner telnet To display or suppress the “Cisco Systems Console” Telnet banner message, use the set banner telnet command. set banner telnet {enable | disable} Syntax Description enable Displays the Telnet banner. disable Suppresses the Telnet banner. Defaults The “Cisco Systems Console” Telnet banner message is enabled. Command Types Switch. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot auto-config set boot auto-config To specify one or more configuration files to use to configure the switch at bootup, use the set boot auto-config command. The list of configuration files is stored in the CONFIG_FILE environment variable. set boot auto-config device:filename [;device:filename...] [mod] Syntax Description device: Device where the startup configuration file resides. filename Name of the startup configuration file.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register set boot config-register To configure the boot configuration register value, use the set boot config-register command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register The baud rate specified in the configuration register is used by the ROM monitor only and is different from the baud rate specified by the set system baud command. When you enable the ignore-config feature, the system software ignores the configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register Related Commands copy set boot auto-config set boot system flash set config acl nvram show boot show config Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register auto-config set boot config-register auto-config To configure auto-config file dispensation, use the set boot config-register auto-config command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register auto-config If you use the set boot auto-config bootflash:switch.cfg with the overwrite option, you must use the copy config bootflash:switch.cfg command to save the switch configuration to the auto-config file. If you use the set boot auto-config bootflash:switchapp.cfg with the append option, you can use the copy acl config bootflash:switchapp.cfg command to save the switch configuration to the auto-config file.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register auto-config This example shows how to enable synchronization of the auto-config file: Console> (enable) set boot config-register auto-config sync enable Configuration register is 0x2102 ignore-config: disabled auto-config: non-recurring, append, auto-sync enabled console baud: 9600 boot: image specified by the boot system commands Console> (enable) This example shows how to disable synchronization of the auto-config
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot device set boot device To set the Network Analysis Module (NAM) or Intrusion Detection System (IDS) boot environment, use the set boot device command. set boot device bootseq[,bootseq] mod [mem-test-full] Syntax Description bootseq Device where the startup configuration file resides; see the “Usage Guidelines” section for format guidelines. The second bootseq is optional. mod Number of the module containing the Flash device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot device This example shows how to specify multiple boot environments on module 5: Console> (enable) set boot device hdd,hdd:5,pcmcia:slot0,network,hdd:6 5 Device BOOT variable = hdd,hdd:5,pcmcia:slot0,network,hdd:6 Warning:Device list is not verified but still set in the boot string. Console> (enable) Related Commands clear boot device show boot device Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot sync now set boot sync now To immediately initiate synchronization of the system image between the active and redundant supervisor engine, use the set boot sync now command. set boot sync now Syntax Description This command has no arguments or keywords. Defaults The default is synchronization is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot system flash set boot system flash To set the BOOT environment variable that specifies a list of images the switch loads at startup, use the set boot system flash command. set boot system flash device:[filename] [prepend] [mod] Syntax Description device: Device where the Flash resides. filename (Optional) Name of the configuration file. prepend (Optional) Places the device first in the list of boot devices.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot system flash Related Commands clear boot system show boot Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam set cam To add entries into the CAM table, set the aging time for the CAM table, and configure traffic filtering from and to a specific host, use the set cam command. set cam {dynamic | static | permanent} {unicast_mac | route_descr} mod/port [vlan] set cam {static | permanent} {multicast_mac} mod/ports..
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam Usage Guidelines If the given MAC address is a multicast address (the least significant bit of the most significant byte is set to 1) or broadcast address (ff-ff-ff-ff-ff-ff) and you specify multiple ports, the ports must all be in the same VLAN. If the given address is a unicast address and you specify multiple ports, the ports must be in different VLANs. The MSM does not support the set cam command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam notification set cam notification To enable notification when a MAC address change occurs to the CAM table and to set the time between notifications, use the set cam notification command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam notification Command Modes Privileged. Usage Guidelines You can globally disable notifications using the set cam notification disable command, but the other notification configuration settings will remain configured. The notification configuration settings can be reset using the clear config command. The clear cam notification command can be used to clear the history log or reset notification counters.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cam notification Related Commands clear cam clear cam notification set cam set snmp trap show cam show cam notification Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cdp set cdp To enable, disable, or configure Cisco Discovery Protocol (CDP) features globally on all ports or on specified ports, use the set cdp command. set cdp {enable | disable} {mod/ports...} set cdp interval interval set cdp holdtime holdtime set cdp version v1 | v2 set cdp format device-id {mac-address | other} Syntax Description enable Enables the CDP feature. disable Disables the CDP feature. mod/ports..
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cdp Usage Guidelines The set cdp version command allows you to globally set the highest version number of CDP packets to send. If you enter the global set cdp enable or disable command, CDP is globally configured. If CDP is globally disabled, CDP is automatically disabled on all interfaces, but the per-port enable (or disable) configuration is not changed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set channelprotocol set channelprotocol To set the protocol that manages channeling on a module, use the set channelprotocol command. set channelprotocol {pagp | lacp} mod Syntax Description pagp Specifies PAgP. lacp Specifies LACP. mod Number of the module. Defaults The default for the channel protocol is PAgP. Command Types Switch command. Command Modes Privileged. Usage Guidelines LACP is supported on all Ethernet interfaces.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set channelprotocol Related Commands clear lacp-channel statistics set lacp-channel system-priority set port lacp-channel set spantree channelcost set spantree channelvlancost show channelprotocol show lacp-channel Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set channel vlancost set channel vlancost To set the channel VLAN cost, use the set channel vlancost command. set channel vlancost channel_id cost Syntax Description channel_id Number of the channel identification; valid values are from 769 to 896. cost Port costs of the ports in the channel. Defaults The default is the VLAN cost is updated automatically based on the current port VLAN costs of the channeling ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set channel vlancost After you enter this command, you must reenter the set spantree portvlancost command so that the desired VLAN or VLANs are associated with all the channel ports. This example shows how to associate the channel 769 path cost to 10 for VLAN 1 through VLAN 1005: Console> Port 1/1 Port 1/1 Port 1/2 Console> Related Commands (enable) set spantree portvlancost 1/1 cost 24 1-1005 VLANs 1025-4094 have path cost 19.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set config acl nvram set config acl nvram To copy the current committed ACL configuration from DRAM back into NVRAM, use the set config acl nvram command. set config acl nvram Syntax Description This command has no arguments or keywords. Defaults The default is NVRAM. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command fails if there is not enough space in NVRAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set config mode set config mode To change the configuration mode from a binary model to a text model or to automatically save the system configuration in text mode in NVRAM, use the set config mode command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set config mode In release 7.6(10) and later releases, the maximum value that you can set for the mins value is 35000 minutes (25 days). Any commands with an interval configuration that is greater than 35000 minutes in the configuration file when loaded on the switch is set to the maximum value of 35000 minutes internally.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cops set cops To configure COPS functionality, use the set cops command. set cops server ipaddress [port] [primary] [diff-serv | rsvp] set cops domain-name domain_name set cops retry-interval initial incr max Syntax Description Defaults server Sets the name of the COPS server. ipaddress IP address or IP alias of the server. port (Optional) Number of the TCP port the switch connects to on the server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set cops Names such as the server, domain-name, and roles can contain a maximum of 31 characters; longer names are truncated to 31 characters. Valid letters are a-z, A-Z, 0-9, ., - and _. Names cannot start with an underscore (_). The names are not case sensitive for matching, but are case sensitive for display.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set crypto key rsa set crypto key rsa To generate and configure an RSA key pair, use the set crypto key rsa command. set crypto key rsa nbits [force] Syntax Description nbits Size of the key; valid values are 512 to 2048 bits. force (Optional) Regenerates the keys and suppress the warning prompt of overwriting existing keys. Defaults The command has no default settings. Command Types Switch command. Command Modes Privileged.
22 2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set default portstatus set default portstatus To set the default port status, use the set default portstatus command. set default portstatus {enable | disable} Syntax Description enable Activates default port status. disable Deactivates default port status. Defaults The default is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set dot1q-all-tagged set dot1q-all-tagged To change all existing and new dot1q trunks to the dot1q-only mode, use the set dot1q-all-tagged command. set dot1q-all-tagged {enable | disable} Syntax Description enable Enables dot1q-tagged-only mode. disable Disables dot1q-tagged-only mode. Defaults The 802.1Q tagging feature is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set dot1x set dot1x To configure dot1x on a system, use the set dot1x command. set dot1x system-auth-control {enable | disable} set dot1x {quiet-period | tx-period | re-authperiod} seconds set dot1x {supp-timeout | server-timeout} seconds set dot1x max-req count set dot1x guest-vlan vlan set dot1x shutdown-timeout seconds Syntax Description system-auth-control Specifies authentication for the system.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set dot1x • re-authperiod is 3600 seconds • supp-timeout is 30 seconds • server-timeout is 30 seconds • max-req count is 2 • shutdown-timeout is 300 seconds. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set dot1x This example shows you how to specify the reauthentication time: Console> (enable) set dot1x re-authperiod 7200 dot1x re-authperiod set to 7200 seconds Console> (enable) This example shows you how to specify the retransmission of EAP-Request packets by the authenticator to the supplicant: Console> (enable) set dot1x supp-timeout 15 dot1x supp-timeout set to 15 seconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set enablepass set enablepass To change the password for the privileged level of the CLI, use the set enablepass command. set enablepass Syntax Description This command has no arguments or keywords. Defaults The default configuration has no enable password configured. Command Types Switch command. Command Modes Privileged. Usage Guidelines Passwords are case sensitive and may be 0 to 19 characters in length, including spaces.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set errdisable-timeout set errdisable-timeout To configure a timeout to automatically reenable ports that are in the errdisable state, use the set errdisable-timeout command. set errdisable-timeout {enable | disable} {reason} set errdisable-timeout interval {interval} Syntax Description Defaults enable Enables errdisable timeout. disable Disables errdisable timeout.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set errdisable-timeout You can enable or disable errdisable timeout for each of the reasons that are listed. If you specify "other," all ports errdisabled by causes other than the reasons listed are enabled for errdisable timeout. If you specify "all," all ports errdisabled for any reason are enabled for errdisable timeout.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set errordetection set errordetection To enable or disable various error detections, use the set errordetection command. set errordetection inband enable | disable set errordetection memory enable | disable set errordetection portcounters enable | disable Syntax Description Defaults inband Detects errors in the inband (sc0) interface. enable Enables the specified error detection. disable Disables the specified error detection.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set errordetection Related Commands show errordetection Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set feature agg-link-partner set feature agg-link-partner To enable or disable the aggressive link partner feature, use the set feature agg-link-partner command. set feature agg-link-partner {enable | disable} Syntax Description enable Enables the aggressive link partner feature. disable Disables the aggressive link partner feature. Defaults The aggressive link partner feature is disabled globally. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set feature dot1x-radius-keepalive set feature dot1x-radius-keepalive To enable or disable the 802.1X RADIUS keepalive state, use the set feature dot1x-radius-keepalive command. set feature dot1x-radius-keepalive {enable | disable} Syntax Description enable Enables 802.1X RADIUS keepalive state. disable Disables 802.1X RADIUS keepalive state. Defaults RADIUS keepalive state is enabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set feature mdg set feature mdg To enable or disable the multiple default gateway feature, use the set feature mdg command. set feature mdg {enable | disable} Syntax Description enable Enables the multiple default gateway. disable Disables the multiple default gateway. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set garp timer set garp timer To adjust the values of the join, leave, and leaveall timers, use the set garp timer command. set garp timer {timer_type} {timer_value} Syntax Description timer_type Type of timer; valid values are join, leave, and leaveall. timer_value Timer values in milliseconds; valid values are from 1 to 2147483647 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gmrp set gmrp To enable or disable GARP Multicast Registration Protocol (GMRP) on the switch in all VLANs on all ports, use the set gmrp command. set gmrp {enable | disable} Syntax Description enable Enables GMRP on the switch. disable Disables GMRP on the switch. Defaults The default is GMRP is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gmrp fwdall set gmrp fwdall To enable or disable the Forward All feature on a specified port or module and port list, use the set gmrp fwdall command. set gmrp fwdall {enable | disable} mod/port... Syntax Description enable Enables GMRP Forward All on a specified port. disable Disables GMRP Forward All on a specified port. mod/port... Number of the module and the ports on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gmrp registration set gmrp registration To specify the GMRP registration type, use the set gmrp registration command. set gmrp registration {normal | fixed | forbidden} mod/port... Syntax Description normal Specifies dynamic GMRP multicast registration and deregistration on the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gmrp timer set gmrp timer To adjust the values of the join, leave, and leaveall timers, use the set gmrp timer command. set gmrp timer {timer_type} {timer_value} Syntax Description timer_type Type of timer; valid values are join, leave, and leaveall. timer_value Timer values in milliseconds; valid values are from 1 to 2147483647 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gmrp timer This example shows how to set the leaveall timer value to 20000 milliseconds for all the ports on all the VLANs: Console> (enable) set gmrp timer leaveall 20000 GARP LeaveAll timer value is set to 20000 milliseconds. Console> (enable) Related Commands set garp timer set gvrp timer show gmrp timer Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp set gvrp To enable or disable GARP VLAN Registration Protocol (GVRP) globally in the switch or on a per-port basis, use the set gvrp command. set gvrp {enable | disable} [mod/port] Syntax Description enable Enables GVRP on the switch. disable Disables GVRP on the switch. mod/port (Optional) Number of the module and port on the module. Defaults The default is GVRP is globally set to disabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp applicant set gvrp applicant To specify whether or not a VLAN is declared out of blocking ports, use the set gvrp applicant command. set gvrp applicant {normal | active} {mod/port...} Syntax Description normal Disallows the declaration of any VLAN out of blocking ports. active Enforces the declaration of all active VLANs out of blocking ports. mod/port.. Number of the module and the ports on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp dynamic-vlan-creation set gvrp dynamic-vlan-creation To enable or disable dynamic VLAN creation, use the set gvrp dynamic-vlan-creation command. set gvrp dynamic-vlan-creation {enable | disable} Syntax Description enable Enables dynamic VLAN creation. disable Disables dynamic VLAN creation. Defaults The default is dynamic VLAN creation is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp registration set gvrp registration To set the administrative control of an outbound port and apply to all VLANs on the trunk, use the set gvrp registration command. GVRP registration commands are entered on a per-port basis. set gvrp registration {normal | fixed | forbidden} mod/port... Syntax Description normal Allows dynamic registering and deregistering each VLAN (except VLAN 1) on the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp registration This example shows how to set the administrative control to forbidden on module 5, port 2: Console> (enable) set gvrp registration forbidden 5/2 Registrar Administrative Control set to forbidden on port 5/2. Console> (enable) Related Commands show gvrp configuration Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp timer set gvrp timer To adjust the values of the join, leave, and leaveall timers, use the set gvrp timer command. set gvrp timer {timer_type} {timer_value} Syntax Description timer_type Type of timer; valid values are join, leave, and leaveall. timer_value Timer values in milliseconds; valid values are from 1 to 2147483647 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set gvrp timer This example shows how to set the leaveall timer value to 20000 milliseconds for all the ports on all the VLANs: Console> (enable) set gvrp timer leaveall 20000 GVRP/GARP LeaveAll timer value is set to 20000 milliseconds. Console> (enable) Related Commands set garp timer show gvrp configuration Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp set igmp To enable or disable Internet Group Management Protocol (IGMP) snooping on the switch, use the set igmp command. set igmp {enable | disable} Syntax Description enable Enables IGMP snooping on the switch. disable Disables IGMP snooping on the switch. Defaults The default is IGMP snooping is enabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines IGMP must be disabled to run GMRP.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp fastblock set igmp fastblock To enable or disable the IGMP version 3 fast-block mechanism on the switch, use the set igmp fastblock command. set igmp fastblock {enable | disable} Syntax Description enable Enables the IGMP version 3 fast-block mechanism. disable Disables the IGMP version 3 fast-block mechanism. Defaults By default, the IGMP version 3 fast-block mechanism is disabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp fastleave set igmp fastleave To enable or disable Internet Group Management Protocol (IGMP) fastleave processing, use the set igmp fastleave command. set igmp fastleave {enable | disable} Syntax Description enable Enables IGMP fastleave processing. disable Disables IGMP fastleave processing. Defaults The default is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp flooding set igmp flooding To activate or to prevent flooding of multicast traffic after the last host leaves a multicast group, enter the set igmp flooding command. set igmp flooding {enable | disable} Syntax Description enable Activates multicast flooding. disable Prevents multicast flooding. Defaults IGMP flooding is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp leave-query-type set igmp leave-query-type To set the type of query to be sent when a port receives a leave message, use the set igmp leave-query-type command. set igmp leave-query-type {mac-gen-query | general-query} Syntax Description mac-gen-query Specifies a MAC-based general query. general-query Specifies a general query. Defaults By default, a MAC-based general query is sent when a port receives a leave message.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp mode set igmp mode To set the IGMP snooping mode, use the set igmp mode command. set igmp mode {igmp-only | igmp-cgmp | auto} Syntax Description igmp-only Specifies IGMP snooping only. igmp-cgmp Specifies IGMP and CGMP modes. auto Overrides the dynamic switching of IGMP snooping modes. Defaults The default is IGMP mode is auto. Command Types Switch. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp ratelimit set igmp ratelimit To enable or disable IGMP rate limiting or to set the rate limit for IGMP snooping packets, use the set igmp ratelimit command. set igmp ratelimit {enable | disable} set igmp ratelimit {dvmrp | general-query | mospf1 | mospf2 | pimv2} rate Syntax Description Defaults enable Enables IGMP rate limiting. disable Disables IGMP rate limiting.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp ratelimit Usage Guidelines The set igmp ratelimit {enable | disable} command is supported in both text and binary configuration modes. If IGMP rate limiting and multicast are enabled, multicast router ports might age out sporadically because the rate of the multicast control packets (such as PIMv2 hellos or IGMP general queries) exceeds the IGMP rate limit watermarks that were configured.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp querier set igmp querier To configure the IGMP querier for a specific VLAN, use the set igmp querier command. set igmp querier {enable | disable} vlan set igmp querier vlan {qi | oqi} seconds Syntax Description Defaults enable Enables the IGMP querier for a VLAN. disable Disables the IGMP querier for a VLAN. vlan Number of the VLAN. qi Sets the querier interval for the VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp querier This example shows how to set the querier interval to 130 seconds for VLAN 4001: Console> (enable) set igmp querier 4001 qi 130 QI for VLAN 4001 set to 130 second(s) Console> (enable) Related Commands show igmp querier information Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set igmp v3-processing set igmp v3-processing To explicitly enable or disable IGMP version 3 snooping, use the set igmp v3-processing command. set igmp v3-processing {enable | disable} Syntax Description enable Enables IGMP version 3 snooping. disable Disables IGMP version 3 snooping. Defaults By default, IGMP version 3 snooping is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set inlinepower defaultallocation set inlinepower defaultallocation To set the default power allocation for a port, use the set inlinepower defaultallocation command. set inlinepower defaultallocation value Syntax Description value Defaults The default is 10000 milliwatts. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set interface set interface To configure the in-band and Serial Line Internet Protocol (SLIP) interfaces on the switch, use the set interface command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set interface Usage Guidelines The set interface sc0 dchp command is valid only when the address is learned from the DHCP server and available in privileged mode only. Two configurable network interfaces are on a Catalyst 6500 series switch: in-band (sc0) and SLIP (sl0). Configuring the sc0 interface with an IP address and subnet mask allows you to access the switch CLI via Telnet from a remote host.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set interface This example shows how to release a DHCP-learned IP address back to the DHCP IP address pool: Console> (enable) set interface sc0 dhcp release Releasing IP address...Done Console> (enable) This example shows how to renew a lease on a DHCP-learned IP address: Console> (enable) set interface sc0 dhcp renew Renewing IP address...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip alias set ip alias To add aliases of IP addresses, use the set ip alias command. set ip alias name ip_addr Syntax Description name Name of the alias being defined. ip_addr IP address of the alias being defined. Defaults The default configuration is one IP alias (0.0.0.0) configured as the default. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip dns set ip dns To enable or disable DNS, use the set ip dns command. set ip dns {enable | disable} Syntax Description enable Enables DNS. disable Disables DNS. Defaults The default is DNS is disabled. Command Types Switch command. Command Modes Privileged. Examples This example shows how to enable DNS: Console> (enable) set ip dns enable DNS is enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip dns domain set ip dns domain To set the default DNS domain name, use the set ip dns domain command. set ip dns domain name Syntax Description name Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you specify a domain name on the command line, the system attempts to resolve the host name as entered.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip dns server set ip dns server To set the IP address of a Domain Name System (DNS) server, use the set ip dns server command. set ip dns server ip_addr [primary] Syntax Description ip_addr IP address of the DNS server. primary (Optional) Configures a DNS server as the primary server. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip fragmentation set ip fragmentation To enable or disable the fragmentation of IP packets bridged between FDDI and Ethernet networks, use the set ip fragmentation command. set ip fragmentation {enable | disable} Syntax Description enable Permits fragmentation for IP packets bridged between FDDI and Ethernet networks. disable Disables fragmentation for IP packets bridged between FDDI and Ethernet networks.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip http port set ip http port To configure the TCP port number for the HyperText Transfer Protocol (HTTP) server, use the set ip http port command. set ip http port {default | port-number} Syntax Description default Specifies the default HTTP server port number (80). port-number Number of the TCP port for the HTTP server; valid values are from 1 to 65535. Defaults The default TCP port number is 80. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip http server set ip http server To enable or disable the HTTP server, use the set ip http server command. set ip http server {enable | disable} Syntax Description enable Enables the HTTP server. disable Disables the HTTP server. Defaults The default is the HTTP server is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip permit set ip permit To enable or disable the IP permit list and to specify IP addresses to be added to the IP permit list, use the set ip permit command. set ip permit {enable | disable} set ip permit {enable | disable} [telnet | ssh | snmp] set ip permit addr [mask] [telnet | ssh | snmp | all] Syntax Description enable Enables the IP permit list. disable Disables the IP permit list.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip permit Examples This example shows how to add an IP address to the IP permit list: Console> (enable) set ip permit 192.168.255.255 192.168.255.255 added to IP permit list. Console> (enable) This example shows how to add an IP address using an IP alias or host name to both the SNMP and Telnet permit lists: Console> (enable) set ip permit batboy batboy added to IP permit list.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip redirect set ip redirect To enable or disable ICMP redirect messages on the Catalyst 6500 series switches, use the set ip redirect command. set ip redirect {enable | disable} Syntax Description enable Permits ICMP redirect messages to be returned to the source host. disable Prevents ICMP redirect messages from being returned to the source host. Defaults The default configuration is ICMP redirect is enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip route set ip route To add IP addresses or aliases to the IP routing table, use the set ip route command. set ip route {destination}[/netmask] {gateway} [metric] [primary] Syntax Description destination IP address, IP alias of the network, or specific host to be added. Use default as the destination to set the new entry as the default route. /netmask (Optional) Number of bits in netmask or dot format (for example, 172.20.22.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip route Examples These examples show how to add three default routes to the IP routing table, checking after each addition using the show ip route command: Console> (enable) set ip route default 192.122.173.42 1 primary Route added.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip unreachable set ip unreachable To enable or disable ICMP unreachable messages on the Catalyst 6500 series switch, use the set ip unreachable command. set ip unreachable {enable | disable} Syntax Description enable Allows IP unreachable messages to be returned to the source host. disable Prevents IP unreachable messages from being returned to the source host. Defaults The default is ICMP unreachable messages is enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos clients mandatory set kerberos clients mandatory To make Kerberos authentication mandatory for authenticating to services on the network, use the set kerberos clients mandatory command. set kerberos clients mandatory Syntax Description This command has no arguments or keywords. Defaults The default is Kerberos clients are not set to mandatory. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos credentials forward set kerberos credentials forward To configure clients to forward users’ credentials as they connect to other hosts in the Kerberos realm, use the set kerberos credentials forward command. set kerberos credentials forward Syntax Description This command has no arguments or keywords. Defaults The default is forwarding is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos local-realm set kerberos local-realm To configure a switch to authenticate users defined in the Kerberos database, use the set kerberos local-realm command. set kerberos local-realm kerberos_realm Syntax Description kerberos_realm Defaults The default value is a NULL string. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos realm set kerberos realm To map the name of a Kerberos realm to a DNS domain name or a host name, use the set kerberos realm command. set kerberos realm {dns_domain | host} kerberos_realm Syntax Description dns_domain DNS domain name to map to Kerberos realm. host IP address or name to map to Kerberos host realm. kerberos_realm IP address or name of Kerberos realm. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos server set kerberos server To specify which Key Distribution Center (KDC) to use on the switch, use the set kerberos server command. set kerberos server kerberos_realm {hostname | ip_address} [port] Syntax Description kerberos_realm Name of the Kerberos realm. hostname Name of host running the KDC. ip_address IP address of host running the KDC. port (Optional) Number of the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos srvtab entry set kerberos srvtab entry To enter the SRVTAB file directly into the switch from the command line, use the set kerberos srvtab entry command. set kerberos srvtab entry kerberos_principal principal_type timestamp key_version_number key_type key_length encrypted_keytab Syntax Description kerberos_principal Service on the switch. principal_type Version of the Kerberos SRVTAB.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos srvtab entry Examples This example shows how to enter a SRVTAB file directly into the switch: Console> (enable) set kerberos srvtab entry host/niners.cisco.com@CISCO.COM 0 932423923 1 1 8 03;;5>00>50;0=0=0 Kerberos SRVTAB entry set to Principal:host/niners.cisco.com@CISCO.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set kerberos srvtab remote set kerberos srvtab remote To provide the switch with a copy of the SRVTAB file from the KDC that contains the secret key, use the set kerberos srvtab remote command. set kerberos srvtab remote {hostname | ip_address} filename Syntax Description hostname Name of host running the KDC. ip_address IP address of host running the KDC. filename Name of the SRVTAB file.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set key config-key set key config-key To define a private 3DES key, use the set key config-key command. set key config-key string Syntax Description string Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines You can define a private 3DES key for the switch. You can use the private 3DES key to encrypt the secret key that the switch shares with the KDC.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set l2protocol-tunnel cos set l2protocol-tunnel cos To apply a CoS value to all ingress tunneling ports, use the set l2protocol-tunnel cos command. set l2protocol-tunnel cos cos-value Syntax Description cos-value Defaults The default value for CoS is 5. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set l2protocol-tunnel trunk set l2protocol-tunnel trunk To set Layer 2 protocol tunneling on trunks, use the set l2protocol-tunnel trunk command. set l2protocol-tunnel trunk {enable | disable} Syntax Description enable Enables Layer 2 protocol tunneling on trunks. disable Disables Layer 2 protocol tunneling on trunks. Defaults Layer 2 protocol tunneling on trunks is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set lacp-channel system-priority set lacp-channel system-priority To set the priority of the system, use the set lacp-channel system-priority command. set lacp-channel system-priority value Syntax Description value Defaults The default system priority value is 32768. Command Types Switch command. Command Modes Privileged. Usage Guidelines LACP is supported on all Ethernet interfaces.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set lcperroraction set lcperroraction To configure how your system handles Link Control Protocol (LCP) errors when a module reports an ASIC problem to the NMP, use the set lcperroraction command. set lcperroraction action Syntax Description action Defaults The default is that the action level is set to ignore. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set lda set lda To configure the ASLB information on the Catalyst 6500 series switch, use the set lda command. set lda enable | disable set lda vip {server_virtual_ip} {destination_tcp_port} [{server_virtual_ip} {destination_tcp_port}] ... set lda mac ld {ld_mac_address} set lda mac router {mac_address}...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set lda Usage Guidelines This command is supported only on switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC (Policy Feature Card). You can enter a zero (0) as a wildcard (don’t care) digit for the destination_tcp_port value. You can enter up to 1024 server_virtual_ip destination_tcp_port entries separated by a space. To cancel a previously entered VIP, use the clear lda vip command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set lda This example shows how to specify the router VLAN: Console> (enable) set lda router 110 4/26 Successfully set router vlan and ld port. Use commit lda command to save settings to hardware. Console> (enable) This example shows how to specify the udpage aging time: Console> (enable) set lda udpage 20 Successfully set LDA UDP aging time to 20ms.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set length set length To configure the number of lines in the terminal display screen, use the set length command. set length number [default] Syntax Description number Number of lines to display on the screen; valid values are from 0 to 512. default (Optional) Sets the number of lines in the terminal display screen for the current administration session and all other sessions.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set localuser set localuser To configure the switch to use local user authentication to authenticate access on the switch, use the set localuser command. set localuser authentication {enable | disable} set localuser user username [password pwd] [privilege privilege_level] set localuser password [user username] Syntax Description authentication Specifies local user authentication. enable Enables local user authentication.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set localuser Examples This example shows how to use the create a local user account, including password and privilege level: Console> (enable) set localuser user picard password captain privilege 15 Added local user picard.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging buffer set logging buffer To limit the number of system logging messages buffered, use the set logging buffer command. set logging buffer buffer_size Syntax Description buffer_size Defaults The default value is 500. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging console set logging console To enable and disable the sending of system logging messages to the console, use the set logging console command. set logging console {enable | disable} Syntax Description enable Enables system message logging to the console. disable Disables system message logging to the console. Defaults The default is system message logging to the console is enabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging history set logging history To set the number and severity level of syslog messages sent to the syslog history table, use the set logging history command. set logging history history_table_size set logging history severity history_severity_level Syntax Description history_table_size Size of the syslog history table; valid values are from 0 to 500.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging level set logging level To set the facility and severity level used when logging system messages, use the set logging level command. set logging level facility severity [default] Syntax Description facility Value to specify the type of system messages to capture; facility types are listed in Table 2-12.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging level Table 2-12 Facility Types (continued) Facility Name Definition spantree Spanning Tree Protocol sys System tac Terminal Access Controller tcp Transmission Control Protocol telnet Terminal Emulation Protocol tftp Trivial File Transfer Protocol udld User Datagram Protocol vmps VLAN Membership Policy Server vtp Virtual Terminal Protocol Table 2-13 Severity Level Definitions Severity Level Description 0—em
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging level Examples This example shows how to set the default facility and severity level for system message logging: Console> (enable) set logging level snmp 2 default System logging facility set to severity 2(critical). Console> (enable) Related Commands clear logging level show logging show logging buffer Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging server set logging server To enable and disable system message logging to configured syslog servers and to add a syslog server to the system logging server table, use the set logging server command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging server Command Types Switch command. Command Modes Privileged. Usage Guidelines You can also set the logging level by using the set logging level command. If you do not enter the facility or server keywords, the parameter is applied to all levels. Severity logging to a configured syslog server depends on the configuration set by the set logging level command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging session set logging session To enable or disable the sending of system logging messages to the current login session, use the set logging session command. set logging session {enable | disable} Syntax Description enable Enables the sending of system logging messages to the current login session. disable Disables the sending of system logging messages to the current login session.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging telnet set logging telnet To enable or disable logging on Telnet sessions, use the set logging telnet command. set logging telnet {enable | disable} Syntax Description enable Enables logging on Telnet sessions. disable Disables logging on Telnet sessions. Defaults The default is system message logging to the Telnet session is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logging timestamp set logging timestamp To enable or disable the time-stamp display on system logging messages, use the set logging timestamp command. set logging timestamp {enable | disable} Syntax Description enable Enables the time-stamp display. disable Disables the time-stamp display. Defaults By default, system message logging time-stamp is enabled. Command Types Switch command. Command Modes Privileged.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set logout set logout To set the number of minutes until the system disconnects an idle session automatically, use the set logout command. set logout timeout Syntax Description timeout Defaults The default is 20 minutes. Command Types Switch command. Command Modes Privileged. Usage Guidelines Setting the value to 0 disables the automatic disconnection of idle sessions.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls agingtime set mls agingtime To specify the MLS aging time of shortcuts to an MLS entry in the Catalyst 6500 series switches, use the set mls agingtime command. set mls agingtime [ip | ipx] {agingtime} set mls agingtime fast {fastagingtime} {pkt_threshold} set mls agingtime long-duration {longagingtime} Syntax Description ip (Optional) Specifies IP MLS. ipx (Optional) Specifies IPX MLS.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls agingtime If you enter any of the set mls commands on a Catalyst 6500 series switch without MLS, this warning message displays: MLS not supported on feature card. The agingtime value can be configured as multiples of 8 in the range of 8 to 2024 seconds. The values are picked up in numerical order to achieve efficient aging. Any value for agingtime that is not a multiple of 8 seconds is adjusted to the closest one.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls agingtime Related Commands clear mls statistics entry show mls Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls bridged-flow-statistics set mls bridged-flow-statistics To enable or disable statistics for bridged flows for specified VLANs, use the set mls bridged-flow-statistics command. set mls bridged-flow-statistics {enable | disable} {vlanlist} Syntax Description enable Enables statistics for bridged flows. disable Disables statistics for bridged flows vlanlist Number of the VLAN or VLANs; valid values are 1 to 1000, 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls cef load-balance set mls cef load-balance To include or exclude Layer 4 ports in a load-balancing hash, use the set mls cef load-balance command. set mls cef load-balance {full | source-destination-ip} Syntax Description full Bases the hash on Layer 4 ports and source and destination IP addresses. source-destination-ip Bases the hash on source and destination IP addresses.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls cef per-prefix-statistics set mls cef per-prefix-statistics To set MLS CEF per-prefix statistics mode, use the set mls cef per-prefix statistics command. set mls cef per-prefix statistics {enable | disable} Syntax Description enable Enables per-prefix statistics for all FIB entries disable Disables per-prefix statistics for all FIB entries. Defaults MLS CEF per-prefix statistics mode is enabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls exclude protocol set mls exclude protocol To exclude an MLS protocol port on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC, use the set mls exclude protocol command. To exclude protocols from statistics gathering on switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2), use the set mls exclude protocol command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls flow set mls flow To specify the minimum flow mask used for MLS, use the set mls flow command. This command is needed to collect statistics for the supervisor engine. set mls flow {destination | destination-source | full} Caution Use this command carefully. This command purges all existing shortcuts and affects the number of active shortcuts. This command can increase the cache usage and increase the load on the router.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls flow Examples These examples show how to specify that only expired flows to subnet 171.69.194.0 are exported: Console> (enable) set mls flow destination Configured flow mask is set to destination flow. Console> (enable) Console> (enable) set mls flow destination-source Configured flow mask is set to destination-source flow. Console> (enable) Console> (enable) set mls flow full Configured flow mask is set to full flow.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls nde set mls nde To configure the NetFlow Data Export (NDE) feature in the Catalyst 6500 series switches to allow command-exporting statistics to be sent to the preconfigured collector, use the set mls nde command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls nde Defaults The defaults are Netflow Data Export version 7, and all expired flows are exported until the filter is specified explicitly. Destination ifIndex support and source ifIndex support are enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls nde Use the following syntax to specify an IP subnet address: • ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls nde This example shows how to specify that all expired flows except those from a specific host to a specific destination port are exported: Console> (enable) set mls nde flow exclude source 171.69.194.140 dst_port 23 NDE destination filter set to 171.69.194.140/32, source port filter set to 23. Flows matching the filter will be excluded.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls rate set mls rate To set the rate at which index-directed packets are sent to the MSFC, use the set mls rate command. set mls rate kpps Syntax Description kpps Defaults The kpps argument is 0. Command Types Switch command. Command Modes Privileged. Usage Guidelines You disable MLS rate limiting when you set the kpps argument to 0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls statistics protocol set mls statistics protocol To add protocols to the protocols statistics list, use the set mls statistics protocol command. set mls statistics protocol protocol src_port Syntax Description protocol Name or number of the protocol; valid values are from 1 to 255, ip, ipinip, icmp, igmp, tcp, and udp. src_port Number or type of the source port; valid values are from 1 to 65535, dns, ftp, smtp, telnet, x, and www.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls verify set mls verify To enable or disable checksum or packet checking based on packet length, use the set mls verify command. set mls verify checksum {enable | disable} set mls verify length {ip | ipx | both} {minimum | inconsistant} {enable | disable} Syntax Description Defaults checksum Specifies IP checksum. enable Enables IP checksum. disable Disables IP checksum.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set mls verify Examples This example shows how to enable IP checksum: Console> (enable) set mls verify checksum enable Ip checksum verification enabled Console> (enable) This example shows how to enable checking inconsistent IP and IPX packet length: Console> (enable) set mls verify length both inconsistant enable Ipx inconsistant length verification enabled Ip inconsistant length verification enabled Console> (enable) This example shows h
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set module set module To enable or disable a module, use the set module command. set module enable | disable mod Syntax Description enable Enables a module. disable Disables a module. mod Number of the module. Defaults The default is all modules are enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set module This example shows how to disable module 2 when connected via a Telnet session: Console> (enable) set module disable 2 This command may disconnect your telnet session. Do you want to continue (y/n) [n]? y Module 2 disabled. Console> (enable) Related Commands show module Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set module name set module name To set the name for a module, use the set module name command. set module name mod [mod_name] Syntax Description mod Number of the module. mod_name (Optional) Name created for the module. Defaults The default is no module names are configured for any modules. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set module power set module power To turn the power on or off to a module, use the set module power command. set module power up | down mod Syntax Description up Turns on the power to a module. down Turns off the power to a module. mod Number of the module. Defaults The default is power is on to a module. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set module shutdown set module shutdown To shut down the NAM and Intrusion Detection System Module (IDSM), use the set module shutdown command. set module shutdown all | mod Syntax Description all Shuts down NAM and IDSMs. mod Number of the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set msfcautostate set msfcautostate To enable or disable the line protocol state determination of the Multilayer Switch Feature Cards (MSFCs) due to port state changes, use the set msfcautostate command. set msfcautostate {enable | disable} Syntax Description enable Activates the line protocol state determination. disable Deactivates the line protocol state determination. Defaults The default is enabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set msfcautostate Related Commands show msfcautostate Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set msmautostate set msmautostate To enable or disable the line protocol state determination of the MSMs due to port state changes, use the set msmautostate command. set msmautostate {enable | disable} Syntax Description enable Activates the line protocol state determination. disable Deactivates the line protocol state determination. Defaults The default configuration has line protocol state determination disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set multicast router set multicast router To configure a port manually as a multicast router port, use the set multicast router command. set multicast router mod/port Syntax Description mod/port Defaults The default is no ports are configured as multicast router ports. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp broadcastclient set ntp broadcastclient To enable or disable NTP in broadcast-client mode, use the set ntp broadcastclient command. set ntp broadcastclient {enable | disable} Syntax Description enable Enables NTP in broadcast-client mode. disable Disables NTP in broadcast-client mode. Defaults The default is broadcast-client mode is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp broadcastdelay set ntp broadcastdelay To configure a time-adjustment factor so the Catalyst 6500 series switch can receive broadcast packets, use the set ntp broadcastdelay command. set ntp broadcastdelay microseconds Syntax Description microseconds Defaults The default is the NTP broadcast delay is set to 3000 milliseconds. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp client set ntp client To enable or disable a Catalyst 6500 series switch as an NTP client, use the set ntp client command. set ntp client {enable | disable} Syntax Description enable Enables a Catalyst 6500 series switch as an NTP client. disable Disables a Catalyst 6500 series switch as an NTP client. Defaults The default is NTP client mode is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp server set ntp server To specify the NTP server address and configure an NTP server authentication key, use the set ntp server command. set ntp server ip_addr [key public_keynum] Syntax Description ip_addr IP address of the NTP server. key public_keynum (Optional) Specifies the key number; valid values are 1 to 4292945295. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp summertime set ntp summertime To set the clock ahead one hour during daylight saving time, use the set ntp summertime command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp summertime Examples This example shows how to cause the system to set the clock ahead one hour during daylight saving time: Console> (enable) set ntp summertime enable PDT Summertime is enabled and set to “PDT”. Console> (enable) This example shows how to prevent the system from setting the clock ahead one hour during daylight saving time: Console> (enable) set ntp summertime disable Summertime disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set ntp timezone set ntp timezone To configure the time offset from Greenwich Mean Time, use the set ntp timezone command. set timezone [zone_name] [hours [minutes]] Syntax Description zone_name (Optional) Name of the time zone. hours (Optional) Time offset (hours) from Greenwich Mean Time; valid values are from –12 to 12 hours. minutes (Optional) Time offset (minutes) from Greenwich Mean Time; valid values are 0 to 59 minutes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set password set password To change the login password on the CLI, use the set password command. set password Syntax Description This command has no arguments or keywords. Defaults The default is no password is configured. Command Types Switch command. Command Modes Privileged. Usage Guidelines Passwords are case sensitive and may be from 0 to 19 characters in length, including spaces. The command prompts you for the old password.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pbf set pbf To enable policy-based forwarding (PBF) and to set a MAC address for the PFC2, use the set pbf command. set pbf [mac mac_address] Syntax Description mac mac_address Defaults You can use the default MAC address, or you can specify a MAC address. See the “Usage Guidelines” section for more information. Command Types Switch command. Command Modes Privileged. Usage Guidelines You must set a MAC address for the PFC2.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pbf Related Commands clear pbf show pbf Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pbf-map set pbf-map To create security ACLs and to set adjacency information, use the set pbf-map command. set pbf-map {ip_addr_1} {mac_addr_1} {vlan_1} {ip_addr_2} {mac_addr_2} {vlan_2} Syntax Description ip_addr_1 IP address of host 1. mac_addr_1 MAC address of host 1. vlan_1 Number of the first VLAN. ip_addr_2 IP address of host 2. mac_addr_2 MAC address of host 2. vlan_2 Number of the second VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pbf-map If you want to add entries other then redirect ACEs to the adjacency table, use the set security acl ip PBF_MAP_ACL_(VLAN_ID) command. Examples This example shows how to specify a PBF_MAP_ACL: Console> (enable) set pbf-map 1.1.1.1 0-0-0-0-0-1 11 2.2.2.2 0-0-0-0-0-2 22 Commit operation successful. Commit operation successful. ACL 'PBF_MAP_ACL_11' successfully committed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port arp-inspection set port arp-inspection To set Address Recognition Protocol (ARP) inspection thresholds on a per-port basis, use the set port arp-inspection command. set port arp-inspection mod/port drop-threshold rate shutdown-threshold rate Syntax Description mod/port Number of the module and port on the module. drop-threshold Indicates the drop threshold.
2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port auxiliaryvlan set port auxiliaryvlan To configure the auxiliary VLAN ports, use the set port auxiliaryvlan command. set port auxiliaryvlan mod[/port] {vlan | untagged | dot1p | none} Syntax Description mod[/port] Number of the module and (optional) port or multiple ports. vlan Number of the VLAN; valid values are from 1 to 4096. untagged Specifies the connected device send and receive untagged packets without 802.1p priority.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port auxiliaryvlan Examples This example shows how to set the auxiliary VLAN port to untagged: Console> (enable) set port auxiliaryvlan 5/7 untagged Port 5/7 allows the connected device send and receive untagged packets and without 802.1p priority.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port broadcast set port broadcast To set broadcast, multicast, or unicast suppression for one or more ports, use the set port broadcast command. The threshold limits the backplane traffic received from the module. set port broadcast mod/port threshold% [violation {drop-packets | errdisable}] [multicast {enable | disable}] [unicast {enable | disable}] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port broadcast Examples This example shows how to limit broadcast traffic to 20 percent: Console> (enable) set port broadcast 4/3 20% Port 4/3 broadcast traffic limited to 20.00%. Console> (enable) This example shows how to limit broadcast traffic to 90 percent and to errdisable when suppression occurs: Console> (enable) set port broadcast 4/6 90% violation errdisable Port 4/6 broadcast traffic limited to 90.00%.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port channel set port channel To configure EtherChannel on Ethernet module ports, use the set port channel command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port channel Defaults The default is EtherChannel is set to auto and silent on all module ports. The defaults for frame distribution are ip and both. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. This command is not supported by non-EtherChannel-capable modules.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port channel Examples This example shows how to set the channel mode to desirable: Console> (enable) set port channel 2/2-8 mode desirable Ports 2/2-8 channel mode set to desirable. Console> (enable) This example shows how to set the channel mode to auto: Console> (enable) set port channel 2/7-8,3/1 mode auto Ports 2/7-8,3/1 channel mode set to auto.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port cops set port cops To create port roles, use the set port cops command. set port cops mod/port roles role1 [role2]... Syntax Description mod/port Number of the module and the port on the module. roles role# Specifies the roles. Defaults The default is all ports have a default role of null string, for example, the string of length 0. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port debounce set port debounce To enable or disable the debounce timer or configure the timer setting on a per-port basis, use the set port debounce command. set port debounce mod/port {enable | disable} set port debounce mod/port delay time Syntax Description Defaults mod/port Number of the module and the port on the module. enable | disable Enables or disables the debounce timer.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port debounce For 10/100 ports and 100BASE-FX ports in the disabled state, the firmware may take up to 600 milliseconds to notify the supervisor engine of a link change because the firmware polling time is every 300 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port disable set port disable To disable a port or a range of ports, use the set port disable command. set port disable mod/port Syntax Description mod/port Defaults The default system configuration has all ports enabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1q-all-tagged set port dot1q-all-tagged To enable the 802.1Q tagging feature on specific ports, use the set port dot1q-all-tagged command. set port dot1q-all-tagged {mod/port} {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables the dot1q-all-tagged feature. disable Disables the dot1q-all-tagged feature. Defaults The 802.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1q-all-tagged Related Commands set dot1q-all-tagged show dot1q-all-tagged show port dot1q-all-tagged Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1qtunnel set port dot1qtunnel To configure the dot1q tunnel mode for the port, use the set port dot1qtunnel command. set port dot1qtunnel mod/port {access | disable} Syntax Description mod/port Number of the module and the port on the module. access Turns off the port’s trunking mode. disable Disables dot1q tunneling. Defaults The default is dot1qtunnel is disabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1qtunnel This example shows the output if you try to turn on trunking on a port that has dot1q tunneling mode set: Console> (enable) set trunk 4/1 on Failed to set port 4/1 to trunk mode on. The dot1q tunnel mode for the port is currently set to access. Console> (enable) Related Commands show port dot1qtunnel Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1x set port dot1x To configure dot1x on a port, use the set port dot1x command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1x Command Types Switch command. Command Modes Privileged. Usage Guidelines The dot1x port will not be allowed to become a trunk port, MVAP, channel port, dynamic port, or a secure port. When setting the port control type, the following applies: • force-authorized forces the controlled port to transition to the authorized state unconditionally and is equivalent to disabling 802.1x restriction in the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port dot1x This example shows how to enable automatic reauthentication on a port: Console> (enable) set port dot1x 4/1 re-authentication enable Port 4/1 re-authentication enabled. Console> (enable) Related Commands set dot1x show dot1x show port dot1x Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port duplex set port duplex To configure the duplex type of an Ethernet port or a range of ports, use the set port duplex command. set port duplex mod/port {full | half} Syntax Description mod/port Number of the module and the port on the module. full Specifies full-duplex transmission. half Specifies half-duplex transmission.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port enable set port enable To enable a port or a range of ports, use the set port enable command. set port enable mod/port Syntax Description mod/port Defaults The default is all ports are enabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. Number of the module and the port on the module. It takes approximately 30 seconds for this command to take effect.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port errdisable-timeout set port errdisable-timeout To prevent an errdisabled port from being enabled, use the set port errdisable-timeout command. set port errdisable-timeout mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables errdisable timeout. disable Disables errdisable timeout. Defaults By default, the errdisable timeout for each port is enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port flowcontrol set port flowcontrol To configure a port to send or receive pause frames, use the set port flowcontrol command. Pause frames are special packets that signal a source to stop sending frames for a specific period of time because the buffers are full. set port flowcontrol mod/port {receive | send} {off | on | desired} Syntax Description Defaults mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port flowcontrol Table 2-15 describes guidelines for different configurations of the send and receive keywords. Table 2-15 send and receive Keyword Configurations Examples Configuration Description send on Enables a local port to send pause frames to remote ports. send off Prevents a local port from sending pause frames to remote ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port gmrp set port gmrp To enable or disable GMRP on the specified ports in all VLANs, use the set port gmrp command. set port gmrp mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables GVRP on a specified port. disable Disables GVRP on a specified port. Defaults The default is GMRP is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port gvrp set port gvrp To enable or disable GVRP on the specified ports in all VLANs, use the set port gvrp command. set port gvrp mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables GVRP on a specified port. disable Disables GVRP on a specified port. Defaults The default is GVRP is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port gvrp This example shows what happens if you try to enable GVRP on a specific port when GVRP has not first been enabled using the set gvrp command: Console> (enable) set port gvrp 5/1 enable GVRP enabled on port(s) 5/1. GVRP feature is currently disabled on the switch. Console> (enable) Related Commands clear gvrp statistics set gvrp show gvrp configuration Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port host set port host To optimize the port configuration for a host connection, use the set port host command. set port host mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port inlinepower set port inlinepower To set the inline power mode of a port or group of ports, use the set port inlinepower command. set port inlinepower mod/port {off | auto} Syntax Description mod/port Number of the module and the port on the module. off Prevents the port from powering up even if an unpowered phone is connected. auto Powers up the port only if the switching module has discovered the phone.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port jumbo set port jumbo To enable or disable the jumbo frame feature on a per-port basis, use the set port jumbo command. set port jumbo mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables jumbo frames on a specified port. disable Disables jumbo frames on a specified port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port l2protocol-tunnel set port l2protocol-tunnel To set Layer 2 protocol tunneling parameters, use the set port l2protocol-tunnel command. set port l2protocol-tunnel mod/port {cdp | stp | vtp} {enable | disable} set port l2protocol-tunnel mod/port {drop-threshold drop-threshold} {shutdown-threshold shutdown-threshold} Syntax Description Defaults mod/port Number of the module and the port or range of ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port l2protocol-tunnel Note Examples • 20 Layer 2 protocol tunneling port x 50 VLANs • 100 Layer 2 protocol tunneling port x 10 VLANs The shutdown threshold factor should exceed the drop threshold factor. After reaching the drop threshold factor, the port or range of ports starts dropping PDUs. After reaching the shutdown threshold factor, the port or range of ports goes into errdisable state and is restored after timeout.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port lacp-channel set port lacp-channel To set the priority value for physical ports, to assign an administrative key to a particular set of ports, or to change the channel mode for a set of ports that were previously assigned to the same administrative key, use the set port lacp-channel command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port lacp-channel Examples • You can assign a maximum of 8 ports to an administrative key. • If you assign an administrative key to a channel that was previously assigned a particular mode, the channel will maintain that mode after you enter the administrative key value.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port macro set port macro To execute a configuration macro on a per-port basis, use the set port macro command. set port macro mod/ports... ciscoipphone vlan vlan [auxvlan auxvlan] set port macro mod/ports... ciscosoftphone vlan vlan Syntax Description mod/ports... Number of the module and the ports on the module. ciscoipphone Specifies the Cisco IP Phone configuration macro. vlan Specifies a VLAN interface.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port macro Examples This example shows how to execute the Cisco IP Phone configuration macro with an auxiliary VLAN: Console> (enable) set port macro 3/1 ciscoipphone vlan 2 auxvlan 3 Port 3/1 enabled. Layer 2 protocol tunneling disabled for CDP STP VTP on port(s) 3/1. Port 3/1 vlan assignment set to static. Spantree port fast start option set to default for ports 3/1. Port(s) 3/1 channel mode set to off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port macro VLAN Mod/Ports ---- ----------------------32 3/1 16/1 Port 3/1 will not send out CDP packets with AuxiliaryVlan information. Executing autoqos........ All ingress and egress QoS scheduling parameters configured on all ports. CoS to DSCP, DSCP to COS, IP Precedence to DSCP and policed dscp maps configured. Global QoS configured. Port 3/1 ingress QoS configured for Cisco Softphone. Macro completed on port 3/1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port membership set port membership To set the VLAN membership assignment to a port, use the set port membership command. set port membership mod/port {dynamic | static} Syntax Description mod/port Number of the module and the port on the module. dynamic Specifies that the port become a member of dynamic VLANs. static Specifies that the port become a member of static VLANs. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port membership Related Commands set pvlan set pvlan mapping set vlan set vlan mapping Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port name set port name To configure a name for a port, use the set port name command. set port name mod/port [port_name] Syntax Description mod/port Number of the module and the port on the module. port_name (Optional) Name of the module. Defaults The default is no port name is configured for any port. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port negotiation set port negotiation To enable or disable the link negotiation protocol on the specified port, use the set port negotiation command. set port negotiation mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables the link negotiation protocol. disable Disables the link negotiation protocol. Defaults The default is link negotiation protocol is enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port protocol set port protocol To enable or disable protocol membership of ports, use the set port protocol command. set port protocol mod/port {ip | ipx | group} {on | off | auto} Syntax Description mod/port Number of the module and the port on the module. ip Specifies IP. ipx Specifies IPX. group Specifies VINES, AppleTalk, and DECnet protocols. on Indicates the port will receive all the flood traffic for that protocol.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port protocol Related Commands show port protocol Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos set port qos To specify whether an interface is interpreted as a physical port or as a VLAN, use the set port qos command. set port qos mod/ports... port-based | vlan-based Syntax Description mod/ports... Number of the module and the ports on the module. port-based Interprets the interface as a physical port. vlan-based Interprets the interface as part of a VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos This example shows the output if you change from port-based QoS to VLAN-based QoS with either RSVP or COPS enabled on the port: Console> (enable) set port qos 3/1-48 vlan Qos interface is set to vlan-based for ports 3/1-48 Port(s) 3/1-48 - QoS policy-source is Cops or DSBM-election is enabled. Vlan-based setting has been saved in NVRAM only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos autoqos set port qos autoqos To apply the automatic QoS feature on a per-port basis, use the set port qos autoqos command. set port qos mod/port autoqos trust {cos | dscp} set port qos mod/port autoqos voip {ciscoipphone | ciscosoftphone} Syntax Description mod/port Number of the module and ports on the module. trust Specifies AutoQoS for ports trusting all traffic markings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos autoqos Related Commands set qos autoqos show port qos show qos acl info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos cos set port qos cos To set the default value for all packets that have arrived through an untrusted port, use the set port qos cos command. set port qos mod/ports cos cos_value set port qos mod/ports cos-ext cos_value Syntax Description mod/ports Number of the module and ports. cos cos_value Specifies the CoS value for a port; valid values are from 0 to 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos policy-source set port qos policy-source To set the QoS policy source for all ports in the specified module, use the set port qos policy-source command. set port qos policy-source mod/ports... local | cops Syntax Description mod/ports... Number of the module and the ports on the module. local Sets the policy source to local NVRAM configuration. cops Sets the policy source to COPS configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos policy-source This example shows the output if you set the policy source to COPS and the switch is set to local configuration (using the set qos policy-source command): Console> (enable) set port qos 5/5 policy-source cops QoS policy source set to COPS on port(s) 5/1-48. Warning: QoS policy source for the switch set to use local configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos trust set port qos trust To set the trusted state of a port, use the set port qos trust command; for example, whether or not the packets arriving at a port are trusted to carry the correct classification. set port qos mod/ports... trust {untrusted | trust-cos | trust-ipprec | trust-dscp} Syntax Description mod/ports... Number of the module and the ports on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos trust Related Commands set port qos set port qos cos show port qos show qos info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos trust-device set port qos trust-device To configure the trust mode on a port on a specific device or module, use the set port qos trust-device command. set port qos mod/ports... trust-device {none | ciscoipphone} Syntax Description mod/port... Number of the module and the ports on the module. none Sets the device trust mode to disable. ciscoipphone Trusts only Cisco IP phones.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port qos trust-ext set port qos trust-ext To configure the access port on a Cisco IP phone connected to the switch port, use the set port qos trust-ext command. set port qos mod/ports... trust-ext {trusted | untrusted} Syntax Description mod/ports... Number of the module and the ports on the module. trusted Specifies that all traffic received through the access port passes through the phone switch unchanged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port rsvp dsbm-election set port rsvp dsbm-election To specify whether or not the switch participates in the Designated Subnet Bandwidth Manager (DSBM) election on that particular segment, use the set port rsvp dsbm-election command. set port rsvp mod/port dsbm-election enable | disable [dsbm_priority] Syntax Description mod/port Number of the module and the port. enable Enables participation in the DSBM election.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port security set port security To configure port security on a port or range of ports, use the set port security command. set port security mod[/port...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port security • Shutdown time is indefinite. • Timer type is set to absolute aging. • Unicast flooding is enabled. The automatic configuration feature is disabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port security This example shows how to set port security with a specific MAC address: Console> (enable) set port security 3/1 enable 00-02-03-04-05-06 Port 3/1 port security enabled with 00-02-03-04-05-06 as the secure mac address. Console> (enable) This example sets the shutdown time to 600 minutes on port 7/7: Console> (enable) set port security 7/7 shutdown 600 Secure address shutdown time set to 600 minutes for port 7/7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port speed set port speed To configure the speed of a port interface, use the set port speed command. set port speed mod/port {10 | 100 | 1000 | auto} Syntax Description mod/port Number of the module and the port on the module. 10 | 100 | 1000 Sets a port speed for 10BASE-T, 100BASE-T, or 1000BASE-T ports. auto Specifies autonegotiation for transmission speed and duplex mode on 10/100 Fast Ethernet ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port sync-restart-delay set port sync-restart-delay To specify the synchronization restart delay of a port, use the set port sync-restart-delay command. set port sync-restart-delay mod/port delay Syntax Description mod/port Number of the module and the port on the module. delay Delay time in milliseconds; the delay range is 200 to 60000 milliseconds (60 seconds). Defaults The default delay time is 210 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port trap set port trap To enable or disable the operation of the standard Simple Network Management Protocol (SNMP) link trap (up or down) for a port or range of ports, use the set port trap command. set port trap mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Activates the SNMP link trap. disable Deactivates the SNMP link trap.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port unicast-flood set port unicast-flood To configure the switch to drop Unicast Flood traffic on an Ethernet port, use the set port unicast-flood command. set port unicast-flood mod/port {enable | disable} Syntax Description mod/port Number of the module and the port on the module. enable Enables unicast flood and disables unicast flood blocking. disable Disables unicast flood and enables unicast flood blocking.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port unicast-flood This example shows how to disable unicast flood traffic on module 4, port 1 of a switch: Console> (enable) set port unicast-flood 4/1 enable Unicast Flooding is successfully enabled on the port 4/1. Console> (enable) Related Commands show port unicast-flood Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port voice interface dhcp set port voice interface dhcp To set the port voice interface for the DHCP, TFTP, and DNS servers, use the set port voice interface dhcp command. set port voice interface mod/port dhcp enable [vlan vlan] set port voice interface mod/port dhcp disable {ipaddrspec} {tftp ipaddr} [vlan vlan] [gateway ipaddr] [dns [ipaddr] [domain_name]] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set port voice interface dhcp Examples This example shows how to enable the port voice interface for the DHCP server: Console> (enable) set port voice interface 7/4-8 dhcp enable Port 7/4 DHCP enabled. Console> (enable) This example shows how to disable the set port voice interface DHCP server: Console> (enable) set port voice interface 7/3 dhcp disable 171.68.111.41/24 tftp 173.32.43.11 dns 172.20.34.204 cisco.com Port 7/3 dhcp disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set power redundancy set power redundancy To turn redundancy between the power supplies on or off, use the set power redundancy command. set power redundancy {enable | disable} Syntax Description enable Activates redundancy between the power supplies. disable Deactivates redundancy between the power supplies. Defaults The default is power redundancy is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set prompt set prompt To change the prompt for the CLI, use the set prompt command. set prompt prompt_string Syntax Description prompt_string Defaults The default is the prompt is set to Console>. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you use the set system name command to assign a name to the switch, the switch name is used as the prompt string.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set protocolfilter set protocolfilter To activate or deactivate protocol filtering on Ethernet VLANs and on nontrunking Ethernet, Fast Ethernet, and Gigabit Ethernet ports, use the set protocolfilter command. set protocolfilter {enable | disable} Syntax Description enable Activates protocol filtering. disable Deactivates protocol filtering. Defaults The default is protocol filtering is disabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pvlan set pvlan To bind the isolated or community VLAN to the primary VLAN and assign the isolated or community ports to the private VLAN, use the set pvlan command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pvlan Examples This example shows how to map VLANs 901, 902, and 903 (isolated or community VLANs) to VLAN 7 (the primary VLAN): Console> (enable) set pvlan 7 901 4/3 Port 4/3 is successfully assigned to vlan 7, 901 and Console> (enable) set pvlan 7 902 4/4-5 Ports 4/4-5 are successfully assigned to vlan 7, 902 Console> (enable) set pvlan 7 903 4/6-7 Ports 4/6-7 are successfully assigned to vlan 7, 903 Console> (enable) set pvlan 300 301
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pvlan mapping set pvlan mapping To map isolated or community VLANs to the primary VLAN on the promiscuous port, use the set pvlan mapping command. set pvlan mapping primary_vlan {isolated_vlan | community_vlan | twoway_community_vlan} mod/port Syntax Description primary_vlan Number of the primary VLAN. isolated_vlan Number of the isolated VLAN. community_vlan Number of the community VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set pvlan mapping Related Commands clear pvlan mapping clear vlan set pvlan set vlan show pvlan show pvlan mapping show vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos set qos To turn on or turn off QoS functionality on the switch, use the set qos command. set qos enable | disable Syntax Description enable Activates QoS functionality. disable Deactivates QoS functionality. Defaults The default is QoS functionality is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl default-action set qos acl default-action To set the ACL default actions, use the set qos acl default-action command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl default-action This example shows how to set up the IPX ACL default actions: Console> (enable) set qos acl default-action ipx dscp 5 microflow micro aggregate agg QoS default-action for IPX ACL is set successfully. Console> (enable) This example shows how to set up the MAC ACL default actions: Console> (enable) set qos acl default-action mac dscp 5 microflow micro aggregate agg QoS default-action for MAC ACL is set successfully.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ip set qos acl ip To create or add IP access lists, use the set qos acl ip command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ip protocol Keyword or number of an IP protocol; valid numbers are from 0 to 255 representing an IP protocol number. See the “Usage Guidelines” section for the list of valid keywords and corresponding numbers. dest_ip_spec Destination IP address and the destination mask. See the “Usage Guidelines” section for the format.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ip The optional microflow microflow_name and aggregate aggregate_name keywords and variables are used to configure policing in the ACE. Refer to the Catalyst 6500 Series Switch Software Configuration Guide for additional policing rule information. The src_ip_spec, optional precedence precedence, or dscp-field dscp keywords and variables are used to configure filtering.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ip If the operator is positioned after the source and source-wildcard, it must match the source port. If the operator is positioned after the destination and destination-wildcard, it must match the destination port. The range operator requires two port numbers. All other operators require one port number only. TCP port names can be used only when filtering TCP.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ip This example shows how to define an ICMP access list: Console> (enable) set qos acl ip icmp_acl trust-dscp my-micro icmp 1.2.3.4 255.255.0.0 172.20.20.1 255.255.255.0 precedence 3 my_acl editbuffer modified. Use ‘commit’ command to apply changes. Console> (enable) Related Commands clear qos acl commit rollback show qos acl info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ipx set qos acl ipx To define IPX access lists, use the set qos acl ipx command. set qos acl ipx {acl_name} {dscp dscp | trust-cos} [aggregate aggregate_name] {protocol} {src_net} [dest_net.[dest_node] [[dest_net_mask.]dest_node_mask] [before editbuffer_index | modify editbuffer_index] Syntax Description acl_name Unique name that identifies the list to which the entry belongs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ipx The optional aggregate aggregate_name keyword and variable are used to configure policing in the ACE. Refer to the Catalyst 6500 Series Switch Software Configuration Guide for additional policing rule information. Use the show security acl command to display the list. The src_ip_spec, optional precedence precedence, or dscp-field dscp keywords and variables, are used to configure filtering.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl ipx Examples This example shows how to create an IPX ACE: Console> (enable) set qos acl ipx my_IPXacl trust-cos aggregate my-agg -1 my_IPXacl editbuffer modified. Use `commit' command to apply changes. Console> (enable) Related Commands clear qos acl commit rollback show qos acl info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl mac set qos acl mac To define MAC access lists, use the set qos acl mac command. set qos acl mac {acl_name} {dscp dscp | trust-cos} [aggregate aggregate_name] {src_mac_addr_spec} {dest_mac_addr_spec} [ether-type] [before editbuffer_index | modify editbuffer_index] Syntax Description acl_name Unique name that identifies the list to which the entry belongs. dscp dscp Sets CoS and DSCP from configured DSCP values.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl mac • Case sensitive • Cannot be a number • Must not be a keyword; keywords to avoid are all, default-action, map, help, and editbuffer The src_mac_addr_spec is a 48-bit source MAC address and mask and entered in the form of source_mac_address source_mac_address_mask (for example, 08-11-22-33-44-55 ff-ff-ff-ff-ff-ff). Place ones in the bit positions you want to mask.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl map set qos acl map To attach an ACL to a specified port or VLAN, use the set qos acl map command. set qos acl map acl_name {mod/port | vlan} Syntax Description acl_name Name of the list to which the entry belongs. mod/port Number of the module and the port on the module. vlan Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094. Defaults There are no default ACL mappings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl map Related Commands clear qos acl commit rollback show qos acl map Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos autoqos set qos autoqos To apply automatic QoS settings to all ports on the switch, use the set qos autoqos command. set qos autoqos Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos bridged-microflow-policing set qos bridged-microflow-policing To enable or disable microflow policing of bridged packets on a per-VLAN basis, use the set qos bridged-microflow-policing command. set qos bridged-microflow-policing {enable | disable} vlanlist Syntax Description enable Activates microflow policing functionality. disable Deactivates microflow policing functionality.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos cos-dscp-map set qos cos-dscp-map To set the CoS-to-DSCP mapping, use the set qos cos-dscp-map command. set qos cos-dscp-map dscp1 dscp2... dscp8 Syntax Description dscp# Defaults The default CoS-to-DSCP configuration is listed in Table 2-16. Number of the differentiated services code point (DSCP); valid values are from 0 to 63.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos drop-threshold set qos drop-threshold To program the transmit-queue and receive-queue drop thresholds on all ports in the system, use the set qos drop-threshold command. set qos drop-threshold 2q2t tx queue q# thr1 thr2 set qos drop-threshold {1q2t | 1q4t | 1p1q4t} rx queue q# thr1 thr2 thr3 thr4 Syntax Description Defaults 2q2t tx Specifies the transmit-queue drop threshold.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos drop-threshold The number preceding the q letter in the port type determines the number of the queues that the hardware supports. For example, with 2q2t, the number of queues specified is two; with 1q2t, 1q4t and 1p1q4t, the number of queues specified is one. The system defaults for the transmit queues attempt to keep the maximum latency through a port at a maximum of 10 milliseconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos dscp-cos-map set qos dscp-cos-map To set the DSCP-to-CoS mapping, use the set qos dscp-cos-map command. set qos dscp-cos-map dscp_list:cos_value ... Syntax Description Defaults dscp_list Number of the DSCP; valid values are from 0 to 63. cos_value... Number of the CoS; valid values are from 0 to 7. The default DSCP-to-CoS configuration is listed in Table 2-17.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos ipprec-dscp-map set qos ipprec-dscp-map To set the IP precedence-to-DSCP map, use the set qos ipprec-dscp-map command. This command applies to all packets and all ports. set qos ipprec-dscp-map dscp1 ... dscp8 Syntax Description dscp1# Defaults The default IP precedence-to-DSCP configuration is listed in Table 2-18. Number of the IP precedence value; up to eight values can be specified.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos ipprec-dscp-map Examples This example shows how to assign IP precedence-to-DSCP mapping and return to the default: Console> (enable) set qos ipprec-dscp-map 20 30 1 43 63 12 13 8 QoS ipprec-dscp-map set successfully. Console> (enable) Related Commands clear qos ipprec-dscp-map show qos maps Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos mac-cos set qos mac-cos To set the CoS value to the MAC address and VLAN pair, use the set qos mac-cos command. set qos mac-cos dest_mac vlan cos Syntax Description dest_mac MAC address of the destination host. vlan Number of the VLAN; valid values are from 1 to 1001 and from 1025 to 4094. cos CoS value; valid values are from 0 to 7, higher numbers represent higher priority. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos map set qos map To map a specific CoS value to the transmit- or receive-priority queues and the thresholds per available priority queue for all ports, use the set qos map command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos map Table 2-20 CoS-to-Queue Mapping (RX) Queue COS Values QoS enabled 1 0, 1, 2, 3, 4, 6, 7 2 5 QoS disabled 1 0, 1, 2, 3, 4, 5, 6, 7 Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos map This example shows how to map the CoS value 5 to strict-priority transmit-queue 3/drop-threshold 1: Console> (enable) set qos map 1p2q2t tx 3 1 cos 5 Qos tx strict queue and threshold mapped to cos successfully. Console> (enable) Related Commands clear qos map show qos info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policed-dscp-map set qos policed-dscp-map To set the mapping of policed in-profile DSCPs, use the set qos policed-dscp-map command. set qos policed-dscp-map [normal | excess] in_profile_dscp:policed_dscp... Syntax Description normal (Optional) Specifies normal rate policers. excess (Optional) Specifies excess rate policers. in_profile_dscp Number of the in-profile DSCP; valid values are from 0 through 63.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policer set qos policer To create a policing rule for ACL, use the set qos policer command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policer When both normal and excess rates are zero, you can specify any burst size. If the normal rates and excess rates are zero, the value is ignored and set internally by hardware. The excess rate must be greater than or equal to the normal rate. The set qos policer aggregate command allows you to configure an aggregate flow and a policing rule for that aggregate.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policer Related Commands clear qos policer show qos policer Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policy-source set qos policy-source To set the QoS policy source, use the set qos policy-source command. set qos policy-source local | cops Syntax Description local Sets the policy source to local NVRAM configuration. cops Sets the policy source to COPS-PR configuration. Defaults The default is all ports are set to local. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos policy-source This example shows the output if you attempt to set the policy source to COPS-PR and no COPS-PR servers are available: Console> (enable) set qos policy-source cops QoS policy source for the switch set to COPS. Warning: No COPS servers configured. Use the ‘set cops server’ command to configure COPS servers.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos rsvp set qos rsvp To turn on or turn off the RSVP feature on the switch, to set the time in minutes after which the RSVP databases get flushed (when the policy server dies), and to set the local policy, use the set qos rsvp command. set qos rsvp enable | disable set qos rsvp policy-timeout timeout set qos rsvp local-policy forward | reject Syntax Description enable Activates the RSVP feature. disable Deactivates the RSVP feature.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos rsvp This example shows how to set the policy timeout interval: Console> (enable) set qos rsvp policy-timeout 45 RSVP database policy timeout set to 45 minutes. Console> (enable) This example shows how to set the policy timeout interval: Console> (enable) set qos rsvp local-policy forward RSVP local policy set to forward. Console> (enable) Related Commands show qos rsvp Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos rxq-ratio set qos rxq-ratio To set the amount of packet buffer memory allocated to high-priority incoming traffic and low-priority incoming traffic, use the set qos rxq-ratio command. set qos rxq-ratio port_type queue1_val queue2_val... queueN_val Syntax Description port_type Port type; valid value is 1p1q0t and 1p1q8t.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos rxq-ratio Examples This example shows how to set the receive-queue size ratio: Console> (enable) set qos rxq-ratio 1p1q0t 80 20 QoS rxq-ratio is set successfully. Console> (enable) Related Commands show qos info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos statistics export set qos statistics export To globally enable or disable statistics data gathering from hardware, use the set qos statistics export command. set qos statistics export {enable | disable} Syntax Description enable Enables statistics data gathering. disable Disables statistics data gathering. Defaults The default is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos statistics export aggregate set qos statistics export aggregate To enable or disable statistics data export on an aggregate policer, use the set qos statistics export aggregate command. set qos statistics export aggregate name {enable | disable} Syntax Description name (Optional) Name of the policer. enable Enables statistics data export for the named aggregate policer.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos statistics export destination set qos statistics export destination To specify the statistics data export destination address, use the set qos statistics export destination command. set qos statistics export destination {host_name | host_ip} [port] set qos statistics export destination {host_name | host_ip} [syslog [{facility severity}]] Syntax Description Defaults host_name Host name. host_ip Host IP address.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos statistics export interval set qos statistics export interval To specify how often a port or aggregate policer statistics data is read and exported, use the set qos statistics export interval command. set qos statistics export interval interval Syntax Description interval Defaults The default is 30 seconds. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos statistics export port set qos statistics export port To enable or disable statistics data export on a port, use the set qos statistics export port command. set qos statistics export port mod/port {enable | disable} Syntax Description mod/port (Optional) Number of the module and the port on the module. enable Enables statistics data export. disable Disables statistics data export. Defaults The default is disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos txq-ratio set qos txq-ratio To set the amount of packet buffer memory allocated to high-priority traffic and low-priority traffic, use the set qos txq-ratio command. set qos txq-ratio port_type queue1_val queue2_val... queueN_val Syntax Description port_type Port type; valid values are 2q2t, 1p2q2t, and 1p2q1t.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos txq-ratio Examples This example shows how to set the transmit-queue size ratio: Console> (enable) set qos txq-ratio 2q2t 75 25 QoS txq-ratio is set successfully. Console> (enable) Related Commands show qos info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos wred set qos wred To configure the WRED threshold parameters for the specified port type, use the set qos wred command. set qos wred port_type [tx] queue q# {[thr1Lo:]thr1Hi} {[thr2Lo:]thr2Hi}... Syntax Description Defaults port_type Port type; valid values are 1p2q2t, 1p2q1t, 1p3q1t, and 1p1q8t. tx (Optional) Specifies the parameters for output queuing.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos wred Console> (enable) Related Commands clear qos config show qos info Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos wrr set qos wrr To specify the weights that determine how many packets will transmit out of one queue before switching to the other queue, use the set qos wrr command. set qos wrr port_type queue1_val queue2_val... Syntax Description Defaults port_type Port type; valid values are 2q2t, 1p2q2t, 1p3q1t, and 1p2q1t. queue#_val Number of weights for queues 1, 2, or 3; valid values are from 1 to 255.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos wrr Examples This example shows how to specify the weights for queue 1 and queue 2 to 30 and 70: Console> (enable) set qos wrr 2q2t 30 70 QoS wrr ratio is set successfully. Console> (enable) Related Commands show qos info show qos statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius attribute set radius attribute To set attributes to the RADIUS ACCESS_REQUEST packet, use the set radius attribute command. set radius attribute {number | name} include-in-access-req {enable | disable} Syntax Description number Attribute number; valid value is 8. name Attribute name; valid value is framed-ip-address. include-in-access-req Sets attributes to the ACCESS_REQUEST packet.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius deadtime set radius deadtime To set the time to skip RADIUS servers that do not reply to an authentication request, use the set radius deadtime command. set radius deadtime minutes Syntax Description minutes Defaults The default is 0 minutes. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius key set radius key To set the encryption and authentication for all communication between the RADIUS client and the server, use the set radius key command. set radius key key Syntax Description key Defaults The default of the key is set to null. Command Types Switch command. Command Modes Privileged. Usage Guidelines The key you set must be the same one as configured in the RADIUS server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius retransmit set radius retransmit To specify the number of times the RADIUS servers are tried before giving up on the server, use the set radius retransmit command. set radius retransmit count Syntax Description count Defaults The default is two times (three attempts). Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius server set radius server To set up the RADIUS server, use the set radius server command. set radius server ipaddr [auth-port port] [acct-port port] [primary] Syntax Description ipaddr Number of the IP address or IP alias in dot notation a.b.c.d. auth-port port (Optional) Specifies a destination User Datagram Protocol (UDP) port for RADIUS authentication messages.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set radius timeout set radius timeout To set the time between retransmissions to the RADIUS server, use the set radius timeout command. set radius timeout seconds Syntax Description seconds Defaults The default timeout is 5 seconds. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set rcp username set rcp username To specify your username for rcp file transfers, use the set rcp username command. set rcp username username Syntax Description username Defaults There are no default settings for this command. Command Types Switch command. Command Modes Privileged. Usage Guidelines The username can be a maximum of 40 characters, must be different from “root,” and not a null string.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set rgmp set rgmp To enable or disable the Router-Ports Group Management Protocol (RGMP) feature on the switch, use the set rgmp command. set rgmp {enable | disable} Syntax Description enable Enables RGMP on the switch. disable Disables RGMP on the switch. Defaults The default is RGMP is disabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines The set rgmp command affects the entire switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set rspan set rspan To create remote Switched Port Analyzer (SPAN) sessions, use the set rspan command. set rspan disable source [rspan_vlan | all] set rpsan disable destination [mod/port | all] set rspan source {src_mod/src_ports... | vlans... | sc0} {rspan_vlan} [rx | tx | both] [multicast {enable | disable}] [filter vlans...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set rspan Defaults The defaults are as follows: • Remote SPAN is disabled. • No VLAN filtering. • Monitoring multicast traffic is enabled. • Learning is enabled. • inpkts is disabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set rspan Examples This example shows how to disable all enabled source sessions: Console> (enable) set rspan disable source all This command will disable all remote span source session(s). Do you want to continue (y/n) [n]? y Disabled monitoring of all source(s) on the switch for remote span.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl adjacency set security acl adjacency To set an entry for the adjacency table, use the set security acl adjacency command. set security acl adjacency adjacency_name dest_vlan dest_mac [source_mac [mtu mtu_size] | mtu mtu_size] Syntax Description adjacency_name Name of the adjacency table entry. dest_vlan Name of the destination VLAN. dest_mac Destination MAC address. source_mac (Optional) Source MAC address.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl arp-inspection set security acl arp-inspection To configure Address Resolution Protocol (ARP) inspection features, use the set security acl arp-inspection command. set security acl arp-inspection {match-mac | address-validation} {enable | [drop [log]] | disable} Syntax Description match-mac Specifies the MAC address matching feature. address-validation Specifies the address validation feature.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl arp-inspection Use the set security acl arp-inspection command in conjunction with the set security acl ip arp-inspection command. For more information about configuring ARP inspection features, refer to the “Configuring Access Control” chapter of the Catalyst 6500 Series Switch Software Configuration Guide.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl capture-ports set security acl capture-ports To set the ports (specified with the capture option in the set security acl ip, set security acl ipx, and set security acl mac commands) to show traffic captured on these ports, use the set security acl capture-ports command. set security acl capture-ports {mod/ports...} Syntax Description mod/ports... Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl feature ratelimit set security acl feature ratelimit To specify a rate limit for the number of packets that are sent to the CPU on a global basis, use the set security acl feature ratelimit command. set security acl feature ratelimit rate Syntax Description rate Defaults The rate is 500 pps. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip set security acl ip To create a new entry in a standard IP VACL and append the new entry at the end of the VACL, use the set security acl ip command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip before editbuffer_index (Optional) Inserts the new ACE in front of another ACE. modify editbuffer_index (Optional) Replaces an ACE with the new ACE. log (Optional) Logs denied packets. arp Specifies ARP. redirect Specifies to which switched ports the packet is redirected. mod_num/port_num Number of the module and port. adj_name Name of the adjacency table entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip any Matches any IP address or MAC address. ip_mask Specifies the IP mask. dot1x-dhcp Specifies dot1x authentication for the DHCP Relay Agent. Defaults There are no default ACLs and no default ACL-VLAN mappings. By default, ARP is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip • Use the keyword any as an abbreviation for a source and source-wildcard of 0.0.0.0 255.255.255.255. • Use host/source as an abbreviation for a destination and destination-wildcard of destination 0.0.0.0. The log keyword is an option of deny only. If you want to change an existing VACL configuration to deny with log, you must first clear the VACL and then set it again.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip For IP, you can enter the following syntax: set security acl ip {acl_name} {permit | deny | redirect {mod_num/port_num}} [ip] {src_ip_spec} {dest_ip_spec} [precedence precedence] [tos tos] [capture] [before editbuffer_index | modify editbuffer_index] For ICMP, you can enter the following syntax: set security acl ip {acl_name} {permit | deny | redirect {mod_num/port_num}} [icmp | 1] {src_ip_spec} {dest_ip_spec} [icmp_type]
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ip Related Commands clear security acl clear security acl capture-ports clear security acl map commit set security acl map set security acl capture-ports show security acl show security acl capture-ports Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ipx set security acl ipx To create a new entry in a standard IPX VACL and to append the new entry at the end of the VACL, use the set security acl ipx command. set security acl ipx {acl_name} {permit | deny | redirect mod_num/port_num} {protocol} {src_net} [dest_net.[dest_node] [[dest_net_mask.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ipx If you use the capture keyword, the ports that capture the traffic and transmit out are specified by entering the set security acl capture-ports command. When you enter the ACL name, follow these naming conventions: • Maximum of 32 characters long and may include a-z, A-Z, 0-9, the dash character (-), the underscore character (_), and the period character (.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl ipx Examples This example shows how to block traffic from a specified source IPX address: Console> (enable) set security acl ipx IPXACL1 deny 1.a IPXACL1 editbuffer modified. Use ‘commit’ command to apply changes. Console> (enable) This example shows how to deny traffic from hosts in specific subnet (10.1.2.0/8): Console> (enable) set security acl ipx SERVER deny ip 10.1.2.0 0.0.0.255 host 10.1.1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl log set security acl log To configure the security ACL log table, use the set security acl log command. set security acl log maxflow max_number set security acl log ratelimit pps Syntax Description maxflow max_number Specifies the maximum flow pattern number in packets per second; valid values are from 256 to 2048. ratelimit pps Specifies the redirect rate in packets per second; valid values are from 500 to 5000.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl mac set security acl mac To create a new entry in a non-IP or non-IPX protocol VACL and to append the new entry at the end of the VACL, use the set security acl mac command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl mac • Cannot be a number • Must not be a keyword; keywords to avoid are all, default-action, map, help, and editbuffer The src_mac_addr_spec is a 48-bit source MAC address and mask and entered in the form of source_mac_address source_mac_address_mask (for example, 08-11-22-33-44-55 ff-ff-ff-ff-ff-ff). Place ones in the bit positions you want to mask.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl map set security acl map To map an existing VACL to a VLAN, use the set security acl map command. set security acl map acl_name vlan Syntax Description acl_name Unique name that identifies the list to which the entry belongs. vlan Number of the VLAN to be mapped to the VACL; valid values are from 1 to 1005 and from 1025 to 4094. Defaults There are no default ACLs and no default ACL-VLAN mappings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set security acl map This example shows the output if you try to map an ACL that is already mapped to a VLAN for the ACL type (IP, IPX, or MAC): Console> (enable) set security acl map IPACL2 1 Mapping for this type already exists for this VLAN. Console> (enable) Related Commands clear security acl clear security acl map commit show security acl Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp set snmp To enable or disable the processing of SNMP requests to the switch and SNMP traps from the switch, use the set snmp command. set snmp {enable | disable} Syntax Description enable Enables SNMP processing. disable Disables SNMP processing. Defaults By default, SNMP processing is enabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp access set snmp access To define the access rights of an SNMP group, use the set snmp access command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp access • write writeview is NULL OID. • notify notifyview is NULL OID. • context contextname is a NULL string. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp access-list set snmp access-list To specify an access list number for a host or group of hosts, use the set snmp access-list command. set snmp access-list access_number IP_address [ipmask maskaddr] Syntax Description access_number Number that specifies a list of hosts that are pemitted to use a specific community string; valid values are 1 to 65535. IP_address IP address that is associated with the access list.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp access-list Related Commands clear snmp access-list show snmp access-list Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp buffer set snmp buffer To set the size of the SNMP UDP socket receive buffer, use the set snmp buffer command. set snmp buffer {packets} Syntax Description packets Defaults 95 packets Command Types Switch command. Command Modes Privileged. Usage Guidelines You can adjust the SNMP UDP socket receive buffer to contain a maximum of 95 packets.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp chassis-alias set snmp chassis-alias To set the chassis alias and save it in NVRAM and in the configuration file, use the set snmp chassis-alias command. set snmp chassis-alias [chassisAlias] Syntax Description chassisAlias Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines The chassisAlias value must be from 0 to 32 characters.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp community set snmp community To set SNMP communities and associated access types, use the set snmp community command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp community There are three configurable SNMP communities, one for each access type. If you do not specify the community string, the community string configured for that access type is cleared. The community_string variable cannot contain the @ symbol. To support the access types, you also need to configure four MIB tables: vacmContextTable, vacmSecurityToGroupTable, vacmAccessTable, and vacmViewTreeFamilyTable.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp community-ext set snmp community-ext To set additional community strings, use the set snmp community-ext command. set snmp community-ext community_string {read-only | read-write | read-write-all} [view view_oid] [access access_number] Syntax Description community_string Name of the SNMP community. read-only Assigns read-only access to the specified SNMP community.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp community-ext This example shows how to change the access number to the community string: Console> (enable) set snmp community-ext private1 read-write access 3 Community string private1 is updated with access type as read-write access number 3 Console> (enable) Related Commands clear snmp community-ext Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp extendedrmon netflow set snmp extendedrmon netflow To enable or disable the SNMP extended RMON support for the NAM module, use the set snmp extendedrmon netflow command. set snmp extendedrmon netflow {enable | disable} {mod} Syntax Description enable Enables the extended RMON support. disable Disables the extended RMON support. mod Module number of the extended RMON NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp group set snmp group To establish the relationship between an SNMP group and a user with a specific security model, use the set snmp group command. set snmp group [-hex] {groupname} user [-hex] {username} {security-model {v1 | v2c | v3}} [volatile | nonvolatile] Syntax Description -hex (Optional) Displays the groupname and username in a hexadecimal format.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp ifalias set snmp ifalias To set the SNMP interface alias, use the set snmp ifalias command. set snmp ifalias {ifIndex} [ifAlias] Syntax Description ifIndex Interface index number. ifAlias (Optional) Name of the interface alias. See the “Usage Guidelines” section for more information. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp notify set snmp notify To set the notifyname entry in the snmpNotifyTable and the notifytag entry in the snmpTargetAddrTable, use the set snmp notify command. set snmp notify [-hex] {notifyname} tag [-hex] {notifytag} [trap | inform] [volatile | nonvolatile] Syntax Description -hex (Optional) Displays the notifyname and notifytag in a hexadecimal format. notifyname Identifier to index the snmpNotifyTable.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp rmon set snmp rmon To enable or disable SNMP RMON support, use the set snmp rmon command. set snmp rmon {enable | disable} Syntax Description enable Activates SNMP RMON support. disable Deactivates SNMP RMON support. Defaults The default is RMON support is disabled. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp rmonmemory set snmp rmonmemory To set the memory usage limit in percentage, use the set snmp rmonmemory command. set snmp rmonmemory percentage Syntax Description percentage Defaults The default is 85 percent. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM. Memory usage limit; see the “Usage Guidelines” section for additional information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp targetaddr set snmp targetaddr To configure the SNMP target address entries in the snmpTargetAddressTable, use the set snmp targetaddr command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp targetaddr Usage Guidelines If you use special characters for the addrname, paramsname, tag, and tagvalue (nonprintable delimiters for these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34. The maximum tagvalue and taglist length is 255 bytes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp targetparams set snmp targetparams To configure the SNMP parameters used in the snmpTargetParamsTable when generating a message to a target, use the set snmp targetparams command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp targetparams Usage Guidelines If you use special characters for the paramsname and username (nonprintable delimiters for these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp trap set snmp trap To enable or disable the different SNMP traps on the system or to add an entry into the SNMP authentication trap receiver table, use the set snmp trap command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp trap owner rcvr_owner (Optional) Specifies the user who configured the settings for the SNMP trap; the valid value is a character string from 1 to 21 characters in length. index rcvr_index (Optional) Specifies index entries with the same rcvr_addr; valid values are from 0 to 65535. Defaults The default is SNMP traps are disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp trap Console> (enable) Related Commands clear snmp trap set port trap show snmp test snmp trap Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp user set snmp user To configure a new SNMP user, use the set snmp user command. set snmp user [-hex] {username} {remote {engineid}} [authentication {md5 | sha | authpassword}] [privacy {privpassword}] [volatile | nonvolatile] Syntax Description -hex (Optional) Displays username in a hexadecimal format. username Name of the SNMP user. remote engineid Specifies the remote SNMP engine ID.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp user This example shows how to set a specific username, authentication, and authpassword: Console> (enable) set snmp user John authentication md5 arizona2 Snmp user was set to John authProt md5 authPasswd arizona2. privProt no-priv wi. Console> (enable) Related Commands clear snmp user show snmp user Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp view set snmp view To configure the SNMP MIB view, use the set snmp view command. set snmp view [-hex]{viewname}{subtree}[mask] [included | excluded] [volatile | nonvolatile] Syntax Description Defaults -hex (Optional) Displays the viewname value in a hexadecimal format. viewname Name of a MIB view. subtree MIB subtree. mask (Optional) Specifies that the bit mask is used with the subtree.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp view Examples This example shows how to assign a subtree to the view public: Console> (enable) set snmp view public 1.3.6.1 included Snmp view name was set to public with subtree 1.3.6.1 included, nonvolatile.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set span set span To enable or disable SPAN and to set up the switch port and VLAN analyzer for multiple SPAN sessions, use the set span command. set span disable [dest_mod/dest_port | all] set span {src_mod/src_ports | src_vlans | sc0} {dest_mod/dest_port} [rx | tx | both] [inpkts {enable | disable}] [learning {enable | disable}] [multicast {enable | disable}] [filter vlans...] [create] Syntax Description disable Disables SPAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set span Usage Guidelines After you enable SPAN, system defaults are used if no parameters were ever set. If you changed parameters, the old parameters are stored in NVRAM, and the new parameters are used. Use a network analyzer to monitor ports. If you specify multiple SPAN source ports, the ports can belong to different VLANs. A maximum of two rx or both SPAN sessions and four tx SPAN sessions can exist simultaneously.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set span This example shows how to disable SPAN if multiple SPAN sessions are not defined: Console> (enable) set span disable This command WILL disable your span session(s).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree backbonefast set spantree backbonefast To enable or disable the spanning tree BackboneFast Convergence feature, use the set spantree backbonefast command. set spantree backbonefast {enable | disable} Syntax Description enable Enables BackboneFast Convergence. disable Disables BackboneFast Convergence. Defaults The default is BackboneFast convergence is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree bpdu-filter set spantree bpdu-filter To enable or disable BPDU packet filtering on a port, use the set spantree bpdu-filter command. set spantree bpdu-filter mod/port {enable | disable | default} Syntax Description mod/port Number of the module and the port on the module. enable Enables BPDU packet filtering. disable Disables BPDU packet filtering.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree bpdu-guard set spantree bpdu-guard To enable or disable spanning tree BPDU guard on a port, use the set spantree bpdu-guard command. set spantree bpdu-guard mod/port {enable | disable | default} Syntax Description mod/port Number of the module and the port on the module. enable Enables the spanning tree BPDU guard. disable Disables the spanning tree BPDU guard.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree bpdu-skewing set spantree bpdu-skewing To enable or disable collection of the spanning tree BPDU skewing detection statistics, use the set spantree bpdu-skewing command. set spantree bpdu-skewing {enable | disable} Syntax Description enable Enables BPDU skewing detection statistics collection. disable Disables BPDU skewing detection statistics collection. Defaults The default is disabled. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree channelcost set spantree channelcost To set the channel path cost and to automatically adjust the channel port costs, use the set spantree channelcost command. set spantree channelcost {channel_id | all} cost Syntax Description channel_id Channel identification number. all Configures all channels. cost Channel port costs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree channelcost Related Commands clear lacp-channel statistics set channelprotocol set lacp-channel system-priority set port lacp-channel set spantree channelvlancost show lacp-channel show port lacp-channel Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree channelvlancost set spantree channelvlancost To set the channel VLAN path cost and adjust the port VLAN costs of the ports that belong to the channel, use the set spantree channelvlancost command. set spantree channelvlancost channel_id cost Syntax Description channel_id Number of the channel identification. cost Port costs of the ports in the channel. Defaults The command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree defaultcostmode set spantree defaultcostmode To specify the spanning tree default port cost mode, use the set spantree defaultcostmode command. set spantree defaultcostmode {short | long} Syntax Description short Sets the default port cost for port speeds slower than 10 gigabits. long Sets the default port cost mode port speeds of 10 gigabits and faster. Defaults The default is short. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree defaultcostmode Table 2-22 Default Port Cost—Long Mode Examples Port Speed Default Port Cost 100 Kb 200,000,000 1 Mb 20,000,000 10 Mb 2,000,000 100 Mb 200,000 1 Gb 20,000 10 Gb 2,000 100 Gb 200 1 Tb 20 10 Tb 2 This example shows how to set the spanning tree default port cost mode: Console> (enable) set spantree defaultcostmode long Portcost and portvlancost set to use long format default values.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree disable set spantree disable To disable the spanning tree algorithm for all VLANs or a specific VLAN or disable spanning tree instance, use the set spantree disable command. set spantree disable vlan set spantree disable all set spantree disable mistp-instance instance set spantree disable mistp-instance all Syntax Description vlan Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree disable This example shows how to disable spanning tree for a specific instance: Console> (enable) set spantree disable mistp-instance 2 MI-STP instance 2 disabled. Console> (enable) Related Commands set spantree enable show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree enable set spantree enable To enable the spanning tree algorithm for all VLANs, a specific VLAN, a specific instance, or all instances, use the set spantree enable command. set spantree enable vlans set spantree enable all set spantree enable mistp-instance instance set spantree enable mistp-instance all Syntax Description vlans Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree enable Related Commands set spantree disable show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree fwddelay set spantree fwddelay To set the bridge forward delay for a VLAN or an instance, use the set spantree fwddelay command. set spantree fwddelay delay [vlans] set spantree fwddelay delay mistp-instance [instances] set spantree fwddelay delay mst Syntax Description delay Number of seconds for the bridge forward delay; valid values are from 4 to 30 seconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree fwddelay This example shows how to set the bridge forward delay for the IST and all MST instances to 15 seconds: Console> (enable) set spantree fwddelay 15 mst MST forward delay set to 15 seconds. Console> (enable) Related Commands show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree global-default set spantree global-default To set the global states on the switch, use the set spantree global-default command. set spantree global-default portfast {enable | disable} set spantree global-default loop-guard {enable | disable} set spantree global-default bpdu-guard {enable | disable} set spantree global-default bpdu-filter {enable | disable} Syntax Description Defaults portfast Sets the global PortFast state.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree global-default This example shows how to disable the global BPDU filter state on the switch: Console> (enable) set spantree global-default bpdu-filter disable Spantree global-default bpdu-filter disabled on this switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree guard set spantree guard To enable or disable the spanning tree root guard or loop guard feature on a per-port basis, use the set spantree guard command. set spantree guard {none | root | loop} mod/port Syntax Description none Disables the spanning tree guard feature. root Enables the root guard feature. loop Enables the loop guard feature. mod/port Number of the module and ports on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree guard Examples This example shows how to enable root guard: Console> (enable) set spantree guard root 5/1 Rootguard on port 5/1 is enabled. Warning!! Enabling rootguard may result in a topolopy change. Console> (enable) This example shows how to enable the loop guard feature: Console> (enable) set spantree guard loop 5/1 Rootguard is enabled on port 5/1, enabling loopguard will disable rootguard on this port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree hello set spantree hello To set the bridge hello time for a VLAN or an instance, use the set spantree hello command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree hello This example shows how to set the spantree hello time for an instance to 3 seconds: Console> (enable) set spantree hello 3 mistp-instance 1 Spantree 1 hello time set to 3 seconds. Console> (enable) This example shows how to set the spantree hello time for the IST and all MST instances to 2 seconds: Console> (enable) set spantree hello 2 mst MST hello time set to 2 seconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree link-type set spantree link-type To configure the link type of a port, use the set spantree link-type command. set spantree link-type mod/port {auto | point-to-point | shared} Syntax Description mod/port Number of the module and the port on the module. auto Derives the link from either a half-duplex or full-duplex link type. See “Usage Guidelines” for more information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree macreduction set spantree macreduction To enable or disable the spanning tree MAC address reduction feature, use the set spantree macreduction command. set spantree macreduction enable | disable Syntax Description enable Enables MAC address reduction. disable Disables MAC address reduction. Defaults The default is MAC address reduction is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree maxage set spantree maxage To set the bridge maximum aging time for a VLAN or an instance, use the set spantree maxage command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree maxage This example shows how to set the maximum aging time for an instance to 25 seconds: Console> (enable) set spantree maxage 25 mistp-instance 1 Instance 1 max aging time set to 25 seconds. Console> (enable) This example shows how to set the maximum aging time for the IST and all MST instances to 20 seconds: Console> (enable) set spantree maxage 20 mst MST max age set to 20 seconds.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mode set spantree mode To configure the type of Spanning Tree Protocol mode to run, use the set spantree mode command. set spantree mode {mistp | pvst+ | mistp-pvst+ | mst | rapid-pvst+} Syntax Description mistp Specifies MISTP mode. pvst+ Specifies PVST+ mode. mistp-pvst+ Allows the switch running MISTP to tunnel BPDUs with remote switches running PVST+. mst Specifies MST mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mode If you change the spanning tree mode from PVST+ to MISTP or MISTP to PVST+, the STP mode previously running stops, all the information collected at runtime is used to build the port database for the new mode, and the new STP mode restarts the computation of the active topology from zero. All the parameters of the previous STP per VLAN or per instance are kept in NVRAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst set spantree mst To configure the mapping of VLANs to an MST instance, use the set spantree mst command. set spantree mst instance vlan vlan Syntax Description instance Number of the instance; valid values are from 0 to 15. vlan vlan Specifies the VLAN number; valid values are from 1 to 1005 and from 1025 to 4094. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst config set spantree mst config To change the MST region information, use the set spantree mst config command. set spantree mst config [name name] [revision number] set spantree mst config commit set spantree mst config rollback [force] Syntax Description Defaults name name (Optional) Specifies the MST region name. See the “Usage Guidelines” section for more information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst config Examples This example shows how to configure an MST region and to give that region a name and revision number: Console> (enable) set spantree mst config name test-lab revision 10 Edit Buffer modified.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst link-type set spantree mst link-type To configure the link type of a port, use the set spantree mst link-type command. set spantree mst link-type mod/port {auto | point-to-point | shared} Syntax Description mod/port Number of the module and the port on the module. auto Derives the link from either a half-duplex or full-duplex link type. See the “Usage Guidelines” section for more information about auto.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst maxhops set spantree mst maxhops To set the spanning tree hop count, use the set spantree mst maxhops command. set spantree mst maxhops maxhops Syntax Description maxhops Defaults The bridge forward delay default is 20 seconds for all instances. Command Types Switch command. Command Modes Privileged. Examples This example shows how to set the maximum number of hops: Maximum number of hops. Valid values are 1 to 40.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree mst vlan set spantree mst vlan To configure the mapping of VLANs to an MST instance, use the set spantree mst vlan command. set spantree mst instance vlan vlan Syntax Description instance Number of the instance; valid values are from 0 to 15. vlan vlan Specifies the VLAN number; valid values are from 1 to 1005 and from 1025 to 4094. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portcost set spantree portcost To set the path cost for a port, use the set spantree portcost command. set spantree portcost mod/port cost [mst] Syntax Description Defaults mod/port Number of the module and the port on the module. cost Number of the path cost; see the “Usage Guidelines” section for additional information. mst (Optional) Sets the path cost for an MST port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portcost Command Types Switch command. Command Modes Privileged. Usage Guidelines If the spanning tree mode is short and long or MISTP, valid cost values are from 1 to 65535, otherwise, valid cost values are from 1 to 2000000. This command is not supported by the NAM. The Spanning Tree Protocol uses port path costs to determine which port to select as a forwarding port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portfast set spantree portfast To allow a port that is connected to a single workstation or PC to start faster when it is connected, use the set spantree portfast command. set spantree portfast mod/port {enable [trunk] | disable | default} Syntax Description mod/port Number of the module and the port on the module. enable Enables the spanning tree PortFast-start feature on the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portfast This example shows how to enable the spanning tree PortFast-start feature on the trunk port: Console> (enable) set spantree portfast 3/2 enable trunk Warning: Connecting layer 2 devices to a fast-start port can cause temporary spanning tree loops. Use with caution. Spantree port 1/2 fast start enabled. Console> (enable) Related Commands show spantree portfast Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portfast bpdu-filter set spantree portfast bpdu-filter To enable or disable spanning tree PortFast BPDU packet filtering on a port, use the set spantree portfast bpdu-filter command. set spantree portfast bpdu-filter mod/port {enable | disable | default} Syntax Description mod/port Number of the module and the port on the module. enable Enables spanning tree PortFast BPDU packet filtering.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portfast bpdu-guard set spantree portfast bpdu-guard To enable or disable spanning tree PortFast BPDU guard on a port, use the set spantree portfast bpdu-guard command. set spantree portfast bpdu-guard mod/port {enable | disable | default} Syntax Description mod/port Number of the module and the port on the module. enable Enables the spanning tree PortFast BPDU guard. disable Disables the spanning tree PortFast BPDU guard.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portinstancecost set spantree portinstancecost To assign the path cost of the port for the specified instances, use the set spantree portinstancecost command. set spantree portinstancecost mod/port [cost cost] [instances] set spantree portinstancecost mod/port [cost cost] mst [instances] Syntax Description Defaults mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portinstancecost Examples These examples show how to use the set spantree portinstancecost command and explicitly specify the path cost of a port: Console> (enable) set spantree portinstancecost 2/10 cost 6 1-10 Port 2/10 instances 11-16 have path cost 2000000. Port 2/10 instances 1-10 have path cost 6. This parameter applies to trunking ports only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portinstancepri set spantree portinstancepri To set the port priority for instances in the trunk port, use the set spantree portinstancepri command. set spantree portinstancepri mod/port priority [instances] set spantree portinstancepri mod/port priority mst [instances] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portinstancepri This example shows how to set the port priority for module 8, port 1, on MST instance 2: Console> Port 8/1 Port 8/1 Console> Related Commands (enable) set spantree portinstancepri 8/1 31 mst 2 instances 2 using portpri 31. instances 0-1, 3-15 using portpri 32. (enable) clear spantree portinstancecost show spantree mistp-instance Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portpri set spantree portpri To set the bridge priority for a spanning tree port, use the set spantree portpri command. set spantree portpri mod/port priority [mst] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlancost set spantree portvlancost To assign a lower path cost to a set of VLANs on a port, use the set spantree portvlancost command. set spantree portvlancost mod/port [cost cost] [vlan_list] Syntax Description Defaults mod/port Number of the module and the port on the module. cost cost (Optional) Sets the path cost; valid values are from 1 to 65535.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlancost Command Modes Privileged. Usage Guidelines Follow these guidelines when you set the path cost for VLANs on a port: • The cost value specified is used as the path cost of the port for the specified set of VLANs. The rest of the VLANs have a path cost equal to the port path cost set through the set spantree portcost command. If not set, the value is the default path cost of the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlancost Related Commands clear spantree portvlancost set channel vlancost show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlanpri set spantree portvlanpri To set the port priority for a subset of VLANs in the trunk port, use the set spantree portvlanpri command. set spantree portvlanpri mod/port priority [vlans] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlanpri Related Commands clear spantree portvlanpri show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree priority set spantree priority To set the bridge priority for a VLAN or an instance when PVST+ or MISTP is running, use the set spantree priority command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree priority This example shows how to set the bridge priority for MST instance 0: Console> (enable) set spantree priority 28672 mst 0 MST Spantree 0 bridge priority set to 28672. Console> (enable) This example shows how to set the bridge priority for multiple MST instances: Console> (enable) set spantree priority 28672 mst 0-4 MST Spantrees 0-4 bridge priority set to 28672.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree root set spantree root To set the primary or secondary root for specific VLANs, all VLANs of the switch, or an instance, use the set spantree root command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree root The set spantree root bridge priority value is 16384, except when MAC reduction or MISTP are enabled, then the value is 24576. This command increases path costs to a value greater than 3000. If you enable MISTP, you cannot set the VLAN root. If you enable PVST+, you cannot set the instance root.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree root These examples show that setting the bridge priority to 8192 was not sufficient to make this switch the root. The priority was further reduced to 7192 (100 less than the current root switch) to make this switch the root switch. However, reducing it to this value did not make it the root switch for active VLANs 16 and 17. Console> (enable) set spantree root 11-20.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree uplinkfast set spantree uplinkfast To enable fast switchover to alternate ports when the root port fails, use the set spantree uplinkfast command. This command applies to a switch, not to a WAN. set spantree uplinkfast {enable | disable} [rate station_update_rate] [all-protocols {off | on}] Syntax Description enable Enables fast switchover. disable Disables fast switchover.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree uplinkfast You do not have to turn on the all-protocols feature on Catalyst 6500 series switches that have both the UplinkFast and protocol filtering features enabled. Use the all-protocols feature only on Catalyst 6500 series switches that have UplinkFast enabled but do not have protocol filtering; upstream switches in the network use protocol filtering.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set summertime set summertime To specify whether the system should set the clock ahead one hour during daylight saving time, use the set summertime command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set summertime Examples This example shows how to cause the system to set the clock ahead one hour during daylight saving time: Console> (enable) set summertime enable PDT Summertime is enabled and set to “PDT”. Console> (enable) This example shows how to prevent the system from setting the clock ahead one hour during daylight saving time: Console> (enable) set summertime disable Summertime disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system baud set system baud To set the console port baud rate, use the set system baud command. set system baud rate Syntax Description rate Defaults The default is 9600 baud. Command Types Switch command. Command Modes Privileged. Examples This example shows how to set the system baud rate to 19200: Baud rate; valid rates are 600, 1200, 2400, 4800, 9600, 19200, and 38400.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system contact set system contact To identify a contact person for the system, use the set system contact command. set system contact [contact_string] Syntax Description contact_string Defaults The default is no system contact is configured. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system core-dump set system core-dump To enable or disable the core dump feature, use the set system core-dump command. set system core-dump {enable | disable} Syntax Description enable Enables the core dump feature. disable Disables the core dump feature. Defaults The default is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system core-file set system core-file To specify the core image filename, use the set system core-file command. set system core-file {device:[filename]} Syntax Description device Device where the core image file resides; valid values are bootflash and slot0. filename (Optional) Name of the core image file. Defaults The default filename is “crashinfo.” Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system countrycode set system countrycode To specify the country where the system is physically located, use the set system countrycode command. set system countrycode code Syntax Description code Defaults The default is US (United States). Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system crossbar-fallback set system crossbar-fallback To select the action taken when the Switch Fabric Module fails, use the set system crossbar-fallback command. set system crossbar-fallback {bus-mode | none} Syntax Description bus-mode Fails to the system bus. none Does not fail over to the system bus. Defaults The default is bus-mode. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system highavailability set system highavailability To enable or disable high system availability for the switch, use the set system highavailability command. set system highavailability {enable | disable} Syntax Description enable Activates system high availability. disable Deactivates system high availability. Defaults The default is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system highavailability versioning set system highavailability versioning To enable and disable support for supervisor engine image versioning, use the set system highavailability versioning command. set system highavailability versioning {enable | disable} Syntax Description enable Activates system high-availability versioning. disable Deactivates system high-availability versioning. Defaults The default is disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system highavailability versioning Examples This example shows how to enable high-availability versioning: Console> (enable) set system highavailability versioning enable Image versioning enabled. Console> (enable) This example shows how to disable high-availability versioning: Console> (enable) set system highavailability versioning disable Image versioning disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system location set system location To identify the location of the system, use the set system location command. set system location [location_string] Syntax Description location_string Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you do not specify a location string, the system location is cleared.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system modem set system modem To enable or disable modem control lines on the console port, use the set system modem command. set system modem {enable | disable} Syntax Description enable Activates modem control lines on the console port. disable Deactivates modem control lines on the console port. Defaults The default is modem control lines are disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system name set system name To configure a name for the system, use the set system name command. set system name [name_string] Syntax Description name_string Defaults The default is no system name is configured. Command Types Switch command. Command Modes Privileged. Usage Guidelines If you use the set system name command to assign a name to the switch, the switch name is used as the prompt string.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system supervisor-update set system supervisor-update To configure the Erasable Programmable Logic Device (EPLD) upgrade process, use the set system supervisor-update command. set system supervisor-update {automatic | disable | force} Syntax Description automatic Upgrades an earlier supervisor engine EPLD image at bootup. force Upgrades supervisor engine EPLD image regardless of the version label.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system supervisor-update This example shows how to disable EPLD upgrades: Console> (enable) set system supervisor-update disable Supervisor EPLD update during reset is disabled. Console> (enable) Related Commands download show system supervisor-update show version Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system switchmode allow set system switchmode allow To configure the switching mode for the system, use the set system switchmode allow command. set system switchmode allow {truncated | bus-only} Syntax Description truncated Specifies truncated mode; see the “Usage Guidelines” section for additional information. bus-only Forces the system to be in flow-through mode. Defaults The default is truncated. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system switchmode allow This example shows how to set the switching mode to bus-only: Console> (enable) set system switchmode allow bus-only System switchmode allow set to bus-only. Console> (enable) Related Commands show system switchmode Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system syslog-dump set system syslog-dump To write system messages in the syslog buffer to a flash file before the system fails, use the set system syslog-dump command. set system syslog-dump {enable | disable} Syntax Description enable Enables the syslog dump feature. disable Disables the syslog dump feature. Defaults The syslog dump feature is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set system syslog-file set system syslog-file To specify the flash device and file name for the syslog dump when the system fails, use the set system syslog-file command. set system syslog-file [device:[filename]] Syntax Description Defaults device: (Optional) Name of the flash device. filename (Optional) Name of the file for the syslog dump. The flash device is slot0. The file name is sysloginfo. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs attempts set tacacs attempts To configure the maximum number of login attempts allowed to the TACACS+ server, use the set tacacs attempts command. set tacacs attempts count Syntax Description count Defaults The default is three attempts. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs directedrequest set tacacs directedrequest To enable or disable the TACACS+ directed-request option, use the set tacacs directedrequest command. When enabled, you can direct a request to any of the configured TACACS+ servers and only the username is sent to the specified server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs key set tacacs key To set the key for TACACS+ authentication and encryption, use the set tacacs key command. set tacacs key key Syntax Description key Defaults The default value of key is null. Command Types Switch command. Command Modes Privileged. Usage Guidelines The key must be the same key used on the TACACS+ server. All leading spaces are ignored. Spaces within the key and at the end of the key are included.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs server set tacacs server To define a TACACS+ server, use the set tacacs server command. set tacacs server ip_addr [primary] Syntax Description ip_addr IP address of the server on which the TACACS+ server resides. primary (Optional) Designates the specified server as the primary TACACS+ server. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs timeout set tacacs timeout To set the response timeout interval for the TACACS+ server daemon, use the set tacacs timeout command. The TACACS+ server must respond to a TACACS+ authentication request before this interval expires or the next configured server is queried. set tacacs timeout seconds Syntax Description seconds Defaults The default is 5 seconds. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set test diagfail-action set test diagfail-action To set the action that the supervisor engine takes when a diagnostics test fails, use the set test diagfail-action command. set test diagfail-action {offline | ignore} Syntax Description offline Sets the supervisor engine to stay offline after a diagnostics test failure. ignore Sets the supervisor engine to ignore the diagnostics test failure and to boot.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set test diaglevel set test diaglevel To set the diagnostic level, use the set test diaglevel command. set test diaglevel {complete | minimal | bypass} Syntax Description complete Specifies complete diagnostics. minimal Specifies minimal diagnostics. bypass Specifies bypass diagnostics. Defaults The default is minimal diagnostics. See the “Usage Guidelines” section for more information about the three diagnostic levels.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set time set time To change the time of day on the system clock, use the set time command. set time [day_of_week] [mm/dd/yy] [hh:mm:ss] Syntax Description day_of_week (Optional) Day of the week. mm/dd/yy (Optional) Month, day, and year. hh:mm:ss (Optional) Current time in 24-hour format. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set timezone set timezone To set the time zone for the system, use the set timezone command. set timezone [zone_name] [hours [minutes]] Syntax Description zone_name (Optional) Name of the time zone to be displayed. hours (Optional) Number of hours offset from UTC. minutes (Optional) Number of minutes offset from UTC. If the specified hours value is a negative number, then the minutes value is assumed to be negative as well.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set traffic monitor set traffic monitor To configure the threshold at which a high-traffic log will be generated, use the set traffic monitor command. set traffic monitor threshold Syntax Description threshold Defaults The threshold is set to 100 percent; no high-traffic log is created. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set trunk set trunk To configure trunk ports and to add VLANs to the allowed VLAN list for existing trunks, use the set trunk command. set trunk mod/port {on | off | desirable | auto | nonegotiate} [vlans] [isl | dot1q | dot10 | lane | negotiate] set trunk all off Syntax Description mod/port Number of the module and the port on the module. on Forces the port to become a trunk port and persuade the neighboring port to become a trunk port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set trunk The following usage guidelines apply when using the set trunk command: Examples • If a trunk-type keyword (isl, dot1q, negotiate) is not specified when configuring an EtherChannel trunk, the current trunk type is not affected. • To return a trunk to its default trunk type and mode, enter the clear trunk mod/port command. • Trunking capabilities are hardware-dependent.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set trunk Related Commands clear trunk set vtp show port dot1q-ethertype show trunk show vtp statistics Catalyst 6500 Series Switch Command Reference—Release 7.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set udld set udld To enable or disable the UDLD information display on specified ports or globally on all ports, use the set udld command. set udld enable | disable [mod/port] Syntax Description Defaults enable Enables the UDLD information display. disable Disables the UDLD information display. mod/port (Optional) Number of the module and port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set udld This example shows how to disable the UDLD message display for port 1 on module 2: Console> (enable) set udld disable 2/1 UDLD disabled on port 2/1. Warning:UniDirectional Link Detection should be enabled only on ports not connected to hubs, media converters or similar devices.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set udld aggressive-mode set udld aggressive-mode To enable or disable the UDLD aggressive mode on specified ports, use the set udld aggressive-mode command. set udld aggressive-mode enable | disable mod/port Syntax Description enable Enables UDLD aggressive mode. disable Disables UDLD aggressive mode. mod/port Number of the module and port on the module. Defaults The default is aggressive mode is disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set udld interval set udld interval To set the UDLD message interval timer, use the set udld interval command. set udld interval interval Syntax Description interval Defaults The default is 15 seconds. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan set vlan To group ports into a VLAN, set the private VLAN type, map or unmap VLANs to or from an instance, specify an 802.1X port to a VLAN, or secure a range of VLANs on a Firewall Services Module, use the set vlan command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan Defaults stemaxhop hopcount (Optional) Specifies the maximum number of hops for Spanning Tree Explorer frames; valid values are from 1 to 14. rspan (Optional) Creates a VLAN for remote SPAN. firewall-vlan Specifies VLANs that are secured by a Firewall Services Module; see the “Usage Guidelines” section for more information about specifying a VLAN range for a Firewall Services Module. mod Number of the Firewall Services Module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan If you specify a range of VLANs, you cannot use the VLAN name. If you enter the mistp-instance none command, the specified VLANs are unmapped from any instance they are mapped to. The set vlan vlan_num mistp-instance mistp_instance command is available in PVST+ mode. You cannot set multiple VLANs for ISL ports using this command. The VLAN name can be from 1 to 32 characters in length.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan Examples This example shows how to set VLAN 850 to include ports 3 through 7 on module 3: Console> (enable) set vlan 850 3/3-7 VLAN 850 modified.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan mapping set vlan mapping To map reserved VLANs to nonreserved VLANs or map 802.1Q VLANs to ISL VLANs, use the set vlan mapping command. set vlan mapping reserved vlan non-reserved vlan set vlan mapping dot1q 1q_vlan_num isl isl_vlan_num Syntax Description reserved vlan Specifies the reserved VLAN; valid values are from 1006 to 1024.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan mapping If the table is full, the command is aborted with an error message indicating the table is full. The dot1q VLANs are rejected if any extended-range VLANs are present. Examples This example shows how to map reserved VLAN 1010 to nonreserved VLAN 4000: Console> (enable) set vlan mapping reserved 1010 non-reserved 4000 Vlan 1010 successfully mapped to 4000.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vmps downloadmethod set vmps downloadmethod To specify whether to use TFTP or rcp to download the VMPS database, use the set vmps downloadmethod command. set vmps downloadmethod {rcp | tftp} [username] Syntax Description rcp Specifies rcp as the method for downloading the VLAN Membership Policy Server (VMPS) database. tftp Specifies TFTP as the method for downloading the VMPS database.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vmps downloadserver set vmps downloadserver To specify the IP address of the TFTP or rcp server from which the VMPS database is downloaded, use the set vmps downloadserver command. set vmps downloadserver ip_addr [filename] Syntax Description ip_addr IP address of the TFTP or rcp server from which the VMPS database is downloaded. filename (Optional) VMPS configuration filename on the TFTP or rcp server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vmps server set vmps server To configure the VMPS, use the set vmps server command. set vmps server ip_addr [primary] set vmps server retry count set vmps server reconfirminterval interval Syntax Description ip_addr IP address of the VMPS. primary (Optional) Specifies the device as the primary VMPS. retry count Specifies the retry interval; valid values are from 1 to 10 minutes.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vmps server This example shows how to define a secondary VMPS: Console> (enable) set vmps server 192.168.69.171 192.168.69.171 added to VMPS table as backup domain server. Console> (enable) Related Commands clear vmps server show vmps Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vmps state set vmps state To enable or disable VMPS, use the set vmps state command. set vmps state {enable | disable} Syntax Description enable Enables VMPS. disable Disables VMPS. Defaults By default, VMPS is disabled. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vtp set vtp To set the options for VTP, use the set vtp command. set vtp [domain domain_name] [mode {client | server | transparent | off}] [passwd passwd] [pruning {enable | disable}] [v2 {enable | disable}] Syntax Description domain domain_name (Optional) Defines the name that identifies the VLAN management domain. The domain_name can be from 1 to 32 characters in length. mode {client | (Optional) Specifies the VTP mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vtp If the receiving switch is in server mode, the configuration is not changed. If the receiving switch is in client mode, the client switch changes its configuration to duplicate the configuration of the server. Make sure to make all VTP or VLAN configuration changes on a switch in server mode. If the receiving switch is in transparent mode, the configuration is not changed. Switches in transparent mode do not participate in VTP.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands set vtp pruneeligible set vtp pruneeligible To specify which VTP domain VLANs are pruning eligible, use the set vtp pruneeligible command. set vtp pruneeligible vlans Syntax Description vlans Defaults The default is VLANs 2 through 1000 are eligible for pruning. Command Types Switch command. Command Modes Privileged.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show accounting show accounting To display accounting setup and configuration information on the switch, use the show accounting command. show accounting Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show accounting Overall Accounting Starts Exec 1 Connect 0 Command 0 System 0 Traffic: Stops Active 0 2 0 1 0 0 0 0 Console> (enable) This example shows the configuration details of a switch with TACACS+ accounting enabled: Console> (enable) show accounting TACACS+: Update: periodic (25 seconds) Supress: disabled exec: connect: system: network: commands: config: all: Status -------disabled disabled disabled disabled Mode ----------stop-o
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show accounting Related Commands set accounting commands set accounting connect set accounting exec set accounting suppress set accounting system set accounting update Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show acllog show acllog To display the status of ACL log rate limiting, use the show acllog command. show acllog Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the status of ACL log rate limiting: Console> show acllog ACL log rate limit enabled, rate = 500 pps.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show aclmerge show aclmerge To display information about the ACL merge algorithm, use the show aclmerge command. show aclmerge bdd show aclmerge algo Syntax Description bdd Displays the status of the binary decision diagram (BDD) merge algorithm. algo Displays the ACL merge algorithm currently in use. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show alias show alias To display a listing of defined command aliases, use the show alias command. show alias [name] Syntax Description name Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If name is not specified, all defined aliases are displayed. Examples This example shows how to display all aliases: (Optional) Name of the alias to be displayed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show arp show arp To display the ARP table, use the show arp command. show arp [ip_addr | hostname] [noalias] Syntax Description ip_addr (Optional) Number of the IP address. hostname (Optional) Name of the host. noalias (Optional) Forces the display to show only IP addresses, not IP aliases. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show authentication show authentication To display authentication information, use the show authentication command. show authentication Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show authorization show authorization To display authorization setup and configuration information on the switch, use the show authorization command. show authorization Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show banner show banner To view the message of the day (MOTD), the Catalyst 6500 series Switch Fabric Module LCD banner, and the status of the Telnet banner stored in NVRAM, use the show banner command. show banner Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show boot show boot To display the contents of the BOOT environment variables and the configuration register setting, use the show boot command. show boot [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the BOOT environment variable: (Optional) Number of the supervisor engine containing the Flash device.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show boot device show boot device To display the NAM boot string stored in NVRAM, use the show boot device command. show boot device mod Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines This command is supported by the NAM module only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam show cam To display CAM table entries, use the show cam command. show cam {dynamic | static | permanent | system} [{mod/port} | vlan] show cam mac_addr [vlan] Syntax Description dynamic Displays dynamic CAM entries. static Displays static CAM entries. permanent Displays permanent CAM entries. system Displays system CAM entries. mod/port (Optional) Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam 1 1 1 1 00-60-09-78-96-fb 00-80-24-1d-d9-ed 00-80-24-1d-da-01 08-00-20-7a-63-01 * * * * 4/1 1/2 1/2 4/1 [ALL] [ALL] [ALL] [ALL] Total Matching CAM Entries Displayed = 7 Console> This example shows how to display dynamic CAM entries for VLAN 1: Console> show cam dynamic 1 * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam agingtime show cam agingtime To display CAM aging time information for all configured VLANs, use the show cam agingtime command. show cam agingtime [vlan] Syntax Description vlan Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam count show cam count To display the number of CAM entries only, use the show cam count command. show cam count {dynamic | static | permanent | system} [vlan] Syntax Description dynamic Displays dynamic CAM entries. static Displays static CAM entries. permanent Displays permanent CAM entries. system Displays system CAM entries. vlan (Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam msfc show cam msfc To display the router’s MAC-VLAN entries, use the show cam msfc command. show cam msfc {mod} [vlan] Syntax Description mod Number of the module for which MSFC information is displayed. vlan (Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam notification show cam notification To display the status of CAM table notifications, notification intervals, and MAC addresses added and deleted, use the show cam notification command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam notification This example shows how to display CAM notification information for ports 1-6 on module 2: Console> show cam notification 2/1-6 Mod/Port Added Removed --------- -------- -------2/1 enabled disabled 2/2 enabled disabled 2/3 enabled enabled 2/4 enabled enabled 2/5 disabled enabled 2/6 disabled enabled Console> This example shows how to display CAM notification intervals: Console> show cam notification interval CAM notifica
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cam notification Related Commands clear cam clear cam notification set cam set cam notification set snmp trap show cam Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cdp show cdp To display Cisco Discovery Protocol (CDP) information, use the show cdp command. show cdp show cdp neighbors [mod[/port]] [vlan | duplex | capabilities | detail] show cdp neighbors exlude ip-phone show cdp port [mod[/port]] Syntax Description neighbors Shows CDP information for Cisco products connected to the switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cdp This example shows how to display detailed CDP neighbor information. The display varies depending on your network configuration at the time you run the command. Console> show cdp neighbors 4 detail Port (Our Port):4/4 Device-ID:69046406 Device Addresses: IP Address:172.20.25.161 Holdtime:150 sec Capabilities:TRANSPARENT_BRIDGE SWITCH Version: WS-C6009 Software, Version NmpSW: 5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cdp Port -------3/5 3/6 4/1 4/2 4/20 5/1 5/1 5/1 5/1 Console> Device-ID ------------------------------002267619 002267619 002267619 002267619 069000057 005763872 066506245 066508595 066508596 Port-ID ------------------------3/6 * 3/5 4/2 4/1 # 8/5 2/1 2/1 5/12 *# 5/1 NativeVLAN ---------1 1 1 1 1 1 This example shows how to display capability information about neighboring systems: Console> (enable) show cdp neighbors capabilities * -
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel show channel To display EtherChannel information for a channel, use the show channel command. show channel [channel_id] [info | statistics | mac] show channel [channel_id] [info [type]] show channel [channel_id | all] protocol Syntax Description channel_id (Optional) Number of the channel. info (Optional) Displays channel information. statistics (Optional) Displays statistics about the port (PAgP packets sent and received).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel This example shows how to display channel information for all channels: Console> show channel Channel Id Ports ----------- ----------------------------------------------768 2/1-2 769 4/3-4 770 4/7-8 Console> This example shows how to display port information for a specific channel: Console> show channel 769 Chan Port Port Portfast Port Port id priority vlanpri vlanpri-vlans ---- ----- -------- -------- ------- ------------------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel Chan Port id ---- ----769 1/1 769 1/2 865 4/1 865 4/2 ifOper-group Neighbor Chan Oper-Distribution Index Oper-group cost Method ----- ---------- ---------- ----- ----------------1 0 ip both 1 0 ip both 1 0 ip both 1 0 ip both Chan Port Device-ID Port-ID Platform id ---- ----- ------------------------------- ------------------------- ---------769 1/1 769 1/2 865 4/1 865 4/2 Chan Port Trunk-status Trunk-type Trunk-vlans id ----- -
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel 768 469263 48083 Channel Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost -------- ---------- ---------- ---------- ---------- ---------- ---------768 0 0 0 0 0 0 Console> This example shows how to display statistics for all channels: Console> show channel mac Channel Rcv-Unicast Rcv-Multicast Rcv-Broadcast -------- -------------------- -------------------- -------------------768 532290 163 6 769 0 0 0 771 4 64 0 C
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel ---- ----- -------- -------- -------769 1/1 on auto-on auto-on 769 1/2 on auto-on auto-on Console> Console> show channel 769 info gmrp Chan Port GMRP GMRP GMRP id status registration forwardAll ---- ----- -------- ------------ ---------769 1/1 enabled normal disabled 769 1/2 enabled normal disabled Console> Console> show channel 769 info gvrp Chan Port GVRP GVRP GVRP id status registeration applicant ---- ----- -------- ----------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel group show channel group To display EtherChannel group status information, use the show channel group command. show channel group [admin_group] [info | statistics] show channel group [admin_group] [info [type]] Syntax Description admin_group (Optional) Number of the administrative group; valid values are from 1 to 1024. info (Optional) Displays group information. statistics (Optional) Displays statistics about the group.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel group Admin Port Device-ID Port-ID Platform group ----- ----- ------------------------------ ------------------------- ---------154 1/1 154 1/2 066510644(cat26-lnf(NET25)) 2/1 WS-C5505 Console> This example shows how to display group information: Console> show channel Admin Port Status group ----- ----- ---------154 1/1 notconnect 154 1/2 connected Admin Port group ----- ----154 1/1 154 1/2 group 154 Channel mode --------on on
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel group Admin Port group ----- ----154 1/1 154 1/2 Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Port-based ------ ------ ------------ ---------- -------------2q2t 1q4t untrusted 0 false 2q2t 1q4t untrusted 0 false Admin Port ACL name group ----- ----- -------------------------------154 1/1 ip_acl ipx_acl mac_acl 154 1/2 Protocol -------IP IPX MAC IP IPX MAC Console> These examples show how to display feature-specific parameter inf
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel group Console> show channel group 154 info gvrp Admin Port GVRP GVRP GVRP group status registeration applicant ----- ----- -------- ------------- --------154 1/1 disabled normal normal 154 1/2 disabled normal normal Console> Console> show channel group 769 info qos Chan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos Qos-Interface id PortType PortType Type Type ---- ----- -------- -------- ------------ ---------- -------------769 1/1 2q2t
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel hash show channel hash To display the channel port the traffic goes to based on the current channel distribution mode, use the show channel hash command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel mac show channel mac To display MAC information in the channel, use the show channel mac command. show channel mac Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channelprotocol show channelprotocol To display the channeling protocol used by each module in the system, use the show channelprotocol command. show channelprotocol Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines PAgP and LACP manage channels differently.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show channel traffic show channel traffic To display channel port utilization based on MAC counters, use the show channel traffic command. show channel traffic [channel_id] Syntax Description channel_id Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify the channel_id value, EtherChannel information is shown for all channels.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config show config To display the nondefault system or module configuration, use the show config command. show config [all] show config [system | mod] [all] show config acl location Syntax Description all (Optional) Specifies all module and system configuration information, including the IP address. system (Optional) Displays system configuration. mod (Optional) Displays module configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config ! #frame distribution method set port channel all distribution mac unknown ! #snmp set snmp trap 0.0.0.0 set snmp trap 0.0.0.0 ! #kerberos set kerberos server 0.0.0.0 set kerberos server 0.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config #rcp set rcp username 1 ! #dns set ip dns server 171.68.10.70 primary set ip dns server 171.68.10.140 set ip dns enable set ip dns domain cisco.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config #module 4 empty ! #module 5 : 48-port 10/100BaseTX (RJ-45) ! #module 6 empty ! set vlan 100 6/1 set spantree portcost 6/1 200 ! #module 7 : 24-port 10/100BaseTX Ethernet set vlan 5 7/5 set vlan 100 7/23 set vlan 200 7/9 set port disable 7/5 set port name 7/9 1528 Hub set port security 7/10 enable set port security 7/10 maximum 200 set port security 7/10 00-11-22-33-44-55 set port security 7/10 00-11-22-33-44-66 set port security 7/
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config #system set system set system set system set system set system ! . . . Console> baud 9600 modem disable name location contact This example shows how to display nondefault system configuration information: Console> (enable) show config system begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! #time: Mon Apr 17 2000, 08:33:09 ! #version 5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config This example shows how to display the ACL configuration file location: Console> (enable) show config acl location ACL configuration is being saved in NVRAM. Console> (enable) Related Commands clear config write Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config mode show config mode To display the system configuration mode currently running on the switch, use the show config mode command. show config mode Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show config qos acl show config qos acl To display the committed access lists in a command line format, use the show config qos acl command. show config qos acl {acl_name | all} Syntax Description acl_name Unique name that identifies the list to which the entry belongs. all Specifies all committed access lists. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cops show cops To display COPS information, use the show cops command. show cops info [diff-serv | rsvp] [noalias] show cops roles Syntax Description info Displays COPS status and configuration information. diff-serv (Optional) Specifies the differentiated services server table. rsvp (Optional) Specifies the RSVP server table. noalias (Optional) Forces the display to show only IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cops COPS connection state Last active server Primary configured server Secondary configured server Console> : : : : connected 171.21.34.56 171.21.34.56 [3288] 171.21.34.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show cops COPS RSVP client state ---------------------COPS connection state TCP connection state Last active server Primary configured server Secondary configured server Console> Related Commands : : : : : not-connected not-connected - clear cops set cops Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters show counters To display hardware counters for a port, all ports on a module, or a supervisor engine, use the show counters command. show counters {mod | mod/port} show counters supervisor Syntax Description mod Number of the module. mod/port Number of the module and the port. supervisor Displays counters for the supervisor engine. Defaults This command has no default setting. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters 15 rxTxHCpkts1024to1518Octets 16 rxDropEvents 17 txHCTrunkFrames 18 rxHCTrunkFrames 19 rxHCDropEvents 32 bit counters 0 rxCRCAlignErrors 1 rxUndersizedPkts 2 rxOversizedPkts 3 rxFragmentPkts 4 rxJabbers 5 txCollisions 6 ifInErrors 7 ifOutErrors 8 ifInDiscards 9 ifInUnknownProtos 10 ifOutDiscards 11 txDelayExceededDiscards 12 txCRC 13 linkChange Dot3 counters version 1 0 dot3StatsAlignmentErrors 1 dot3StatsFCSErrors 2 dot3StatsSi
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters Table 2-28 describes the possible fields in the show counters command output. Table 2-28 show counters Command Output Fields Field Description 64-bit counters rxHCTotalPkts Number of packets (including bad packets, broadcast packets, and multicast packets) received on a link. txHCTotalPkts Number of packets (including bad packets, broadcast packets, and multicast packets) transmitted on a link.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters Table 2-28 show counters Command Output Fields (continued) Field Description 32-bit counters rxCRCAlignErrors Number of packets received that had a length (excluding framing bits, but including FCS octets) between 64 and 1518 octets, inclusive, and had either a bad FCS with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters Table 2-28 show counters Command Output Fields (continued) Field Description dot3StatsSingleColFrames A count of successfully transmitted frames on a particular interface for which transmission is inhibited by exactly one collision.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show counters Table 2-28 show counters Command Output Fields (continued) Field Description rxPause Number of control frames received at the gigabit level. This counter is valid only on a Gigabit Ethernet port. rxTotalDrops The rxTotalDrops field includes these counters: • Number of bad packets because of a CRC error, a coding violation, or a sequence error. • Number of CBL blocking drops.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show crypto key show crypto key To display RSA key pair information, use the show crypto key command. show crypto key Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The crypto commands are supported on systems that run these image types only: Examples • supk9 image—for example, cat6000-supk9.6-1-3.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show default show default To check the status of the default port status setting, use the show default command. show default Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines The command shows whether the set default portstatus command is in disable or enable mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show dot1q-all-tagged show dot1q-all-tagged To display the status of the dot1q tagging feature on the switch, use the show dot1q-all-tagged command. show dot1q-all-tagged Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show dot1x show dot1x To display the system dot1x capabilities, protocol version, and timer values, use the show dot1x command. show dot1x Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show dvlan statistics show dvlan statistics To display dynamic VLAN statistics, use the show dvlan statistics command. show dvlan statistics Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show environment show environment To display environmental, temperature, and inline power status information, use the show environment command. show environment [all | temperature | {power [mod]}] Syntax Description all (Optional) Displays environmental status information (for example, power supply, fan status, and temperature information) and information about the power available to the system.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show environment This example shows how to display environmental status information and details about the power available to the system: Console> show environment all Environmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present) PS1: . PS2: N PS1 Fan: . PS2 Fan: N Chassis-Ser-EEPROM: . Fan: . Clock(A/B): A Clock A: . Clock B: . VTT1: . VTT2: . VTT3: .
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show environment This example shows how to display the inline power for all modules: Console> show environment power PS1 Capacity:919.38 Watts (21.89 Amps @42V) PS2 Capacity:none PS Configuration :PS1 and PS2 in Redundant Configuration. Total Power Available:919.38 Watts (21.89 Amps @42V) Total Power Available for Line Card Usage:885.78 Watts (21.09 Amps @42V) Total Power Drawn From the System:342.72 Watts ( 8.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show environment Table 2-29 describes the fields in the show environment output. Table 2-29 show environment Command Output Fields Field Environmental Status Description 1 PS1: and PS2: Power supply status. PS1 Fan: and PS2 Fan: Power supply fan status. Chassis-Ser-EEPROM: Chassis serial EEPROM status. Fan: Fan status. Clock A: and Clock B: Clock A and B status. VTT1:, VTT2:, and VTT3: VTT module status.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show environment Table 2-29 show environment Command Output Fields (continued) Field Description Total inline power drawn Total inline power drawn from the system. InlinePowered—Admin Inline power management status—auto, on, and off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show errdisable-timeout show errdisable-timeout To display the configuration and status of the errdisable timeout, use the show errdisable-timeout command. show errdisable-timeout Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show errordetection show errordetection To display error detection settings, use the show errordetection command. show errordetection Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show fabric channel show fabric channel To display Switch Fabric Module information, use the show fabric channel command. show fabric channel counters [mod] show fabric channel utilization show fabric channel switchmode [mod] Syntax Description counters Displays fabric channel counter information. mod (Optional) Number of the Switch Fabric Module. utilization Displays fabric channel utilization information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show fabric channel Examples This example shows how to display fabric channel counter information for a specific module: Console> show fabric channel counters 2 Channel 0 counters: 0 rxErrors = 1 txErrors = 2 txDropped = Console> 0 0 0 This example shows how to display fabric channel utilization information: Console> show fabric channel utilization Fab Chan Input Output -------- ----- -----0 0% 0% 1 0% 0% 2 0% 0% 3 0% 0% . . .
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show fabric channel Table 2-30 show fabric channel Command Output Fields (continued) Related Commands Field Description Fab Chan Fabric channel number; see the “Usage Guidelines” section for additional information. Switch Mode Channel switch mode type (flow through, truncated, and compact). Channel Status Channel status (ok, sync error, CRC error, heartbeat error, buffer error, timeout error, or unknown).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show file show file To display the contents of a file that have been saved to Flash memory, use the show file command. show file [device:]filename [dump] Syntax Description device: (Optional) Device where the Flash memory resides. filename Name of the configuration file. dump (Optional) Shows the hexadecimal dump of the file. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show flash show flash To list bootflash or Flash PC card information, including file code names, version numbers, volume ID, status, and sizes, use the show flash command. show flash devices show flash [[m/]device:] [all | chips | filesys] Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Valid devices are bootflash and slot0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show flash Console> show flash chips ******** Intel Series 2+ Status/Register Dump ******** ATTRIBUTE MEMORY REGISTERS: Config Option Reg (4000): 2 Config Status Reg (4002): 0 Card Status Reg (4100): 1 Write Protect Reg (4104): 4 Voltage Cntrl Reg (410C): 0 Rdy/Busy Mode Reg (4140): 2 COMMON MEMORY REGISTERS: Bank 0 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 : B0B0 B0B0 B0B0 B0B0 8
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show flash USAGE INFO: Bytes Used Bad Sectors OK Files Deleted Files Files w/Errors = = = = = 201D9B 0 1 1 0 Bytes Available = 5FE265 Spared Sectors = 0 Bytes = 100FC0 Bytes = 100DDB Bytes = 0 ******** Intel Series 2+ Status/Register Dump ******** ATTRIBUTE MEMORY REGISTERS: Config Option Reg (4000): Config Status Reg (4002): Card Status Reg (4100): Write Protect Reg (4104): Voltage Cntrl Reg (410C): Rdy/Busy Mode Reg (4140): 2 0 1 4 0 2
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show garp timer show garp timer To display all the values of the General Attribute Registration Protocol (GARP) timers, use the show garp timer command. show garp timer Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gmrp configuration show gmrp configuration To display complete GMRP-related configuration information, use the show gmrp configuration command. show gmrp configuration Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If the port list exceeds the available line spaces, the list wraps to the next line.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gmrp statistics show gmrp statistics To display all the GMRP-related statistics for a specified VLAN, use the show gmrp statistics command. show gmrp statistics [vlan] Syntax Description vlan Defaults The default is that if you do not specify a VLAN, statistics for VLAN 1 are shown. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gmrp timer show gmrp timer To display all the values of the GMRP timers, use the show gmrp timer command. show gmrp timer Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gvrp configuration show gvrp configuration To display GVRP configuration information, including timer values, whether or not GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP, use the show gvrp configuration command. show gvrp configuration Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gvrp configuration Disabled Disabled Disbled Disbled Fixed Fixed Forbidden Forbidden Normal Active Normal Active 4/2 4/7 4/3 4/6 GVRP Participants running on no ports. Console> Related Commands clear gvrp statistics set gvrp set gvrp dynamic-vlan-creation set gvrp registration set gvrp timer show gvrp statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gvrp statistics show gvrp statistics To view GVRP statistics for a port, use the show gvrp statistics command. show gvrp statistics [mod/port] Syntax Description mod/port Defaults The default is, that if you do not specify a VLAN, statistics for VLAN 1 are shown. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show gvrp statistics Table 2-31 show gvrp statistics Command Output Fields (continued) Related Commands Field Description MAC-Based General Queries recvd Total number of MAC-based general queries received. Leaves recvd Total number of GVRP leaves received. Reports recvd Total number of GVRP reports received. Queries Xmitted Total number of GVRP general queries transmitted by the switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ifindex show ifindex To display the information of the specific ifIndex, use the show ifindex command. show ifindex number Syntax Description number Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines You can designate multiple ifIndex numbers by separating each number with a comma. To specify a range of numbers, use a dash (-) between the low and high numbers.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp flooding show igmp flooding To display whether the IGMP flooding feature is enabled or disabled, use the show igmp flooding command. show igmp flooding Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp leave-query-type show igmp leave-query-type To display the type of query to be sent when a port receives a leave message, use the show igmp leave-query-type command. Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp mode show igmp mode To display the IGMP mode on the switch, use the show igmp mode command. show igmp mode Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The switch dynamically chooses either IGMP-only or IGMP-CGMP mode, depending on the traffic present on the network.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp querier information show igmp querier information To display querier information specific to a configured VLAN, use the show igmp querier information command. show igmp querier information [vlan] Syntax Description vlan Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp ratelimit-info show igmp ratelimit-info To display the IGMP rate limit for general-query packets, IGMP snooping protocol packets, and Protocol Independent Multicasting version 2 (PIMv2) packets, use the show igmp ratelimit command. show igmp ratelimit-info Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp statistics show igmp statistics To view IGMP statistics for a particular VLAN, use the show igmp statistics command. show igmp statistics [vlan_id] Syntax Description vlan_id Defaults The default is that if you do not specify a VLAN, statistics for VLAN 1 are shown. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show igmp statistics Table 2-32 show igmp statistics Command Output Fields (continued) Related Commands Field Description Group Specific Queries recvd Number of IGMP group-specific queries received. MAC-Based General Queries recvd Number of MAC-based general queries received. Leaves recvd Number of IGMP leaves received. Reports recvd Number of IGMP reports received.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show imagemib show imagemib To display image information provided in the CISCO-IMAGE-MIB for a particular image, use the show imagemib command. show imagemib filename Syntax Description filename Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show interface show interface To display information on network interfaces, use the show interface command. show interface Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display sl0 and sc0: Console> show interface sl0: flags=51 slip 0.0.0.0 dest 0.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show interface Table 2-33 show interface Command Output Fields (continued) Related Commands Field Description dest IP address of the host to which the console port will be connected. sc0 Information on the sc0 in-band interface. vlan Number of the VLAN to which the sc0 interface has been assigned (known as the management VLAN). inet IP address of the interface. netmask Network mask for the interface.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip alias show ip alias To show a listing of defined IP aliases, use the show ip alias command. show ip alias [name] Syntax Description name Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display a listing of all IP aliases: (Optional) Alias for a specific host. Console> show ip alias default 0.0.0.0 sparc20 192.168.10.69 cat6000-1 172.16.
2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip dns show ip dns To show the DNS name servers and the default DNS domain name, use the show ip dns command. show ip dns Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the DNS name servers and the default DNS domain name: Console> show ip dns DNS is currently enabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip dns Related Commands clear ip dns domain clear ip dns server set ip dns set ip dns domain set ip dns server Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip http show ip http To view the HTTP configuration and the switch web interface information, use the show ip http command. show ip http Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip http This example shows the HTTP configuration and web interface information if the web interface is not supported: Console> show ip http HTTP Configuration Information: ---------------HTTP Server: disabled HTTP port: 80 Web Interface: Not Supported Console> Related Commands set ip http port set ip http server Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip permit show ip permit To display the IP permit list information, use the show ip permit command. show ip permit [noalias] Syntax Description noalias Defaults This command has no default value. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the IP permit list information: (Optional) Forces the display to show IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip permit Table 2-35 show ip permit Command Output Fields (continued) Related Commands Field Description Last Accessed Time Date and time of the last attempt to log in to the switch from the address. Type Login-attempt type. clear ip permit set ip permit set snmp trap Catalyst 6500 Series Switch Command Reference—Release 7.
2s 2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip route show ip route To display IP routing table entries, use the show ip route command. show ip route [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the IP route table: (Optional) Forces the display to show IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ip route Related Commands clear ip route set ip route Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show kerberos show kerberos To display the Kerberos configuration information, use the show kerberos command. show kerberos [creds] Syntax Description creds Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display Kerberos configuration information: (Optional) Displays credential information only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show kerberos Table 2-37 show kerberos Command Output Fields (continued) Related Commands Field Description Kerberos Credentials Forwarding Disabled Status of whether credentials forwarding is enabled or disabled. Kerberos Pre Authentication Method Status of whether preauthentication is enabled or disabled. Kerberos config key Status of whether or not a 3DES key has been configured. Kerberos SRVTAB entries SRVTAB entries.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show l2protocol-tunnel statistics show l2protocol-tunnel statistics To display Layer 2 protocol tunneling statistics for a port or range or ports, use the show l2protocol-tunnel statistics command. show l2protocol-tunnel statistics [mod[/port]] show l2protocol-tunnel statistics mod/port vlan vlan Syntax Description mod[/port] (Optional) Number of the module and the number of the port or range of ports on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show l2protocol-tunnel statistics Port VTP Frames Encap VTP Frames De-encap ------------------------ -------------------- -------------------7/1 0 0 7/2 0 0 Console> This example shows how to display Layer 2 protocol tunneling statistics for a port: Console> show l2protocol-tunnel statistics 7/1 Tunneling CoS is set to 5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lacp-channel show lacp-channel To display information about the Link Aggregation Control Protocol (LACP) channel, use the show lacp-channel command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lacp-channel Command Modes Normal. Usage Guidelines If you do not specify the admin-key value, information about all LACP channels is displayed. If you do not specify the channel_id value, information about all LACP channels is displayed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lacp-channel This example shows how to display LACP Tx and Rx statistics for ports that are assigned to administrative key 152: Console> show lacp-channel group 152 statistics Port Admin LACP Pkts LACP Pkts Marker Pkts Marker Pkts LACP Pkts Key Transmitted Received Transmitted Received Errors ----- ------- ----------- --------- ----------- ----------- --------4/7 152 0 92 0 0 0 4/8 152 0 0 0 0 0 Console> This example shows how to displa
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lacp-channel This example shows how to display the outgoing port for the specified source and destination IP addresses: Console> (enable) show lacp-channel hash 808 172.20.32.10 172.20.32.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lcperroraction show lcperroraction To display how your system handles LCP errors when a module reports an ASIC problem to the Network Management Processor (NMP), use the show lcperroraction command. show lcperroraction Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lda show lda To display the ASLB configuration information, use the show lda command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lda Command Modes Normal. Usage Guidelines This command is supported only on switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC (Policy Feature Card).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lda LD Router Side: --------------Router and LD are on VLAN 110 LD is connected to switch port 4/26 on VLAN 110 LD Server Side: --------------Server(s) and LD are on VLAN 105 LD is connected to switch port 4/40 on VLAN 105 Console> (enable) This example shows how to display uncommitted ASLB information: Console> (enable) show lda uncommitted Status:Not Committed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show lda This example shows how to display the number of active ASLB MLS entries: Console> (enable) show lda mls statistics count LDA active shortcuts:20 Console> (enable) This example shows how to display all ASLB MLS entry statistics: Console> (enable) show lda mls statistics entry Last Used Destination IP Source IP Prot DstPrt SrcPrt --------------- --------------- ---- ------ -----10.0.0.8 172.20.20.10 TCP WWW 64 10.0.0.8 172.20.22.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show localuser show localuser To display the local user accounts for a switch, use the show localuser command. show localuser [name] Syntax Description name Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to display all local user accounts: (Optional) Specifies the local user account.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show log show log To display the error log for the system or a specific module, use the show log command. show log [mod] show log dump [-count] Syntax Description mod (Optional) Number of the module for which the log is displayed. dump Displays dump log information. -count (Optional) Number of dump log entries to display. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show log NVRAM log: 01.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show log command show log command To display the command log entries, use the show log command command. show log command [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines The command log entry table is a history log of commands input to the switch from the console or Telnet.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show logging show logging To display the system message log information, use the show logging command. show logging [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the default system message log configuration: (Optional) Forces the display to show IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show logging qos radius rsvp security snmp spantree sys tac tcp telnet tftp udld vmps vtp 0(emergencies) 3(errors) 6(information) Console> (enable) 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1(alerts) 4(warnings) 7(debugging) 2(critical) 5(notifications) Table 2-39 describes the fields in the show logging command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show logging buffer show logging buffer To display system messages from the internal buffer, use the show logging buffer command. show logging buffer [–] [number_of_messages] Syntax Description – (Optional) Forces the display to show system messages starting from the end of the buffer. number_of_messages (Optional) Number of system messages to be displayed; valid values are from 1 to 1023. Defaults The default is –20 messages.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mac show mac To display MAC counters, use the show mac command. show mac [utilization] [mod[/port]] Syntax Description utilization (Optional) Displays approximated packet and byte rates. mod/[/port] (Optional) Number of the module and optionally, the number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mac -------- ---------- ---------- ---------- ----------3/1 0 0 0 0 Port Last-Time-Cleared ----- -------------------------3/1 Wed Jan 14 2004, 07:59:35 Console> This command shows how to display approximated packet and byte rates: Console> (enable) show mac utilization 1 5 min input/output port rates: Port Xmit-Packet-Rate ----- -------------------1/1 1343 1/2 2342 Port Rcv-Packet-Rate ----- -------------------1/1 1324 1/2 2234 Console>
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mac Table 2-40 show mac Command Output Fields (continued) Field Description Rcv-Octet Number of octet frames received on the port. Xmit-Octet Number of octet frames transmitted on the port. Rcv-Unicast Number of unicast frames received on the port. Rcv-Broadcast Number of broadcast frames received on the port. Xmit-Unicast Number of unicast frames transmitted on the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show microcode show microcode To display the version of the microcode and the module version information, use the show microcode command. show microcode Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls show mls To display MLS Layer 3 packet information in the MLS-based Catalyst 6500 series switches, use the show mls command. show mls [ip | ipx] [mod] Syntax Description ip (Optional) Specifies IP MLS. ipx (Optional) Specifies IPX MLS. mod (Optional) Number of the MSFC; valid values are 15 and 16. Defaults The default displays both IP and IPX MLS information. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls MSFC ID Module XTAG MAC Vlans --------------- ------ ---- ----------------- -------------------52.0.03 15 1 01-10-29-8a-0c-00 1,10,123,434,121 222,666,959 IPX Multilayer switching enabled IPX Multilayer switching aging time = 256 seconds IPX Flow mask: Full Flow Active IPX MLS entries = 0 MSFC ID Module XTAG MAC Vlans --------------- ------ ---- ----------------- -------------------52.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls acl-route show mls acl-route To display summaries from ACL for routing in the MLS-based Catalyst 6500 series switches, use the show mls acl-route command. show mls acl-route Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls cef interface show mls cef interface To display MSFC VLAN information, use the show mls cef interface command. show mls cef interface [vlan] Syntax Description vlan Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls cef interface This example show how to display information for a specific CEF VLAN: Console> (enable) show mls cef interface 46 Module 16: vlan 46, IP Address 46.0.0.99, Netmask 255.0.0.0 MTU = 1500, State = up, ICMP-Unreach = enabled, ICMP-Redirect = enabled Unicast RPF = disabled Console> (enable) Table 2-42 describes the possible fields in the show mls cef interface command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls cef mac show mls cef mac To display bottom interface adapter (BIA) physical MACs and HSRP active virtual MACs associated with the designated MSFC2, use the show mls cef mac command. show mls cef mac Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls cef summary show mls cef summary To display a summary of CEF table information, use the show mls cef summary command. show mls cef summary Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls cef summary Table 2-43 show mls cef summary Command Output Fields (continued) Related Commands Field Description IPX route entries Number of IPX route entries. IP load sharing entries Number of IP load-sharing entries. IPX load sharing entries Number of IPX load-sharing entries. Forwarding entries Number of forwarding entries. Bridge entries Number of bridge entries.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry show mls entry To display state information in the MLS-based Catalyst 6500 series switches, use the show mls entry command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry Usage Guidelines On switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2), the display contains summaries derived from three forwarding sources: FIB for routing, the NetFlow table for statistics, and ACL TCAM for policy-based routing.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry The show mls entry command displays bridged flows on a Supervisor Engine 1 when bridged flow statistics is enabled. The show mls statistics entry command displays bridged flows on a Supervisor Engine 2 when bridged flow statistics is enabled. To enable or disable bridged flow statistics, enter the set mls bridged-flow-statistics command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry For destination-only flow: Console> (enable) show mls entry ip short Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan ----------------------------- ----- ------ ------ ----------------- ---ESrc EDst SPort DPort Stat-Pkts Stat-Byte Uptime Age ---- ---- ----- ----- --------------------- -------- -------MSFC 127.0.0.24 (module 16): 171.69.200.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry 401.0000.0000.0401 4633 38676 - 00-00-04-01-00-00 401 3/1 Total entries: 4 Console> (enable) Console> (enable) show mls entry ipx 16 short Destination-IPX Source-IPX-net Destination-Mac ------------------------- -------------- ----------------Stat-Pkts Stat-Bytes --------- ----------MSFC 127.0.0.22 (Module 16): 501.0000.3100.0501 31-00-05-01-00-00 12121 323232 401.0000.0000.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry 0.0.0.2 01:03:21 0.0.0.4 01:03:19 0.0.0.1 01:03:25 0.0.0.3 01:03:20 0.0.0.6 01:03:18 Console> 0.0.0.2 01:00:51 cccccccc 0.0.0.4 01:00:51 cccccccc 0.0.0.1 01:00:52 cccccccc 0.0.0.3 01:00:52 cccccccc 0.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry cef show mls entry cef To display CEF and adjacency entries (and Tx statistics) for IP resolved entries and IPX resolved or connected entries, use the show mls entry cef command. show mls entry cef [adjacency] show mls entry cef [short | long] show mls entry cef ip [[ip_addr/]mask_len] [adjacency] show mls entry cef ipx [[ipx_addr/]mask_len] [adjacency] Syntax Description adjacency (Optional) Displays adjacency information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry cef Examples This example shows how to display information for all CEF entries: Console> (enable) show mls entry cef Mod FIB-Type Destination-IP Destination-Mask --- --------- --------------- ---------------16 receive 0.0.0.0 255.255.255.255 16 receive 255.255.255.255 255.255.255.255 16 resolved 127.0.0.21 255.255.255.255 16 receive 21.0.0.194 255.255.255.255 16 receive 45.0.0.99 255.255.255.255 16 receive 46.0.0.99 255.255.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry cef This example shows how to display adjacency information: Console> (enable) show mls entry cef ip adjacency Mod: 16 Destination-IP: 127.0.0.21 Destination-Mask: FIB-Type: resolved 255.255.255.255 AdjType NextHop-IP NextHop-Mac Vlan Encp Tx-Packets Tx-Octets -------- --------------- ----------------- ---- ---- ------------ ------------connect 127.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry cef Table 2-44 show mls entry cef Command Output Fields (continued) Related Commands Field Description Encp Next-hop destination encapsulation type (ARPA, RAW, SAP, and SNAP) Tx-Packets Number of packets transmitted to this adjacency Tx-Octets Number of bytes transmitted to this adjacency clear mls cef clear mls entry cef adjacency show mls cef interface show mls cef mac show mls cef summary Catalyst 6500 Series Switc
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry netflow-route show mls entry netflow-route To display shortcut information in the MLS-based Catalyst 6500 series switches, use the show mls entry netflow-route command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls entry netflow-route Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls exclude protocol show mls exclude protocol To display excluded protocols on TCP or UDP from being shortcuts, use the show mls exclude protocol command. show mls exclude protocol Syntax Description This command has no arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls multicast show mls multicast To display IP multicast MLS information, use the show mls multicast command. show mls multicast show mls multicast entry {[mod] [vlan vlan_id] [group ip_addr]} [source ip_addr] [long | short] show mls multicast entry {[all] [short | long]} show mls multicast statistics {mod} Syntax Description entry Specifies the IP multicast MLS packet entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls multicast If you disable DNS, no name can be specified or shown. A warning message is displayed if you disable the Layer 2 multicast protocol when the multicast multilayer switching (MMLS) feature is running. If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls multicast This example shows how to display statistical information on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine (WS-F6K-PFC): Console> (enable) show mls multicast statistics Router IP Router Name Router MAC -------------------------------- ----------------0.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls multicast Receive: Feature Notifications: Shortcut Messages: Duplicate Shortcut Messages: Shortcut Install TLV: Selective Delete TLV: Group Delete TLV: Update TLV: Input VLAN Delete TLV: Output VLAN Delete TLV: Global Delete TLV: MFD Install TLV: MFD Delete TLV: Global MFD Delete TLV: Invalid TLV: Console> (enable) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 This example shows how to display IP MMLS entry information on a switch configured with th
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls multicast Table 2-46 show mls multicast entry Command Output Fields Related Commands Field Description Source-IP IP address of the source that corresponds to this flow. Pkts Number of packets switched using this flow. Bytes Number of bytes switched using this flow. InVlan RPF interface for the packets corresponding to this flow. Type Shortcut Type (C = a complete shortcut and P = a partial shortcut).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls nde show mls nde To display NetFlow Data Export information, use the show mls nde command. show mls nde Syntax Description This command has no arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls netflow-route show mls netflow-route To display summaries from NetFlow for routing in the MLS-based Catalyst 6500 series switches, use the show mls netflow-route command. show mls netflow-route [ip | ipx] Syntax Description ip (Optional) Specifies IP MLS. ipx (Optional) Specifies IPX MLS. Defaults The default displays both IP and IPX MLS information. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls pbr-route show mls pbr-route To display statistics about policy-based routing (PBR) traffic, use the show mls pbr-route command. show mls pbr-route Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls statistics show mls statistics To display MLS statistics information in the MLS-based Catalyst 6500 series switches, use the show mls statistics command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls statistics Usage Guidelines If your system is configured with the Supervisor Engine 2 with Switching Engine II (PFC2), the show mls statistics entry command output displays per flow statistics as per the configured flow mask. You can enter this command to display per-flow statistics for flows that are CEF switched (in hardware) or switched through software-installed shortcuts in the NetFlow table.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls statistics Examples This example shows how to display the statistics for all protocol categories: Console> (enable) show mls statistics Protocol TotalFlows TotalPackets ---------------- -------------Telnet 900 630 FTP 688 2190 WWW 389 42679 SMTP 802 4966 X 142 2487 DNS 1580 52 Others 82 1 Total 6583 53005 Console> (enable) protocol Total Bytes -----------4298 3105 623686 92873 36870 1046 73 801951 This example shows how to display
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls statistics Note The following commands are output from switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC. The output from switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) are slightly different.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show mls verify show mls verify To display the Layer 3 error checking configuration, use the show mls verify command. show mls verify Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show module show module To display module status and information, use the show module command. For supervisor engines, the show module command displays the supervisor engine number but appends the uplink daughter card’s module type and information. show module [mod] Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show module Mod MAC-Address(es) --- -------------------------------------1 00-30-80-f7-a5-06 to 00-30-80-f7-a5-07 00-30-80-f7-a5-04 to 00-30-80-f7-a5-05 00-30-a3-4a-a0-00 to 00-30-a3-4a-a3-ff 15 00-d0-bc-ee-d0-dc to 00-d0-bc-ee-d1-1b 8 00-d0-c0-c8-83-ac to 00-d0-c0-c8-83-db 9 00-50-3e-7c-43-00 to 00-50-3e-7c-43-2f Mod Sub-Type --- ----------------------1 L3 Switching Engine 9 Inline Power Module Console> Hw Fw Sw ------ ---------- -----------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show module Table 2-49 describes the possible fields in the show module command output. Table 2-49 show module Command Output Fields Field Description Mod Module number. Slot Number of the slot where the module or submodule resides. Ports Number of ports on the module. Module-Type Module (such as 100BASE-X Ethernet). Model Model number of the module. Sub Status of whether a submodule is installed. Status Status of the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show moduleinit show moduleinit To display contents of the information stored in the system module initiation log, use the show moduleinit command. show moduleinit [mod] [log lognum | -logcount] Syntax Description mod (Optional) Number of the module. log (Optional) Specifies a specific log. lognum (Optional) Number of the log to display. -logcount (Optional) Number of previous logs to display.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show moduleinit Success_Exit State 2: Entry/Exit/Elapse Time: 14721/14721/0 Success State 3: Entry/Exit/Elapse Time: 14721/32223/17502 Console> Table 2-50 describes the possible fields in the show moduleinit command output. Table 2-50 show moduleinit Command Output Fields Field Description Log # Number of the log. State # Number of the module initiation states.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show msfcautostate show msfcautostate To display the Multilayer Switch Feature Card (MSFC) auto port state, use the show msfcautostate command. show msfcautostate Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show msmautostate show msmautostate To display the current status of the line protocol state determination of the MSMs due to Catalyst 6500 series switch port state changes, use the show msmautostate command. show msmautostate mod Syntax Description mod Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast group show multicast group To display the multicast group configuration, use the show multicast group command. show multicast group [mac_addr] [vlan_id] Syntax Description mac_addr (Optional) Destination MAC address. vlan_id (Optional) Number of the VLAN. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast group Table 2-51 show multicast group Command Output Fields (continued) Field Description CoS CoS value. Destination Ports or VCs List of all the ports that belong to this multicast group. Traffic destined to this group address will be forwarded on all these ports. Protocol Type Type of protocol. Total Number of Entries Total number of entries in the multicast group table that match the criteria specified by the command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast group count show multicast group count To show the total count of multicast addresses (groups) in a VLAN, use the show multicast group count command. show multicast group count [vlan_id] Syntax Description vlan_id Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast protocols status show multicast protocols status To display the status of Layer 2 multicast protocols on the switch, use the show multicast protocols status command. show multicast protocols status Syntax Description This command has no arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast router show multicast router To display the ports that have IGMP or RGMP-capable routers assigned to them, use the show multicast router command. show multicast router {igmp | rgmp} [mod/port] [vlan_id] Syntax Description igmp Specifies IGMP-capable routers. rgmp Specifies RGMP-capable routers. mod/port (Optional) Number of the module and the port on the module. vlan_id (Optional) Number of the VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast router Table 2-52 describes the fields in the show multicast router command output. Table 2-52 show multicast router Command Output Fields Field Description Port Port through which a multicast router can be reached. * Status of whether or not the port was configured manually. + Status of whether or not the router is RGMP capable. VLAN VLAN associated with the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show multicast v3-group show multicast v3-group To display IGMP version 3 information based on group IP address, use the show multicast v3-group command. show multicast v3-group [vlan_num] [group_ip] Syntax Description vlan_num Number of the VLAN. group_ip IP address of the group. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat show netstat To display the currently active network connections and to list statistics for the various protocols in the TCP/IP, use the show netstat command. show netstat [tcp | udp | ip | icmp | routes | stats | interface] Syntax Description tcp (Optional) Shows TCP statistics. udp (Optional) Shows UDP statistics. ip (Optional) Shows IP statistics. icmp (Optional) Shows ICMP statistics.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat 69 duplicate acks 0 acks for unsent data 3468 packets (15367 bytes) received in-sequence 12 completely duplicate packets (20 bytes) 0 packets with some dup.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat Table 2-53 show netstat tcp Command Output Fields (continued) Field Description packets (bytes) received in-sequence Number of TCP packets (and the size in bytes) received in sequence. completely duplicate packets (bytes) Number of duplicate TCP packets (and the size in bytes) received. packets with some dup.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat Table 2-54 describes the fields in the show netstat udp command output. Table 2-54 show netstat udp Command Output Fields Field Description incomplete headers Number of UDP packets received with incomplete packet headers. bad data length fields Number of UDP packets received with a data length field that did not match the actual length of the packet payload.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat Table 2-55 show netstat ip Command Output Fields (continued) Field Description fragments dropped (dup or out of space) Number of received IP packet fragments that were dropped because of duplicate data or buffer overflow. fragments dropped after timeout Number of received IP packet fragments that were dropped. packets forwarded Number of forwarded IP packets.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat Table 2-56 show netstat icmp Command Output Fields (continued) Field Description Input histogram Frequency distribution statistics for input ICMP packets. echo reply Number of input echo-reply ICMP packets. destination unreachable Number of input destination-unreachable ICMP packets. echo Number of input-echo ICMP packets. message responses generated Number of ICMP message responses the system generated.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show netstat Table 2-58 describes the fields in the show netstat interface command output. Table 2-58 show netstat interface Command Output Fields Related Commands Field Description Interface Interface number (sl0 is the SLIP interface; sc0 and sc1 are the two in-band interfaces). InPackets Number of input packets on the interface. InErrors Number of input errors on the interface.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ntp show ntp To display the current NTP status, use the show ntp command. show ntp Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show ntp Related Commands clear ntp server set ntp broadcastclient set ntp broadcastdelay set ntp client set ntp server Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pbf show pbf To display PBF-related information, use the show pbf command. show pbf [{adjacency | statistics | map} [adj_name]] Syntax Description adjacency (Optional) Displays PBF adjacency information. statistics (Optional) Displays PBF statistics. map (Optional) Displays PBF adjacency map. adj_name (Optional) Name of the adjacency. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pbf -----------------------------------------------------------------1 2 00-0a-0a-0a-0a-0a 00-11-22-33-44-55 a_1 Console> This example shows how to display statistics for PFC2: Console> show pbf statistics Index DstVlan DstMac SrcMac HitCount(hex) Name ------------------------------------------------------------------------1 2 0a-0a-0a-0a-0a-0a 00-11-22-33-44-55 0x00011eb4 a_1 2 2 0a-0a-0a-0a-0a-0b 00-11-22-33-44-55 0x00011ebc a_2 3 2 0
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pbf-map show pbf-map To display PBF map information, use the show pbf-map command. show pbf-map {vlan | config} Syntax Description vlan VLAN number. config Displays the PBF_MAP configuration. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port show port To display port status information, use the show port command. show port [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a mod value, the ports on all modules are shown.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port Examples This example shows how to display the status and counters for a specific module and port: Console> show port 2/1 * = Configured MAC Address Port Name Status Vlan Duplex Speed Type ----- -------------------- ---------- ---------- ------ ----- -----------2/1 notconnect 1 full 1000 No Connector Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex ----- -------- --------- ------------- -------- -------- -------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex ----- -------- --------- ------------- -------- -------- -------- ------9/5 disabled shutdown 0 0 1 disabled 126 Port Num-Addr Secure-Src-Addr Age-Left Last-Src-Addr Shutdown/Time-Left ----- -------- ----------------- -------- ----------------- -----------------9/5 0 Port Flooding on Address Limit ----- ------------------------9/5 Enabled Port Broadcast-Limit Broad
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port 7/8 enable 00-10-7b-00-0a-5f (Port host processor not online) Port Call-Manager(s) DHCP-Server -------- ----------------- --------------7/1 172.20.34.207* 172.20.34.207 callm.cisco.com 7/2 172.20.34.207 172.20.34.207 7/3 172.20.34.207 172.20.34.207 7/4 172.20.34.207 172.20.34.207 7/5 172.20.34.207 172.20.34.207 7/6 172.20.34.207 172.20.34.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port 3/8 3/9 3/10 3/11 3/12 3/13 3/14 3/15 3/16 3/17 3/18 3/19 3/20 3/21 3/22 3/23 3/24 onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook onhook 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 full full full full full full full full full full full full full full full full full 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k FXS FXS FXS FXS FXS FXS FXS FXS FXS FXS FX
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port Table 2-60 show port Command Output Fields (continued) Field Description Vlan VLANs to which the port belongs. Auxiliaryvlan 1 Auxiliary VLANs to which the port belongs. Duplex Duplex setting for the port (auto, full, half). Speed Speed setting for the port (auto, 10, 100, 1000). Type 2 Port type (for example, 1000BASE-SX or 100BASE-FX, or T1, E1, transcoding, conferencing, mtp, or conf bridge for voice ports).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port Table 2-60 show port Command Output Fields (continued) Field Description Multi-Coll Number of times multiple collisions occurred before the port transmitted a frame to the media successfully. Late-Coll Number of late collisions (collisions outside the collision domain). Excess-Col Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port Table 2-60 show port Command Output Fields (continued) Field Description Good-bytes Total number of octets in frames with no error. Short-event Number of short events received. InlinePowered1 InlinePowered for Admin (auto, on, off), Oper (on, off, denied), and Detected (yes, no). PowerAllocated1 PowerAllocated for Watts (values displayed as Watts measurement) and Volts (values displayed as Volts measurement).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port arp-inspection show port arp-inspection To display the drop threshold and shutdown threshold for specific ports, use the show port arp-inspection command. show port arp-inspection [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port auxiliaryvlan show port auxiliaryvlan To display the port auxiliary VLAN status for a specific port, use the show port auxiliaryvlan command. show port auxiliaryvlan {vlan | untagged | dot1p | none} Syntax Description vlan Number of the VLAN; valid values are from 1 to 4094. untagged Displays the Cisco IP Phone 7960 that sends untagged packets without 802.1p priority.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port auxiliaryvlan This example shows how to display the status of the switch that does not send any auxiliary VLAN information in the CDP packets: Console> (enable) show AuxiliaryVlan Status ------------- -------none none Console> (enable) port auxiliaryvlan none Mod/Ports -----------------------------------------------------8/1-3,8/8-12,8/19-22,8/24-30,8/35-48,9/1-11,9/13-48 This example shows how to display the status of the Cisco I
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port broadcast show port broadcast To display broadcast information, use the show port broadcast command. show port broadcast [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port broadcast Table 2-62 show port broadcast Command Output Fields (continued) Related Commands Field Description Total-Drop Number of broadcast, multicast, and unicast packets dropped because the port broadcast limit was exceeded. Violation Action the port takes when the broadcast threshold is exceeded; the port either errdisables or drops packets. set port broadcast Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port capabilities show port capabilities To display the capabilities on the ports, use the show port capabilities command. show port capabilities [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port capabilities This example shows the port capabilities on a 48-port 10/100BASE-TX switching services configured-module: Console> show port capabilities 3/2 Model WS-X6248-RJ-45 Port 3/2 Type 10/100BaseTX Speed auto,10,100 Duplex half,full Trunk encap type 802.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port capabilities This example shows the port capabilities on a 24-port FXS analog station interface services-configured module: Console> show port capabilities 3/2 Model WS-X6624-FXS Port 3/2 Type FXS Speed 64kps Duplex full Trunk encap type none Trunk mode off Channel no Broadcast suppression no Flow control no Security no Membership no Fast start no QOS scheduling no QOS classification no UDLD no Inline power no Auxiliaryvlan no Consol
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port capabilities Table 2-63 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output. Table 2-63 show port capabilities Command Output Fields Field Description Model Module model number. Port Module number and port number. Type1 Speed Port type (1000BASE-SX or 100BASE-FX). 1 Speed setting for the port (auto, 10, 100, 1000).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port capabilities Related Commands set port broadcast set port channel set port security set port speed set spantree portfast set trunk show port show port voice active Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port cdp show port cdp To display the port CDP enable state and the message interval, use the show port cdp command. show port cdp [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port cdp Table 2-64 describes the fields in the show port cdp command output. Table 2-64 show port cdp Command Output Fields Field Description CDP Status of whether CDP is enabled or not. Message-Interval Interval between CDP message exchange with a neighbor. Related Commands Hold Time Hold time setting. Version CDP version. Port Module and port number. CDP Status CDP status of the port (enabled, disabled).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel show port channel To display EtherChannel information, use the show port channel command. show port channel [all | mod[/port]] [statistics] show port channel [all | mod[/port]] {info [type]} Syntax Description all (Optional) Displays information about PAgP and LACP channels. mod (Optional) Number of the module. port (Optional) Number of the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel Examples This example shows how to display Ethernet channeling information for module 1: Console> show port channel Port Status Channel Mode ----- ---------- --------1/1 nonconnect on 1/2 connected on 1 Admin Group ----195 195 Ch Id ----769 769 Port Device-ID Port-ID Platform ----- ------------------------------- ------------------------- ---------------1/1 1/2 Console> This example shows how to display port statistics:
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel priority vlanpri vlanpri-vlans ----- -------- -------- ------- -----------------------------------------------1/1 32 disabled 0 1/2 32 disabled 0 Port ----1/1 1/2 IP -------on on IPX -------auto-on auto-on Group -------auto-on auto-on Port GMRP status ----- -------1/1 enabled 1/2 enabled GMRP registration -----------normal normal Port GVRP registeration ------------normal normal GVRP status ----- -------1/1 disabled
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel 3/4 enabled Console> normal disabled Console> (enable) show port channel 1 info gvrp Port GVRP GVRP GVRP status registeration applicant ----- -------- ------------- --------1/1 disabled normal normal 1/2 disabled normal normal Console> Console> (enable) show port channel 1 info qos Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos PortType PortType Type ----- -------- -------- ------------ ---------1/1 2q2t 1q4t untrusted 0 1/2 2q2t
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel Table 2-65 show port channel Command Outputs Fields (continued) Field Description Speed Speed setting for the port (auto, 10, 100, 1000). Duplex Duplex setting for the port (auto, full, half). Vlan VLAN to which the port belongs. Port priority Priority associated with the port. PortSecurity/Dynamic port Status of whether the port is secure or dynamic. ifIndex Interface number to which the port belongs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port channel Table 2-65 show port channel Command Outputs Fields (continued) Related Commands Field Description GVRP registration Status of the administrative control of an outbound port (normal, fixed, forbidden). Qos-Tx Transmit drop threshold. Qos-Rx Receive drop threshold. Qos-Trust Status of whether the port is trusted or untrusted. Qos-DefCos CoS value.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port cops show port cops To display COPS information on all or individual ports, use the show port cops command. show port cops [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port cops This example shows how to display COPS information for a specific port: Console> show port cops 1/1 Port Admin Roles ------ ------------------------------1/1 backbone_port branch_office_port access_port 1/2 Console> Oper Roles ------------------------backbone_port - Table 2-66 describes the fields displayed in the show port cops command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port counters show port counters To show all the counters for a port, use the show port counters command. show port counters [mod[/port]] Syntax Description mod (Optional) Number of the module for which to show port counter information. port (Optional) Number of the port on the module for which to show port counter information. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port counters Table 2-67 describes the possible fields (depending on the port type queried) in the show port counters command output. Table 2-67 show port counters Command Output Fields Related Commands Field Description Port Module and port number. Align-Err Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port debounce show port debounce To display whether the port debounce timers are enabled or disabled, use the show port debounce command. show port debounce [mod | mod/port] Syntax Description mod (Optional) Number of the module. mod/port (Optional) Number of the module and the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port dot1q-all-tagged show port dot1q-all-tagged To show the status of the dot1q-all-tagged feature on all or specific ports, use the show port dot1q-all-tagged command. show port dot1q-all-tagged [mod[/port]] Syntax Description mod[/port] Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port dot1q-ethertype show port dot1q-ethertype To show the status of the 802.1q Ethertype field on all or specific ports, use the show port dot1q-ethertype command. show port dot1q-ethertype [mod[/port]] Syntax Description mod[/port] Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port dot1qtunnel show port dot1qtunnel To display the dot1q tunnel mode status, use the show port dot1qtunnel command. show port dot1qtunnel [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port dot1x show port dot1x To display all the configurable and current state values associated with the authenticator port access entity (PAE) and backend authenticator and statistics for the different types of Extensible Authentication Protocol (EAP) packets transmitted and received by the authenticator on a specific port, use the show port dot1x command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port dot1x This example displays the statistics of different types of EAP packets that are transmitted and received by the authenticator on a specific port: Console> show port dot1x statistics 4/1,4/2 Port Tx_Req/Id Tx_Req Tx_Total Rx_Start 4/1 1 2 4 2 4/2 3 4 6 0 Port Rx_Invalid 4/1 0 4/2 0 Console> Related Commands Rx_Len_Err 0 0 Rx_Total 3 3 Rx_Logff 0 1 Last_Rx_Frm_Ver 1 1 Rx_Resp/Id 1 1 Rx_Resp 0 0 Last_Rx_Frm_Src_Mac 00-f0-3
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port errdisable-timeout show port errdisable-timeout To display the configuration and status of the errdisable timeout for a particular port, use the show port errdisable-timeout command. show port errdisable-timeout [mod[/port]] Syntax Description mod[/port] Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port errdisable-timeout This example shows the output for a port in errdisabled state with the timeout flag disabled and the reason disabled: Console> show port errdisable-timeout 3/3 Port Status ---- ---------3/3 errdisable Console> ErrDisableReason ---------------udld Port ErrDisableTimeout ---------------------Disable Action on Timeout ----------------No Change This example shows the output for a port in errdisabled state with the
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port flowcontrol show port flowcontrol To display per-port status information and statistics related to flow control, use the show port flowcontrol command. show port flowcontrol [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port flowcontrol Table 2-68 describes the fields in the show port flowcontrol command output. Table 2-68 show port flowcontrol Command Output Fields Related Commands Field Description Port Module and port number. Send Flowcontrol Admin Flow-control administration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port inlinepower show port inlinepower To display the port power administration and operational status, use the show port inlinepower command. show port inlinepower [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port jumbo show port jumbo To display the jumbo frame settings for all ports with the feature enabled, use the show port jumbo command. show port jumbo Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port l2protocol-tunnel show port l2protocol-tunnel To display Layer 2 protocol tunneling information on a port or range of ports, use the show port l2protocol-tunnel command. show port l2protocol-tunnel [mod[/port]] Syntax Description mod[/port] Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port lacp-channel show port lacp-channel To display information about LACP channels by port or module number, use the show port lacp-channel command. show port lacp-channel [mod[/port]] [statistics] show port lacp-channel [mod[/port]] info [type] Syntax Description mod[/port] (Optional) Number of the module and the port number on the module. statistics (Optional) Displays the LACP channel statistics.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port lacp-channel This example shows how to display LACP channel information for all ports on module 4: Console> show port lacp-channel 4 Port Channel Admin Ch Partner Oper Mode Key Id Sys ID ----- --------- ----- ----- ----------------------------------4/1 active 69 0 0,00-00-00-00-00-00 4/2 active 69 0 0,00-00-00-00-00-00 4/3 passive 151 769 13459,89-BC-24-56-78-90 4/4 passive 151 769 13459,89-BC-24-56-78-90 4/5 active 70 0 0,00-00-00-
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port lacp-channel This example shows how to display LACP channel statistics for port 7 on module 4: Console> show port lacp-channel 4/7 Port Admin LACP Pkts LACP Pkts Key Transmitted Received ----- ------- ----------- --------4/7 152 0 92 4/8 152 0 0 Console> Examples statistics Marker Pkts Marker Pkts LACP Pkts Transmitted Received Errors ----------- ----------- --------0 0 0 0 0 0 clear lacp-channel statistics set channelprotocol set
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port mac show port mac To display port MAC counter information, use the show port mac command. show port mac [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port mac Table 2-69 describes the possible fields in the show port mac command output. Table 2-69 show port mac Command Output Fields Related Commands Field Description Rcv-Unicast Number of unicast frames received on the port. Rcv-Multicast Number of multicast frames received on the port. Rcv-Broadcast Number of broadcast frames received on the port. Xmit-Unicast Number of unicast frames transmitted by the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port mac-address show port mac-address To display the MAC address associated with a physical port or ports, use the show port mac-address command. show port mac-address [mod[/port]] Syntax Description mod[/port] Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a module number, the MAC addresses for all ports on all modules are shown.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port mac-address Port ----5/1 5/2 . . . 5/48 Mac address ---------------------00-d0-d3-33-80-9c 00-d0-d3-33-80-9d 00-d0-d3-33-80-cb Port Mac address ----- ---------------------7/1 00-50-54-6c-94-9c 7/2 00-50-54-6c-94-9d 7/3 00-50-54-6c-94-9e 7/4 00-50-54-6c-94-9f 7/5 00-50-54-6c-94-a0 7/6 00-50-54-6c-94-a1 7/7 00-50-54-6c-94-a2 7/8 00-50-54-6c-94-a3 Console> Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port negotiation show port negotiation To display the link negotiation protocol setting for the specified port, use the show port negotiation command. show port negotiation [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port prbs show port prbs To display the ports that are running the Pseudo Random Binary Sequence (PRBS) test and to display the counter values for ports on which the test has run, use the show port prbs command. show port prbs [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port protocol show port protocol To view protocol filters configured on the EtherChannel ports, use the show port protocol command. show port protocol [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port qos show port qos To display QoS-related information, use the show port qos command. show port qos [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port qos Runtime: Port ACL name Type ----- -------------------------------- ---No ACL is mapped to port 2/1. Console> This example shows how to display QoS-related information for a single port on a specific module, which, in this example, is connected to a port on a phone device: Console> (enable) show port qos 3/4 QoS is disabled for the switch. Configured settings are not used. QoS policy source for the switch set to local.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port qos Config: Port ACL name Type ----- -------------------------------- ---No ACL is mapped to port 4/1. Runtime: Port ACL name Type ----- -------------------------------- ---No ACL is mapped to port 4/1. Console> (enable) Related Commands set port qos set port qos cos set port qos trust set port qos trust-device Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port rsvp show port rsvp To display RSVP information on a per-port basis, use the show port rsvp command. show port rsvp [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port security show port security To view port security configuration information and statistics, use the show port security command. show port security [mod[/port]] show port security statistics {mod[/port]} show port security statistics system Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. statistics Displays security statistics.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port security Port Secure-Src-Addrs ---- ----------------4/1 00-11-22-33-44-55 00-10-14-da-77-f1 00-11-22-33-44-66 Age-Left Last-Src-Addr Shutdown Shutdown-Time-Left -------- ----------------- -------- -----------------60 00-11-22-33-44-77 Yes 200 200 Port Flooding on Address Limit ----- ------------------------4/1 Enabled Console> This example shows that port 4/1 has been shut down and that the timeout left is 60 minutes before the p
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port security This example shows how to display security statistical information for a specific module: Console> show port security statistics 2 Port Total-Addrs Maximum-Addrs ----- ----------- ------------Module 2: Total ports: 1 Total secure ports: 0 Total MAC addresses: 0 Total global address space used (out of 1024): 0 Status: removed Console> Related Commands clear port security set port security Catalyst 6500 Series Switch Comman
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port spantree show port spantree To view port spanning tree information, use the show port spantree command. show port spantree [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port status show port status To display port status information, use the show port status command. show port status [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a mod value, the ports on all modules are shown.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port sync-restart-delay show port sync-restart-delay To display a port’s synchronization restart delay, use the show port sync-restart-delay command. show port sync-restart-delay mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port tdr show port tdr To display the results of the Time Domain Reflectometer (TDR) test on a port, use the show port tdr command. show port tdr [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port tdr Port ---5/3 Speed Local pair ------ ---------1000 Pair A Pair B Pair C Pair D Console> Pair length ----------------------running tdr test running tdr test running tdr test running tdr test Remote pair ----------n/a n/a n/a n/a Pair status -----------n/a n/a n/a n/a Table 2-71 describes the fields in the show port tdr command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port trap show port trap To display port trap status, use the show port trap command. show port trap [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a mod value, the ports on all modules are shown.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port trunk show port trunk To display port trunk information, use the show port trunk command. show port trunk [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a mod value, the ports on all modules are shown.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port trunk Table 2-72 describes the fields in the show port trunk command output. Table 2-72 show port trunk Command Output Fields Related Commands Field Description Port Module and port numbers. Mode Trunk administrative status of the port (on, off, auto, or desirable). Encapsulation Trunking type configured by administration. Status Status of whether the port is trunking or nontrunking.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port unicast-flood show port unicast-flood To display the run-time configuration of the port using unicast flood blocking, use the show port unicast-flood command. show port unicast-flood [mod/[port]] Syntax Description mod/[port] Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice show port voice To display voice port information, use the show port voice command. show port voice [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines This command is not supported by the NAM.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice Port DNS-Server(s) -------- ----------------7/1 dns-sj3.cisco.c* dns-sj4.cisco.c 7/2 dns-sj3.cisco.c* dns-sj4.cisco.c 7/3 dns-sj3.cisco.c* dns-sj4.cisco.c 7/4 dns-sj3.cisco.c* dns-sj4.cisco.c 7/5 dns-sj3.cisco.c* dns-sj4.cisco.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice 7/5 10.34.1.11* 10.34.16.10 10.34.42.11 (*):Primary - Port DNS-Server(s) -------- ----------------7/1 171.68.10.70* 171.68.10.140 7/2 171.68.10.70* 171.68.10.140 7/3 171.68.10.70* 171.68.10.140 7/4 171.68.10.70* 171.68.10.140 7/5 171.68.10.70* 171.68.10.140 (*):Primary Domain ------------------------------------------------cisco.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice active show port voice active To display active call information on a port, use the show port voice active command. show port voice active [mod/port] [all | call | conference | transcode] [ipaddr] Syntax Description mod/port (Optional) Number of the module and port on the module. all (Optional) Displays all calls (regular calls, conference calls, and transcoding calls) in the system.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice active Examples This example shows how to display all calls (regular calls, conference calls, and transcoding calls) in the system: Console> show port voice active Port Type Total Conference-ID/ Party-ID IP-Address Transcoding-ID ----- ------------ ----- -------------- -------- --------------6/3 transcoding 1 2 12 192.1.1.12 10 10.6.106.101 8/2 call 1 123.46.1.100 8/5 call 1 123.46.1.101 8/7 conferencing 1 1 8 192.1.1.5 7 123.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice active Fax Transmit Duration Hi Water Playout Delay Logical If index Low water playout delay Receive delay Receive bytes Receive packets Transmit bytes Transmit packets Channel #2: Remote IP address Remote UDP port Call state Codec Type Coder Type Rate Tx duration Voice Tx duration ACOM Level Current ERL Level Fax Transmit Duration Hi Water Playout Delay Logical If index Low water playout delay Receive delay Receive bytes Rece
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice active Low water playout delay Receive delay Receive bytes Receive packets Transmit bytes Transmit packets Console> Related Commands : : : : : : 234 ms 23423 ms 2342342332423 23423423402384 23472377 94540 set port voice interface dhcp Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice fdl show port voice fdl To display the facilities data link (FDL) statistics for the specified ports, use the show port voice fdl command. show port voice fdl [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice fdl Table 2-73 describes the possible fields (depending on the port type queried) in the show port voice fdl command output. Table 2-73 show port voice fdl Command Output Fields Related Commands Field Description ErrorEvents Count of errored events. ErroredSecond Count of errored seconds. SeverelyErroredSecond Count of severely errored seconds. FailedSignalState Count of failed signal state errors.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show port voice interface show port voice interface To display the port voice interface configuration, use the show port voice interface command. show port voice interface [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show proc show proc To display CPU, memory allocation, and process utilization information, use the show proc command. show proc [cpu | mem] Syntax Description cpu (Optional) Specifies CPU information. mem (Optional) Specifies memory allocation information. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines You can enter this command only in privileged mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show proc Memory Pool Utilization Memory Pool Type 1Min 5Min 10Min ---------------- ----- ----- ----DRAM 49% 49% 49% FLASH 82% 82% 82% NVRAM 49% 49% 49% MBUF 2% 2% 2% CLUSTER 12% 12% 12% MALLOC 15% 15% 15% Console> (enable) This example shows how to display process information: Console> (enable) show proc mem Memory Used: 7141936 Free: 53346800 Total: 60488736 PID ---------1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show proc 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 70 71 143 144 145 146 191 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 0 0 -2 -2 -2 -2 0 -2 -2 2252448660 -2 16 16 3216 16 112 8704 124576 1296 2336 144 0 176 16 96 0 6128 16 272 5808 47520 11936 32 144 1120 16 48 57200 256208 208 68448 29360 0 0 2992 0 0 8000 124416 1088 1120 0 0 0 1072 0 0 5952 0 0 1504 15216 0 0 0 0 0 0 4208 29920 0 6864 1950
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show proc Table 2-74 show proc Command Output Fields (continued) Field Description 5Min Average memory pool usage over the last 5-minute interval. 10Min Average memory pool usage over the last 10-minute interval. TTY TTY associated with the process. Process Name of the process. Allocated Amount of all the memory allocated by the process since it was initiated, including the memory previously freed up.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show protocolfilter show protocolfilter To list whether protocol filtering is enabled or disabled, use the show protocolfilter command. show protocolfilter Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan show pvlan To show the configuration for a given private VLAN, use the show pvlan command. show pvlan [vlan | primary | isolated | community | twoway-community] Syntax Description vlan (Optional) Number of the private VLAN. primary (Optional) Displays the primary private VLANs. isolated (Optional) Displays the isolated private VLANs. community (Optional) Displays the community private VLANs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan Console> This example shows how to display the status for all VLANs set as community: Console> show pvlan community Primary Secondary Secondary-Type Ports ------- --------- -------------- -----------7 902 community 2/4-6 Console> Related Commands clear config pvlan clear pvlan mapping clear vlan set pvlan set pvlan mapping set vlan show pvlan mapping show vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan capability show pvlan capability To determine whether or not a port can be made a private port, use the show pvlan capability command. show pvlan capability mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan capability Console> (enable) show pvlan capability 5/3 Ports 5/1 - 5/12 are in the same ASIC range as port 5/3.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan mapping show pvlan mapping To show the private VLAN mappings configured on promiscuous ports, use the show pvlan mapping command. show pvlan mapping [private_vlan | mod/port] Syntax Description private_ vlan (Optional) Number of the private VLAN. mod/port (Optional) Number of the module and port. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show pvlan mapping Related Commands clear config pvlan clear pvlan mapping clear vlan set pvlan set pvlan mapping set vlan show vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl editbuffer show qos acl editbuffer To display ACL names in the edit buffer, use the show qos acl editbuffer command. show qos acl editbuffer Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines Enter the show qos acl editbuffer command to display the committed access lists that you configured.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl info show qos acl info To display QoS ACL information, use the show qos acl info command. show qos acl info default-action {ip | ipx | mac | all} show qos acl info runtime {acl_name | all} show qos acl info config {acl_name | all} [editbuffer [editbuffer_index]] Syntax Description default-action Displays default action (using the set qos acl default-action command) for packets that do not match any entry in an access list.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl info 2. set qos acl ip my_ip_acl trustdscp microflow my-micro aggregate agg tcp 173.22.3.4 255.0.0.0 eq port 19 173.22.20.1 255.255.255.0 tos 5 ACL status: Not Committed Console> (enable) This example shows how to display information for a specific ACL: Console> (enable) show qos acl info my_ip_acl set qos acl ip my_ip_acl ---------------------------------------------------1. trust-dscp microflow my-micro tcp 1.2.3.4 255.0.0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl map show qos acl map To display the ACL mapping information, use the show qos acl map command. show qos acl map {config | runtime} {acl_name | mod/port | vlan | all} Syntax Description config Displays NVRAM QoS information. runtime Displays QoS runtime information. acl_name Name of the list. mod/port Number of the module and the port. vlan VLAN list. all Displays information regarding all ACLs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl map This example shows how to display information for a specific ACL: Console> show qos acl map isp1 ACL name -------isp1 Console> Related Commands Vlan # ---------------2 Ports --------------1/1 clear qos acl set qos acl map Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos acl resource-usage show qos acl resource-usage To display ACL management information, use the show qos acl resource-usage command. show qos acl resource-usage Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos bridged-microflow-policing show qos bridged-microflow-policing To display the VLAN-bridged packet-policing status, use the show qos bridged-packet-policing command. show qos bridged-microflow-policing {config | runtime} [vlan] Syntax Description config Displays NVRAM configuration. runtime Displays the run time configuration. vlan (Optional) Number of the VLAN. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info show qos info To display QoS-related information for a specified port, use the show qos info command. show qos info {runtime | config} {mod/port} show qos info config port_type {tx | rx} Syntax Description runtime Shows the current QoS runtime information. config Displays NVRAM QoS configuration. mod/port Number of the module and port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info The number preceding the p letter in the port_type value (for example, 1p2q2t and 1p1q4t) determines the threshold in the priority queue. The 1p2q1t and 1p1q8t port types are not supported. Note Examples When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info This example shows how to display all QoS-related NVRAM threshold information: Console> (enable) show qos info config 2q2t tx QoS setting in NVRAM for 2q2t transmit: QoS is enabled Queue and Threshold Mapping: Queue Threshold CoS ----- --------- --------------1 1 0 1 1 2 2 3 2 1 4 5 2 2 6 7 Tx drop thresholds: Queue # Thresholds - percentage (abs values ) ------- ------------------------------------1 40% 100% 2 40% 100% Queue Siz
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info This example shows another display of the current QoS runtime information: Console> show qos info runtime 8/1 Run time setting of QoS: QoS is enabled Policy Source of port 8/1:Local Tx port type of port 8/1 :1p2q2t Rx port type of port 8/1 :1q2t Interface type:port-based ACL attached: The qos trust type is set to trust-cos.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info This example shows how to display the current QoS configuration information: Console> (enable) show qos info config 8/1 QoS setting in NVRAM: QoS is disabled Port 8/1 has 3 transmit queue with 2 drop thresholds (1p2q2t). Port 8/1 has 2 receive queue with 4 drop thresholds (1p1q4t). ACL attached: The qos trust type is set to untrusted.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos info This example shows another display of the current QoS configuration information: Console> (enable) show qos info config 1p2q2t tx QoS setting in NVRAM for 1p2q2t transmit: QoS is enabled Queue and Threshold Mapping: Tx WRED thresholds: Queue # Thresholds - percentage ------- -----------------------------------------1 0%:60% 0%:90% 2 0%:50% 0%:90% Tx queue size ratio: Queue # Sizes - percentage ------- ---------------------------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos mac-cos show qos mac-cos To display the currently configured QoS-related information for the MAC address and VLAN pair, use the show qos mac-cos command. show qos mac-cos dest_mac [vlan] [config] show qos mac-cos all [config] Syntax Description dest_mac MAC address of the destination host. vlan (Optional) Number of the VLAN; valid values are from 1 to 1005. config (Optional) Displays NVRAM QoS configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos mac-cos Related Commands clear qos mac-cos set qos mac-cos Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos maps show qos maps To display the mapping of different maps, use the show qos maps command. show qos maps {config | runtime} [[cos-dscp-map | ipprec-dscp-map | dscp-cos-map | policed-dscp-map [normal-rate | excess-rate]] Syntax Description config Displays NVRAM QoS configuration. runtime Displays current QoS configuration. cos-dscp-map (Optional) Specifies the CoS-to-DSCP map.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos maps This example shows how to display the ipprec-dscp-map map: Console> show qos maps ipprec-dscp-map IP-Precedence - DSCP map: IP-Prec DSCP ------------------------0 1 ... 7 52 Console> This example shows how to display the dscp-cos-map map: Console> show qos maps dscp-cos-map DSCP - CoS map: DSCP CoS --------------- ---34-40,60 0 ...
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos maps DSCP policed-dscp map: In-profile DSCP Policed DSCP --------------- ------------0-20 0 Console> This example shows how to display normal-rate maps: Console> (enable) show qos maps config policed-dscp-map normal-rate DSCP - Policed DSCP map normal-rate: DSCP Policed DSCP -------------------------------- -----------0, 24-63 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 2
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos policer show qos policer To display microflow or aggregate policers currently configured, use the show qos policer command. show qos policer {config | runtime} {microflow [policer_name] | aggregate [policer_name] | all} Syntax Description config Displays NVRAM QoS configuration. runtime Shows the current QoS runtime information. microflow Specifies microflow policing information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos policer -------------------my-micro Console> ----------------------------------------------my-acl This example shows how to display aggregate policing information: Console> show qos policer config aggregate QoS aggregate policers: No aggregate policer found.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos policy-source show qos policy-source To display the QoS policy source information, use the show qos policy-source command. show qos policy-source Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines This command displays whether the QoS policy source is set to local or COPS.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos rsvp show qos rsvp To display RSVP information, use the show qos rsvp command. show qos rsvp {info | flow-info} Syntax Description info Displays RSVP status information. flow-info Displays RSVP flow information. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos statistics show qos statistics To display the various QoS-related counters for a specified port, use the show qos statistics command. show qos statistics {mod[/port]} show qos statistics l3stats Syntax Description mod/port Number of the module and, optionally, the number of the port on the module. l3stats Displays Layer 3 statistics information. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos statistics This example shows how to display the QoS statistics for module 2: Console> (enable) show qos statistics 2 Warning: QoS is disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos statistics export info show qos statistics export info To display QoS data export configuration and statistical information, use the show qos statistics export info command. show qos statistics export info Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show qos status show qos status To display if QoS is enabled on the switch, use the show qos status command. show qos status Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display if QoS is enabled on the switch: Console> (enable) show qos status Qos is enabled on this switch.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show radius show radius To display configured RADIUS parameters, use the show radius command. show radius [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines You can enter this command in normal or privileged mode, but the RADIUS key is displayed only if this command is entered in privileged mode.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show radius Related Commands set radius attribute set radius deadtime set radius key set radius retransmit set radius server set radius timeout Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show rcp show rcp To display rcp information, use the show rcp command. show rcp Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show reset show reset To display scheduled reset information, use the show reset command. show reset Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show rgmp group show rgmp group To display all multicast groups or the count of multicast groups that are joined by RGMP-capable routers, use the show rgmp group command. show rgmp group [mac_addr] [vlan_id] show rgmp group count [vlan_id] Syntax Description mac_addr (Optional) MAC destination address reserved for the use of RGMP packets. vlan_id (Optional) Number of the VLAN; valid values are from 1 to 1005.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show rgmp statistics show rgmp statistics To display all the RGMP-related statistics for a given VLAN, use the show rgmp statistics command. show rgmp statistics [vlan] Syntax Description vlan Defaults The default is VLAN 1. Command Types Switch command. Command Modes Normal. Examples This example displays RGMP-related statistics for a specific VLAN: (Optional) Number of the VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show rspan show rspan To display the remote SPAN configuration, use the show rspan command. show rspan Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The fields displayed depends on the configuration.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show rspan Destination : Rspan Vlan : Admin Source : Oper Source : Direction : Incoming Packets: Learning : Multicast : Filter : Port 6/1 906 disabled - -------------------------------------------Destination : Rspan Vlan : Admin Source : Oper Source : Direction : Incoming Packets: Learning : Multicast : Filter : 903 INBAND INBAND transmit disabled - -------------------------------------------Destination : Rspan Vlan : Admin Source : Oper S
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show running-config show running-config To display the configuration information currently running on the switch or the configuration for a specific ACL, use the show running-config command. show running-config [system | mod_num] [all] show running-config acl location show running-config qos acl {acl_name| all} Syntax Description system (Optional) Displays current system configuration. mod_num (Optional) Number of the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show running-config # ***** NON-DEFAULT CONFIGURATION ***** ! ! #time: Mon Jun 11 2001, 08:22:17 ! #version 6.3(0.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show running-config set vlan 11 3/2 ! #module 4 empty ! #module 5 : 0-port Switch Fabric Module ! #module 6 empty ! #module 7 empty ! #module 8 empty ! #module 9 empty ! #module 15 empty ! #module 16 empty end Console> (enable) This example shows how to display the nondefault system configuration for module 3: Console> (enable) show running-config 3 This command shows non-default configurations only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl show security acl To display the contents of the VACL that are currently configured or last committed to NVRAM and hardware, use the show security acl command. show security acl show security acl [editbuffer] show security acl info {acl_name | adjacency| all} [editbuffer [editbuffer_index]] Syntax Description editbuffer (Optional) Displays the VACLs in the edit buffer.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl ipx1 ipx2 ipx3 mac2 iplast Console> IPX IPX IPX MAC IP Committed Committed Committed Committed Committed This example shows how to display the configuration for a specified VACL last committed to NVRAM and hardware: Console> show security acl info ip1 set security acl ip ip1 --------------------------------------------------1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl --------------------------------------------------arp permit 1. redirect b_1 ip host 43.0.0.1 host 44.0.0.1 2. redirect b_2 ip host 43.0.0.2 host 44.0.0.2 3. redirect b_3 ip host 43.0.0.3 host 44.0.0.3 4. redirect b_4 ip host 43.0.0.4 host 44.0.0.4 5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl arp-inspection show security acl arp-inspection To display Address Resolution Protocol (ARP) inspection information, use the show security acl arp-inspection command. show security acl arp-inspection config show security acl arp-inspection statistics [acl_name] Syntax Description config Displays ARP inspection configuration information.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl capture-ports show security acl capture-ports To display the capture port list, use the show security acl capture-ports command. show security acl capture-ports Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl feature ratelimit show security acl feature ratelimit To display the rate limit for the number of packets that are sent to the CPU on a global basis and to display the features that share this rate limit value, use the show security acl feature ratelimit command. show security acl feature ratelimit Syntax Description This command has no keywords or arguments. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl log show security acl log To display VACL log information, use the show security acl log command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl log arp Displays all logged ARP packets. host IP_Address (Optional) Specifies the IP address of an IP host. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is supported on systems configured with Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl log reassembly-timeout, redirect, router-advertisement, router-solicitation, source-quench, source-route-failed, time-exceeded, timestamp-reply, timestamp-request, traceroute, ttl-exceeded, and unreachable. If the operator is positioned after the source and source-wildcard, it must match the source port. If the operator is positioned after the destination and destination-wildcard, it must match the destination port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl map show security acl map To display VACL-to-VLAN mapping for a specified VACL or VLAN, use the show security acl map command. show security acl map acl_name show security acl map vlan Syntax Description acl_name Name of the VACL to be displayed. vlan Number of the VLAN to be displayed; valid values are from 1 to 1005 and from 1025 to 4094. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show security acl resource-usage show security acl resource-usage To display VACL management information, use the show security acl resource-usage command. show security acl resource-usage Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp show snmp To display SNMP information, use the show snmp command. show snmp [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal and privileged. Usage Guidelines If you enter show snmp in privileged mode, the output display includes information for the read-only, the read-write, and the read-write-all community strings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp Chassis Alias:my chassis Traps Enabled: None Port Traps Enabled:None Community-Access Community-String ---------------- -------------------read-only public read-write private read-write-all secret Trap-Rec-Address Trap-Rec-Community Trap-Rec-Port Trap-Rec-Owner Trap-Rec-Index ---------------- ------------------ ------------- -------------- -------------Console> (enable) Table 2-76 describes the possible fields (depending on the por
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp access show snmp access To display SNMP access information, use the show snmp access command. show snmp access [volatile | nonvolatile | read-only] show snmp access [-hex] groupname security-model {v1 | v2c} show snmp access [-hex] groupname security-model v3 {noauthentication | authentication | privacy} [context [-hex] contextname] Syntax Description volatile (Optional) Displays information for volatile storage types.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp access There are three versions of SNMP: • Version 1 (SNMPv1)—This is the initial implementation of SNMP. Refer to RFC 1157 for a full description of functionality. • Version 2 (SNMPv2c)—The second release of SNMP, described in RFC 1902, has additions and enhancements to data types, counter size, and protocol operations.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp access-list show snmp access-list To display SNMP access list numbers and corresponding IP addresses and IP masks, use the show snmp access-list command. Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp buffer show snmp buffer To display the number of SNMP packets that can be saved in the SNMP UDP socket receive buffer, use the show snmp buffer command. show snmp buffer Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp community show snmp community To display SNMP context information, use the show snmp community command. show snmp community show snmp community [read-only | volatile | nonvolatile] show snmp community index [-hex] {index name} Syntax Description read-only (Optional) Specifies that the community is defined as read only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp community This example shows the display output when you enter the show snmp community command for the read-only, the read-write, and the read-write-all community strings in privileged mode: Console> (enable) show snmp community Community Index: sysCommunityRo.0 Community Name: public Security Name: public Context Name: Transport Tag: Storage Type: read-only Row Status: active Community Index: sysCommunityRw.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp context show snmp context To display SNMP context information, use the show snmp context command. show snmp context Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp counters show snmp counters To display SNMP counter information, use the show snmp counters command. show snmp counters [v3 | {{mod/port} {dot1d | dot3 | hcrmon | ifmib | rmon}}] Syntax Description v3 (Optional) Specifies SNMPv3 counters. mod/port Module number and port number. dot1d Specifies dot1d counters. dot3 Specifies dot3 counters. hcrmon Specifies HCRMON counters. ifmib Specifies if-MIB counters.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp counters snmpInASNParseErrs snmpInTooBigs snmpInNoSuchNames snmpInBadValues snmpInReadOnlys snmpInGenErrs snmpInTotalReqVars snmpInTotalSetVars snmpInGetRequests snmpInGetNexts snmpInSetRequests snmpInGetResponses snmpInTraps snmpOutTooBigs snmpOutNoSuchNames snmpOutBadValues snmpOutGenErrs snmpOutGetRequests snmpOutGetNexts snmpOutSetRequests snmpOutGetResponses snmpOutTraps Console> = = = = = = = = = = = = = = = = = = = = = = 0
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp counters Table 2-77 show snmp counters Command Output Fields (continued) Field Description snmpInTotalReqVars Number of MIB objects retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs. snmpInTotalSetVars Number of MIB objects altered successfully by the SNMP protocol entity as the result of receiving valid SNMP Set-Request PDUs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp counters Table 2-77 show snmp counters Command Output Fields (continued) Field Description snmpInTraps Number of SNMP Trap PDUs accepted and processed by the SNMP protocol entity. snmpOutTooBigs Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as “tooBig.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp engineid show snmp engineid To display the SNMP local engine ID, use the show snmp engineid command. show snmp engineid Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If the SNMP engine ID is cleared, the system automatically regenerates a local SNMP engine ID.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp group show snmp group To display the name of the SNMP group or collection of users who have a common access policy, use the show snmp group command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp group The SNMP functionality on the Catalyst enterprise LAN switches for SNMP v1 and SNMP v2c remains intact; however, the functionality has greatly expanded for SNMPv3. Refer to the “Configuring SNMP” chapter of the Catalyst 6500 Series Switch Software Configuration Guide for more information on SNMPv3. The read-only keyword is supported for security model v3 only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp ifalias show snmp ifalias To display SNMP interface aliases, use the show snmp ifalias command. show snmp ifalias [ifIndex] show snmp ifalias module mod show snmp ifalias vlan [vlan] show snmp ifalias channel Syntax Description ifIndex (Optional) Number of the interface index. module Displays module interface aliases. mod Number of the module. vlan Displays VLAN interface aliases. vlan (Optional) Number of the VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp notify show snmp notify To display the snmpNotifyTable configuration, use the show snmp notify command. show snmp notify [volatile | nonvolatile | read-only] show snmp notify [-hex] {notifyname} Syntax Description volatile (Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp notify Table 2-80 describes the fields in the show snmp notify command output. Table 2-80 show snmp notify Command Output Fields Related Commands Field Description Notify Name Unique identifier used to index the snmpNotifyTable. Notify Tag Name of the entry in the snmpNotifyTable. Notify Type Type of notification. Storage Type Storage type (volatile or nonvolatile). Row Status Status of the entry.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp rmonmemory show snmp rmonmemory To display the memory usage limit in percentage, use the show snmp rmonmemory command. show snmp rmonmemory Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp targetaddr show snmp targetaddr To display the SNMP target address entries in the snmpTargetAddressTable, use the show snmp targetaddr command. show snmp targetaddr [volatile | nonvolatile | read-only] show snmp targetaddr [-hex] {addrname} Syntax Description volatile (Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp targetaddr Table 2-81 describes the fields in the show snmp targetaddr command output. Table 2-81 show snmp targetaddr Command Output Fields Related Commands Field Description Target Address Name Name of the target address. IP Address Target IP address. UDP Port # Number of the UDP port of the target host to use. Timeout Number of timeouts. Retry count Number of retries.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp targetparams show snmp targetparams To display the SNMP parameters used in the snmpTargetParamsTable when generating a message to a target, use the show snmp targetparams command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp targetparams Table 2-82 describes the fields in the show snmp targetparams command output. Table 2-82 show snmp targetparams Command Output Fields Field Description Target Parameter Name A unique identifier used to index the snmpTargetParamsTable. Related Commands Message Processing Model Version number used by the Message Processing Model. Security Name Security string definition.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp user show snmp user To display SNMP information for a specific user, use the show snmp user command. show snmp user [volatile | nonvolatile | read-only] show snmp user [-hex] {user} [remote {engineid}] show snmp user summary Syntax Description volatile (Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp user Table 2-83 describes the fields in the show snmp user command output. Table 2-83 show snmp user Command Output Fields Related Commands Field Description EngineId String identifying the name of the copy of SNMP on the device. User Name String identifying the name of the SNMP user. Authentication Protocol Type of authentication protocol. Privacy Protocol Type of privacy authentication protocol.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp view show snmp view To display the SNMP MIB view configuration, use the show snmp view command. show snmp view [volatile | nonvolatile | read-only] show snmp view [-hex] {viewname} {subtree} Syntax Description volatile (Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp view Table 2-84 describes the fields in the show snmp view command output. Table 2-84 show snmp view Command Output Fields Related Commands Field Description View Name Name of a MIB view. Subtree OID Name of a MIB subtree in OID format or a text name mapped to a valid OID. Subtree Mask Subtree mask can be all ones, all zeros, or a combination of both. View Type Status of whether the MIB subtree is included or excluded.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show span show span To display information about the current SPAN configuration, use the show span command. show span [all] Syntax Description all Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display SPAN information for the switch. In this example, the SPAN source is port 2/1 and the SPAN destination is port 2/12.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show span Table 2-85 show span Command Output Fields (continued) Related Commands Field Description Multicast Status of whether monitoring multicast traffic is enabled or disabled. Filter Monitored VLANs in source trunk ports. Max. Bandwidth Bandwidth limits for SPAN traffic, in Mbps. clear config set spantree root Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree show spantree To display spanning tree information for a VLAN or port, use the show spantree command. show spantree [vlan] [active] show spantree mod/port Syntax Description vlan (Optional) Number of the VLAN; valid values are from 1 to 1001 and from 1025 to 4094. active (Optional) Displays only the active ports. mod/port Number of the module and the port on the module. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree Examples This example (while in PVST+ mode) shows how to display the active spanning tree port configuration for VLAN 1: Console> VLAN 1 Spanning Spanning Spanning (enable) show spantree 1 active tree mode tree type tree enabled PVST+ ieee Designated Root 00-60-70-4c-70-00 Designated Root Priority 16384 Designated Root Cost 19 Designated Root Port 2/3 Root Max Age 14 sec Hello Time 2 sec Forward Delay 10 sec Bridge ID MAC ADD
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree Port -----------------------3/3 5/1 6/5 Console> State ------------forwarding forwarding forwarding Role Cost Prio Type ---- -------- ---- -------------------DESG 19 32 P2P, PEER(STP) DESG 4 32 P2P, Edge DESG 4 32 P2P This example (while in Rapid PVST+ mode) shows how to display the spanning tree configuration for module 5, port 1: Console> show spantree 5/1 Edge Port: Yes, (Configured) Disable Link Type: P2P, (Configured) Au
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree Table 2-86 show spantree Command Output Fields (continued) Related Commands Field Description Forward Delay Amount of time the bridge spends in listening and learning mode. Port Port number. Vlan VLAN to which the port belongs. Port-State Spanning tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging, or type-pvid-inconsistent).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree backbonefast show spantree backbonefast To display whether the spanning tree BackboneFast Convergence feature is enabled, use the show spantree backbonefast command. show spantree backbonefast Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree blockedports show spantree blockedports To display only the blocked ports on a per-VLAN or per-instance basis, use the show spantree blockedports command. show spantree blockedports [vlans] show spantree blockedports mistp-instance [instance] show spantree blockedports mst [instance] Syntax Description vlans (Optional) Number of the VLANs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree blockedports Related Commands show spantree Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree bpdu-filter show spantree bpdu-filter To display information about BPDU filtering, use the show spantree bpdu-filter command. show spantree bpdu-filter [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree bpdu-guard show spantree bpdu-guard To display information about BPDU guard, use the show spantree bpdu-guard command. show spantree bpdu-guard [mod[/port]] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree bpdu-skewing show spantree bpdu-skewing To display BPDU skewing detection status, use the show spantree bpdu-skewing command. show spantree bpdu-skewing vlan [mod/port] show spantree bpdu-skewing {mistp-instance instance} mod/port show spantree bpdu-skewing mst [instance | mod/port] Syntax Description vlan Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree bpdu-skewing . .
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree conflicts show spantree conflicts To display the MAC address of the root switch in the instance, the time remaining before the VLAN joins the instance, and the number of seconds left before the entry expires and is removed from the table, use the show spantree conflicts command. show spantree conflicts vlan Syntax Description vlan Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree conflicts This example shows the output if there are conflicts on the specified VLAN: Console> (enable) show spantree conflicts 1 Inst MAC Delay Time left ---- ----------------- --------- --------1 00-30-a3-4a-0c-00 inactive 35 3 00-30-f1-e5-00-01 inactive 23 Console> (enable) Table 2-88 describes the fields in the show spantree conflicts command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree defaultcostmode show spantree defaultcostmode To display the current default port cost mode, use the show spantree defaultcostmode command. show spantree defaultcostmode Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree guard show spantree guard To display spanning tree guard information for the VLANs or instances on a port, use the show spantree guard command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree guard Examples This example shows how to display spanning tree guard information for a specific VLAN: Console> show spantree guard 1004 Port Vlan Port-State Guard type ---- ---- ------------------- -----------1/1 1004 root-inconsistent root 1/2 1004 not-connected none 2/1 1004 loop-inconsistent loop 2/2 1004 forwarding loop . . .
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mapping show spantree mapping To display VLAN and instance mapping information, use the show spantree mapping. show spantree mapping [config] Syntax Description config Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not enter the optional config keyword, the mapping information propagated from the root switch in the instance is displayed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mapping This example shows how to display mappings configured on the local switch: Console> (enable) show Inst Root Mac ---- ----------------1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Console> (enable) Related Commands spantree mapping config Vlans -------------------------------------------------1 - set vlan Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mistp-instance show spantree mistp-instance To display instance information, use the show spantree mistp-instance command. show spantree mistp-instance [instance] [active] show spantree mistp-instance mod/port Syntax Description instance (Optional) Instance number; valid values are from 1 to 16. active (Optional) Displays only active ports. mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mistp-instance Table 2-89 describes the fields in the show spantree mistp-instance command output: Table 2-89 show spantree mistp-instance Command Output Fields Field Description Instance Instance for which spanning tree information is shown. Spanning tree mode Spanning tree mode. Spanning tree type Spanning tree type. Spanning tree instance Status of whether spanning tree instance is enabled or disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mst show spantree mst To display MST information, use the show spantree mst command. show spantree mst [instance | mod/port] show spantree mst active Syntax Description instance Number of the instance; valid values are from 0 to 15. mod/port Number of the module and the port on the module. active Displays active IST ports only. Defaults The default instance is instance 0 (IST). Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mst This example shows how to display MST instance-specific information for instance 1: Console> (enable) show spantree mst 1 Spanning tree mode MST Instance 1 VLANs Mapped: 1 Designated Designated Designated Designated Root Root Priority Root Cost Root Port Bridge ID MAC ADDR Bridge ID Priority Port -----------------------5/1 5/2 7/48 Console> (enable) 00-d0-00-b3-68-00 32769 (root priority:32768, sys ID ext:1) 0 Remaining Ho
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mst config show spantree mst config To display the MST region information present in NVRAM and to display changes that have not been applied to the MST region configuration yet, use the show spantree mst config command. show spantree mst config Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree mst config 7 301-400 8 9 10 11 12 13 14 15 ================================================ Edit buffer is locked by: Console Console> (enable) Related Commands clear spantree mst set spantree mst config Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree portfast show spantree portfast To display PortFast information, use the show spantree portfast command. show spantree portfast [mod/port] Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines When you enter the show spantree portfast command, if the designation for a port is displayed as an edge port, it is a PortFast port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree portinstancecost show spantree portinstancecost To show the path cost for the instances on a port, use the show spantree portinstancecost command. show spantree portinstancecost mod/port Syntax Description mod/port Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree portvlancost show spantree portvlancost To show the path cost for the VLANs or extended-range VLANs, use the show spantree portvlancost command. show spantree portvlancost mod/port | extended-range Syntax Description mod/port Number of the module and the port on the module. extended-range Specifies extended-range VLANs. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics show spantree statistics To show spanning tree statistical information, use the show spantree statistics command. show spantree statistics mod/port [vlan] show spantree statistics mod/port mistp-instance [instance] show spantree statistics mod/port mst [instance] Syntax Description mod/port Number of the module and the port on the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics PORT based information & statistics config bpdu's xmitted (port/VLAN) 0(0) config bpdu's received (port/VLAN) 0(0) tcn bpdu's xmitted (port/VLAN) 0(0) tcn bpdu's received (port/VLAN) 0(0) forward trans count 0 Status of Port Timers forward delay timer INACTIVE forward delay timer value 0 message age timer INACTIVE message age timer value 0 topology change timer INACTIVE topology change timer value 0 hold timer INACTIV
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics This example shows how to display instance-specific information: Console> (enable) show spantree statistics 2 mistp-instance 2 Port 2/1 Instance 2 SpanningTree enabled for instance = 2 BPDU-related parameters port spanning tree enabled state forwarding port_id 0x8041 port number 0x41 path cost 20000 message age (port/inst) 1(20) designated_root 00-50-3e-8f-8c-00 designated_cost 0 designated_bridge 00-50-3e-8f-8c-00 des
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics num of similar bpdus to process received_inferior_bpdu next state src mac count: total src mac count curr_src_mac next_src_mac channel_src_mac channel src count channel ok count Console> 0 FALSE 3 0 0 00-00-00-00-00-00 00-00-00-00-00-00 00-00-00-00-00-00 0 0 This example shows how to display MST instance-specific information: Console> show spantree statistics 8/1 mst 0 Port 8/1 Instance 0 SpanningTree enabled for in
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics bridge forward delay topology change initiator: last topology change occured: topology change topology change time topology change detected topology change count topology change last recvd.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics Table 2-90 show spantree statistics Command Output Fields (continued) Field Description port_inconsistency Status of whether the port is in an inconsistent (PVID or port type) state or not. PORT-based information and statistics config bpdu's xmitted (port/VLAN) Number of BPDUs transmitted from the port.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree statistics Table 2-90 show spantree statistics Command Output Fields (continued) Field Description bridge forward delay Value of the Forward Delay parameter when the bridge is the root or is attempting to become the root. topology change initiator: Number of the port that caused the topology change.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree summary show spantree summary To display a summary of spanning tree information, use the show spantree summary command. show spantree summary [novlan] show spantree summary {mistp-instance | mst} [noinstance] Syntax Description novlan (Optional) Displays non-VLAN-specific information only. mistp-instance Displays MISTP instance-specific information only. mst Displays MST instance-specific information only.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree summary This example shows how to display non-VLAN-specific information only: Console> show spantree summary novlan Spanning tree mode: RAPID-PVST+ MAC address reduction: enabled Root switch for vlans: none. Global loopguard is disabled on the switch. Global portfast is disabled on the switch. BPDU skewing detection disabled for the bridge. BPDU skewed for vlans: none. Portfast bpdu-guard disabled for bridge.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree summary This example shows how to display a summary of spanning tree MST instance information: Console> show spantree summary mst MAC address reduction:disabled Root switch for MST instances:none. Global loopguard is disabled on the switch. Global portfast is disabled on the switch. BPDU skewing detection enabled for the bridge. BPDU skewed for MST instances: none. Portfast bpdu-guard disabled for bridge.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree uplinkfast show spantree uplinkfast To show the UplinkFast feature settings, use the show spantree uplinkfast command. show spantree uplinkfast [{mistp-instance [instances]} | vlans] Syntax Description mistp-instance instances (Optional) Keyword and (optional) variable to display instance-specific information; valid values are from 1 to 16.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show spantree uplinkfast This example shows how to display the UplinkFast feature settings for a specific instance: Console> show spantree uplinkfast mistp-instance 1 Station update rate set to 15 packets/100ms. uplinkfast all-protocols field set to off.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show startup-config show startup-config To display the startup configuration file contained in NVRAM or specified by the CONFIG_FILE environment variable, use the show startup-config command. show startup-config Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show startup-config #vtp set vtp domain dan set vtp mode transparent set vlan 1 name default type ethernet mtu 1500 said 100001 state active set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state acti e stp ieee set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active s p ibm set vlan 2,10-11 set vlan 1003 name token-ring-defau
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show startup-config #module 8 empty ! #module 9 empty ! #module 15 empty ! #module 16 empty end Console> (enable) Related Commands show running-config Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show summertime show summertime To display the current status of the summertime feature, use the show summertime command. show summertime Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system show system To display system information, use the show system command. show system Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The switching bus traffic values displayed apply to a single bus.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system Core Dump Core File ------------------------ ----------------------enabled bootflash:crashinfo Syslog Dump Syslog File ------------------------ ----------------------enabled bootflash:sysloginfo Console> This example shows how to display system information on a system configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2): Console> show system Console> (enable) show system PS1-Status PS2-Status ----------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system Syslog Dump Syslog File ------------------------ ----------------------enabled bootflash:sysloginfo Console> Table 2-91 describes the fields in the show system command output. Table 2-91 show system Command Output Fields Field Description PS1-Status Status of power supply 1 (ok, fan failed, faulty, or none). PS2-Status Status of power supply 2 (ok, fan failed, faulty, or none).
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system Related Commands set system baud set system contact set system core-dump set system core-file set system countrycode set system location set system modem set system name set system syslog-dump set system syslog-file Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system highavailability show system highavailability To display the system high-availability configuration settings, use the show system highavailability command. show system highavailability Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system supervisor-update show system supervisor-update To display the Erasable Programmable Logic Device (EPLD) upgrade process configuration, use the show system supervisor-update command. show system supervisor-update Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show system switchmode show system switchmode To display the system switching mode setting, use the show system switchmode command. show system switchmode Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show tacacs show tacacs To display the TACACS+ protocol configuration, use the show tacacs command. show tacacs [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display the TACACS+ protocol configuration: (Optional) Forces the display to show IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show tacacs Table 2-92 show tacacs Command Output Fields (continued) Related Commands Field Description Tacacs timeout Time in seconds to wait for a response from the TACACS+ server. Tacacs direct request Status of whether TACACS+ directed-request option is enabled or disabled. Tacacs-Server IP addresses or IP aliases of configured TACACS+ servers. Status Primary TACACS+ server.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show tech-support show tech-support To display system and configuration information you can provide to the Cisco Technical Assistance Center when reporting a problem, use the show tech-support command. show tech-support [{module mod} | {port mod/port}] [vlan vlan] [mistp-instance instance] [mst instance] [memory] [config] Syntax Description module mod (Optional) Specifies the module number of the switch ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show tech-support If you specify the config keyword, the show tech-support command displays the output of these commands: • show config • show flash • show log • show microcode • show module • show port • show spantree active • show spantree summary • show system • show test • show trunk • show version • show vlan Note If MISTP is running, the output from the show spantree mistp-instance active and show spantree summ
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show tech-support • show system • show spantree active • show version If you specify a module, port, or VLAN number, the system displays general system information and information for the component you specified. Related Commands See the commands listed in the “Usage Guidelines” section. Catalyst 6500 Series Switch Command Reference—Release 7.
22 2 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show test show test To display the errors reported from the diagnostic tests, the diagnostic level, and the action that the supervisor engine takes after a diagnostics test failure, use the show test command. show test [mod] show test diaglevel show test diagfail-action Syntax Description mod (Optional) Number of the module.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show test DontLearnTest: . ConditionalLearnTest: . BadBpduTest: . TrapTest: . Loopback Status [Reported by Module 2] : Ports 1 2 ----------. . Channel Status : Ports 1 2 ----------. . This example shows the error display for module 3: Console> show test 3 Module 3 : 12-port 1000BaseX Ethernet Line Card Firmware Status for Module 3 : PASS Port Status : Ports 1 2 3 4 5 6 7 8 9 10 11 12 ----------------------------------------. . . . . . . . .
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show test This example shows the display if you do not specify a module: Console> show test Environmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present) PS1:. PS2:N PS1 Fan:. PS2 Fan:N Chassis-Ser-EEPROM:. Fan:. Clock(A/B):A Clock A:. Clock B:. VTT1:. VTT2:. VTT3:. Module 1 :2-port 1000BaseX Supervisor Network Management Processor (NMP) Status:(. = Pass, F = Fail, U = Unknown) ROM: . Flash-EEPROM:. Ser-EEPROM:. NVRAM:. EOBC Comm:.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show test Table 2-93 describes the possible fields in the show test command output. The fields shown depend on the module type queried. Table 2-93 show test Command Output Fields Field Description Environmental Status Test results that apply to the general system environment. PS (3.3V) Test results for the 3.3 V power supply. PS (12V) Test results for the 12 V power supply. PS (24V) Test results for the 24 V power supply.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show test Table 2-93 show test Command Output Fields (continued) Related Commands Field Description DPRAM Test results for the dual-port RAM. SAMBA Test results for the SAMBA chip. Saints Test results for the SAINT chips. Pkt Bufs Test results for the packet buffers. Repeater Test results for the repeater module. FLASH Test results for the Flash memory.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show time show time To display the current time of day in the system clock, use the show time command. show time Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show timezone show timezone To display the current time zone and offset, use the show timezone command. show timezone Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show top show top To start the TopN process, use the show top command. show top [N] [metric] [interval interval] [port_type] [background] Syntax Description N (Optional) Number of ports displayed; valid values are 1 to a maximum number of physical ports.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show top Usage Guidelines You can terminate TopN processes with the background option specified only by using the clear top [report_num] command. TopN reports with the background option specified are not displayed on the screen unless you enter a show top report [report_num] command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show top report show top report To list all TopN processes and specific TopN reports, use the show top report command. show top report [report_num] Syntax Description report_num Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show top report This example shows how to display the available TopN report 2 (shown in the first example) for the switch: Console> show top report 2 Start Time: 03/09/2000,11:34:00 End Time: 03/09/2000,11:34:33 PortType: all Metric: util Port Band- Uti Tx/Rx-bytes width % ----- ----- --- -------------------/15 100 88 98765432109876543210 5/48 10 75 44532 5/47 10 67 5432 5/46 10 56 1432 5/45 10 54 432 5/44 10 48 3210 5/43 10 45 432 5/42 10 37
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show traffic show traffic To display traffic and peak information, use the show traffic command. show traffic Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show trunk show trunk To display trunking information for the switch, use the show trunk command. show trunk [mod[/port]] [detail] [extended-range] Syntax Description mod (Optional) Number of the module. port (Optional) Number of the port on the module. detail (Optional) Shows detailed information about the specified trunk port. extended-range (Optional) Shows trunking information for extended-range VLANs.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show trunk Examples This example shows how to display trunking information for the switch: Console> show trunk * - indicates vtp domain mismatch # - indicates dot1q-all-tagged enabled on the port Port Mode Encapsulation Status Native vlan ----- ------- -------------------- --------- ---------------1/1 desirable dot1q trunking# 1 1/2 auto n-dot1q trunking 1 Console> This example shows how to display detailed information about the specified t
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show trunk Port -------3/1 Vlans allowed and active in management domain --------------------------------------------------------------------2 Port -------3/1 Console> Vlans in spanning tree forwarding state and not pruned --------------------------------------------------------------------- This example shows how to include information about extended-range VLANs: Console> show trunk extended-range Port Status Vlans allowed on trunk ------
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show udld show udld To display UDLD information, use the show udld command. show udld show udld port [mod[/port]] Syntax Description port Specifies module and ports or just modules. mod (Optional) Number of the module for which UDLD information is displayed. port (Optional) Number of the port for which UDLD information is displayed. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show udld Table 2-95 describes the fields in the show udld command output. Table 2-95 show udld Command Output Fields Related Commands Field Description UDLD Status of whether UDLD is enabled or disabled. Port Module and port numbers. Admin Status Status of whether administration status is enabled or disabled. Aggressive Mode Status of whether aggressive mode is enabled or disabled.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show users show users To show if the console port is active and to list all active Telnet sessions with the IP address or IP alias of the originating host, use the show users command. show users [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show version show version To display software, hardware, and web interface version information, use the show version command. show version [mod] show version epld [mod] Syntax Description mod (Optional) Number of the module. epld Displays the Erasable Programmable Logic Device (EPLD) upgrade process configuration for non-supervisor engine modules. Defaults This command has no default settings. Command Types Switch command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show version DRAM FLASH NVRAM Module Total Used Free Total Used Free Total Used Free ------ ------- ------- ------- ------- ------- ------- ----- ----- ----1 65408K 45402K 20006K 16384K 8683K 7701K 512K 253K 259K Uptime is 1 day, 19 hours, 54 minutes Console> (enable) This example shows how to display version information for a specific module: Console> Mod Port --- ---3 2 (enable) show version 3 Model Serial # Versions ------------------- -
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show version Table 2-96 describes the fields in the show version command output. Table 2-96 show version Command Output Fields Related Commands Field Description NmpSW Version number of the NMP software. NMP S/W compiled on Date and time that the NMP software was compiled. System Bootstrap Version System bootstrap version number. Web Interface Version Web interface version number. Hardware Version Hardware version number.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan show vlan To display VLAN information, use the show vlan command. show vlan [trunk] show vlan vlans [notrunk] show vlan mapping show vlan type show vlan summary show vlan firewall-vlan mod Syntax Description trunk (Optional) Forces the display to show information only on trunk ports. vlans Number or range of VLANs; valid values are from 1 to 1000 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan 10 11 20 21 30 31 1002 1003 1004 1005 VLAN0010 VLAN0011 VLAN0020 VLAN0021 VLAN0030 VLAN0031 fddi-default token-ring-default fddinet-default trnet-default VLAN ---1 10 11 20 21 30 31 1002 1003 1004 1005 Type ----enet enet enet enet enet enet enet fddi trcrf fdnet trbrf VLAN ---1 10 11 20 21 30 31 1002 1003 1004 1005 Inst DynCreated RSPAN ---- ---------- -------1 static disabled static disabled static disabled static disabled stat
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan This example shows how to display information for a specific VLAN and type: Console> show vlan 2 fddi VLAN Name Status IfIndex Mod/Ports, Vlans ---- -------------------------------- --------- ------- -----------------------1002 fddi-default active 6 VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ -----2 fddi 101002 1500 0 0 VLAN Inst DynCreated
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan This example shows how to display a summary of active, suspended, and extended VLANs: Console> show vlan summary Vlan status Count Vlans ------------- -------------------------------------------------------VTP Active 504 1-100,102-500,1000,1002-1005 VTP Suspended 1 101 Extended Console> 1 2000 Table 2-97 describes the fields in the show vlan command output.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan Table 2-97 show vlan Command Output Fields (continued) Related Commands Field Description Secondary-Type Type of secondary VLAN port. Possible values are isolated, community, or -. Ports Number of the module and ports associated to a specific private VLAN pair. set trunk set vlan show trunk Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan counters show vlan counters To display counters for all VLANs or a range of VLANs, use the show vlan counters command. show vlan counters [vlans] Syntax Description vlans Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display counters for VLAN 1: Number or range of VLANs; valid values are from 1 to 1005 and from 1025 to 4094.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vlan counters Table 2-98 show vlan counters Output Fields (continued) Related Commands Field Description L3-Out-NonUnicast-Pkts Layer 3 nonunicast packets forwarded per output VLAN. L2-Unicast-Octets Layer 2 unicast octets per VLAN. L3-In-Unicast-Octets Layer 3 unicast octets per input VLAN. L3-Out-Unicast-Octets Layer 3 unicast octets per output VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps show vmps To display VMPS configuration information, use the show vmps command. show vmps [noalias] Syntax Description noalias Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display VMPS configuration information: (Optional) Forces the display to show IP addresses, not IP aliases.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps Table 2-99 show vmps Command Output Fields (continued) Related Commands Field Description State Status on whether VMPS is enabled or disabled. Operational Status VMPS status (active, inactive, or downloading). TFTP Server IP address of the VMPS server. TFTP File VMPS configuration filename. Fallback VLAN VLAN assigned if a VLAN is not assigned to a MAC address in the database.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps mac show vmps mac To display the MAC-address-to-VLAN mapping table, use the show vmps mac command. show vmps mac [mac_addr] Syntax Description mac_addr Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines If you do not specify a MAC address, the entire mapping table is displayed.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps statistics show vmps statistics To display the VMPS statistics, use the show vmps statistics command. show vmps statistics Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Usage Guidelines The statistics shown are based on the results of the reconfirm vmps command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps statistics Related Commands clear vmps statistics Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vmps vlan show vmps vlan To display all the MAC addresses assigned to a VLAN in the VMPS table, use the show vmps vlan command. show vmps vlan vlan_name Syntax Description vlan_name Defaults This command has no default settings. Command Types Switch command. Command Modes Normal. Examples This example shows how to display all MAC addresses assigned to the VLAN named Hardware: Name or number of the VLAN.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vtp domain show vtp domain To display VTP domain information, use the show vtp domain command. show vtp domain Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vtp domain Table 2-103 show vtp domain Command Output Fields (continued) Related Commands Field Description Vlan-count Total number of VLANs in the domain. Max-vlan-storage Maximum number of VLANs allowed on the device. Config Revision VTP revision number used to exchange VLAN information. Notifications Notifications to SNMP (enabled or disabled). Last Updater IP address through which VTP was last updated.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vtp statistics show vtp statistics To display VTP statistics, use the show vtp statistics command. show vtp statistics Syntax Description This command has no keywords or arguments. Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands show vtp statistics Table 2-104 show vtp statistics Command Output Fields (continued) Field Description No of config revision errors Number of config revision errors. No of config digest errors Number of config revision digest errors. Trunk Trunk port participating in VTP pruning. Join Transmitted Number of VTP-Pruning Joins transmitted. Join Received Number of VTP-Pruning Joins received.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands slip slip To attach or detach Serial Line Internet Protocol (SLIP) for the console port, use the slip command. slip {attach | detach} Syntax Description attach Activates SLIP for the console port. detach Deactivates SLIP for the console port. Defaults The default is SLIP is not active (detached). Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands squeeze squeeze To delete Flash files permanently, use the squeeze command. squeeze [m/]device: Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: Device where the Flash resides. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines A colon (:) is required after the specified device.
22 Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands stack stack To dump a stack trace of frames, use the stack command. stack [-d | -m] [num] Syntax Description -d (Optional) Dumps the ROM monitor stack. -m (Optional) Specifies addresses to dump. num (Optional) Number of frames. Defaults The default for num is five frames. Command Types ROM monitor command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands switch switch To switch the clock from the supervisor clock to the internal clock or from the active supervisor engine to the standby supervisor engine, use the switch command. switch {clock | supervisor} Syntax Description clock Switches the clock from the supervisor clock to the internal clock. supervisor Switches from the active supervisor engine to the standby supervisor engine. Defaults This command has no default settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands switch console switch console To switch the console connection physically to the MSFC on the active supervisor engine, use the switch console command. switch console [mNo] Syntax Description mNo Defaults The default is supervisor engine console. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported on Telnet sessions. (Optional) Module number.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands switch fabric switch fabric To reset the active Switch Fabric Module and allow the standby Switch Fabric Module to take over, use the switch fabric command. switch fabric [mNo] Syntax Description mNo Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Usage Guidelines This command is not supported on Telnet sessions.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands sync sync To write the working in-core copy of environment variables and the aliases out to NVRAM so they are read on the next reset, use the sync command. sync Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands sysret sysret To display the return information from the last booted system image, use the sysret command. sysret Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines The stack dump information displayed has a maximum of eight frames.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands telnet telnet To start a Telnet connection to a remote host, use the telnet command. telnet host [port] Syntax Description host Name or IP address of the remote host to which you want to connect. port (Optional) Specific port connection on the remote host. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands test cable-diagnostics test cable-diagnostics To test the condition of 10-Gigabit Ethernet links or copper cables on 48-port 10/100/1000 BASE-T modules, use the test cable-diagnostics command. test cable-diagnostics prbs {start | stop} mod/port test cable-diagnostics tdr mod/port Syntax Description prbs Specifies the Pseudo Random Binary Sequence (PRBS) test on a 10-Gigabit Ethernet link. start Activates the test.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands test cable-diagnostics Examples This example shows how to start the PRBS test on port 1 on module 5: Console> (enable) test cable-diagnostics prbs start 5/1 PRBS cable-diagnostic test started on port 5/1. Console> (enable) This example shows how to stop the PRBS test on port 1 on module 5: Console> (enable) test cable-diagnostics prbs stop 5/1 PRBS cable-diagnostic test stopped on port 5/1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands test snmp trap test snmp trap To send an SNMP trap message to the trap receivers, use the test snmp trap command. test snmp trap trap_num [specific_num] Syntax Description trap_num Number of the trap. specific_num (Optional) Number of a predefined trap. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands traceroute traceroute To display a hop-by-hop path through an IP network from the Catalyst 6500 series switch to a specific destination host, use the traceroute command. traceroute [-n] [-w wait_time] [-i initial_ttl] [-m max_ttl] [-p dest_port] [-q nqueries] [-t tos] host [data_size] Syntax Description -n (Optional) Option that prevents traceroute from performing a DNS lookup for each hop on the path.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands traceroute Usage Guidelines To interrupt traceroute after the command has been issued, press Ctrl-C. The traceroute command uses the TTL field in the IP header to cause routers and servers to generate specific return messages. Traceroute starts by sending a UDP datagram to the destination host with the TTL field set to 1.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands traceroute Table 2-105 describes the fields in the traceroute command output. Table 2-105 traceroute Command Output Fields Field Description 30 hops max, 40 byte packets Maximum TTL value and the size of the ICMP datagrams being sent. 2 ms 1 ms 1 ms Total time (in milliseconds) for each ICMP datagram to reach the router or host plus the time it took for the ICMP time-exceeded message to return to the host.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands unalias unalias To remove the alias name and associated value from the alias list, use the unalias command. unalias name Syntax Description name Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines You must issue a sync command to save your change. Otherwise, the change is not saved and the reset—ROM monitor command removes your change.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands undelete undelete To recover a deleted file on a Flash memory device, use the undelete command. The deleted file can be recovered using its index (because there could be multiple deleted files with the same name). undelete index [[m/]device:] Syntax Description index Index number of the deleted file. m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Device where the Flash resides.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands unset=varname unset=varname To remove a variable name from the variable list, use the unset=varname command. unset=varname Syntax Description varname Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines You must enter the sync command to save your change to NVRAM. Otherwise, the change is not saved and a reset removes your change.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands varname= varname= To set the variable VARNAME to varvalue, use the varname= command. Note that the syntax varname= sets the variable to a NULL string. varname=value Syntax Description varname= Name of the variable. value Any ROM monitor command. Defaults This command has no default settings. Command Types ROM monitor command. Command Modes Normal. Usage Guidelines Do not put a space before or after the equal (=) sign.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands verify verify To confirm the checksum of a file on a Flash device, use the verify command. verify [[m/]device:] filename Syntax Description m/ (Optional) Module number of the supervisor engine containing the Flash device. device: (Optional) Device where the Flash resides. filename Name of the configuration file. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands wait wait To cause the CLI to pause for a specified number of seconds before executing the next command, use the wait command. This command might be included in a configuration file. wait seconds Syntax Description seconds Defaults This command has no default settings. Command Types Switch command. Command Modes Normal.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands whichboot whichboot To determine which file booted, use the whichboot command. whichboot Syntax Description This command has no arguments or keywords. Defaults This command has no default settings. Command Types Switch command. Command Modes Privileged. Examples This example shows how to use the whichboot command: Console> whichboot Boot image name is 'slot0:cat6000-sup.6-1-1.bin'.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write write To upload the current configuration to the network or display the configuration information currently in running memory, use the write command. write network [all] write terminal [all] write {host file} [all] [rcp] write memory Syntax Description network Specifies interactive prompting for the IP address or IP alias of the host and the filename to upload. all (Optional) Specifies default and nondefault configuration settings.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write Examples This example shows how to upload the system5.cfg file to the mercury host: Console> (enable) write network IP address or name of host? mercury Name of configuration file to write? system5.cfg Upload configuration to system5.cfg on mercury (y/n) [y]? y / Done. Finished Network Upload. (9003 bytes) Console> (enable) This example shows how to upload the system5.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write This example shows how to upload the running system configuration to a prespecified location: Console> (enable) write memory Upload configuration to bootflash:switch.cfg 7165844 bytes available on device bootflash, proceed (y/n) [n]? y Console> (enable) Related Commands copy set config mode show config Catalyst 6500 Series Switch Command Reference—Release 7.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write tech-support write tech-support To generate a report that contains status information about your switch or upload the output of the command to a TFTP server, where you can send it to the Technical Assistance Center, use the write tech-support command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write tech-support Note If you are uploading the information to a file, make sure the file already exists in the TFTP server, the file has appropriate permissions, and the network connections are good before you issue the write tech-support command.
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands write tech-support • show proc mem • show proc cpu • show system • show spantree active • show version If you specify a module, port, or VLAN number, the system displays general system information and information for the component you specified. Examples This example shows how to upload the technical report: Console> (enable) write tech-support 172.20.32.10 tech.txt Upload tech-report to tech.txt on 172.20.32.
A P P E N D I X A Acronyms Table A-1 defines the acronyms used in this publication.
Appendix A Table A-1 Acronyms List of Acronyms (continued) Acronym Expansion CPLD Complex Programmable Logic Device CRC cyclic redundancy check CRF concentrator relay function DCC Data Country Code DEC Digital Equipment Corporation DFI Domain-Specific Part Format Identifier DHCP Dynamic Host Configuration Protocol DISL Dynamic Inter-Switch Link DMP data movement processor DNS Domain Name System DRAM dynamic RAM DRiP Dual Ring Protocol DSAP destination service access point DSB
Appendix A Acronyms Table A-1 List of Acronyms (continued) Acronym Expansion IETF Internet Engineering Task Force IDP initial domain part IDSM Intrusion Detection System Module IGMP Internet Group Management Protocol ILMI Integrated Local Management Interface IP Internet Protocol IPC interprocessor communication IPX Internetwork Packet Exchange ISL Inter-Switch Link ISO International Organization of Standardization IST Internal Spanning Tree KDC Key Distribution Center LACP Li
Appendix A Table A-1 Acronyms List of Acronyms (continued) Acronym Expansion MTP Media Termination Point MTU maximum transmission unit MVAP multiple VLAN access port NAM Network Analysis Module NDE NetFlow Data Export NMP Network Management Processor NSAP network service access point NTP Network Time Protocol NVRAM nonvolatile RAM OAM Operation, Administration, and Maintenance ODM order dependent merge OID object identifier OSI Open System Interconnection OUI organizational
Appendix A Acronyms Table A-1 List of Acronyms (continued) Acronym Expansion rcp Remote Copy Protocol RGMP Router-Ports Group Management Protocol RIF Routing Information Field RMON Remote Monitoring ROM read-only memory RSA Rivest, Shamir, and Adleman (a public-key cryptographic system) RSPAN remote SPAN RST reset RSVP ReSerVation Protocol SAID Security Association Identifier SAP service access point SIMM single in-line memory module SLCP Supervisor Line-Card Processor SLIP
Appendix A Table A-1 Acronyms List of Acronyms (continued) Acronym Expansion UART Universal Asynchronous Receiver/Transmitter UDLD UniDirectional Link Detection UDLP UniDirectional Link Protocol UDP User Datagram Protocol UNI User-Network Interface UTC Coordinated Universal Time VACL VLAN access control list VCC virtual channel connection (in ATM technology), virtual channel circuit VCI virtual circuit identifier VCR virtual configuration register VIP virtual IP address VLAN vir
I N D EX auto Symbols 2-390 force-authorized ? (help) force-unauthorized command completion displaying matches switch CLI 2-390 2-390 1-11 1-11 A 1-9 access control entries Numerics See QoS ACL 3DES keys defining removing See security ACL 2-313 See VACL 2-39 lists 802.1q See QoS ACL displaying status of the all-tagged feature on a port 2-877 setting the all-tagged feature on a port See security ACL See VACL 2-386 accounting 802.
Index Address Recognition Protocol specifying primary method authorization See ARP table TACACS+ adjacency displaying PBF information disabling 2-843 aggregate rate limit clearing 2-209 disabling authorization of privileged mode events 2-215 2-86 enabling aging time information displaying 2-676 alias clearing 2-7 defining 2-206 displaying 2-213 2-213 enabling authorization of EXEC mode events 2-217 enabling authorization of normal login mode 2-217 enabling authorization of privileg
Index clearing NAM boot string setting interval time 2-11 2-236 configuring auto-config file 2-226 setting MAC move notifications displaying NAM boot string 2-673 setting threshold parameters setting IDS environment removing entries 2-229 synchronizing auto-config file configuring hold time BOOT environment variable disabling displaying port state 2-232 boot file enabling determining which file booted 2-864 2-864 2-239 selecting version 2-1128 bootflash 2-239 CEF displaying in
Index command aliases command help controlling capitalization 1-8 deleting entries 1-9 command-line processing command modes console port IP addresses IP aliases moving around operating scrolling to specified text 1-11 1-7 1-6 1-6 transposing mistyped characters 1-11 1-7 command-line-interface 1-3 See CLI 1-2 command logging displaying summertime status 2-1056 clearing log entry table 2-47 displaying command log entries 2-366, 2-611 closing 2-778 command modes active console p
Index setting crossbar fabric 2-12 configuration register utility configuring selecting fallback action cryptographic keys 2-145 console See RSA keys setting port baud rate 2-613 switching console connection physically to MSFC on active supervisor engine 2-1111 contact person 2-614 disabling globally See CAM table 1-10 COPS clearing domain names clearing port roles 2-19 displaying clock 2-248 setting clock 2-382 displaying COPS information displaying policy tree information setting conn
Index setting action supervisor engine takes after test failure 2-636 disabling reauthentication setting level displaying backend authenticator information system displaying authenticator information 2-637 2-1069 disabling module 2-253 displaying guest VLAN 2-353 2-880 2-718 disabling UDLD information display 2-644 displaying system capabilities and protocol version 2-718 displaying configuration information 2-1129 displaying timer values 2-718 enabling authentication 2-253 displaying
Index displaying utilization environment displaying inline power status file system for disk0/1devices 2-720 displaying system status information checking and repairing 2-720 EPLD 2-170 Firewall Services Module configuring upgrading process for non-supervisor engine module images 2-162 clearing VLANs configuring upgrading process for supervisor engine images 2-625 securing VLANs displaying upgrade configuration for non-supervisor engine modules 2-1087 downloading image file displaying setti
Index General Attribute Registration Protocol disabling versioning 2-620 displaying configuration settings See GARP enabling GMRP clearing statistics information disabling Forward All displaying 2-265 disabling on specified ports displaying statistical information enabling Forward All 2-736 configuring ping 2-265 setting registration type I ICMP 2-266 enabling on specified ports setting timers 2-735 2-737 enabling in all VLANs 2-1119 2-398 displaying configuration information display
Index displaying status defining IP address of DNS server 2-720 instances displaying DNS domain name assigning port path cost displaying DNS name server 2-594 displaying BPDU skew status displaying information summary removing DNS server 2-1048 displaying instance information displaying list of MAC addresses, instance numbers, and timers 2-1025 displaying only blocked ports displaying path cost 2-1025 resetting port instance priority 2-1041 setting primary root 2-606 setting secondary ro
Index clearing Kerberos realm to DNS domain name map 2-37 LDA clearing secret key Link Control Protocol clearing specific Kerberos entry defining secret key configuring ASLB information 2-39 2-38 See LCP 2-313 link negotiation protocol deleting all Kerberos credentials 2-36 disabling credentials forwarding 2-35 disabling mandatory authentication displaying credentials information enabling authentication disabling on port 2-414 clearing command log entries 2-762 2-47 displaying command l
Index MAC counters clearing displaying enabling mapping VLANs 2-21 setting 2-782 displaying channel port utilization restoring 2-566 2-648 2-580 setting bridge forward delay 2-697 setting bridge hello time 2-191 macros 2-568 2-574 setting bridge maximum aging time setting Cisco IP Phone configuration macro setting Cisco Softphone configuration macro setting bridge priority 2-408 2-408 MDG setting primary root 2-604 2-606 setting secondary root disabling 2-263 enabling 2-263 2-60
Index enabling per-prefix statistics for all FIB entries 2-341 excluding Layer 4 ports in a load-balancing hash 2-340 including Layer 4 ports in a load-balancing hash 2-340 resetting NDE filter setting MLS bridged flow statistics setting rate limiting value specifying collector 2-339 2-336 2-343 module configuration displaying nondefault configuration 2-698 displaying current status of line protocol state determination of MSM 2-826 2-360 2-111 displaying MST configuration displaying MST info
Index See MDG enabling switch as NTP client 2-364 removing servers from table Multiple Spanning Tree See MST 2-65 removing server table entry 2-65 setting daylight saving time 2-366 NVRAM N NAM clearing NAM boot string clearing password 2-16 clearing stored system configuration information 2-16 committing ACEs 2-11 2-140 committing ASLB configuration 2-63 disabling SNMP extended RMON support displaying NAM boot string setting boot environment 2-535 2-229 O 2-357 opening module sess
Index peak disabling standard SNMP link trap displaying information displaying flow control information 2-1080 per port utilization displaying information disabling statistics data export displaying port capabilities 2-484 displaying port status 2-85 policy-based forwarding displaying status Port Aggregation Protocol 2-903 2-846 2-907 displaying trap status information See PAgP enabling port counters 2-403 enabling link negotiation protocol 2-191 2-911 2-394 enabling jumbo frames
Index powering module displaying configuration 2-356 power redundancy displaying mapping configuration turning redundancy between power supplies on or off 2-439 power supplies grouping ports mapping 2-934 2-648 2-648 mapping VLAN to primary VLAN turning redundancy on or off 2-439 setting type PRBS 2-444 2-648 PVST displaying counter values 2-897 displaying ports running test starting and stopping test setting 2-1116 Q See PVLAN QoS privileged level setting password applying autom
Index mapping IP precedence-to-DSCP defining IPX access lists 2-467 returning to factory-set CoS defaults 2-454 defining MAC access lists 2-73 2-457 returning to factory-set default for all packets arriving through untrusted port 2-73 detaching ACL returning to factory-set default values displaying ACL names in edit buffer displaying ACL management information 2-78 returning to factory-set threshold, queue, and threshold map defaults 2-78 setting CoS values displaying committed access lists
Index setting attributes in access requests setting deadtime configuring configuration register utility 2-494 displaying command aliases 2-495 2-2 setting encryption and authentication 2-496 displaying context of loaded image setting time between retransmissions 2-499 displaying main memory information setting up RADIUS server displaying NVRAM information 2-498 specifying RADIUS retransmit times rcp 2-177 2-177 2-177 displaying supported DRAM configurations clearing information displayi
Index shared key S clearing security access lists 2-89 SLIP See security ACL attaching security ACL 2-1107 configuring interfaces clearing changes from edit buffer committing to NVRAM configuring adjacency configuring log table 2-192 detaching 2-140 adding trap receiver table entry 2-519 clearing community index creating new entry in non-IP VACL 2-520 creating new entry in non-IPX VACL 2-520 displaying capture port list entries displaying committed ACL clearing IP address of host asso
Index displaying snmpNotifyTable configuration displaying target address entries displaying versions 2-1004 displaying target parameter entries enabling extendedrmon software 2-1001 SPAN 2-1006 configuring 2-535 enabling of standard SNMP link trap enabling RMON support disabling 2-434 2-552 establishing relationship between group and user 2-536 enabling removing access rights for specific context string 2-98 spanning tree removing access rights for specific security type removing indivi
Index displaying VLAN information displaying VLAN path cost enabling turning off UplinkFast 2-1014 SSH permit list 2-1040 adding 2-566 enabling BackboneFast enabling BPDU skewing enabling instance 2-556, 2-592 2-31 stack frame displaying 2-558 2-169 standby clock 2-566 enabling MAC address reduction enabling PortFast-start feature switching 2-577 enabling PortFast BPDU guard feature enabling UplinkFast 2-299 clearing 2-555 enabling BPDU packet filtering 2-124 2-557, 2-593 2-1110 s
Index Telnet system location 1-2 switch fabric channel identifying displaying counter information displaying switch mode and status displaying utilization setting 2-727 2-617 system log 2-727 clearing buffer 2-727 Switch Fabric Module displaying configuring LCD banners displaying LCD banners 2-48 2-776 displaying logging buffer 2-219 2-781 displaying system log configuration 2-671 switching 2-776 system logging messages from active supervisor engine to standby supervisor engine 2
Index disabling suppression of accounting information disabling TACACS+ directed-request option displaying accounting information 2-632 configuring 2-1064 enabling accounting of normal login session displaying 2-197 enabling accounting of outbound connection events 2-196 enabling authentication enabling authorization adding 2-200 2-671 2-31 displaying system status information 2-217 enabling authorization of privileged mode events enabling authorization of session events enabling command event
Index traps V displaying status information 2-911 VACL trunk clearing VLAN from allowed VLAN list displaying information 2-129 trunk ports configuring 2-641 2-516 displaying ACL management information 2-941 displaying current configuration two-way community 2-698 2-973 displaying VACL management information configuring PVLANs configuring VLAN 2-977 displaying configuration file location 2-641 2-510 creating new entry in standard IPX VACL displaying capture port list entries adding VL
Index mapping reserved VLANs to nonreserved VLANs 2-652 VTP configuration caution setting port voice interface DHCP server 2-130 DNS server VLAN ACL TFTP server See VACL 2-411 2-139 defining VTP password VLAN path cost 2-659 disabling VTP pruning 2-1040 2-659 displaying VTP domain information VLANs displaying VTP statistics mapping instances 2-648 enabling VTP pruning VMPS setting options configuring server 2-656 deleting rcp user name deleting server setting VTP mode displaying c
Index Catalyst 6500 Series Switch Command Reference—Release 7.