Table Of Contents
show kerberos creds
show log
show log command
show logging
show logging buffer
show mac
show microcode
show mls
show mls debug
show mls entry
show mls include
show mls multicast entry
show mls multicast include
show mls multicast statistics rp
show mls nde
show mls rp
show mls statistics
show module
show moduleinit
show multicast group
show multicast group count
show multicast protocols status
2
show 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 settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display Kerberos credentials information:
Console> show kerberos creds
Related Commands
clear kerberos creds
show kerberos
show log
Use the show log command to display the error log for the system or a specific module.
show log [mod]
show log dump [-count]
Syntax Description
mod
|
(Optional) Number of the module for which the log is displayed.
|
dump
|
Keyword to display dump log information.
|
-count
|
(Optional) Number of dump log entries to display.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the error log for the system:
Network Management Processor (ACTIVE NMP) Log:
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
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 ...
01. 5/26/97,01:56:33: convert_post_SAC_CiscoMIB:Nvram block 0 size
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
Reset History: Wed Mar 11 1998, 10:09:55
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
This example shows how to display dump log information:
Table 2-31 describes the fields in the show log command output.
Table 2-31 show log Command Output Fields
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.
|
Total logs
|
Number of entries.
|
Related Commands
clear log
show log command
Use the show log command to display the command log entries.
show log command [mod]
Syntax Description
mod
|
(Optional) Number of the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The command log entry table is a history log of the input of the commands to the switch from the console or Telnet.
Examples
This example shows how to display the command log for a specific module:
Console> (enable) show log command 1
001. Oct 04 09:44:35 Pid = 86 show mod
002. Oct 04 09:44:55 Pid = 86 clear log command 3
003. Oct 04 10:09:07 Pid = 86 show port membership
004. Oct 04 10:10:15 Pid = 86 en
005. Oct 04 10:10:19 Pid = 86 clear port help
006. Oct 04 10:10:47 Pid = 86 clear spantree help
007. Oct 04 10:12:42 Pid = 86 show
008. Oct 04 10:12:57 Pid = 86 show qos help
009. Oct 04 10:14:46 Pid = 86 show log 5
010. Oct 04 10:14:53 Pid = 86 show log 1
011. Oct 04 10:15:04 Pid = 86 show log command 5
012. Oct 04 10:15:08 Pid = 86 show log command 1
Related Commands
clear log command
show logging
Use the show logging command to display the system message log configuration.
show logging [noalias]
Syntax Description
noalias
|
(Optional) Keyword to display syslog servers in IP dotted format.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows the default system message log configuration:
timestamp option: enabled
server severity: warnings(4)
Facility Default Severity Current Session Severity
------------- ----------------------- ------------------------
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Table 2-32 describes the fields in the show logging command output.
Table 2-32 show logging Command Output Fields
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.
|
Related Commands
clear logging server
set logging buffer
set logging level
set logging server
set logging session
show logging buffer
show logging buffer
Use the show logging buffer command to display system messages from the internal buffer.
show logging buffer [-] [number_of_messages]
Syntax Description
-
|
(Optional) Keyword 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; valid values are from 1 to 1023.
|
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 the number_of_messages value 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 show logging buffer
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 1 is online
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 5 is online
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online
1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected
1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start Trap
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 show logging buffer 4
%SYS-5:Module 1 is online
%SYS-5:Module 5 is online
%SYS-5:Module 3 failed configuration
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 show logging buffer -4
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online
1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected
1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start Trap
Related Commands
set logging buffer
set logging timestamp
show mac
Use the show mac command to display MAC counters.
show mac [mod[/port]]
Syntax Description
mod
|
(Optional) Number of the module. If you do not specify a number, all modules are shown.
|
/port
|
(Optional) Number of the port on the module. If you do not specify a number, all ports are shown.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display MAC information for port 3 on module 4:
MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
MAC Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
MAC SMT-Address Curr-Path TReq TNeg TMax TVX
------- ----------------- ---------- -------- -------- -------- --------
3/4 00:06:7c:b3:bc:98 primary 165000 165000 165004 2509
MAC 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:00
00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00
MAC Rcv-Smt Xmit-Smt Rcv-llc Xmit-llc Tvx-Exp-Ct RingOp-Ct
------- ---------- ---------- ---------- ---------- ---------- ----------
Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast
-------- -------------------- -------------------- --------------------
Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast
-------- -------------------- -------------------- --------------------
Port Rcv-Octet Xmit-Octet
-------- -------------------- --------------------
--------------------------
Tue Apr 13 1999, 08:31:20
Table 2-33 describes possible fields displayed in the show mac command output.
Table 2-33 show mac Command Output Fields
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.
|
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 settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows the show microcode output for a Supervisor Engine I or II:
EARL EPLDs FLASH/BOOT SRAM
------------ ---------- ----------
Table 2-34 describes possible fields in the show microcode command output.
Table 2-34 show microcode Command Output Fields (Supervisor Engine I or II)
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:
NMP EPLDs FLASH/BOOT SRAM
------------ ---------- ----------
EARL EPLDs FLASH/BOOT SRAM
------------ ---------- ----------
UPLINK EPLDs FLASH/BOOT SRAM
------------ ---------- ----------
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
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
Table 2-35 describes possible fields in the show microcode command output.
Table 2-35 show microcode Command Output Fields (Supervisor Engine III)
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.
|
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 to display IP MLS information.
|
ipx
|
(Optional) Keyword to display IPX MLS information.
|
Defaults
The default displays both IP and IPX MLS information.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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:
Total packets switched = 101892
Total Active MLS entries = 2153
IP Multilayer switching enabled
IP Multilayer switching aging time = 256 seconds
IP Multilayer switching fast aging time = 0 seconds, packet threshold =0
IP Current flow mask is Destination flow
Configured flow mask is Destination flow
Active IP MLS entries = 0
Netflow Data Export enabled
Netflow Data Export configured for port 8010 on host 10.0.2.15.
Total packets exported = 20
IP MLS-RP IP MLS-RP ID XTAG MLS-RP MAC-Vlans
---------------- ------------ ---- ---------------------------------
172.20.25.2 0000808cece0 20 00-80-8c-ec-e0-20 2-15
172.20.27.1 0000808c1214 30 00-80-8c-12-14-20 31-40
This example shows how to display IPX MLS information:
IPX Multilayer switching disabled
IPX Multilayer switching aging time = 256 seconds
IPX flow mask is Destination flow
Active IPX MLS entries = 0
IPX 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
Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde flow
clear mls statistics
set mls nde
show mls statistics
show 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 settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
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
ip
|
(Optional) Keyword to display IP MLS cache entries.
|
qos
|
(Optional) Keyword QoS entries.
|
rp
|
(Optional) Keyword the MLS-RP.
|
ip_addr
|
(Optional) IP address or host name of the MLS-RP.
|
destination
|
(Optional) Keyword to specify the destination IP address.
|
ip_addr_spec
|
(Optional) Full IP address or a subnet address.
|
source
|
(Optional) Keyword to specify the source IP address.
|
flow
|
(Optional) Keyword to specify 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 to display IPX MLS cache entries.
|
ipx_addr_spec
|
(Optional) Full IPX address or a network address.
|
Defaults
The default displays all IP and IPX MLS cache entries.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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> show mls entry ip
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac
--------------- --------------- ---- ------ ------ -----------------
172.20.22.14 172.20.25.10 UDP 8050 648 00-60-70-6c-fc-22
172.20.20.15 172.20.25.148 UDP 506 5080 00-60-70-6c-fc-23
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24
172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25
This example shows how to display all IPX MLS cache entries:
Console> show mls entry ipx
Destination IPX Source IPX net Destination Mac Vlan Port
--------------- -------------------- --------------------------- ---- -----
1.0002.00e0.fefc.6000 1.0003 08-00-20-7a-07-75 10 11/12
1.0003.00e0.a3a8.f7ff 1.0002 00-10-0d-82-10-ff 1 1/9
This example shows how to display IP MLS cache entries for a specific MLS-RP:
Console> show mls entry ip rp 172.20.27.1
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
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
This example shows how to display IPX MLS cache entries for a specific MLS-RP:
Console> show mls entry ipx rp 172.0.72.199
Destination IPX Source IPX net Destination Mac Vlan Port
--------------- -------------------- --------------------------- ---- -----
1.0002.00e0.fefc.6000 1.0003 08-00-20-7a-07-75 10 11/12
1.0003.00e0.a3a8.f7ff 1.0002 00-10-0d-82-10-ff 1 1/9
This example shows how to display QoS-related MLS cache entries:
Console> 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
This example shows how to display IP MLS cache entries for a destination IP address:
Console> show mls entry destination 172.20.22.14/24
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
172.20.22.14 172.20.25.10 UDP 80 50648 00-60-70-6c-fc-22 4 2/1
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls statistics
show mls statistics
show 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
ip
|
(Optional) Keyword to display the IP MLS-RP include list.
|
ipx
|
(Optional) Keyword to display the IPX MLS-RP include list.
|
noalias
|
(Optional) Keyword to display IP addresses instead of host names in the output.
|
Defaults
The default displays both IP and IPX MLS-RP include list information.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the IP MLS-RP include list:
Console> show mls include ip
---------------------------------------
This example shows how to display the IPX MLS-RP include list:
Console> show mls include ipx
---------------------------------------
Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde flow
clear mls statistics
set mls nde
show mls statistics
show 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
rp
|
(Optional) Keyword to specify a MMLS-RP.
|
rp_ip_addr
|
(Optional) IP address or host name of the MMLS-RP for which to display entries.
|
vlan
|
(Optional) Keyword to specify a VLAN.
|
vlan_id
|
(Optional) VLAN ID for which to display entries.
|
group
|
(Optional) Keyword to specify a multicast group address.
|
group_ip_addr
|
(Optional) IP multicast group address for which to display entries.
|
source
|
(Optional) Keyword to specify 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 to display all IP multicast MLS entries on the switch.
|
short
|
(Optional) Keyword to specify command output for terminals that support output that is less than 80 characters wide.
|
long
|
(Optional) Keyword to specify command output for terminals that support output that is 80 characters wide.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Supervisor Engine II G or III G, or Supervisor Engine III.
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> show mls multicast entry rp 10.1.5.252 source 10.1.11.1
Router IP Dest IP Source IP Pkts Bytes InVlan OutVlans
---------------- ------------- ------------ ---------- ---------- -----------
10.1.5.252 224.1.1.1 10.1.11.1 16080 2797920 20
This example shows how to display IP multicast MLS cache entries for a specific multicast group address:
Console> show mls multicast entry group 226.0.1.3
Router 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,45
172.16.2.1 226.0.1.3 172.3.4.9 12 25 3120 8,20
Related Commands
clear mls multicast include
clear mls multicast statistics
set mls multicast
show 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 settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the IP multicast MLS-RP route processors currently included to run MLS:
Console> show mls multicast include
---------------------------------------------------------------------
Related Commands
clear mls multicast include
clear mls multicast statistics
set mls multicast
show 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
ip_addr
|
(Optional) IP address or host name of the MMLS-RP.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Supervisor Engine II G or III G, or Supervisor Engine III.
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> show mls multicast statistics rp 172.16.2.12
Router IP Router Name Router MAC
------------------------------------------------
172.16.2.12 mothra 00-10-0d-38-a4-00
Open Connection Requests: 2
Output VLAN Delete TLV: 2
Related Commands
clear mls multicast statistics
set mls multicast
show 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 settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display NDE information:
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
Related Commands
clear mls nde flow
set mls nde
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
ip
|
Keyword to display information about an MLS-RP for IP MLS.
|
ipx
|
Keyword to display information about an MLS-RP for IPX MLS.
|
ip_addr
|
IP address or host name of the MLS-RP.
|
noalias
|
(Optional) Keyword to display IP addresses instead of host names in the output.
|
Defaults
The default displays MLS-RP information for IP MLS.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display information about a specific IPX MLS-RP:
Console> 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
Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde flow
clear mls statistics
set mls nde
show mls statistics
show 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
protocol
|
Keyword to display the statistics based on protocol (such as Telnet, FTP, or WWW).
|
ip
|
(Optional) Keyword to specify IP MLS.
|
ipx
|
(Optional) Keyword to specify IPX MLS.
|
rp
|
(Optional) Keyword to specify an MLS-RP.
|
ip_addr
|
(Optional) IP address or host name of the MLS-RP.
|
entry
|
Keyword to display statistics for IP or IPX MLS cache entries.
|
destination
|
(Optional) Keyword to display statistics for the destination IP address.
|
ip_addr_spec
|
(Optional) Full IP address or a subnet address.
|
source
|
(Optional) Keyword to display statistics for the source IP address.
|
flow
|
(Optional) Keyword 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.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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 protocol
Protocol TotalFlows TotalPackets Total Bytes
------- ---------- -------------- ------------
This example shows how to display the statistics for all protocol categories for all MLS-RPs:
Console>(enable) show mls statistics rp
Total packets switched = 3152
Active IP MLS entries = 0
Total packets exported= 0
MLS-RP IP MLS-RP ID packets bytes
--------------- ------------ ---------- ------------
172.20.25.2 0000808cece0 3152 347854
172.20.27.1 000080a36c32 4332 532456
This example shows how to display IPX MLS statistics for all MLS-RPs:
Console> show mls statistics ipx rp
Total packets switched = 212540292
Active IPX MLS entries = 16
MLS-RP IP MLS-RP ID packets bytes
--------------- ------------ ---------- ------------
10.20.26.64 00e0fefc6000 877192 803473584
This example shows how to display the statistics for a specific destination IP address:
Console> show mls statistics entry destination 172.20.22.14
Destination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
172.20.22.14 172.20.25.10 6 50648 80 3152 347854
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.6000
Destination IPX Source IPX net Stat-Pkts Stat-Bytes
------------------------- -------------- ---------- ----------
1.0002.00e0.fefc.6000 1.0003 11 521
Related Commands
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde flow
clear mls statistics
set mls nde
show mls rp
show module
Use the show module command to display module status and information.
show module [mod]
Syntax Description
mod
|
(Optional) Number of the module. If a number is not specified, all modules are shown.
|
Defaults
This command has no default settings.
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 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.
Examples
This example shows how to display status and information for all modules on the switch:
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 0 Supervisor III WS-X5530 yes ok
2 2 Gigabit Ethernet Ext WS-X5410
3 3 9 Gigabit Ethernet WS-X5410 no ok
5 5 24 3 Segment 100BaseTX Ether WS-X5223 no ok
Mod Module-Name Serial-Num
--- ------------------- --------------------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ----------
1 00-e0-14-10-98-00 to 00-e0-14-10-9b-ff 1.3 3.1.2
3 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)ORL
Mod Sub-Type Sub-Model Sub-Serial Sub-Hw
--- -------- --------- ---------- ------
1 EARL 1+ WS-F5520 0005758039 0.306
This example shows how to display status and information for module 3:
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
3 3 9 Gigabit Ethernet WS-X5410 no ok
Mod Module-Name Serial-Num
--- ------------------- --------------------
Mod 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))
Table 2-36 describes the possible fields in the show module command output.
Table 2-36 show module Command Output Fields
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 10BASE-T 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.
|
show moduleinit
Use the show moduleinit command to display contents of the information stored in the system module bringup log.
show moduleinit [mod] [log lognum | -logcount]
Syntax Description
mod
|
(Optional) Number of the module. If you do not specify a number, all modules are shown.
|
log
|
(Optional) Keyword to specify a specific log.
|
lognum
|
(Optional) Number of log to display.
|
-logcount
|
(Optional) Number of previous logs to display.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the last two logs for module 1:
Console> show moduleinit 1 log -2
Module 1: Number of Logs: 3
State 1: Entry/Exit/Elapse Time: 14721/14721/0
State 2: Entry/Exit/Elapse Time: 14721/14721/0
State 3: Entry/Exit/Elapse Time: 14721/32223/17502
State 1: Entry/Exit/Elapse Time: 38302/38302/0
P_PortConfigTokenRingFeatures()
State 2: Entry/Exit/Elapse Time: 38302/38302/0
State 3: Entry/Exit/Elapse Time: 38302/38310/8
This example shows how to display the contents of a specific log for module 1:
Console> show moduleinit 1 log 2
Module 1: Number of Logs: 3
State 1: Entry/Exit/Elapse Time: 14721/14721/0
State 2: Entry/Exit/Elapse Time: 14721/14721/0
Table 2-37 describes the possible fields in the show moduleinit command output.
Table 2-37 show moduleinit Command Output Fields
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.
|
show multicast group
Use the show multicast group command to display the multicast group configuration.
show multicast group [mac_addr] [vlan_id]
Syntax Description
mac_addr
|
(Optional) Destination MAC address.
|
vlan_id
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
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
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
Table 2-38 describes the fields in the show multicast group command output.
Table 2-38 show multicast group Command Output Fields
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 sent 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.
|
Related Commands
clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast router
show 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
vlan_id
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default settings.
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 5
Total Number of Entries = 2
Related Commands
clear multicast router
set cgmp
set igmp
set multicast router
show multicast router
show multicast protocols status
Use the show multicast protocols status command to display multicast protocol configuration status.
show multicast protocols status
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example show how to display the multicast protocol configuration:
Console> show multicast protocols status
Related Commands
clear multicast router
set multicast router
show multicast group count
show multicast router