Table Of Contents
2show trace
Use the show trace command to display trace category and level.
show trace [all]
Syntax Description
Defaults
This command has no setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the active trace category and level information only:
Console> show traceTrace monitor is enabled for this session.Trace Category Level-------------- -----HTTP 3SYNFIG 5Console>This example shows how to display all trace category and level information:
Console> show trace allTrace monitor is enabled for this session.Trace Category Level-------------- -----ACCT offACL offBDD offCDP offCONFIG offCOPS offDHCP offDIAG offDNS offDRIP offDTP offDUPFLASH offDUPNVRAM offDYNVLAN offEARL offENVMON offEOBC offEPLD offESSR offEVMGR offFCP offFDDI offFDDI offFILESYS offHAMGR offHTTP offGARP offGVRP offINBAND offIPC offKERBEROS offL3AGE offL3SUP offLANE offLD offLLC offLTL offMBUF offMCAST offMDG offMEMDBG offMLS offMLSM offMODPORT offNTP offNVSYNC offOOB offPAGP offPROTFILT offPPWR offPRUNING offPRIVATEVLAN offQOS offRADIUS offREDUN offRSFC offRSVP offRUNTIMECFG offSCP offSECURITY offSLP offSNMP offSPAN offSTP offSYNCMGR offSYNFIG offSYSLOG 1TACACS offTEST offTFTP offTFTPD offUDLD offVERB offVMPS 1VTP offConsole>Related Commands
show traffic
Use the show traffic command to display Traffic and Peak information for each switching bus.
show traffic
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display Traffic and Peak information for each switching bus on Catalyst 5500 and Catalyst 5505 switches:
Console> show trafficSwitching-Bus Traffic Peak Peak-Time------------- ------- ---- -------------------------A 5% 10% Thu Mar 18 1999, 22:45:20B 4% 15% Fri Mar 19 1999, 09:59:31C 6% 8% Fri Mar 19 1999, 11:30:13Console>Related Commands
show trunk
Use the show trunk command to display trunking information for the switch.
show trunk [mod_num[/port_num]] [detail]
Syntax Description
mod_num
(Optional) Number of the module.
/port_num
(Optional) Number of the port.
detail
(Optional) Keyword to show detailed information about the specified trunk port.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
Entering the show trunk command without specifying a module or port number displays the actively trunking ports.
To display the trunking configuration for a port that is not actively trunking, specify the module and port number of the port you want to display.
The RSM port displays as a port that is always trunking, with allowed and active VLANs for each VLAN configured on the RSM.
The Catalyst 2948G and 2980G switches are fixed configuration switches. Ports are located on module 2 for the 2948G and on modules 2 and 3 for the 2980G; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.
Examples
This example shows how to display trunking information for the switch:
Console> (enable) show trunk* - indicates vtp domain mismatchPort Mode Encapsulation Status Native vlan-------- ----------- ------------- ------------ -----------2/1 auto dot1q trunking 14/9 auto isl trunking 14/10 desirable isl trunking 1Port Vlans allowed on trunk-------- ---------------------------------------------------------------------2/1 1-10054/9 1-10054/10 1-1005Port Vlans allowed and active in management domain-------- ---------------------------------------------------------------------2/1 1-5,10,50,152,500,521-524,5704/9 1,4-5,1003,10054/10 1,4-5,1003,1005Port Vlans in spanning tree forwarding state and not pruned-------- ---------------------------------------------------------------------2/1 1-5,10,50,152,500,521-524,5704/9 10054/10 1005Console> (enable)This example shows how to display trunking information for a specific port:
Console> (enable) show trunk 4/5* - indicates vtp domain mismatchPort Mode Encapsulation Status Native vlan-------- ----------- ------------- ------------ -----------4/5 nonegotiate dot1q trunking 1Port Vlans allowed on trunk-------- ---------------------------------------------------------------------4/5 1-1005Port Vlans allowed and active in management domain-------- ---------------------------------------------------------------------4/5 1-3,1003,1005Port Vlans in spanning tree forwarding state and not pruned-------- ---------------------------------------------------------------------4/5 1005Console> (enable)Table 2-80 describes the fields in the show trunk command output.
Related Commands
show udld
Use the show udld command to display UDLD information.
show udld
show udld port [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to find out whether or not UDLD is enabled:
Console> show udldUDLD : enabledMessage Interval :15 secondsConsole>This example shows how to display UDLD information for a specific module and port:
Console> show udld port 2/1UDLD :enabledMessage Interval :15 secondsPort Admin Status Aggressive Mode Link State-------- ------------ --------------- ----------------2/1 enabled disabled underterminedConsole>This example shows how to display UDLD information for all ports on a specific module:
Console> (enable) show udld port 1UDLD :enabledMessage Interval :15 secondsPort Admin Status Aggressive Mode Link State-------- ------------ --------------- ----------------1/1 disabled disabled not applicable1/2 disabled enabled not applicableConsole>Table 2-81 describes the fields in the show udld command output.
Related Commands
show users
Use the show users command 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.
show users [noalias]
Syntax Description
noalias
(Optional) Keyword that specifies to indicate, not to display, the IP alias; the IP address is displayed.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the users of the active Telnet sessions:
Console> show usersConsole Port------------ActiveTelnet Sessions User---------------------------------------- ------------------------------172.16.10.75172.16.10.75171.31.1.203Console>The output shows the state of the console port (active or inactive) and the IP address or IP alias of each active Telnet session.
Related Commands
show version—switch
Use the show version command to display software and hardware version information for switching and supervisor engine modules only.
show version [mod]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the software and hardware versions:
Console> show versionConsole> show versionWS-C5509 Software, Version NmpSW: 6.1(0.24)FTLCopyright (c) 1995-1999 by Cisco SystemsNMP S/W compiled on Aug 31 1999, 12:59:28System Bootstrap Version: 5.2(1)System Web Interface Version: 5.0(0.25)Hardware Version: 1.0 Model: WS-C5509 Serial #: SCA032100T8Mod Port Model Serial # Versions--- ---- ------------------- ----------- --------------------------------------1 2 WS-X5K-SUP1-2GE SAD03232101 Hw : 4.0Fw : 5.2(1)Fw1: 4.2(0.24)VAI78Sw : 5.3(0.74)MIA7-EngSw1: 5.3(0.74)MIA73 48 WS-X5223-RJ-45 SAD03257164 Hw : 1.1Fw : 4.2(0.24)VAI78Sw : 5.3(0.74)MIA75 48 WS-X5223-RJ-45 SAD03257171 Hw : 1.1Fw : 4.2(0.24)VAI78Sw : 5.3(0.74)MIA7DRAM FLASH NVRAMModule Total Used Free Total Used Free Total Used Free------ ------- ------- ------- ------- ------- ------- ----- ----- -----1 65408K 24747K 40661K 16384K 14543K 1841K 512K 203K 309KUptime is 2 days, 0 hour, 41 minutesConsole> (enable)This example show how to display version information for a specific module:
Console> (enable) show version 2Mod Port Model Serial # Versions--- ---- ------------------- ----------- --------------------------------------2 1 WS-X5403-NAM JAB0343055Y Hw : 0.201Fw : 4.2(0.24)DAY68Sw : 6.1(0.24)FTLConsole> (enable)Table 2-82 describes the fields in the show version command output.
Table 2-82 show version Command Output Fields
Field DescriptionMcpSW
Version number of the MCP software.
NmpSW
Version number of the NMP software.
NMP S/W compiled on
Date and time that the NMP software was compiled.
MCP S/W compiled on1
Date and time that the MCP software was compiled.
System Bootstrap Version
System bootstrap version number.
Web Interface Version
Web interface version number.
Hardware Version
Hardware version number.
Model
Switch model number.
Serial #
Switch serial number.
Module
Module number.
Ports
Number of ports on the module.
Model
Model number of the module.
Serial #
Serial number of the module.
Hw
Hardware version of the module.
Fw
Version of the firmware installed on the module. If this is a supervisor engine module, the Fw version number is the NMP boot ROM version level.
Fw1
Version of the second firmware image on the module, if present. If this is a supervisor engine module, the Fw1 version number is the MCP boot ROM version level.
Sw
Version of the software installed on the module.
Gsp1
Version of the gigabit switching platform.
Nmp1
Version of the supervisor engine software.
Module
Module number.
DRAM Total
Total dynamic RAM installed on the module.
Used
Amount of DRAM in use.
Free
Amount of available DRAM.
FLASH Total
Total Flash memory installed on the module.
Used
Amount of FLASH in use.
Free
Amount of available FLASH.
NVRAM Total
Total NVRAM installed on the module.
Used
Amount of NVRAM in use.
Free
Amount of available NVRAM.
Used
Amount of NVRAM in use.
Available
Amount of NVRAM available.
Uptime is
Number of uninterrupted days, hours, minutes, and seconds the system has been up and running.
1 This field is not supported on the Catalyst 4000 family and 2948G switches.
show vlan
Use the show vlan command to display VLAN information.
show vlan [trunk]
show vlan vlan [notrunk]
show vlan type
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
Each Ethernet switch port and Ethernet repeater group belong to only one VLAN. Trunk, FDDI/CDDI, and ATM ports can be on multiple VLANs.
Examples
This example shows how to display information for all VLANs:
Console> show vlanVLAN Name Status IfIndex Mod/Ports, Vlans---- -------------------------------- --------- ------- ------------------------1 default active 5 1/26/1-487/2-242 VLAN0002 active 3395 VLAN0005 active 34250 VLAN0050 active 346100 VLAN0100 active 347152 VLAN0152 active 348200 VLAN0200 active 349300 VLAN0300 active 350305 VLAN0305 active 354801 VLAN0801 active 338 338 802VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 0901 enet 100901 1500 - - - - - 0 0999 trbrf 100999 4472 - - 0xe ieee - 0 01002 fddi 101002 1500 - 0x0 - - - 0 01003 trcrf 101003 1500 0 0x0 - - - 0 01004 fdnet 101004 1500 - - 0x0 ieee - 0 01005 trbrf 101005 1500 - - 0x0 ibm - 0 0VLAN AREHops STEHops Backup CRF---- ------- ------- ----------1003 7 7 offConsole>Table 2-83 describes the fields in the show vlan command output.
.
Related Commands
show vlan mapping
Use the show vlan mapping command to display VLAN mapping table information.
show vlan mapping
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the VLAN mapping table information:
Console> show vlan mapping802.1q vlan ISL vlan Effective------------------------------------------1099 917 trueConsole>Table 2-84 describes the fields in the show vlan mapping command output.
Related Commands
set vlan mapping
clear vlan mappingshow vmps
Use the show vmps command to display VMPS configuration information.
show vmps [noalias]
Syntax Description
noalias
(Optional) Keyword that specifies to force the display to show IP addresses, not IP aliases.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display VMPS configuration information for Catalyst 5000 family and 2926G series switches:
Console> show vmpsVMPS Server Status:-------------------Management Domain: (null)State: disabledOperational Status: inactiveTFTP Server: defaultTFTP File: vmps-config-database.1Fallback VLAN: (null)Secure Mode: openVMPS No Domain Req: allowVMPS Client Status:---------------------VMPS VQP Version: 1Reconfirm Interval: 60 minServer Retry Count: 3VMPS domain server:No dynamic ports configured.Console>This example shows how to display VMPS configuration information for Catalyst 4000 family, 2948G, and 2980G series switches:
Console> show vmpsVMPS Client Status:---------------------VMPS VQP Version: 1Reconfirm Interval: 60 minServer Retry Count: 3VMPS domain server:No dynamic ports configured.Console>Table 2-85 describes the fields in the show vmps command output.
Related Commands
show vmps mac
Use the show vmps mac command to display the MAC-address-to-VLAN mapping table.
show vmps mac [mac_addr]
Syntax Description
mac_addr
(Optional) MAC address that allows you to see mapping information. If you do not specify a MAC address, the entire mapping table is displayed.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches and the Catalyst 2926G series switches.
Examples
This example shows the entire MAC-address-to-VLAN mapping table:
Console> show vmps macMAC Address VLAN Name Last Requestor Port ID Last Accessed Last Response----------------- --------- --------------- ------- ------------- -------------00-00-c0-23-c8-34 Hardware 198.4.222.111 3/5 0, 01:25:30 Success00-00-c0-25-c9-42 --NONE-- 198.4.222.111 2/1 0, 05:20:00 DeniedConsole>Table 2-86 describes the fields in the show vmps mac command output.
Related Commands
show vmps statistics
Use the show vmps statistics command to display the VMPS statistics (based on the results of the reconfirm vmps command).
show vmps statistics
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the VMPS statistics:
Console> show vmps statisticsVMPS Statistics:Last Enabled At: 2,01:30:05Config Requests: 20Invalid Requests: 0Status 'Error' Responses: 0Status 'Deny' Responses: 5MAC Address of Last Failed Request: 00-60-00-cc-01-02Console>Table 2-87 describes the fields in the show vmps statistics command output.
Related Commands
show vmps vlan
Use the show vmps vlan command to display all the MAC addresses assigned to a VLAN in the VMPS table.
show vmps vlan vlan_name
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches and the Catalyst 2926G series switches.
Examples
This example shows how to display all MAC addresses assigned to the Hardware VLAN in the VMPS table:
Console> show vmps vlan HardwareMAC Address VLAN Name Last Requestor Port ID Last Accessed Last Response----------------- --------- --------------- ------- ------------- -------------00-00-c0-23-c8-34 Hardware 198.4.222.111 3/5 0, 01:25:30 SuccessConsole>Table 2-88 describes the fields in the show vmps vlan command output.
Related Commands
