Table Of Contents
show mls multicast statistics rp
2show kerberos creds
Use the show kerberos creds command to display all the Kerberos credentials on the switch.
show kerberos creds
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 Kerberos credentials information:
Console> (enable) show kerberos credsNo Kerberos credentials.Console> (enable)Related Commands
show log
Use the show log command to display the error log for the system or a specific module.
show log [mod_num]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the error log for the system:
Console> show logNetwork Management Processor (ACTIVE NMP) Log:Reset count: 86Re-boot History: Nov 11 1998 7:27: 4 0, Oct 01 1998 16:15:25 0Oct 01 1998 16:12:11 0, Aug 27 1998 15:13:42 0Aug 27 1998 15:10: 5 0, Aug 27 1998 15: 7:19 0Aug 27 1998 14:45:53 0, Aug 27 1998 14:44:40 0Aug 27 1998 14:43:16 0, Aug 27 1998 14:33:19 0Bootrom Checksum Failures: 0 UART Failures: 0Flash Checksum Failures: 0 Flash Program Failures: 0Power Supply 1 Failures: 21 Power Supply 2 Failures: 23Swapped to CLKA: 0 Swapped to CLKB: 0Swapped to Processor 1: 0 Swapped to Processor 2: 0DRAM Failures: 0Exceptions: 8Last software reset by user: 11/11/98,07:26:28Switching bus Timeout NMIswitching bus Last Card Grant(Slot No) = 0Last 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 sizemismatch: 34088(33960)Module 3 Log:Reset Count: 7Reset History: Wed Nov 11 1998, 08:38:55Wed Nov 11 1998, 01:28:43Wed Nov 11 1998, 00:57:02Tue Nov 10 1998, 14:56:37Module 4 Log:Reset Count: 1Reset History: Wed Mar 11 1998, 10:09:55Module 5 Log:Reset Count: 6Reset History: Wed Mar 11 1998, 08:39:03Wed Mar 11 1998, 00:57:10Tue Mar 10 1998, 14:56:45Tue Mar 10 1998, 14:43:15Console>Table 2-30 describes the fields in the show log command output.
Related Commands
show logging
Use the show logging command to display the system message log configuration.
show logging [noalias]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
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-31 describes the fields in the show logging command output.
Related Commands
clear logging server
set logging buffer
set logging level
set logging server
set logging session
show logging buffershow logging buffer
Use the show logging buffer command to display system messages from the internal buffer.
show logging buffer [-] [number_of_messages]
Syntax Description
Defaults
Default setting is -20, the last 20 messages in the buffer are displayed.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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>Related Commands
set logging timestamp
set logging buffershow mac
Use the show mac command to display MAC counters.
show mac [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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 1Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast-------- -------------------- -------------------- --------------------3/4 0 0 0Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast-------- -------------------- -------------------- --------------------3/4 0 0 0Port Rcv-Octet Xmit-Octet-------- -------------------- --------------------3/4 0 0Last-Time-Cleared--------------------------Tue Apr 13 1999, 08:31:20Console>Table 2-32 describes possible fields displayed in the show mac command output.
show microcode
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 microcode
Syntax Description
This command has no arguments or keywords.
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 show microcode output for a Supervisor Engine I or II:
Console> show microcodeEARL EPLDs FLASH/BOOT SRAM------------ ---------- ----------EPLD_7K 8.0 -EPLD_10K 0.0 3.0Console>Table 2-33 describes possible fields in the show microcode command output.
Table 2-33 show microcode Command Output Fields (Supervisor Engine I or II)
Field DescriptionEARL 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 microcodeNMP 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:44LCP51-64 4.4(0.10) 54342 10/27/98 13:09:04MCP360 4.4(0.10) 220944 10/27/98 13:15:57LCP360 4.4(0.10) 129196 10/27/98 13:15:50TOKEN-RING 4.4(0.10) 31132 10/27/98 13:07:26ATM/FDDI LCP 4.4(0.10) 25279 10/27/98 13:05:46C5IP 4.4(0.10) 24663 10/27/98 13:09:06TREMBLANT 181.33(0.0) 9216BANFF 85.7(0.0) 9216LCPXA1 4.4(0.10) 85384 10/27/98 13:15:52LCPXA2 4.4(0.10) 57128 10/27/98 13:15:54TATM LCP 4.4(0.10) 25340 10/27/98 13:06:37TREMBLANT2 7.1(1.0) 9216Console>Table 2-34 describes possible fields in the show microcode command output.
show mls
Use the show mls command to display IP and IPX MLS configuration and status information.
show mls [ip | ipx]
Syntax Description
ip
(Optional) Keyword that specifies to display IP MLS information.
ipx
(Optional) Keyword that specifies to display IPX MLS information.
Defaults
The default displays both IP and IPX MLS information.
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.
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.
Examples
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,9900-90-6d-fc-58-00 20-21Console> (enable)Related Commands
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 statisticsshow mls debug
Use the show mls debug command to generate a list of all MLS-related debugging information.
show mls debug
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches and the Catalyst 2926G series switches.
This list should be sent to technical support representatives for analysis.
Examples
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
Note
The output from the show mls debug command is extensive and is only useful to your technical support representatives. For this reason, the output is not displayed in this publication.
show mls entry
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]show mls entry [ipx] [rp ip_addr] [destination ipx_addr_spec] [source ipx_addr_spec]
Syntax Description
Defaults
The default displays all IP and IPX MLS cache entries.
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.
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:
•
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). However, this format can identify only a subnet address with a length of 8, 16, or 24 bits.
•
ip_addr/subnet_mask—This is the long subnet address format. For example, 172.22.252.00/255.255.252.00 indicates a 22-bit subnet address. This format can specify a subnet address of any bit number. To provide more flexibility, the ip_addr is allowed to be a full host address, such as 172.22.253.1/255.255.252.00.
•
ip_addr/maskbits—This is the simplified long subnet address format. The mask bits specify the number of bits of the network masks. For example, 172.22.252.00/22 indicates a 22-bit subnet address. The ip_addr is allowed to be a full host address, such as 172.22.254.1/22, which has the same subnet address as 172.22.252.00/72.
When entering the IPX address syntax, use the following format:
•
IPX network address—1..FFFFFFFE
•
IPX node address—x.x.x where x is 0..FFFF
•
IPX address—ipx_net.ipx_node (for example, 3.0034.1245.AB45 or A43.0000.0000.0001)
A value of 0 for src_port or dst_port means "don't care" (the port number information is not considered).
Examples
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.1Last Used Last UsedDestination 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/3172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25 3 2/4Console> (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 qosDestination IP Source IP Prot DstPrt SrcPrt QoS--------------- --------------- ---- ------ ------ ---172.20.22.14 172.20.25.10 UDP 80 50648 0172.20.20.15 172.20.25.148 UDP 50650 80 0172.20.21.17 172.20.27.138CP 7001 7003 0Console> (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/24Last Used Last UsedDestination 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/1IP 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/3Console> (enable)Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls statistics
show mls statisticsshow mls include
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]
Syntax Description
Defaults
The default displays both IP and IPX MLS-RP include list information.
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.
The ipx keyword is not supported on the Catalyst 2926G series switches.
Examples
This example shows how to display the IP MLS-RP include list:
Console> (enable) show mls include ipIncluded IP MLS-RP---------------------------------------172.16.2.13172.16.2.12Console> (enable)This example shows how to display the IPX MLS-RP include list:
Console> (enable) show mls include ipxIncluded IPX MLS-RP---------------------------------------172.16.2.13172.16.2.12Console> (enable)Related Commands
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 statisticsshow mls multicast entry
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]Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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)Related Commands
set mls multicast
clear mls multicast include
clear mls multicast statisticsshow mls multicast include
Use the show mls multicast include command to display information about the routers in the IP multicast MLS-RP include list.
show mls multicast include
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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)Related Commands
set mls multicast
clear mls multicast include
clear mls multicast statisticsshow mls multicast statistics rp
Use the show mls multicast statistics rp command to display IP multicast MLS statistics for MMLS-RPs.
show mls multicast statistics rp [ip_addr]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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)Related Commands
set mls multicast
clear mls multicast include
clear mls multicast statisticsshow mls nde
Use the show mls nde command to display NDE configuration and status information.
show mls nde
Syntax Description
This command has no arguments or keywords.
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 NDE information:
Console> (enable) show mls ndeNetflow data export enabled.Netflow data export configured for UDP port 1098 on host 172.20.15.1Source filter is 171.69.194.140/255.255.255.0Destination port filter is 23Total Netflow Data Export packets = 26784Console>(enable)Related Commands
show mls rp
Use the show mls rp command to display information about a specific MLS-RP.
show mls rp {ip | ipx} ip_addr [noalias]
Syntax Description
Defaults
The default displays MLS-RP information for IP MLS.
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.
The ipx keyword is not supported on the Catalyst 2926G series switches.
Examples
This example shows how to display information about a specific IPX MLS-RP:
Console> (enable) show mls rp ipx 172.16.72.199MLS-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,71Console> (enable)Related Commands
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 statisticsshow mls statistics
Use the show mls statistics command to display IP and IPX MLS statistics information.
show mls statistics protocol
show mls statistics [ip | ipx] [rp ip_addr]
show mls statistics entry [ip] [destination ip_addr_spec] [source ip_addr_spec] [flow protocol
src_port dst_port]show mls statistics entry [ipx] [destination ipx_addr_spec] [source ipx_addr_spec]
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.
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:
•
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). However, this format can identify only a subnet address with a length of 8, 16, or 24 bits.
•
ip_addr/subnet_mask—This is the long subnet address format. For example, 172.22.252.00/255.255.252.00 indicates a 22-bit subnet address. This format can specify a subnet address of any bit number. To provide more flexibility, the ip_addr is allowed to be a full host address, such as 172.22.253.1/255.255.252.00.
•
ip_addr/maskbits—This is the simplified long subnet address format. The mask bits specify the number of bits of the network masks. For example, 172.22.252.00/22 indicates a 22-bit subnet address. The ip_addr is allowed to be a full host address, such as 172.22.254.1/22, which has the same subnet address as 172.22.252.00/72.
When entering the IPX address syntax, use the following format:
•
IPX network address—1..FFFFFFFE
•
IPX node address—x.x.x where x is 0..FFFF
•
IPX address—ipx_net.ipx_node (for example 3.0034.1245.AB45 or A43.0000.0000.0001)
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).
Examples
This example shows how to display the statistics for all protocol categories:
console>(enable) show mls statistics protocolProtocol TotalFlows TotalPackets Total Bytes------- ---------- -------------- ------------Telnet 900 630 4298FTP 688 2190 3105WWW 389 42679 623686SMTP 802 4966 92873X 142 2487 36870DNS 1580 52 1046Total 6583 53005 801951Console> (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 347854172.20.27.1 000080a36c32 4332 532456Console>This example shows how to display IPX MLS statistics for all MLS-RPs:
Console> (enable) show mls statistics ipx rpTotal packets switched = 212540292Active IPX MLS entries = 16Total switchedMLS-RP IP MLS-RP ID packets bytes--------------- ------------ ---------- ------------10.20.26.64 00e0fefc6000 877192 803473584Console> (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 347854Console>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>Related Commands
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 statisticsshow module
Use the show module command to display module status and information.
show module [mod_num]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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 Slot Ports Module-Type Model Sub Status--- ---- ----- ------------------------- ------------------- --- --------1 1 0 Supervisor III WS-X5530 yes ok2 2 Gigabit Ethernet Ext WS-X54103 3 9 Gigabit Ethernet WS-X5410 no ok5 5 24 3 Segment 100BaseTX Ether WS-X5223 no okMod Module-Name Serial-Num--- ------------------- --------------------1 000068394692 000103956103 000103956105 00000000010Mod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------------------------1 00-e0-14-10-98-00 to 00-e0-14-10-9b-ff 1.3 3.1.26.2(0.48-Eng)ORL3 00-10-7b-d6-05-98 to 00-10-7b-d6-05-a3 1.0 4.2(100) 5.2(1)5 00-60-83-42-e4-1b to 00-60-83-42-e4-1d 0.1 2.2(100) 6.2(0.48)ORLMod Sub-Type Sub-Model Sub-Serial Sub-Hw--- -------- --------- ---------- ------1 EARL 1+ WS-F5520 0005758039 0.306Console>This example shows how to display status and information for module 3:
Console> show module 3Mod Slot Ports Module-Type Model Sub Status--- ---- ----- ------------------------- ------------------- --- --------3 3 9 Gigabit Ethernet WS-X5410 no 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 Sub Status--- ---- ----- ------------------------- ------------------- --- --------1 1 0 Switching Supervisor WS-X4012 yes ok2 2 6 1000BaseX Ethernet Ext WS-X43063 3 6 1000BaseX Ethernet WS-X4306 no 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-35 describes the possible fields in the show module command output.
Table 2-35 show module Command Output Fields
Field DescriptionMod
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.
1 Hw for the supervisor engine module displays the supervisor engine module's EARL hardware version.
2 Fw for the supervisor engine module displays the supervisor engine module's boot version.
3 This field displays EARL information; this field is dd on the Catalyst 4000 family and 2948G switches.
show moduleinit
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]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
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/0SuccessConsole>Table 2-36 describes the possible fields in the show moduleinit command output.
show multicast group
Use the show multicast group command to display the multicast group configuration.
show multicast group [mac_addr] [vlan_id]
Syntax Description
Defaults
There is no default setting for this command.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the multicast group configuration for VLAN 1:
Console> show multicast group 1VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type]---- ----------------- ----- ----------------------------------1 01-00-5e-00-01-28* 3/1,12/91 01-00-5e-63-7f-6f* 3/1,12/5,12/9Total Number of Entries = 2Console>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 5VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type]---- ----------------- ----- ----------------------------------5 01-00-5E-00-00-5C 3/1, 3/9Total Number of Entries = 1Console>Table 2-37 describes the fields in the show multicast group command output.
Related Commands
clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast routershow multicast group count
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]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the total count of multicast groups in VLAN 5:
Console> show multicast group count 5Total Number of Entries = 2Console>Related Commands
clear multicast router
set cgmp
set igmp
set multicast router
show multicast router
