|
|
Use the show kerberos command to display the Kerberos configuration.
show kerberosThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display Kerberos configuration information:
kerberos> (enable) show kerberos Kerberos Local Realm:CISCO.COM Kerberos server entries: Realm:CISCO.COM, Server:187.0.2.1, Port:750 Kerberos Domain<->Realm entries: Domain:cisco.com, Realm:CISCO.COM Kerberos Clients NOT Mandatory Kerberos Credentials Forwarding Enabled Kerberos Pre Authentication Method set to None Kerberos config key: Kerberos SRVTAB Entries Srvtab Entry 1:host/niners.cisco.com@CISCO.COM 0 932423923 1 1 8 01;;8>00>50;0=0=0 kerberos> (enable)
Table 2-28 describes the fields in the show kerberos command output.
| Field | Description |
|---|---|
Kerberos Local Realm | Shows if local realm is configured. |
Kerberos server entries | Shows servers entered into the switch. |
Kerberos Domain<->Realm entries | Displays Kerberos domain and realm entries. |
Kerberos Clients NOT Mandatory | Shows whether Kerberos has been configured as mandatory on the clients. |
Kerberos Credentials Forwarding Disabled | Shows whether credentials forwarding is enabled or disabled. |
Kerberos Pre Authentication Method | Shows whether preauthentication is enabled or disabled. |
Kerberos config key | Shows whether a DES key has been configured. |
Kerberos SRVTAB entries | Shows the SRVTAB entries. |
Use the show kerberos creds command to display all the Kerberos credentials on the switch.
show kerberos credsThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display Kerberos credentials information:
Console> (enable) show kerberos creds No Kerberos credentials. Console> (enable)
Use the show log command to display the error log for the system or a specific module.
show log [mod_num]
mod_num | (Optional) Number of the module for which the log is displayed. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display the error log for the system:
Console> show log
Network Management Processor (ACTIVE NMP) Log:
Reset count: 86
Re-boot History: Nov 11 1998 7:27: 4 0, Oct 01 1998 16:15:25 0
Oct 01 1998 16:12:11 0, Aug 27 1998 15:13:42 0
Aug 27 1998 15:10: 5 0, Aug 27 1998 15: 7:19 0
Aug 27 1998 14:45:53 0, Aug 27 1998 14:44:40 0
Aug 27 1998 14:43:16 0, Aug 27 1998 14:33:19 0
Bootrom Checksum Failures: 0 UART Failures: 0
Flash Checksum Failures: 0 Flash Program Failures: 0
Power Supply 1 Failures: 21 Power Supply 2 Failures: 23
Swapped to CLKA: 0 Swapped to CLKB: 0
Swapped to Processor 1: 0 Swapped to Processor 2: 0
DRAM Failures: 0
Exceptions: 8
Last software reset by user: 11/11/98,07:26:28
Switching bus Timeout NMI
switching bus Last Card Grant(Slot No) = 0
Last Exception occurred on Aug 27 1998 15:07:55 ...
NVRAM log:
01. 5/26/97,01:56:33: convert_post_SAC_CiscoMIB:Nvram block 0 size
mismatch: 340
88(33960)
Module 3 Log:
Reset Count: 7
Reset History: Wed Nov 11 1998, 08:38:55
Wed Nov 11 1998, 01:28:43
Wed Nov 11 1998, 00:57:02
Tue Nov 10 1998, 14:56:37
Module 4 Log:
Reset Count: 1
Reset History: Wed Mar 11 1998, 10:09:55
Module 5 Log:
Reset Count: 6
Reset History: Wed Mar 11 1998, 08:39:03
Wed Mar 11 1998, 00:57:10
Tue Mar 10 1998, 14:56:45
Tue Mar 10 1998, 14:43:15
Console>
Table 2-29 describes the fields in the show log command output.
| Field | Description |
|---|---|
Network Management Processor (ACTIVE NMP) Log | Log that applies to the NMP on the supervisor engine module. |
Reset Count | Number of times the system has reset. |
Re-boot History | Date and times the system has rebooted. |
Bootrom Checksum Failures | Number of bootrom checksum failures. |
UART Failures | Number of times the UART has failed. |
Flash Checksum Failures | Number of times the Flash Checksum has failed. |
Flash Program Failures | Number of times the Flash Program has failed. |
Power Supply 1 Failures | Number of times Power Supply 1 has failed. |
Power Supply 2 Failures | Number of times Power Supply 2 has failed. |
DRAM Failures | Number of times the DRAM has failed. |
Exceptions: | Exceptions log. |
NVRAM log | Number of times NVRAM errors have occurred. |
Reset History | Date and times the system has reset. |
Use the show logging command to display the system message log configuration.
show logging [noalias]
noalias | (Optional) Keyword that specifies to display syslog servers in IP dotted format. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows the default system message log configuration:
Console <enable>show loggingLogging buffer size: 500timestamp option: enabledLogging history size: 1Logging console: enabledLogging server: disabledserver facility: LOCAL7server severity: warnings(4)Facility Default Severity Current Session Severity------------- ----------------------- ------------------------cdp 4 4drip 2 2dtp 5 5dvlan 2 2earl 2 2fddi 2 2filesys 2 2gvrp 2 2ip 2 2kernel 2 2mcast 2 2mgmt 5 5mls 5 5pagp 5 5protfilt 2 2pruning 2 2radius 2 2security 2 2snmp 2 2spantree 2 2sys 5 5tac 2 2tcp 2 2telnet 2 2tftp 2 2udld 4 4vmps 2 2vtp 2 20(emergencies) 1(alerts) 2(critical)3(errors) 4(warnings) 5(notifications)6(information) 7(debugging)Console>
Table 2-30 describes the fields in the show logging command output.
| Field | Description |
|---|---|
Logging console | Status of whether logging to the console is enabled or disabled. |
Logging server | Status of whether logging to the logging server is enabled or disabled. |
Current Logging Session | Status of whether system logging messages are sent to the current login session. |
Facility | Name of the facility to be logged. |
Server/Default Severity | Default severity level at which point an error from that facility is logged. |
Current Session Severity | Severity level at which point an error from that facility is logged during the current session. |
0 (emergencies), 1 (alerts)... | Key to the numeric severity level codes. |
clear logging server
set logging buffer
set logging level
set logging server
set logging session
show logging buffer
Use the show logging buffer command to display system messages from the internal buffer.
show logging buffer [-] [number_of_messages]
- | (Optional) Keyword that specifies to force the display to show system messages starting from the end of the buffer. |
number_of_messages | (Optional) Number of system messages to be displayed. The range of number_of_messages is 1 to 1023. |
Default setting is -20, the last 20 messages in the buffer are displayed.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
If the - keyword is not used, system messages are displayed from the beginning of the buffer. If number_of_messages is not specified, the last 20 messages in the buffer are displayed.
If the logging timestamp option is enabled, a timestamp is also included in the display. Use the set logging timestamp command to enable the timestamp option.
If the logging timestamp option is enabled, the +00:00 or -00:00 in the output indicates the hours and minutes offset from UTC.
This example shows how to display all the system messages from the internal buffer; this example displays the output with the timestamp option enabled:
Console <enable>show logging buffer1999 Mar 09 19:33:05 +00:00%SYS-5:Module 1 is online1999 Mar 09 19:33:05 +00:00%SYS-5:Module 5 is online1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start TrapConsole <enable>
This example shows how to display the first four system messages from the internal buffer; this example displays the output with the timestamp option disabled:
Console <enable>show logging buffer 4%SYS-5:Module 1 is online%SYS-5:Module 5 is online%SYS-5:Module 3 failed configurationConsole <enable>
This example shows how to display the last four system messages from the internal buffer; this example displays the output with the timestamp option enabled:
Console <enable>show logging buffer -41999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start TrapConsole <enable>
set logging timestamp
set logging buffer
Use the show mac command to display MAC counters.
show mac [mod_num[/port_num]]
mod_num | (Optional) Number of the module. If you do not specify a number, all modules are shown. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, all ports are shown. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
The Catalyst 2948G and 2980G 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 1/N, an error message will be displayed.
This example shows how to display MAC information for port 3 on module 4:
Console> show mac 3/4MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad-------- ---------- ---------- ---------- ---------- ---------- ----------3/4 0 0 0 0 0 0MAC Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost-------- ---------- ---------- ---------- ---------- ---------- ----------3/4 0 0 0 0 0 0MAC SMT-Address Curr-Path TReq TNeg TMax TVX------- ----------------- ---------- -------- -------- -------- --------3/4 00:06:7c:b3:bc:98 primary 165000 165000 165004 250900-60-3e-cd-3d-19MAC Upstream-Nbr Downstream-Nbr Old-Upstrm-Nbr Old-Downstrm-Nbr------- ----------------- ----------------- ----------------- -----------------3/4 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:0000-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00MAC Rcv-Smt Xmit-Smt Rcv-llc Xmit-llc Tvx-Exp-Ct RingOp-Ct------- ---------- ---------- ---------- ---------- ---------- ---------- 3/4 0 0 1 61 0 1 Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port Rcv-Octet Xmit-Octet -------- -------------------- -------------------- 3/4 0 0 Last-Time-Cleared -------------------------- Tue Apr 13 1999, 08:31:20 Console>
Table 2-31 describes possible fields displayed in the show mac command output.
| Field | Description |
|---|---|
MAC | Module and port. |
Rcv-Frms | Frames received on the port. |
Xmit-Frms | Frames transmitted on the port. |
Rcv-Multi | Multicast frames received on the port. |
Xmit-Multi | Multicast frames transmitted on the port. |
Rcv-Broad | Broadcast frames received on the port. |
Xmit-Broad | Broadcast frames transmitted on the port. |
Dely-Exced | Total transmit frames aborted due to excessive deferral. |
MTU-Exced | Frames for which the MTU size was exceeded. |
In-Discard | Incoming frames that were discarded because the frame did not need to be switched. |
Lrn-Discard | CAM entries discarded due to page full in EARL. |
In-Lost | Incoming frames that were lost before being forwarded (due to insufficient buffer space). |
On-Lost | Outgoing frames that were lost before being forwarded (due to insufficient buffer space). |
SMT-Address | SMT address of the FDDI port. |
Curr-Path | Current path used (primary or secondary). |
TReq | T-req (token rotation time request) value. |
TNeg | T-neg (negotiated token rotation time) value. |
TMax | T-max (maximum token rotation time) value. |
TVX | Value of the valid transmission timer. |
Upstream-Nbr | MAC address of the current upstream neighbor. |
Downstream-Nbr | MAC address of the current downstream neighbor. |
Old-Upstrm-Nbr | MAC address of the previous upstream neighbor. |
Old-Downstrm-Nbr | MAC address of the previous downstream neighbor. |
Rcv-Smt | Number of SMT frames received by the port. |
Xmit-Smt | Number of NSMT frames transmitted by the port. |
Rcv-llc | Number of NLLC frames received by the port. |
Xmit-llc | Number of LLC frames transmitted by the port. |
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-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 on the port. |
Xmit-Multicast | Number of multicast frames transmitted on the port. |
Xmit-Broadcast | Number of broadcast frames transmitted on the port. |
Tvx-Exp-Ct | Number of times the TVX timer expired. |
RingOp-Ct | Number of times the ring became operational. |
Last-Time-Cleared | Date and time of the last clear counters command. |
Use the show microcode command to display the version of the microcode. When you run this command on a Supervisor Engine III, this command also displays module version information.
show microcodeThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
This example shows the show microcode output for a Supervisor Engine I or II:
Console> show microcode EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 8.0 - EPLD_10K 0.0 3.0 Console>
Table 2-32 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
EARL EPLDs | Version of EARL EPLDs. |
FLASH/BOOT | Version of FLASH/BOOT. |
SRAM | Version of SRAM. |
This example shows the show microcode output for a Supervisor Engine III:
Console> show microcode NMP EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_4kctl 0.0 - EPLD_trfc 1.0 - EPLD_m36d1 5.0 - EPLD_m36in 1.0 - EPLD_ppi 0.0 - EPLD_p_msk 1.0 - EPLD_bsctl 0.0 - EPLD_p_ltl 1.0 - EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 4.0 - EPLD_10K 2.0 - EPLD_dec 0.0 - EPLD_parse 0.0 - EPLD_rslt1 0.0 - EPLD_rslt2 0.0 - EPLD_rslt3 0.0 - UPLINK EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_upl_ctl 0.0 - Bundled Images Version Size Built --------------- -------------------- ------- ----------------- LCP51-32 4.4(0.10) 26233 10/27/98 13:05:44 LCP51-64 4.4(0.10) 54342 10/27/98 13:09:04 MCP360 4.4(0.10) 220944 10/27/98 13:15:57 LCP360 4.4(0.10) 129196 10/27/98 13:15:50 TOKEN-RING 4.4(0.10) 31132 10/27/98 13:07:26 ATM/FDDI LCP 4.4(0.10) 25279 10/27/98 13:05:46 C5IP 4.4(0.10) 24663 10/27/98 13:09:06 TREMBLANT 181.33(0.0) 9216 BANFF 85.7(0.0) 9216 LCPXA1 4.4(0.10) 85384 10/27/98 13:15:52 LCPXA2 4.4(0.10) 57128 10/27/98 13:15:54 TATM LCP 4.4(0.10) 25340 10/27/98 13:06:37 TREMBLANT2 7.1(1.0) 9216 Console>
Table 2-33 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
EARL EPLDs | Version of EARL EPLDs. |
FLASH/BOOT | Version of FLASH/BOOT. |
SRAM | Version of SRAM. |
Bundled Images | Name of the bundled image. |
Version | Version of the image. |
Size | Size of the image. |
Built | Date image was built. |
Use the show mls command to display IP and IPX MLS configuration and status information.
show mls [ip | ipx]
ip | (Optional) Keyword that specifies to display IP MLS information. |
ipx | (Optional) Keyword that specifies to display IPX MLS information. |
The default displays both IP and IPX MLS information.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
The ipx keyword is not supported on the Catalyst 2926G series switches.
If you enter the show mls commands with no arguments, general IP and IPX MLS information and all IP and IPX MLS-RP information are displayed.
This example shows how to display IP MLS information:
Console> (enable)show mls ipTotal packets switched = 101892Total Active MLS entries = 2153IP Multilayer switching enabledIP Multilayer switching aging time = 256 secondsIP Multilayer switching fast aging time = 0 seconds, packet threshold =0IP Current flow mask is Destination flowConfigured flow mask is Destination flowActive IP MLS entries = 0Netflow Data Export enabledNetflow Data Export configured for port 8010 on host 10.0.2.15.Total packets exported = 20IP MLS-RP IP MLS-RP ID XTAG MLS-RP MAC-Vlans---------------- ------------ ---- ---------------------------------172.20.25.2 0000808cece0 20 00-80-8c-ec-e0-20 2-1500-80-8c-ec-e1-30 6600-80-8c-ec-e2-40 6700-80-8c-ec-e3-50 8800-80-8c-ec-e4-60 99172.20.27.1 0000808c1214 30 00-80-8c-12-14-20 31-4000-80-8c-12-15-30 12Console> (enable)
This example shows how to display IPX MLS information:
Console> (enable)show mls ipxIPX Multilayer switching disabledIPX Multilayer switching aging time = 256 secondsIPX flow mask is Destination flowIPX max hop is 16Active IPX MLS entries = 0IPX MLS-RP IP MLS-RP ID XTAG MLS-RP MAC-Vlans---------------- ------------ ---- ---------------------------------22.1.0.55 00906dfc5800 5 00-10-07-38-29-17 2-15,66,77,88,99 00-90-6d-fc-58-00 20-21Console> (enable)
set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics
Use the show mls debug command to generate a list of all MLS-related debugging information.
show mls debugThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Privileged.
This list should be sent to technical support representatives for analysis.
This example shows how to generate a list of all MLS-related debugging information. The display contains detailed system statistics useful for troubleshooting:
Console>(enable) show mls debug
Use the show mls entry command to display IP and IPX MLS cache entries.
show mls entry [ip] [qos] [rp ip_addr] [destination ip_addr_spec] [source ip_addr_spec] [flow protocol src_port dst_port]
ip | (Optional) Keyword that specifies to display IP MLS cache entries. |
qos | (Optional) Keyword that specifies QoS entries. |
rp | (Optional) Keyword that specifies the MLS-RP. |
ip_addr | (Optional) IP address or host name of the MLS-RP. |
destination | (Optional) Keyword that specifies the destination IP address. |
ip_addr_spec | (Optional) Full IP address or a subnet address. |
source | (Optional) Keyword that specifies the source IP address. |
flow | (Optional) Keyword that specifies additional flow information (protocol family and protocol port pair) to be matched. |
protocol | (Optional) Protocol family; valid values include tcp, udp, icmp, or a decimal number for other protocol families. |
src_port | (Optional) Source protocol port. |
dst_port | (Optional) Destination protocol port. |
ipx | (Optional) Keyword that specifies to display IPX MLS cache entries. |
ipx_addr_spec | (Optional) Full IPX address or a network address. |
The default displays all IP and IPX MLS cache entries.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
The ipx keyword and related syntax are not supported on the Catalyst 2926G series switches.
If you do not specify the source or destination addresses, all entries are displayed.
When entering the ip_addr_spec, use the full IP address or a subnet address in the following formats:
When entering the IPX address syntax, use the following format:
A value of 0 for src_port or dst_port means "don't care" (the port number information is not considered).
This example shows how to display all IP MLS cache entries:
Console> (enable) show mls entry ipLast Used Last UsedDestination IP Source IP Prot DstPrt SrcPrt Destination MacVlan Port--------------- --------------- ---- ------ ------ -----------------IP MLS-RP 172.20.25.1:172.20.22.14 172.20.25.10 UDP 8050 648 00-60-70-6c-fc-224 2/1IP MLS-RP 172.20.26.1:172.20.20.15 172.20.25.148 UDP 506 5080 00-60-70-6c-fc-232 2/2IP MLS-RP 172.20.27.1:172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-244 2/3172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-253 2/4Console> (enable)
This example shows how to display all IPX MLS cache entries:
Console> (enable)show mls entry ipxDestination IPX Source IPX net Destination Mac Vlan Port--------------- -------------------- --------------------------- ---- -----MLS-RP 72.0.72.199:1.0002.00e0.fefc.6000 1.0003 08-00-20-7a-07-75 10 11/121.0003.00e0.a3a8.f7ff 1.0002 00-10-0d-82-10-ff 1 1/9Console> (enable)
This example shows how to display IP MLS cache entries for a specific MLS-RP:
Console> (enable) show mls entry ip rp 172.20.27.1
Last Used Last Used
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
IP MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25 3 2/4
Console> (enable)
This example shows how to display IPX MLS cache entries for a specific MLS-RP:
Console>show mls entry ipx rp 172.0.72.199Destination IPX Source IPX net Destination Mac Vlan Port--------------- -------------------- --------------------------- ---- -----MLS-RP 172.0.72.199:1.0002.00e0.fefc.6000 1.0003 08-00-20-7a-07-75 10 11/121.0003.00e0.a3a8.f7ff 1.0002 00-10-0d-82-10-ff 1 1/9Console> (enable)
This example shows how to display QoS-related MLS cache entries:
Console> (enable) show mls entry qos Destination IP Source IP Prot DstPrt SrcPrt QoS --------------- --------------- ---- ------ ------ --- 172.20.22.14 172.20.25.10 UDP 80 50648 0 172.20.20.15 172.20.25.148 UDP 50650 80 0 172.20.21.17 172.20.27.138 CP 7001 7003 0 Console> (enable)
This example shows how to display IP MLS cache entries for a destination IP address:
Console> (enable) show mls entry destination 172.20.22.14/24
Last Used Last Used
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
IP MLS-RP 172.20.25.1:
172.20.22.14 172.20.25.10 UDP 80 50648 00-60-70-6c-fc-22 4 2/1
IP MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
Console> (enable)
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls statistics
show mls statistics
Use the show mls include command to display information about the routers in the IP MLS-RP include list and the IPX MLS-RP include list.
show mls include [ip | ipx] [noalias]
ip | (Optional) Keyword that specifies to display the IP MLS-RP include list. |
ipx | (Optional) Keyword that specifies to display the IPX MLS-RP include list. |
noalias | (Optional) Keyword that specifies to display IP addresses instead of host names in the output. |
The default displays both IP and IPX MLS-RP include list information.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
The ipx keyword is not supported on the Catalyst 2926G series switches.
This example shows how to display the IP MLS-RP include list:
Console> (enable) show mls include ip Included IP MLS-RP --------------------------------------- 172.16.2.13 172.16.2.12 Console> (enable)
This example shows how to display the IPX MLS-RP include list:
Console> (enable) show mls include ipx Included IPX MLS-RP --------------------------------------- 172.16.2.13 172.16.2.12 Console> (enable)
set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics
Use the show mls multicast entry command to display IP multicast MLS cache entries.
show mls multicast entry [rp rp_ip_addr] [vlan vlan_id] [group group_ip_addr] [source source_ip_addr] [all] [short | long]
rp | (Optional) Keyword that specifies a MMLS-RP. |
rp_ip_addr | (Optional) IP address or host name of the MMLS-RP for which to display entries. |
vlan | (Optional) Keyword that specifies a VLAN. |
vlan_id | (Optional) VLAN ID for which to display entries. |
group | (Optional) Keyword that specifies a multicast group address. |
group_ip_addr | (Optional) IP multicast group address for which to display entries. |
source | (Optional) Keyword that specifies a multicast traffic source. |
source_ip_addr | (Optional) IP address or host name of the multicast source for which to display entries. |
all | (Optional) Keyword that specifies to display all IP multicast MLS entries on the switch. |
short | (Optional) Keyword that specifies command output for terminals that support output that is less than 80 characters wide. |
long | (Optional) Keyword that specifies command output for terminals that support output that is 80 characters wide. |
This command has no default setting.
Catalyst 5000 family switches
Switch command.
Normal.
This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
If you enter the show mls multicast entry command with no arguments or keywords, all the IP multicast MLS entries are displayed.
This example shows how to display IP multicast MLS cache entries for a specific MMLS-RP and a specific multicast source address:
Console> (enable)show mls multicast entry rp 10.1.5.252 source 10.1.11.1Router IP Dest IP Source IP Pkts Bytes InVlan OutVlans---------------- ------------- ------------ ---------- ---------- -----------10.1.5.252 224.1.1.1 10.1.11.1 16080 2797920 20Total Entries: 1Console> (enable)
This example shows how to display IP multicast MLS cache entries for a specific multicast group address:
Console> (enable)show mls multicast entry group 226.0.1.3Router IP Dest IP Source IP InVlan Pkts Bytes OutVlans---------- -------- ----------- ------- ----- ------- ----------172.16.2.1 226.0.1.3 172.2.3.8 20 171 23512 10,201,22,45172.16.2.1 226.0.1.3 172.3.4.9 12 25 3120 8,20Total Entries: 2Console> (enable)
set mls multicast
clear mls multicast include
clear mls multicast statistics
Use the show mls multicast include command to display information about the routers in the IP multicast MLS-RP include list.
show mls multicast includeThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Switch command.
Normal.
This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
This example shows how to display the IP multicast MLS-RP route processors currently included to run MLS:
Console> (enable) show mls multicast includeRouter IP Router Name---------------------------------------------------------------------172.16.2.13 gorgonzola172.16.2.12 mothraConsole> (enable)
set mls multicast
clear mls multicast include
clear mls multicast statistics
Use the show mls multicast statistics rp command to display IP multicast MLS statistics for MMLS-RPs.
show mls multicast statistics rp [ip_addr]
ip_addr | (Optional) IP address or host name of the MMLS-RP for which to display statistics. |
This command has no default setting.
Catalyst 5000 family switches
Switch command.
Normal.
This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
If you do not specify the IP address or host name of the MMLS-RP, statistics for all MMLS-RPs are displayed.
This example shows how to display IP multicast MLS statistics for a specific MMLS-RP:
Console> (enable)show mls multicast statistics rp 172.16.2.12Router IP Router Name Router MAC------------------------------------------------172.16.2.12 mothra 00-10-0d-38-a4-00Transmit:Delete Notifications 10Acknowledgements: 100Flow Statistics: 500ReceiveOpen Connection Requests: 2Keep Alive Messages: 75Shortcut Messages:Shortcut Install TLV: 8Selective Delete TLV: 0Update TLV: 0Input VLAN Delete TLV: 2Output VLAN Delete TLV: 2Global Delete TLV: 1MFD Install TLV: 8MFD Delete TLV: 0Console> (enable)
set mls multicast
clear mls multicast include
clear mls multicast statistics
Use the show mls nde command to display NDE configuration and status information.
show mls ndeThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
This example shows how to display NDE information:
Console> (enable) show mls nde Netflow data export enabled. Netflow data export configured for UDP port 1098 on host 172.20.15.1 Source filter is 171.69.194.140/255.255.255.0 Destination port filter is 23 Total Netflow Data Export packets = 26784 Console>(enable)
Use the show mls rp command to display information about a specific MLS-RP.
show mls rp {ip | ipx} ip_addr [noalias]
ip | Keyword that specifies to display information about an MLS-RP for IP MLS. |
ipx | Keyword that specifies to display information about an MLS-RP for IPX MLS. |
ip_addr | IP address or host name of the MLS-RP. |
noalias | (Optional) Keyword that specifies to display IP addresses instead of host names in the output. |
The default displays MLS-RP information for IP MLS.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
The ipx keyword is not supported on the Catalyst 2926G series switches.
This example shows how to display information about a specific IPX MLS-RP:
Console> (enable) show mls rp ipx 172.16.72.199 MLS-RP IPX MLS-RP ID XTAG MLS-RP MAC-Vlans ----------------------------------------------------- 172.16.72.199 0010298a0c09 2 00-10-29-8a-0c-00 1,10-11,51,53,71 Console> (enable)
set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics
Use the show mls statistics command to display IP and IPX MLS statistics information.
show mls statistics protocol
protocol | Keyword that specifies to display the statistics based on protocol (such as Telnet, FTP, or WWW). |
ip | (Optional) Keyword that specifies IP MLS. |
ipx | (Optional) Keyword that specifies IPX MLS. |
rp | (Optional) Keyword that specifies an MLS-RP. |
ip_addr | (Optional) IP address or host name of the MLS-RP. |
entry | Keyword that specifies to display statistics for IP or IPX MLS cache entries. |
destination | (Optional) Keyword that specifies to display statistics for the destination IP address. |
ip_addr_spec | (Optional) Full IP address or a subnet address. |
source | (Optional) Keyword that specifies to display statistics for the source IP address. |
flow | (Optional) Keyword that specifies to display statistics for a flow (based on protocol family and protocol port pair). |
protocol | (Optional) The protocol for which to display statistics; valid values include tcp, udp, icmp, or a decimal number for other protocol families. |
src_port | (Optional) Source protocol port for which to display statistics. |
dst_port | (Optional) Destination protocol port for which to display statistics. |
ipx_addr_spec | (Optional) Full IPX address or a network address. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
The ipx keyword and related syntax are not supported on the Catalyst 2926G series switches.
If you do not specify the ip or ipx keywords, IP is assumed. If you do not specify the source or destination addresses or the flow information, all entries are displayed.
When entering the ip_addr_spec, use the full IP address or a subnet address in the following formats:
When entering the IPX address syntax, use the following format:
Th show mls statistics protocol command and the flow protocol src_port dest_port options are supported only when the flow mode is "ip-flow." A value of 0 for src_port or dst_port means "don't care" (the port number information is not considered).
This example shows how to display the statistics for all protocol categories:
console>(enable) show mls statistics protocol Protocol TotalFlows TotalPackets Total Bytes ------- ---------- -------------- ------------ Telnet 900 630 4298 FTP 688 2190 3105 WWW 389 42679 623686 SMTP 802 4966 92873 X 142 2487 36870 DNS 1580 52 1046 Others 82 1 73 Total 6583 53005 801951 Console> (enable)
This example shows how to display the statistics for all protocol categories for all MLS-RPs:
Console>(enable) show mls statistics rpTotal packets switched = 3152Active IP MLS entries = 0Total packets exported= 0Total switchedMLS-RP IP MLS-RP ID packets bytes--------------- ------------ ---------- ------------172.20.25.2 0000808cece0 3152 347854 172.20.27.1 000080a36c32 4332 532456 Console>
This example shows how to display IPX MLS statistics for all MLS-RPs:
Console> (enable) show mls statistics ipx rp
Total packets switched = 212540292
Active IPX MLS entries = 16
Total switched
MLS-RP IP MLS-RP ID packets bytes
--------------- ------------ ---------- ------------
10.20.26.64 00e0fefc6000 877192 803473584
Console> (enable)
This example shows how to display the statistics for a specific destination IP address:
Console> show mls statistics entry destination 172.20.22.14Last Used Last UsedDestination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes--------------- --------------- ---- ------ ------ ---------- ---------------172.20.22.14 172.20.25.10 6 50648 80 3152 347854 Console>
This example shows how to display the statistics for a specific destination IPX address:
Console>show mls statistics entry ipx destination 1.0002.00e0.fefc.6000Destination IPX Source IPX net Stat-Pkts Stat-Bytes------------------------- -------------- ---------- ----------MLS-RP 10.20.26.64:1.0002.00e0.fefc.6000 1.0003 11 521Console>
show mls rp
set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
Use the show module command to display module status and information.
show module [mod_num]
mod_num | (Optional) Number of the module. If a number is not specified, all modules are shown. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
If you remove a module and replace it with a different type module, a message appears in the show module display that states that the module configuration is inconsistent with the current module type. To clear the message, you can either enter the clear config mod_num command for the module or set different parameters for the new module.
For Supervisor Engine III modules, the show module command displays the supervisor engine's module number but appends the uplink daughtercard's module type and information.
For Catalyst 4000 family switches, the show module command displays the supervisor engine as having "1" slot.
For Catalyst 4000 family switches, in the show module command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX daughtercard results in an entry that reads 36 ports. If the uplink daughtercard is not installed, only ports 1 through 32 are listed.
Although me1 resides on the supervisor engine module for the Catalyst 4000 family and 2948G switches, me1 port information is not displayed by the show module or show port CLI commands.
For Catalyst 2948G and 2980G switches, the show module command displays two modules, a Switching Supervisor and an Ethernet module. Both modules are internal to the box and are not removable. The show module command also displays both modules as having "1" slot.
This example shows how to display status and information for all modules on the switch (Catalyst 5000 family and 2926G series switches):
Console>show moduleMod Module-Name Ports Module-Type Model Serial-Num Status--- ------------------- ----- --------------------- --------- --------- -------1 2 100BaseTX Supervisor WS-X5509 007404361 ok2 12 100BaseTX Ethernet WS-X5113 003152544 ok3 16 Token Ring WS-X5030 007381080 ok4 2 MM MIC FDDI WS-X5101 003492532 okMod MAC-Address(es) Hw Fw Sw------------------------------------------ ----- -------- -----1 00-10-14-0f-f4-00 to 00-10-14-0f-f7-ff 2.3 3.1(2) 5.1(0.59)2 00-60-3e-d1-ab-38 to 00-60-3e-d1-ab-43 1.6 1.2 4.3(0.16)3 00:05:77:05:d4:e2 to 00:05:77:05:d4:f2 1.1 1.0(117) 3.2(2)4 00-e0-1e-a9-21-19 1.1 1.1 3.1(1)Mod Sub-Type Sub-Model Sub-Serial Sub-Hw--- -------- --------- ---------- ------1 EARL 1+ WS-F5520 0007418874 1.01 uplink WS-U5531 0007464204 1.1Mod SMT User-Data T-Notify CF-St ECM-St Bypass--- -------------------------- -------- -------- --------- -------4 WorkGroup Stack 30 thru in absentConsole>
This example shows how to display status and information for module 3:
Console> show module 3Mod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------3 3 12 100BaseFX MM Ethernet WS-X5201R okMod Module-Name Serial-Num--- ------------------- --------------------3 00007285650Mod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------3 00-e0-1e-38-48-cc to 00-e0-1e-38-48-d7 0.2 4.1(0.53-E 5.1(0.59))Console>
This example shows how to display status and information for the Catalyst 4000 family switch:
Console>show moduleMod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------1 1 0 Switching Supervisor WS-X4012 ok2 2 6 1000BaseX Ethernet WS-X4306 ok3 3 6 1000BaseX Ethernet WS-X4306 okMod Module-Name Serial-Num--- ------------------- --------------------1 JAB023806JR2 JAB0240004D3 JAB024000YYMod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------1 00-10-7b-f8-03-00 to 00-10-7b-f8-06-ff 0.1 4.4(0.14) 5.1(0.57)2 00-10-7b-f6-b1-a8 to 00-10-7b-f6-b1-ad 0.23 00-10-7b-f6-b2-1a to 00-10-7b-f6-b2-1f 0.2Console>
This example shows how to display status and information for the Catalyst 2948G and 2980G switches:
Console>show moduleMod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------1 1 0 Switching Supervisor WS-X2948 ok2 1 50 10/100/1000 Ethernet WS-X2948G okMod Module-Name Serial-Num--- ------------------- --------------------1 JAB023806JR2 JAB0240004DMod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------1 00-10-7b-f4-e6-00 to 00-10-7b-f4-e9-ff 0.1 4.4(0.14) 5.1(0.57)2 00-10-7b-f4-e9-9e to 00-10-7b-f4-e9-fd 0.1Console>
Table 2-34 describes the possible fields in the show module command output.
| Field | Description |
|---|---|
Mod | Module number. |
Slot | Slot number. |
Module-Name | Name, if configured, of the module. |
Ports | Number of ports on the module. |
Module-Type | Module type (such as 10BaseT Ethernet or Token Ring). |
Model | Model number of the module. |
Serial-Num | Serial number of the module. |
Status | Status of the module. Possible status strings are ok, disable, faulty, other, standby, error. |
MAC-Address(es) | MAC address or MAC address range for the module. Token Ring module MAC addresses appear in noncanonical format. |
Hw | Hardware version of the module1. |
Fw | Firmware version of the module2. |
Sw | Software version on the module. |
SMT User-Data | User-data string defined for the FDDI module. |
T-Notify | T-Notify timer value configured for the FDDI module. |
CF-St | Configuration management state of the FDDI module. |
ECM-St | Entity Coordination Management state of the FDDI module. |
Bypass | Status of whether an optical bypass switch is present. |
Sub-Type3 | Submodule type. |
Sub-Model3 | Model number of the submodule. |
Sub-Serial3 | Serial number of the submodule. |
Sub-Hw3 | Hardware version of the submodule. |
Use the show moduleinit command to display contents of the information stored in the system module bringup log.
show moduleinit [mod_num] [log lognum | -logcount]
mod_num | (Optional) Number of the module. If you do not specify a number, all modules are shown. |
log | (Optional) Keyword that specifies a specific log. |
lognum | (Optional) Number of log to display. |
-logcount | (Optional) Number of previous logs to display. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to show the last 2 logs for module 1:
Console>show moduleinit 1 log -2Module 1: Number of Logs: 3Log #2:State 1: Entry/Exit/Elapse Time: 14721/14721/0Success_ExitState 2: Entry/Exit/Elapse Time: 14721/14721/0SuccessState 3: Entry/Exit/Elapse Time: 14721/32223/17502Success_ExitLog #3:State 1: Entry/Exit/Elapse Time: 38302/38302/0P_PortConfigTokenRingFeatures()ConfigModule()State 2: Entry/Exit/Elapse Time: 38302/38302/0SuccessState 3: Entry/Exit/Elapse Time: 38302/38310/8Success_ExitConsole>
This example shows how to display the contents of a specific log for module 1:
Console>show moduleinit 1 log 2Module 1: Number of Logs: 3Log #2:State 1: Entry/Exit/Elapse Time: 14721/14721/0Success_ExitState 2: Entry/Exit/Elapse Time: 14721/14721/0SuccessState 3: Entry/Exit/Elapse Time: 14721/32223/17502Console>
Table 2-35 describes the possible fields in the show moduleinit command output.
| Field | Description |
|---|---|
Log # | Number of the log. |
State # | Number of the module bringup states. Output includes the entry time into and exit time from all the module bringup states, along with the elapsed time, in milliseconds. |
Use the show multicast group command to display the multicast group configuration.
show multicast group [mac_addr] [vlan_id]
mac_addr | (Optional) Destination MAC address. |
vlan_id | (Optional) Number of the VLAN. |
There is no default setting for this command.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display the multicast group configuration for VLAN 1:
Console> show multicast group 1 VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ----------------- ----- ---------------------------------- 1 01-00-5e-00-01-28* 3/1,12/9 1 01-00-5e-63-7f-6f* 3/1,12/5,12/9 Total Number of Entries = 2 Console>
This example shows how to display the multicast group configuration for a specific MAC address on VLAN 5:
Console> show multicast group 01-00-5E-00-00-5C 5 VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ----------------- ----- ---------------------------------- 5 01-00-5E-00-00-5C 3/1, 3/9 Total Number of Entries = 1 Console>
Table 2-36 describes the fields in the show multicast group command output.
| Field | Description |
|---|---|
VLAN | VLAN number. |
Dest MAC/Route Des | Group destination MAC address. |
* | Status of whether the port was configured manually as a multicast router port. |
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. |
Total Number of Entries | Total number of entries in the multicast group table that match the criteria specified by the command. |
clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast router
Use the show multicast group count command to show the total count of multicast addresses (groups) in a VLAN.
show multicast group count [vlan_id]
vlan_id | (Optional) Number of the VLAN. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display the total count of multicast groups in VLAN 5:
Console> show multicast group count 5 Total Number of Entries = 2 Console>
clear multicast router
set cgmp
set igmp
set multicast router
show multicast router
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Mar 21 09:13:22 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.