Table Of Contents
show ip route
show ip telnet
show kerberos
show l2protocol-tunnel statistics
show lacp-channel
show lcperroraction
show lda
show localuser
show log
show log command
show logging
show logging buffer
show logging callhome
show logging callhome destination
show logging callhome from
show logging callhome reply-to
show logging callhome severity
show logging callhome smtp-server
show mac
show mac-auth-bypass
show macro
show microcode
show mls
show mls acl-route
show mls cef exact-route
show mls cef interface
show mls cef mac
show mls cef maximum-routes
show mls cef rpf
show mls cef summary
show mls entry
show mls entry cef
show mls entry netflow-route
show mls exclude protocol
show mls flowmask
show mls multicast
show mls nde
show mls netflow-route
show mls pbr-route
show mls statistics
show mls verify
show module
show moduleinit
show msfcautostate
show msmautostate
show multicast group
show multicast group count
show multicast protocols status
show multicast ratelimit-info
show multicast router
show multicast v3-group
show mvrp
show mvrp statistics
show netstat
show ntp
show packet-capture
show pbf
show pbf arp-inspection
show pbf client
show pbf gw
show pbf-map
show policy
show poll
show ip route
To display IP routing table entries, use the show ip route command.
show ip route [noalias]
Syntax Description
noalias
|
(Optional) Forces the display to show IP addresses, not IP aliases.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the IP route table:
Fragmentation Redirect Unreachable
------------- -------- -----------
Destination Gateway RouteMask Flags Use Interface
--------------- --------------- ---------- ----- -------- ---------
172.20.0.0 172.20.26.70 0xffff0000 U 8 sc0
default default 0xff000000 UH 0 sl0
Table 2-43 describes the fields in the show ip route command output.
Table 2-43 show ip route Command Output Fields
Field
|
Description
|
Fragmentation
|
Current setting of IP fragmentation.
|
Redirect
|
Current setting of ICMP redirect.
|
Unreachable
|
Current setting of ICMP unreachable messages.
|
Destination
|
Destination address IP route mask.
|
Gateway
|
IP address or IP alias of the gateway router.
|
RouteMask
|
Determines which path is closer to the destination.
|
Flags
|
Route status; possible values are U=up, G=route to a Gateway, H=route to a Host, and D=Dynamically created by a redirect.
|
Use
|
Number of times a route entry was used to route packets.
|
Interface
|
Type of interface.
|
Related Commands
clear ip route
set ip route
show ip telnet
To display whether the Telnet server is enabled or disabled, use the show ip telnet command.
show ip telnet
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows to display the status of the Telnet server:
Console> (enable) show ip telnet
Related Commands
set ip telnet server
show kerberos
To display the Kerberos configuration information, use the show kerberos command.
show kerberos [creds]
Syntax Description
creds
|
(Optional) Displays credential information only.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display Kerberos configuration information:
Console> (enable) show kerberos
Kerberos Local Realm:CISCO.COM
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
Srvtab Entry 1:host/niners.cisco.com@CISCO.COM 0 932423923 1 1 8 01;;8>00>50;0=0=0
Table 2-44 describes the fields in the show kerberos command output.
Table 2-44 show kerberos Command Output Fields
Field
|
Description
|
Kerberos Local Realm
|
Status of whether or not the local realm is configured.
|
Kerberos server entries
|
Status of servers entered into the switch.
|
Kerberos Domain<->Realm entries
|
Kerberos domain and realm entries.
|
Kerberos Clients NOT Mandatory
|
Status of whether or not Kerberos has been configured as mandatory on the clients.
|
Kerberos Credentials Forwarding Disabled
|
Status of whether credentials forwarding is enabled or disabled.
|
Kerberos Pre Authentication Method
|
Status of whether preauthentication is enabled or disabled.
|
Kerberos config key
|
Status of whether or not a 3DES key has been configured.
|
Kerberos SRVTAB entries
|
SRVTAB entries.
|
Related Commands
clear kerberos clients mandatory
clear kerberos credentials forward
clear kerberos realm
clear kerberos server
clear key config-key
set kerberos clients mandatory
set kerberos credentials forward
set kerberos local-realm
set kerberos realm
set kerberos srvtab entry
set kerberos srvtab remote
set key config-key
show l2protocol-tunnel statistics
To display Layer 2 protocol tunneling statistics for a port or range or ports, use the show l2protocol-tunnel statistics command.
show l2protocol-tunnel statistics [mod[/port]]
show l2protocol-tunnel statistics mod/port vlan vlan
Syntax Description
mod[/port]
|
(Optional) Number of the module and the number of the port or range of ports on the module. See the "Usage Guidelines" section for more information.
|
vlan
|
Displays Layer 2 protocol tunneling statistics on a VLAN. See the "Usage Guidelines" section for more information.
|
vlan
|
VLAN number.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a module and a port or range of ports, Layer 2 protocol tunneling statistics are displayed for all tunneling ports. If you only specify a module, Layer 2 protocol tunneling statistics are displayed for all tunneling ports on the module.
If you want to specify a VLAN, you must also specify a module number and a port number.
Examples
This example shows how to display Layer 2 protocol tunneling statistics for a range of ports:
Console> show l2protocol-tunnel statistics 7/1-2
Tunneling CoS is set to 5.
Port CDP Frames Encap CDP Frames De-encap
------------------------ -------------------- --------------------
Port STP Frames Encap STP Frames De-encap
------------------------ -------------------- --------------------
Port VTP Frames Encap VTP Frames De-encap
------------------------ -------------------- --------------------
Port EOAM Frames Encap EOAM Frames De-encap
------------------------ -------------------- --------------------
This example shows how to display Layer 2 protocol tunneling statistics for a port:
Console> show l2protocol-tunnel statistics 7/1
Tunneling CoS is set to 5.
Port CDP Frames Encap CDP Frames De-encap
------------------------ -------------------- --------------------
Port STP Frames Encap STP Frames De-encap
------------------------ -------------------- --------------------
Port VTP Frames Encap VTP Frames De-encap
------------------------ -------------------- --------------------
Port EOAM Frames Encap EOAM Frames De-encap
------------------------ -------------------- --------------------
Related Commands
clear l2protocol-tunnel cos
clear l2protocol-tunnel statistics
set l2protocol-tunnel cos
set port l2protocol-tunnel
show port l2protocol-tunnel
show lacp-channel
To display information about the Link Aggregation Control Protocol (LACP) channel, use the show lacp-channel command.
show lacp-channel
show lacp-channel sys-id
show lacp-channel group [admin-key] [info [type] | statistics]
show lacp-channel [channel_id] [info [type] | statistics | mac]
show lacp-channel hash channel_id {{src_ip_addr [dest_ip_addr]} | dest_ip_addr |
{src_mac_addr [dest_mac_addr]} | dest_mac_addr | {src_port dest_port} | dest_port}
show lacp-channel traffic [channel_id]
Syntax Description
sys-id
|
Displays the system identifier adopted by LACP.
|
group
|
Displays all the ports that belong to a channel.
|
admin-key
|
(Optional) Number of the administrative key; valid values are from 1 to 65535.
|
info
|
(Optional) Displays detailed LACP channel information.
|
type
|
(Optional) Name of the feature-related parameter; valid values are auxiliaryvlan, cops, dot1qtunnel, gmrp, gvrp, jumbo, protocol, qos, rsvp, spantree, trunk.
|
statistics
|
(Optional) Displays LACP statistics.
|
channel_id
|
(Optional) Number of the channel; valid values are from 769 to 896.
|
mac
|
(Optional) Specifies MAC information about the channel.
|
hash
|
Displays the outgoing port used in a channel for a specific address or Layer 4 port number.
|
src_ip_addr
|
Source IP address.
|
dest_ip_addr
|
(Optional) Destination IP address.
|
src_mac_addr
|
Source MAC address.
|
dest_mac_addr
|
(Optional) Destination MAC address.
|
src_port
|
Number of the source port; valid values are from 0 to 65535.
|
dest_port
|
Number of the destination port; valid values are from 0 to 65535.
|
traffic
|
Displays traffic utilization on channel ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify the admin-key value, information about all LACP channels is displayed.
If you do not specify the channel_id value, information about all LACP channels is displayed.
For differences between PAgP and LACP, refer to the "Guidelines for Port Configuration" section of the "Configuring EtherChannel" chapter of the Catalyst 6500 Series Switch Software Configuration Guide.
Examples
This example shows how to display information about all LACP channels:
Console> show lacp-channel group
This example shows how to display limited information about ports that are assigned to administrative key 152:
Console> show lacp-channel group 152
Port Channel Admin Ch Partner Oper Partner
----- --------- ----- ---- --------------------------------- -------
4/7 active 152 770 8000,AC-12-24-56-78-90 4/3
4/8 active 152 770 8000,AC-12-24-56-78-90 4/4
This example shows how to display detailed information about ports that are assigned to administrative key 152:
Console> show lacp-channel group 152 info
I = Isolated Port. C = Channeling Port. N = Not Connected.
H = Hot Stand-by Port. S = Suspended Port.
Port LACP Port Port Speed Duplex VLANs Trunk status Port STP Port PortSecurity/
Priority Status Cost Priority Dynamic Port
----- --------- ----- ----- ------ ------ ------------ ----- -------- ------------
4/7 130 C 1000 full 1-1005 not-trunking 4 32
4/8 131 C 1000 full 1-1005 not-trunking 4 32
Port Admin Channel if- Partner Oper Partner Partner Partner
Key id Index Sys ID Port Prior Port Oper Key
----- ----- ------- ----- ------------------------- ---------- -------- ----------
4/7 152 770 31 800,AC-12-24-56-78-90 248 4/3 15768
4/8 152 770 31 800,AC-12-24-56-78-90 249 4/4 15768
This example shows how to display LACP Tx and Rx statistics for ports that are assigned to administrative key 152:
Console> show lacp-channel group 152 statistics
Port Admin LACP Pkts LACP Pkts Marker Pkts Marker Pkts LACP Pkts
Key Transmitted Received Transmitted Received Errors
----- ------- ----------- --------- ----------- ----------- ---------
This example shows how to display all ports that are assigned to an administrative key:
Console> show lacp-channel group info
I = Isolated Port. C = Channeling Port. N = Not Connected.
H = Hot Stand-by Port. S = Suspended Port.
Port LACP Port Port Speed Duplex VLANs Trunk status Port STP Port PortSecurity/
Priority Status Cost Priority Dynamic Port
----- --------- ----- ----- ------ ------ ------------ ----- -------- ------------
4/1 50 I 1000 full 1-1005 not-trunking 4 32
4/2 51 I 1000 full 1-1005 not-trunking 4 32
4/5 27 I 1000 full 1-1005 not-trunking 4 32
4/6 28 I 1000 full 1-1005 not-trunking 4 32
2/1 133 C 1000 full 1-1005 not-trunking 4 32
2/2 134 C 1000 full 1-1005 not-trunking 4 32
4/3 200 C 1000 full 1-1005 not-trunking 4 32
4/4 201 C 1000 full 1-1005 not-trunking 4 32
4/7 130 C 1000 full 1-1005 not-trunking 4 32
4/8 131 C 1000 full 1-1005 not-trunking 4 32
Port Admin Channel if- Partner Oper Partner Partner Partner
Key id Index Sys ID Port Prior Port Oper Key
----- ------- ------- ----- -------------------------- ----------- ------- --------
4/1 69 0 - 0,00-00-00-00-00-00 0 3/1 0
4/2 69 0 - 0,00-00-00-00-00-00 0 4/5 0
4/5 70 0 - 0,00-00-00-00-00-00 0 7/3 0
4/6 70 0 - 0,00-00-00-00-00-00 0 7/4 0
2/1 143 768 29 1276,45-12-24-AC-78-90 34 5/1 5658
2/2 143 768 29 1276,45-12-24-AC-78-90 35 5/2 5658
4/3 151 769 30 13459,89-BC-24-56-78-90 200 1/1 9768
4/4 151 769 30 13459,89-BC-24-56-78-90 201 1/2 9768
4/7 152 770 31 8000,AC-12-24-56-78-90 248 4/3 15678
4/8 152 770 31 8000,AC-12-24-56-78-90 249 4/4 15768
This example shows how to display Tx and Rx statistics for all ports that are assigned to an administrative key:
Console> show lacp-channel group statistics
Port Admin LACP Pkts LACP Pkts Marker Pkts Marker Pkts LACP Pkts
Key Transmitted Received Transmitted Received Errors
----- ------- ----------- --------- ----------- ----------- ---------
This example shows how to display the outgoing port for the specified source and destination IP addresses:
Console> (enable) show lacp-channel hash 808 172.20.32.10 172.20.32.66
Selected channel port:2/17
This example shows how to display traffic utilization on channel ports:
Console> (enable) show lacp-channel traffic
ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ ----- ------- ------- ------- ------- ------- -------
808 2/16 0.00% 0.00% 50.00% 75.75% 0.00% 0.00%
808 2/17 0.00% 0.00% 50.00% 25.25% 0.00% 0.00%
816 2/31 0.00% 0.00% 25.25% 50.50% 0.00% 0.00%
816 2/32 0.00% 0.00% 75.75% 50.50% 0.00% 0.00%
Related Commands
clear lacp-channel statistics
set channelprotocol
set lacp-channel system-priority
set port lacp-channel
set spantree channelcost
set spantree channelvlancost
show port lacp-channel
show lcperroraction
To display how your system handles LCP errors when a module reports an ASIC problem to the Network Management Processor (NMP), use the show lcperroraction command.
show lcperroraction
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display the action that handles an LCP error:
Console> (enable) show lcperroraction
LCP action level is: system
Related Commands
set lcperroraction
show lda
To display the ASLB configuration information, use the show lda command.
show lda [committed | uncommitted]
show lda mls entry
show lda mls entry [destination ip_addr_spec] [source ip_addr_spec] [protocol protocol]
[src-port src_port] [dst-port dst_port] [short | long]
show lda mls statistics count
show lda mls statistics entry
show lda mls statistics entry [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol] [src-port src_port] [dst-port dst_port]
Syntax Description
committed
|
(Optional) Views committed configuration information.
|
uncommitted
|
(Optional) Views configuration information that has not been committed.
|
mls entry
|
Displays the ASLB MLS entries.
|
destination ip_addr_spec
|
(Optional) Full destination IP address or a subnet address in these formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
|
source ip_addr_spec
|
(Optional) Full source IP address or a subnet address in these formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
|
protocol protocol
|
(Optional) Specifies additional flow information (protocol family and protocol port pair) to be matched; valid values include tcp, udp, icmp, or a decimal number for other protocol families.
|
src-port src_port
|
(Optional) Specifies the number of the TCP/UDP source port (decimal). Used with dst-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
dst-port dst_port
|
(Optional) Specifies the number of the TCP/UDP destination port (decimal). Used with src-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
short | long
|
(Optional) Specifies the width of the display.
|
count
|
Displays the number of active ASLB MLS entries.
|
mls statistics entry
|
Displays statistics information.
|
Defaults
The default displays MLS entry information in long format.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC (Policy Feature Card).
Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
When entering the ip_addr_spec value, use the full IP address or a subnet address in one of the following formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). 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 value 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 value 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.
If you have disabled the ASLB feature, you can view the last configuration using the show lda uncommitted command.
The short | long options give the flexibility to display the output in regular (80 characters in width) or wide screen.
If you enter the show lda mls entry or the show lda mls statistics entry command with no keywords or variables, all entries are displayed.
Examples
This example shows how to display committed ASLB information:
Console> (enable) show lda committed
Local Director Flow:10.0.0.8/ (TCP port 8)
Router and LD are on VLAN 110
LD is connected to switch port 4/26 on VLAN 110
Server(s) and LD are on VLAN 105
LD is connected to switch port 4/40 on VLAN 105
This example shows how to display uncommitted ASLB information:
Console> (enable) show lda uncommitted
Note
The examples shown for the show lda mls entry commands are displayed in short format. The display in the long form exceeds the page width and cannot be shown.
This example shows how to display ASLB MLS entries in short format:
Console> (enable) show lda mls entry short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan
--------------- --------------- ----- ------ ------ ----------------- ----
EDst ESrc DPort SPort Stat-Pkts Stat-Bytes Uptime Age
---- ---- ------ ------ ---------- ----------- -------- --------
10.0.0.8 172.20.20.10 TCP 8 64 00-33-66-99-22-44 105
ARPA ARPA - 4/25 0 0 00:00:02 00:00:05
10.0.0.8 172.20.20.11 TCP 8 64 00-33-66-99-22-44 105
ARPA ARPA - 4/25 0 0 00:00:05 00:00:08
This example shows how to display ASLB information for the source IP address in short format:
Console> (enable) show lda mls entry source 172.20.20.11 short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan
--------------- --------------- ----- ------ ------ ----------------- ----
EDst ESrc DPort SPort Stat-Pkts Stat-Bytes Uptime Age
---- ---- ------ ------ ---------- ----------- -------- --------
10.0.0.8 172.20.20.11 TCP 8 64 00-33-66-99-22-44 105
ARPA ARPA - 4/25 0 0 00:00:05 00:00:08
This example shows how to display the number of active ASLB MLS entries:
Console> (enable) show lda mls statistics count
This example shows how to display all ASLB MLS entry statistics:
Console> (enable) show lda mls statistics entry
Destination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
10.0.0.8 172.20.20.10 TCP WWW 64 636 29256
10.0.0.8 172.20.22.10 TCP WWW 64 0 0
This example shows how to display the statistics for a specific destination IP address:
Console> (enable) show lda 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
Related Commands
clear lda
commit lda
set lda
show localuser
To display the local user accounts for a switch, use the show localuser command.
show localuser [name]
Syntax Description
name
|
(Optional) Specifies the local user account.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display all local user accounts:
Console> (enable) show localuser
Local User Authentication: enabled
This example shows how to display a specific local user account:
Console> (enable) show localuser troy
Local User Authentication: enabled
Related Commands
clear localuser
set localuser
show log
To display the error log for the system or a specific module, use the show log command.
show log [mod]
show log dump [-count]
Syntax Description
mod
|
(Optional) Number of the module for which the log is displayed.
|
dump
|
Displays dump log information.
|
-count
|
(Optional) Number of dump log entries to display.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
To display the contents of ASIC error messages as soon as they are received from SLCP or LCP, see the set logging server command.
You can use the dump keyword to display log dump information generated when certain events occur, such as memory corruption.
Examples
This example shows a partial display of the output from the show log command:
Network Management Processor (ACTIVE NMP) Log:
Re-boot History: Mar 22 2000 10:34:09 0, Mar 17 2000 15:35:11 0
Mar 13 2000 17:40:16 0, Mar 13 2000 13:14:08 0
Mar 13 2000 11:57:30 0, Feb 24 2000 10:04:18 0
Bootrom Checksum Failures: 0 UART Failures: 0
Flash Checksum Failures: 0 Flash Program Failures: 0
Power Supply 1 Failures: 0 Power Supply 2 Failures: 0
Swapped to CLKA: 0 Swapped to CLKB: 0
Swapped to Processor 1: 0 Swapped to Processor 2: 0
Last software reset by user: 3/13/2000,17:39:00
01. 1/25/2000,17:39:10: convertCiscoMIB:PreSac(0) checksum failed: 0xFFFF(0xE507
Reset History: Wed Mar 22 2000, 10:35:54
Fri Mar 17 2000, 15:36:57
Wed Mar 15 2000, 16:54:59
Tue Mar 14 2000, 16:02:19
<<<<output truncated >>>>
This example shows how to display dump log information:
Console> (enable) show log dump
Table 2-45 describes the possible fields in the output from the show log command.
Table 2-45 show log Command Output Fields
Field
|
Description
|
Network Management Processor (ACTIVE NMP) Log
|
Log that applies to the NMP on the supervisor engine.
|
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.
|
Swapped to CLKA
|
Number of times a switchover to clock A has occurred.
|
Swapped to CLKB
|
Number of times a switchover to clock B has occurred.
|
Swapped to Processor 1
|
Number of times a switchover to processor 1 has occurred.
|
Swapped to Processor 2
|
Number of times a switchover to processor 2 has occurred.
|
DRAM Failures
|
Number of times the DRAM has failed.
|
Exceptions:
|
Exceptions log.
|
Last software reset by user
|
Date of the last time the software was reset.
|
NVRAM log
|
Number of times NVRAM errors have occurred.
|
Reset Count
|
Number of times the system has reset.
|
Reset History
|
Date and times the system has reset.
|
Total log
|
Number of entries.
|
Related Commands
clear log
show log command
To display the command log entries, use the show log command command.
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
Normal.
Usage Guidelines
The command log entry table is a history log of commands input to the switch from the console, Telnet or SSH.
Examples
This example shows how to display the command log for a specific module:
Console> show log command
001. Jul 19 13:49:44 Pid = 174 set logg cons ena
Session Type = Console TTY = 0 Username = Location =
002. Jul 19 13:49:51 Pid = 174 en engineer
Session Type = Console TTY = 0 Username = Location =
003. Jul 19 13:50:13 Pid = 174 start_op_console
Session Type = Telnet TTY = 22542919 Username = Location=172.20.16.10
004. Jul 19 13:50:15 Pid = 174 sh int
Session Type = Telnet TTY = 22542919 Username = Location = 172.20.16.10
005. Jul 19 13:50:16 Pid = 174 ena
Session Type = SSH TTY = 2254347796 Username = cisco Location = 10.5.7.62
006. Jul 19 13:50:18 Pid = 174 sh int
Session Type = Console TTY = 0 Username = Location =
007. Jul 19 13:51:55 Pid = 174 sh log comm
Session Type = SSH TTY = 2254347796 Username = Location = 10.5.7.62
008. Jul 19 13:52:09 Pid = 174 en eng
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
009. Jul 19 13:52:24 Pid = 174 set feature log-command disabl
Session Type = Console TTY = 0 Username = cisco Location =
010. Jul 19 13:52:42 Pid = 174 sh log command
Session Type = Console TTY = 0 Username = Location =
011. Jul 19 13:52:55 Pid = 174 sh log comma
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
Related Commands
clear log command
show logging
To display the system message log information, use the show logging command.
show logging [noalias]
Syntax Description
noalias
|
(Optional) Forces the display to show IP addresses, not IP aliases.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the default system message log configuration:
timestamp option: enabled
severity: notifications(5)
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-46 describes the fields in the show logging command output.
Table 2-46 show logging Command Output Fields
Field
|
Description
|
Logging buffered size
|
Size of the logging buffer.
|
timestamp option
|
Status of whether the timestamp option is enabled or disabled.
|
Logging history size
|
Size of the logging history buffer.
|
Logging history severity
|
Severity level at which point errors are logged to the history table.
|
Logging console
|
Status of whether logging to the console is enabled or disabled.
|
Logging telnet
|
Status of whether logging to the Telnet session is enabled or disabled.
|
Logging server
|
Status of whether logging to the logging server is enabled or disabled.
|
Facility
|
Name of the facility to be logged.
|
Server/Severity
|
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 console
set logging history
set logging level
set logging server
set logging session
show logging buffer
show logging buffer
To display system messages from the internal buffer, use the show logging buffer command.
show logging buffer [-] [number_of_messages]
Syntax Description
-
|
(Optional) Forces the display to show system messages starting from the end of the buffer.
|
number_of_messages
|
(Optional) Number of system messages to be displayed; valid values are from 1 to 1023.
|
Defaults
The default is -20 messages.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not enter the - keyword, system messages are displayed from the beginning of the buffer. If you do not specify the number_of_messages, all messages in the buffer are displayed.
Examples
This example shows how to display the first four system messages from the internal buffer:
Console> (enable) show logging buffer 4
1999 Dec 28 15:18:21 %SYS-1-SYS_NORMPWRMGMT:System in normal power management on
1999 Dec 28 15:18:24 %SYS-5-MOD_PWRON:Module 2 powered up
1999 Dec 28 15:18:31 %MLS-5-NDEDISABLED:Netflow Data Export disabled
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
This example shows how to display the last four system messages from the internal buffer:
Console> (enable) show logging buffer -4
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
1999 Dec 28 15:18:32 %SYS-5-MOD_OK:Module 1 is online
1999 Dec 28 15:19:07 %SYS-5-MOD_OK:Module 2 is online
1999 Dec 28 15:19:27 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1
Related Commands
clear logging buffer
set logging buffer
show logging callhome
To display the configured CallHome settings, use the show logging callhome command.
show logging callhome
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 configured CallHome settings:
Console> (enable) show logging callhome
Callhome Functionality: enabled
Callhome Severity: LOG_ERR(3)
Destination Address Message Size
------------------- ------------
adminboss@cisco.com No Fragmentation
adminjane@cisco.com No Fragmentation
adminjoe@epage.cisco 128 bytes
Reply-To: adminjane@cisco.com
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Table 2-47 describes the fields in the show logging callhome command output.
Table 2-47 show logging callhome Command Output Fields
Field
|
Description
|
CallHome functionality
|
Current setting of CallHome.
|
CallHome Severity
|
Severity level at which point syslog messages are sent to specified destination addresses.
|
SMTP Server
|
IP address of SMTP server(s) specified for CallHome.
|
Destination Address
|
E-mail or pager e-mail addresses for all recipients set to receive syslog messages.
|
Message Size
|
Message fragment size specified for each Destination Address.
|
From:
|
E-mail address set to display as From address in the syslog messages sent.
|
Reply-To:
|
E-mail address set to display as the Reply-to address in the syslog messages sent.
|
0 (emergencies), 1 (alerts)...
|
Key to the numeric severity level codes.
|
Related Commands
clear logging callhome
clear logging callhome from
clear logging callhome reply-to
show logging callhome severity
clear logging callhome smtp-server
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
set logging callhome smtp-server
show logging callhome destination
show logging callhome from
show logging callhome reply-to
show logging callhome severity
show logging callhome smtp-server
show logging callhome destination
To display the addresses set to receive CallHome syslog messages, use the show logging callhome destination command.
show logging callhome destination
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 destination addresses set to receive CallHome syslog messages:
Console> (enable) show logging callhome destination
Destination Address Message Size
------------------- ------------
adminboss@cisco.com No Fragmentation
adminjane@cisco.com No Fragmentation
adminjoe@epage.cisco 128 bytes
Table 2-48 describes the fields in the show logging callhome destination command output.
Table 2-48 show logging callhome destination Command Output Fields
Field
|
Description
|
Destination Address
|
E-mail or pager e-mail addresses for all recipients set to receive syslog messages.
|
Message Size
|
Message fragment size specified for each Destination Address.
|
Related Commands
clear logging callhome
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
set logging callhome smtp-server
show logging
show logging callhome
show logging callhome from
show logging callhome reply-to
show logging callhome severity
show logging callhome smtp-server
show logging callhome from
To display the From address in the CallHome syslog messages, use the show logging callhome from command.
show logging callhome from
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 From address in the CallHome syslog messages:
Console> (enable) show logging callhome from
Related Commands
clear logging callhome from
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
set logging callhome smtp-server
show logging callhome
show logging callhome destination
show logging callhome reply-to
show logging callhome severity
show logging callhome smtp-server
show logging callhome reply-to
To display the Reply-to address in the CallHome syslog messages, use the show logging callhome reply-to command.
show logging callhome reply-to
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 Reply-to address in the CallHome syslog messages:
Console> (enable) show logging callhome reply-to
Reply-To: adminjane@cisco.com
Related Commands
clear logging callhome reply-to
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
set logging callhome smtp-server
show logging callhome
show logging callhome destination
show logging callhome from
show logging callhome severity
show logging callhome smtp-server
show logging callhome severity
To display the severity level at which point syslog messages are sent to specified destination addresses, use the show logging callhome severity command.
show logging callhome severity
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 severity level at which point syslog messages are sent to specified destination addresses:
Console> (enable) show logging callhome
Callhome Severity: LOG_ERR(3)
Related Commands
clear logging callhome severity
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
show logging callhome
show logging callhome destination
show logging callhome from
show logging callhome reply-to
show logging callhome smtp-server
show logging callhome smtp-server
To display the SMTP servers set for CallHome to use when routing messages, use the show logging callhome smtp-server command.
show logging callhome smtp-server
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 SMTP servers set for CallHome to use when routing messages:
Console> (enable) show logging callhome smtp-server
Related Commands
clear logging callhome smtp-server
set logging callhome
set logging callhome destination
set logging callhome from
set logging callhome reply-to
set logging callhome severity
set logging callhome smtp-server
show logging callhome
show logging callhome destination
show logging callhome from
show logging callhome reply-to
show logging callhome severity
show mac
To display MAC counters, use the show mac command.
show mac [utilization] [mod[/port]]
Syntax Description
utilization
|
(Optional) Displays approximated packet and byte rates.
|
mod/[/port]
|
(Optional) Number of the module and optionally, the number of the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The utilization keyword is not supported on ATM ports.
If you do not specify a module number, all modules are shown. If you do not specify a port number, all ports are shown.
The Out-Discards field displays the number of outbound packets chosen to be discarded even though no errors had been detected to prevent being transmitted. For example, an outbound link is overwhelmed by switch traffic. Packets dropped are the ones destined for that port, but the port could not accept those packets due to XMT buffer overflow.
The Xmit-Packet-Rate, Xmit-Octet-Rate, Rcv-Packet-Rate, and Rcv-Octet-Rate fields display approximated average utilization rates rather than exact values. The approximated average is based on the previous approximation values, the last counter values read from hardware, the load time interval (fixed at 5 minutes), and the polling interval.
Examples
This example shows how to display MAC information for port 14 on module 3:
Console> (enable) show mac 3/14
MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
MAC Dely-Exced MTU-Exced In-Discard Out-Discard
-------- ---------- ---------- ---------- -----------
MAC SMT-Address Curr-Path TReq TNeg TMax TVX
------- ----------------- ---------- -------- -------- -------- --------
3/4 00:06:7c:b3:bc:98 primary 165000 165000 165004 2509
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
-------- -------------------- --------------------
-------- --------------------------
5/40 Tue Mar 21 2000, 19:19:03
This example shows how to display MAC information for VLAN 501:
Console> (enable) show mac utilization vlan 501
300 seconds input/output port rates:
Port Xmit-Packet-Rate Xmit-Octet-Rate Xmit-Bit-Rate
----- -------------------- -------------------- --------------------
Port Rcv-Packet-Rate Rcv-Octet-Rate Rcv-Bit-Rate
----- -------------------- -------------------- --------------------
Console> (debug-eng) sh mac utilization 3/13
300 seconds input/output port rates:
Port Xmit-Packet-Rate Xmit-Octet-Rate Xmit-Bit-Rate
----- -------------------- -------------------- --------------------
Port Rcv-Packet-Rate Rcv-Octet-Rate Rcv-Bit-Rate
----- -------------------- -------------------- --------------------
This example shows how to display MAC information on port 3 and module 13:
Console> (enable) show mac utilization 3/13
300 seconds input/output port rates:
Port Xmit-Packet-Rate Xmit-Octet-Rate Xmit-Bit-Rate
----- -------------------- -------------------- --------------------
Port Rcv-Packet-Rate Rcv-Octet-Rate Rcv-Bit-Rate
----- -------------------- -------------------- --------------------
Console> (enable) show mac utilization 3
300 seconds input/output port rates:
Port Xmit-Packet-Rate Xmit-Octet-Rate Xmit-Bit-Rate
----- -------------------- -------------------- --------------------
Table 2-49 describes the possible fields in the show mac command output.
Table 2-49 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-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.
|
Out-Discard
|
Number of outbound packets chosen to be discarded even though no errors had been detected to prevent their being transmitted.
|
Curr-Path
|
Current path used (primary or secondary).
|
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 SMT 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-Broadcast
|
Number of broadcast frames received on the port.
|
Xmit-Unicast
|
Number of unicast 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.
|
MAC Last-Time-Cleared
|
Module and port number and the date and time of the last time the software counters are cleared on this MAC.
|
Xmit-Packet-Rate
|
Number of packets transmitted.
|
Xmit-Octet-Rate
|
Number of bytes transmitted.
|
Rcv-Packet-Rate
|
Number of packets received.
|
Rcv-Octet-Rate
|
Number of bytes received.
|
Xmit-Packet-Rate
|
Number of packets transmitted.
|
Xmit-Octet-Rate
|
Number of bytes transmitted.
|
Related Commands
set mac utilization load-interval
clear mac utilization
show mac-auth-bypass
To display information about the MAC address authentication bypass feature for all ports that have the feature enabled or for a port with the specific MAC address, use the show mac-auth-bypass command.
show mac-auth-bypass config
show mac-auth-bypass {mac_addr | all}
Syntax Description
config
|
Displays the global settings for the MAC address authentication bypass feature, including the timer values, the violation mode, and the global reauthentication mode.
|
mac_addr
|
MAC address for the port.
|
all
|
Displays information for all ports that have the MAC address authentication bypass feature enabled.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display MAC address authentication bypass global configuration settings:
Console> show mac-auth-bypass config
Mac-Auth-Bypass Global Config
-----------------------------
Mac-Auth-Bypass Status = Enabled
Radius Accounting = Disabled
Reauthentication = Disabled
Violation mode = Shutdown
Critical Recovery Delay = 100 milliseconds
This example shows how to display MAC address authentication bypass information for all ports in the switch that have the feature enabled:
Console> show mac-auth-bypass all
Port Mac-Auth-Bypass State MAC Address Auth-State Vlan
----- --------------------- ----------------- -------------- -----
5/2 Enabled 00-00-00-00-00-00 waiting 1
5/3 Enabled 00-00-00-00-00-00 waiting 1
5/4 Enabled 00-00-00-00-00-00 waiting 1
5/5 Enabled 00-00-00-00-00-00 waiting 1
5/6 Enabled 00-00-00-00-00-00 waiting 1
5/7 Enabled 00-00-00-00-00-00 waiting 1
5/8 Enabled 00-00-00-00-00-00 waiting 1
Port Termination action Session Timeout Shutdown/Time-Left
----- ------------------ --------------- ------------------
5/2 reauthenticate 3600 NO -
5/3 reauthenticate 3600 NO -
5/4 reauthenticate 3600 NO -
5/5 reauthenticate 3600 NO -
5/6 reauthenticate 3600 NO -
5/7 reauthenticate 3600 NO -
5/8 reauthenticate 3600 NO -
Related Commands
set mac-auth-bypass
set port mac-auth-bypass
show port mac-auth-bypass
show macro
To display user-defined SmartPorts macros and macro variables, use the show macro command.
show macro all
show macro name macro_name [variables [mod/port]]
show macro variable {all | name variable_name [mod/port]}
show macro map {all | name macro_name | port mod/port}
Syntax Description
all
|
Displays the names of all user-defined macros.
|
name
|
Displays the definition of a specific macro.
|
macro_name
|
Name of the macro.
|
variables
|
Displays variables in a user-defined macro.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
variable
|
Displays user-defined macro variables.
|
all
|
Displays all variables.
|
name
|
Displays a specific variable.
|
variable_name
|
Name of the variable.
|
map
|
Displays user-defined macros and their port mappings.
|
all
|
Displays all macros and port mappings.
|
name
|
Displays a specific macro and its port mappings.
|
port
|
Displays a specific port and its macros.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The macro and variable definitions are stored in NVRAM and can be displayed using the show config command.
If there is a macro inside a macro definition and if the root macro is applied on a port, the root macro is displayed using the show macro map command.
For more information about macros, including root macros, see the "Configuring a VoIP Network" chapter of the Catalyst 6500 Series Software Configuration Guide.
Examples
This example shows how to display the names of all the macros in the switch:
Console>
This example shows how to display the definition of a specific macro:
Console> show macro name videophone
The macro definition for videophone is:
set vlan $DATAVLAN #MODPORT
set port auxiliaryvlan #MODPORT $AUXVLAN
This example shows how to display all the macro variables in the switch:
Console> show macro variable all
-------- ---- ----- ------
This example shows how to display a specific macro variable and all of the ports to which it is applied:
Console> show macro variable name $DATAVLAN
-------- ---- ----- ------
DATAVLAN 3/3 5 Per-portGlobal
This example shows how to display an individual macro variable and a specific port to which it is applied:
Console> show macro variable name $DATAVLAN 3/2
-------- ---- ----- ------
This example shows how to display macro variables by entering the macro name:
Console> show macro variables name videophone 3/2
Variable-Name Variable Value Port
------------- -------------- -----
This example shows how to display all macro port mappings:
Console> show macro map all
This example shows how to display the macro port mappings for a specific macro:
Console> show macro map name videophone
This example shows how to display the macro port mappings for a specific port:
Console> show macro map port 3/2
Related Commands
clear macro
set macro
set port macro
show config
show microcode
To display the version of the microcode and the module version information, use the show microcode command.
show microcode
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the show microcode output for a supervisor engine:
Bundled Images Version Size Built
--------------- -------------------- ------- -----------------
LCP SLCP 4.2(0.24)VAI58 302506 12/03/98 03:51:46
LCP LX1000 4.2(0.24)VAI58 288508 12/03/98 03:53:12
LCP LX10100 4.2(0.24)VAI58 379810 12/03/98 03:52:33
Table 2-50 describes possible fields in the show microcode command output.
Table 2-50 show microcode Command Output Fields
Field
|
Description
|
Bundled Images
|
Name of the bundled image.
|
Version
|
Version of the image.
|
Size
|
Size of the image.
|
Built
|
Date image was built.
|
show mls
To display MLS Layer 3 packet information in the MLS-based Catalyst 6500 series switches, use the show mls command.
show mls
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
This command is not supported on switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2).
Examples
These examples show the display if you enter the show mls commands on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC:
Total Active MLS entries = 0
Total packets switched = 0
IP Multilayer switching enabled
IP Multilayer switching aging time = 256 seconds
IP Multilayer switching fast aging time = 0 seconds, packet threshold = 0
Configured flow mask is Destination flow
Active IP MLS entries = 0
Netflow Data Export version: 8
Netflow Data Export disabled
Netflow Data Export port/host is not configured
Total packets exported = 0
MSFC ID Module XTAG MAC Vlans
--------------- ------ ---- ----------------- --------------------
52.0.03 15 1 01-10-29-8a-0c-00 1,10,123,434,121
IPX Multilayer switching enabled
IPX Multilayer switching aging time = 256 seconds
Active IPX MLS entries = 0
MSFC ID Module XTAG MAC Vlans
--------------- ------ ---- ----------------- --------------------
52.0.0.3 16 1 00-10-29-8a-0c-00 1,10
This example shows the display if you enter the show mls command on a switch with a Supervisor Engine 720 with a PFC2A:
Total packets switched = 0
Total flows in the Netflow table = 0
Total forwarding entries in the Netflow table = 0
Statistics flows normal aging time = 64 seconds
Statistics flows long-duration aging time = 8 seconds
Statistics flows fast aging time = 0 seconds, packet threshold = 0
Statistics flows session aging time = 2 seconds
Netflow Data Export version: 7
Netflow Data Export disabled
Netflow Data Export port/host is not configured.
Total packets exported = 0
Destination Ifindex export is enabled
Source Ifindex export is enabled
Module 16: Physical MAC-Address 00-b0-c2-3b-db-fd
Module 16 is the designated RP for installing CEF entries
Rate limiting is turned off, packets are bridged to router
Load balancing hash is based on source and destination IP addresses
Per-prefix Stats for ALL FIB entries is Enabled
Related Commands
clear mls statistics entry
set mls agingtime
set mls exclude protocol
set mls nde
set mls statistics protocol
show mls acl-route
To display summaries from ACL for routing in the MLS-based Catalyst 6500 series switches, use the show mls acl-route command.
show mls acl-route
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
If you enter any of the show mls commands on Catalyst 6500 series switches without IP or IPX MLS, one of these warning messages display:
Multilayer switching not supported on feature card.
or
IPX Multilayer switching not supported on feature card.
Examples
This example shows how to display summaries from ACL for routing:
Console> show mls acl-route
Total L3 packets forwarded 0
Total L3 octets forwarded 0
Total used adjacency entries 0
Related Commands
show mls
show mls cef exact-route
To show the exact path that is taken from a specific IP source address to a specific IP destination address, use the show mls cef exact-route command.
show mls cef exact-route {src_IP} {dst_IP} [{src_port} {dst_port}]
Syntax Description
src_IP
|
Source IP address.
|
dst_IP
|
Destination IP address.
|
src_port
|
(Optional) Layer 4 source port number; valid values are from 0 to 65535. See the "Usage Guidelines" section for more information.
|
dst_port
|
(Optional) Layer 4 destination port number; valid values are from 0 to 65535. See the "Usage Guidelines" section for more information.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If load sharing is in full mode (using a load balancing algorithm to include Layer 4 ports), you must include Layer 4 source and destination port numbers when entering this command. If load sharing is not in full mode, you do not need to include Layer 4 port numbers.
After you access the CLI on the MSFC, you can configure the load sharing mode by entering the mls ip cef load-sharing full command for full mode or by entering the no mls ip cef load-sharing full command for non-full mode. For more information about accessing the CLI on the MSFC, refer to the "Command Line Interface" chapter of the Catalyst 6500 Series MSFC Cisco IOS Command Reference, 12.2SX.
Examples
This example shows how to display the exact path when load sharing is not in full mode:
Console> show mls cef exact-route 90.0.0.1 100.0.0.1
Next Hop:52.0.0.2 Vlan:2, Destination Mac:00:00:00:00:30:01
This example shows how to display the exact path when load sharing is in full mode:
Console> show mls cef exact-route 90.0.0.1 100.0.0.1 20000 10000
Next Hop:53.0.0.2 Vlan:3, Destination Mac:00:00:00:00:40:01
Related Commands
show mls entry cef ip
show mls cef interface
To display MSFC VLAN information, use the show mls cef interface command.
show mls cef interface [vlan]
Syntax Description
vlan
|
(Optional) Number of the VLAN; valid values are from 1 to 4094.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Examples
This example shows how to display Cisco Express Forwarding (CEF) interfaces:
Console> (enable) show mls cef interface
Module 16: vlan 1, IP Address 21.0.0.194, Netmask 255.0.0.0
MTU = 1500, State = up, ICMP-Unreach = enabled, ICMP-Redirect = enabled
Module 16: vlan 43, IP Address 43.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = down, ICMP-Unreach = disabled, ICMP-Redirect = disabled
Module 16: vlan 44, IP Address 44.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = down, ICMP-Unreach = disabled, ICMP-Redirect = disabled
Module 16: vlan 45, IP Address 45.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = up, ICMP-Unreach = enabled, ICMP-Redirect = enabled
Module 16: vlan 46, IP Address 46.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = up, ICMP-Unreach = enabled, ICMP-Redirect = enabled
Module 16: vlan 47, IP Address 47.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = down, ICMP-Unreach = disabled, ICMP-Redirect = disabled
Module 16: vlan 48, IP Address 48.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = down, ICMP-Unreach = disabled, ICMP-Redirect = disabled
Module 16: vlan 49, IP Address 0.0.0.0, Netmask 0.0.0.0
MTU = 1500, State = down, ICMP-Unreach = disabled, ICMP-Redirect = disabled
This example show how to display information for a specific CEF VLAN:
Console> (enable) show mls cef interface 46
Module 16: vlan 46, IP Address 46.0.0.99, Netmask 255.0.0.0
MTU = 1500, State = up, ICMP-Unreach = enabled, ICMP-Redirect = enabled
Table 2-51 describes the possible fields in the show mls cef interface command output.
Table 2-51 show mls cef interface Command Output Fields
Field
|
Description
|
Vlan
|
VLAN associated with the interface.
|
IP Address
|
IP address associated with the interface.
|
Netmask
|
IP network mask associated with the interface.
|
MTU
|
IP MTU associated with the interface.
|
State
|
Interface state (up or down).
|
ICMP-Unreach
|
Status of whether denied Layer 3 packets will be bridged to MSFC to generate ICMP unreachable.
|
ICMP-Redirect
|
Status of whether Layer 3 packets whose destination VLAN is equal to the source VLAN should be redirected to the MSFC to generate ICMP redirect.
|
Unicast RPF
|
Unicast RPF enable/disable.
|
Related Commands
clear mls cef
show mls cef mac
show mls cef summary
show mls entry cef
show mls cef mac
To display bottom interface adapter (BIA) physical MACs and HSRP active virtual MACs associated with the designated MSFC2, use the show mls cef mac command.
show mls cef mac
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
If the MSFC2 has any HSRP MAC addresses configured on one or more VLANs and these interfaces are HSRP ACTIVE (for example, not standby), these will also be displayed in the command output. For example:
Console> show mls cef mac
Module 16:Physical MAC-Address 00-01-97-34-2b-fd
Vlan Virtual MAC-Address(es)
---- -----------------------
You will only see the virtual MAC addresses if those interfaces on the designated MSFC2 that have HSRP configured are HSRP ACTIVE and not STANDBY.
Examples
This example shows how to display the MAC address associated with the designated MSFC2:
Console> (enable) show mls cef mac
Module 16: Physical MAC-Address 00-01-97-36-1b-fd
Related Commands
clear mls cef
show mls cef interface
show mls cef summary
show mls entry cef
show mls cef maximum-routes
To display the maximum number of routes that are configured for each MLS protocol, use the show mls cef maximum-routes command.
show mls cef maximum-routes
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is only available on the Supervisor Engine 720.
If the maximum number of routes is not set for an MLS protocol, a system-determined default value is shown. The default value for a protocol might not be fixed, as the system tries to assign the remaining space to the unassigned protocols. If the maximum-routes configuration is changed after bootup, this command displays two kinds of information: one for the current (bootup) configuration and the other for the new configuration that takes effect after reboot.
Use the set mls cef maximum-routes command to set the values for the maximum number of routes. The values do not take effect until after you reboot the system.
Examples
This example shows how to display the maximum number of routes that are configured for each MLS protocol. The user-configured values do not take effect until after reboot.
Console> (enable) show mls cef maximum-routes
IPv4 multicast : 32k (default)
User configured:(effective after reboot)
IPv4 multicast : 16k (adjusted default)
Related Commands
set mls cef maximum-routes
show mls cef rpf
To display reverse path forwarding (RPF) mode information, statistics, and VLAN table content, use the show mls cef rpf command.
show mls cef rpf {mode | statistics | vlan-table}
Syntax Description
mode
|
Displays the RPF mode.
|
statistics
|
Displays the number of packets and bytes that failed the hardware RPF check.
|
vlan-table
|
Displays the RPF VLAN table.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Types
Normal.
Usage Guidelines
The show mls cef rpf vlan-table command displays the content of the RPF VLAN table, which you configure by entering the mls ip cef rpf interface-group command after you access the CLI on the MSFC. For more information about accessing the CLI on the MSFC, refer to the "Command Line Interface" chapter of the Catalyst 6500 Series MSFC Cisco IOS Command Reference, 12.2SX.
Examples
This example shows how to display RPF mode information:
Console> show mls cef rpf mode
Number of active and RPF enabled VLANs:1
Packets failing hardware RPF check are dropped
RPF check mode:source reachable-via rx
This example shows how to display RPF statistics:
Console> show mls cef rpf statistics
Total packets failing hardware RPF check: 0
Total octets failing hardware RPF check: 0
This example shows how to display RPF VLAN table content:
Console> show mls cef rpf vlan-table
----- -------------------
Related Commands
clear mls cef rpf statistics
show mls cef summary
To display a summary of CEF table information, use the show mls cef summary command.
show mls cef summary
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Examples
This example shows how to display CEF information:
Console> show mls cef summary
Total L3 packets switched: 0
Total L3 octets switched: 0
IP load sharing entries: 0
IPX load sharing entries: 0
Table 2-52 describes the possible fields in the show mls cef summary command output.
Table 2-52 show mls cef summary Command Output Fields
Field
|
Description
|
Total L3 packets forwarded
|
Number of Layer 3 packets forwarded by the CEF engine.
|
Total L3 octets forwarded
|
Number of Layer 3 octets forwarded by the CEF engine.
|
Total route entries
|
Number of route entries.
|
IP route entries
|
Number of IP route entries.
|
IPX route entries
|
Number of IPX route entries.
|
IP load sharing entries
|
Number of IP load-sharing entries.
|
IPX load sharing entries
|
Number of IPX load-sharing entries.
|
Forwarding entries
|
Number of forwarding entries.
|
Bridge entries
|
Number of bridge entries.
|
Drop entries
|
Number of incomplete entries (no adjacency information).
|
Related Commands
clear mls cef
show mls cef interface
show mls cef mac
show mls entry cef
show mls entry
To display state information in the MLS-based Catalyst 6500 series switches, use the show mls entry command.
show mls entry [mod] [short | long]
show mls entry ip [mod] [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol] [src-port src_port] [dst-port dst_port] [short | long]
show mls entry ipx [mod] [destination ipx_addr_spec] [short | long]
show mls entry qos [short | long]
Syntax Description
mod
|
(Optional) MSFC module number; valid values are 15 or 16.
|
short
|
(Optional) Displays the output with carriage returns.
|
long
|
(Optional) Displays the output on one line.
|
ip
|
Specifies IP MLS.
|
destination
|
(Optional) Specifies the destination IP or IPX address.
|
ip_addr_spec
|
(Optional) Full IP address or a subnet address.
|
source
|
(Optional) Specifies the source IP or IPX address.
|
protocol
|
(Optional) Specifies the protocol type.
|
protocol
|
(Optional) Protocol type; valid values can be 0, tcp, udp, icmp, or a decimal number for other protocol families. 0 indicates "do not care."
|
src-port src_port
|
(Optional) Specifies the number of the TCP/UDP source port (decimal). Used with dst-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
dst-port dst_port
|
(Optional) Specifies the number of the TCP/UDP destination port (decimal). Used with src-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
ipx
|
Specifies IPX MLS.
|
ipx_addr_spec
|
(Optional) Full IPX address or a subnet address.
|
qos
|
Specifies QoS.
|
Defaults
The default displays MLS information in long format.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
On switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2), the display contains summaries derived from three forwarding sources: FIB for routing, the NetFlow table for statistics, and ACL TCAM for policy-based routing.
The mod variable and the ip, ipx, long, and short keywords are not supported on switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2).
If you use the ip keyword, you are specifying a command for IP MLS. If you use the ipx keyword, you are specifying a command for IPX MLS.
When entering the ip_addr_spec, use the full IP address or a subnet address in one of the following formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
When entering the ipx_addr_spec, use the full IP address or a subnet address in one of the following formats: src_net/[mask], dest_net.dest_node, or dest_net/mask.
If you enter any show mls command on Catalyst 6500 series switches without IP MLS, this warning message is displayed:
Multilayer switching not supported on feature card.
If you enter any show mls command on Catalyst 6500 series switches without IPX MLS, this warning message is displayed:
IPX Multilayer switching not supported on feature card.
If you enter the show mls command with no arguments, general IP MLS information and all IP MLS-RP information is displayed.
A value 0 for src_port and dst_port means "don't care."
Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). 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.
The [long | short] option gives the flexibility to display the output in regular (80 characters in width) or wide screen.
Dashes may be displayed for some fields if the fields are not applicable to the type of flow mask.
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
The show mls entry command displays bridged flows on a Supervisor Engine 1 when bridged flow statistics is enabled. The show mls statistics entry command displays bridged flows on a Supervisor Engine 2 when bridged flow statistics is enabled. To enable or disable bridged flow statistics, enter the set mls bridged-flow-statistics command.
Examples
Note
The examples shown for the show mls entry commands are displayed in short format. The display in the long form exceeds the page width and cannot be shown.
These examples show the display if you enter the show mls entry commands on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC:
Console> (enable) show mls entry short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan ---------------
--------------- ----- ------ ------ ----------------- ----
ESrc EDst SPort DPort Stat-Pkts Stat-Byte Uptime Age
---- ---- ----- ----- --------------------- -------- --------
171.69.200.234 171.69.192.41 TCP* 6000 59181 00-60-70-6c-fc-22 4
ARPA SNAP 5/8 11/1 3152 347854 09:01:19 09:08:20
171.69.1.133 171.69.192.42 UDP 2049 41636 00-60-70-6c-fc-23 2
SNAP ARPA 5/8 1/1 2345 123456 09:03:32 09:08:12
Destination-IPX Source-IPX-net Destination-Mac Vlan Port
------------------------- -------------- ----------------- ---- -----
BABE.0000.0000.0001 - 00-a0-c9-0a-89-1d 211 13/37 30230 1510775
201.00A0.2451.7423 - 00-a0-24-51-74-23 201 14/33
501.0000.3100.0501 - 31-00-05-01-00-00 501 9/37
401.0000.0000.0401 - 00-00-04-01-00-00 401 3/1
For full flow:
Console> (enable) show mls entry ip short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac
Vlan --------------- --------------- ----- ------ ------
EDst ESrc DPort SPort Stat-Pkts Stat-Byte Uptime Age
---- ---- ----- ----- --------------------- -------- --------
MSFC 127.0.0.24 (module 16):
171.69.200.234 171.69.192.41 TCP* 6000 59181 00-60-70-6c-fc-22 4
ARPA SNAP 5/8 11/1 3152 347854 09:01:19 09:08:20
171.69.1.133 171.69.192.42 UDP 2049 41636 00-60-70-6c-fc-23 2
SNAP ARPA 5/8 1/1 2345 123456 09:03:32 09:08:12
* indicates TCP flow has ended
For destination-only flow:
Console> (enable) show mls entry ip short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan ---------------
--------------- ----- ------ ------ ----------------- ----
ESrc EDst SPort DPort Stat-Pkts Stat-Byte Uptime Age
---- ---- ----- ----- --------------------- -------- --------
MSFC 127.0.0.24 (module 16):
171.69.200.234 - - - - 00-60-70-6c-fc-22 4
ARPA SNAP 5/8 11/1 3152 347854 09:01:19 09:08:20
171.69.1.133 - - - - 00-60-70-6c-fc-23 2
SNAP ARPA 5/8 1/1 2345 123456 09:03:32 09:08:12
* indicates TCP flow has ended
For destination-source flow:
Console> (enable) show mls entry ip 16 short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan ESrc EDst
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan ---------------
--------------- ----- ------ ------ ----------------- ----
ESrc EDst SPort DPort Stat-Pkts Stat-Byte Uptime Age
---- ---- ----- ----- --------------------- -------- --------
MSFC 127.0.0.24 (module 16):
171.69.200.234 171.69.192.41 - - - 00-60-70-6c-fc-22 4
ARPA SNAP 5/8 11/1 3152 347854 09:01:19 09:08:20
171.69.1.133 171.69.192.42 - - - 00-60-70-6c-fc-23 2
SNAP ARPA 5/8 1/1 2345 123456 09:03:32 09:08:12
* indicates TCP flow has ended
For destination-source:
Console> (enable) show mls entry ipx short
Destination-IPX Source-IPX-net Destination-Mac Vlan Port
------------------------- -------------- ----------------- ---- -----
MSFC 127.0.0.22 (Module 15):
201.00A0.2451.7423 1.0002 00-a0-24-51-74-23 201 14/33
501.0000.3100.0501 1.0003 31-00-05-01-00-00 501 9/37
Destination-only flow:
Console> (enable) show mls entry ipx short
Destination-IPX Source-IPX-net Destination-Mac Vlan Port
------------------------- -------------- ----------------- ---- -----
MSFC 127.0.0.24 (module 16):
BABE.0000.0000.0001 - 00-a0-c9-0a-89-1d 211 13/37
201.00A0.2451.7423 - 00-a0-24-51-74-23 201 14/33
501.0000.3100.0501 - 31-00-05-01-00-00 501 9/37
401.0000.0000.0401 - 00-00-04-01-00-00 401 3/1
Console> (enable) show mls entry ipx 16 short
Destination-IPX Source-IPX-net Destination-Mac Vlan Port
------------------------- -------------- ----------------- ---- -----
MSFC 127.0.0.22 (Module 16):
501.0000.3100.0501 - 31-00-05-01-00-00 501 9/37
401.0000.0000.0401 - 00-00-04-01-00-00 401 3/1
These examples show the display if you enter the show mls entry commands on a switch configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
Console> (enable) show mls entry
Mod FIB-Type Destination-IP Destination-Mask NextHop-IP Weight
--- --------- --------------- ---------------- --------------- ------
15 receive 0.0.0.0 255.255.255.255
15 receive 255.255.255.255 255.255.255.255
15 receive 127.0.0.12 255.255.255.255
16 receive 127.0.0.0 255.255.255.255
16 receive 127.255.255.255 255.255.255.255
15 resolved 127.0.0.11 255.255.255.255 127.0.0.11 1
15 receive 21.2.0.4 255.255.255.255
16 receive 21.0.0.0 255.255.255.255
16 receive 21.255.255.255 255.255.255.255
15 receive 44.0.0.1 255.255.255.255
16 receive 44.0.0.0 255.255.255.255
16 receive 44.255.255.255 255.255.255.255
15 receive 42.0.0.1 255.255.255.255
16 receive 42.0.0.0 255.255.255.255
16 receive 42.255.255.255 255.255.255.255
15 receive 43.0.0.99 255.255.255.255
15 receive 43.0.0.0 255.255.255.255
15 receive 43.255.255.255 255.255.255.255
15 receive 192.20.20.20 255.255.255.255
16 receive 21.2.0.5 255.255.255.255
16 receive 42.0.0.20 255.255.255.255
15 connected 43.0.0.0 255.0.0.0
15 drop 224.0.0.0 240.0.0.0
15 wildcard 0.0.0.0 0.0.0.0
Mod FIB-Type Dest-IPX-net NextHop-IPX Weight
--- --------- ------------ ------------------------- ------
15 resolved 450 42.0050.3EA9.ABFD 1
15 resolved 480 42.0050.3EA9.ABFD 1
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan EDst Stat-Pkts Stat-Bytes Uptime
Age TcpDltSeq TcpDltAck
--------------- --------------- ----- ------ ------ ----------------- ---- ---- ---------- -----------
-------- -------- --------- ---------
0.0.0.5 0.0.0.5 5 204 104 cc-cc-cc-cc-cc-cc 5 ARPA 0 0
01:03:18 01:00:51 cccccccc cccccccc
0.0.0.2 0.0.0.2 2 201 101 cc-cc-cc-cc-cc-cc 2 ARPA 0 0
01:03:21 01:00:51 cccccccc cccccccc
0.0.0.4 0.0.0.4 4 203 X cc-cc-cc-cc-cc-cc 4 ARPA 0 0
01:03:19 01:00:51 cccccccc cccccccc
0.0.0.1 0.0.0.1 ICMP 200 100 cc-cc-cc-cc-cc-cc 1 ARPA 0 0
01:03:25 01:00:52 cccccccc cccccccc
0.0.0.3 0.0.0.3 3 202 102 cc-cc-cc-cc-cc-cc 3 ARPA 0 0
01:03:20 01:00:52 cccccccc cccccccc
0.0.0.6 0.0.0.6 TCP 205 105 cc-cc-cc-cc-cc-cc 6 ARPA 0 0
01:03:18 01:00:52 cccccccc cccccccc
Console> (enable) show mls entry qos
Warning: QoS is disabled.
Destination-IP Source-IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes Excd-
Pkts Stat-Bkts Uptime Age
--------------- --------------- ----- ------ ------ ---------- ----------- -----
----- ---------- -------- --------
MSFC 0.0.0.0 (Module 16):
Related Commands
clear mls statistics entry
show mls entry cef
To display CEF and adjacency entries (and Tx statistics) for IP resolved entries and IPX resolved or connected entries, use the show mls entry cef command.
show mls entry cef [adjacency]
show mls entry cef [short | long]
show mls entry cef ip [[ip_addr/]mask_len] [adjacency | short | long]
show mls entry cef ipx [[ipx_addr/]mask_len] [adjacency | short | long]
Syntax Description
adjacency
|
(Optional) Displays adjacency information.
|
short
|
(Optional) Displays the output with carriage returns.
|
long
|
(Optional) Displays the output on one line.
|
ip
|
Specifies IP entries.
|
ipx
|
Specifies IPX entries.
|
ip_addr/
|
(Optional) IP address of the entry.
|
mask_len
|
(Optional) Mask length associated with the IP or IPX address of the entry; valid values are from 0 to 32.
|
ipx_addr/
|
(Optional) IPX address of the entry.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
In the NextHop-IP field, the ouput may actually be set to "point2point" if the next hop is a point-to-point WAN interface.
When you enter the show mls entry cef adjacency command, only adjacency information for those IP or IPX CEF entries that are of type resolved, wildcard, or default are displayed.
Examples
This example shows how to display information for all CEF entries:
Console> (enable) show mls entry cef
Mod FIB-Type Destination-IP Destination-Mask NextHop-IP Weight
--- --------- --------------- ---------------- --------------- ------
16 receive 0.0.0.0 255.255.255.255
16 receive 255.255.255.255 255.255.255.255
16 resolved 127.0.0.21 255.255.255.255 127.0.0.21 1
16 receive 21.0.0.194 255.255.255.255
16 receive 45.0.0.99 255.255.255.255
16 receive 46.0.0.99 255.255.255.255
16 resolved 46.0.0.10 255.255.255.255 46.0.0.10 1
16 resolved 46.0.0.9 255.255.255.255 46.0.0.9 1
16 resolved 46.0.0.4 255.255.255.255 46.0.0.4 1
16 resolved 46.0.0.1 255.255.255.255 46.0.0.1 1
16 resolved 46.0.0.2 255.255.255.255 46.0.0.2 1
16 resolved 46.0.0.3 255.255.255.255 46.0.0.3 1
16 resolved 46.0.0.5 255.255.255.255 46.0.0.5 1
16 resolved 46.0.0.6 255.255.255.255 46.0.0.6 1
16 resolved 46.0.0.7 255.255.255.255 46.0.0.7 1
16 resolved 46.0.0.8 255.255.255.255 46.0.0.8 1
16 receive 224.0.0.0 255.255.255.0
16 connected 21.0.0.0 255.0.0.0
16 connected 45.0.0.0 255.0.0.0
16 connected 46.0.0.0 255.0.0.0
16 drop 224.0.0.0 240.0.0.0
16 wildcard 0.0.0.0 0.0.0.0
Mod FIB-Type Dest-IPX-net NextHop-IPX Weight
--- --------- ------------ ------------------------- ------
16 resolved fade defa.000A.0203.0405 1
These examples show how to display information for a specific entry type:
Console> (enable) show mls entry cef ip
Mod FIB-Type Destination-IP Destination-Mask NextHop-IP Weight
--- --------- --------------- ---------------- --------------- ------
16 receive 0.0.0.0 255.255.255.255
16 receive 255.255.255.255 255.255.255.255
16 receive 127.0.0.22 255.255.255.255
16 receive 127.0.0.0 255.255.255.255
16 receive 127.255.255.255 255.255.255.255
16 resolved 21.0.0.1 255.255.255.255 21.0.0.1 1
16 receive 21.0.0.194 255.255.255.255
16 receive 21.0.0.0 255.255.255.255
16 receive 21.255.255.255 255.255.255.255
16 resolved 127.0.0.21 255.255.255.255 127.0.0.21 1
16 receive 224.0.0.0 255.255.255.0
Console> (enable) show mls entry cef ipx
Mod FIB-Type Dest-IPX-net NextHop-IPX Weight
--- --------- ------------ ------------------------- ------
16 resolved abcd fadeface.0001.0203.0405 1
This example shows how to display adjacency information:
Console> (enable) show mls entry cef ip adjacency
Destination-IP: 127.0.0.21 Destination-Mask: 255.255.255.255
AdjType NextHop-IP NextHop-Mac Vlan Encp Tx-Packets Tx-Octets
-------- --------------- ----------------- ---- ---- ------------ -------------
connect 127.0.0.21 00-00-12-00-00-00 0 ARPA 0 0
Destination-IP: 46.0.0.10 Destination-Mask: 255.255.255.255
AdjType NextHop-IP NextHop-Mac Vlan Encp Tx-Packets Tx-Octets
-------- --------------- ----------------- ---- ---- ------------ -------------
connect 46.0.0.10 00-00-0c-42-00-0a 46 ARPA 4889030 224895380
Table 2-53 describes the possible fields in the show mls entry cef command output.
Table 2-53 show mls entry cef Command Output Fields
Field
|
Description
|
Mod
|
MSFC module number
|
Destination-IP Destination-IPX
|
Destination address (IP address or IPX network)
|
Destination-Mask
|
Destination mask
|
FIB-Type
|
FIB entry types are as follows:
• receive—Prefix associated with an MSFC interface
• connected—Prefix associated with a connected network
• resolved—Prefix associated with a valid next-hop address
• drop—Drop packets associated with this prefix
• wildcard—Match-all entry (drop or MSFC redirect)
• default—Default route (wildcard will point to default route)
|
NextHop-IP NextHop-IPX
|
Next-hop address (IP address or IPX network)
|
Weight
|
Next-hop load-sharing weight
|
AdjType
|
Adjacency types are as follows:
• connect—Complete rewrite information
• drop, null, loopbk—Drop adjacency
• frc drp—Drop adjacency due to ARP throttling
• punt—Redirect to MSFC for further processing
• no r/w—Redirect to MSFC because rewrite is incomplete
|
NextHop-Mac
|
Next-hop destination MAC address
|
Vlan
|
Next-hop destination VLAN
|
Encp
|
Next-hop destination encapsulation type (ARPA, RAW, SAP, and SNAP)
|
Tx-Packets
|
Number of packets transmitted to this adjacency
|
Tx-Octets
|
Number of bytes transmitted to this adjacency
|
Related Commands
clear mls cef
clear mls entry cef
show mls cef interface
show mls cef mac
show mls cef summary
show mls entry netflow-route
To display shortcut information in the MLS-based Catalyst 6500 series switches, use the show mls entry netflow-route command.
show mls entry netflow-route [short | long]
show mls entry netflow-route ip [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol] [src-port src_port] [dst-port dst_port] [short | long]
Syntax Description
short
|
(Optional) Displays the output with carriage returns.
|
long
|
(Optional) Displays the output on one line.
|
ip
|
Specifies IP MLS.
|
destination
|
(Optional) Specifies the destination IP or IPX address.
|
ip_addr_spec
|
(Optional) Full IP address or a subnet address.
|
source
|
(Optional) Specifies the source IP or IPX address.
|
protocol
|
(Optional) Specifies the protocol type.
|
protocol
|
(Optional) Protocol number or type; valid values can be from 0 to 255, ip, ipinip, icmp, igmp, tcp, or udp. 0 indicates "do not care."
|
src-port src_port
|
(Optional) Specifies the number of the TCP/UDP source port (decimal). Used with dst-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
dst-port dst_port
|
(Optional) Specifies the number of the TCP/UDP destination port (decimal). Used with src-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."
|
Defaults
The default displays MLS information in long format.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
The show mls entry netflow-route command output displays software-installed NetFlow forwarding entries (these are used for features such as TCP intercept or reflexive ACL), but does not display flow statistics for flows that are switched through CEF entries.
If you use the ip keyword, you are specifying a command for IP MLS.
When entering the ip_addr_spec, use the full IP address or a subnet address in one of the following formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). 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.
The [long | short] option gives the flexibility to display the output in regular (80 characters in width) or wide screen.
Dashes may be displayed for some fields if the fields are not applicable to the type of flow mask.
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
Examples
This example shows how to display the NetFlow forwarding entries in short format:
Note
The example below is displayed in short format. The display in the long form exceeds the page width and cannot be shown.
Console> show mls entry netflow-route short
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan
--------------- --------------- ----- ------ ------ ----------------- ----
EDst Stat-Pkts Stat-Bytes Uptime Age TcpDltSeq TcpDltAck
---- ---------- ----------- -------- -------- --------- ---------
0.0.0.8 0.0.0.8 8 207 107 cc-cc-cc-cc-cc-cc 8
ARPA 0 0 00:07:07 00:21:08 cccccccc cccccccc
0.0.0.7 0.0.0.7 7 206 106 cc-cc-cc-cc-cc-cc 7
ARPA 0 0 00:07:09 00:21:08 cccccccc cccccccc
0.0.0.10 0.0.0.10 10 209 109 cc-cc-cc-cc-cc-cc 10
ARPA 0 0 00:07:06 00:21:08 cccccccc cccccccc
0.0.0.9 0.0.0.9 9 208 108 cc-cc-cc-cc-cc-cc 9
ARPA 0 0 00:07:07 00:21:08 cccccccc cccccccc
0.0.0.6 0.0.0.6 TCP 205 105 cc-cc-cc-cc-cc-cc 6
ARPA 0 0 00:07:12 00:21:08 cccccccc cccccccc
Total entries displayed:5
show mls exclude protocol
To display excluded protocols on TCP or UDP from being shortcuts, use the show mls exclude protocol command.
show mls exclude protocol
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you enter the show mls exclude protocol command on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC, MLS exclusion only works in full-flow mode.
These guidelines apply to switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
•
The show mls exclude protocol displays the Layer 4 protocols that will not cause a NetFlow entry to be created automatically but can still be forwarded if a FIB hit occurs.
•
MLS exclusion works regardless of the configured flow mask.
Examples
This example shows how to display excluded protocols on TCP or UDP from being shortcuts:
Console> (enable) show mls exclude protocol
Protocol-Port Excluded-From
------------- -------------
Note: MLS exclusion only works in full flow mode.
Related Commands
clear mls multicast statistics
set mls exclude protocol
show mls flowmask
To display the MLS flow mask configuration, use the set mls flowmask command.
show mls flowmask
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
In software release 8.5(1), multiple flow masks are supported.
Examples
These examples show output with various configurations when no features are configured on the route processor:
Console> show mls flowmask
Netflow Data Export is enabled
NDE Flowmask is configured to use atleast Null flowmask
Console> show mls flowmask
Netflow Data Export is enabled and is using Full flowmask
NDE Flowmask is configured to use atleast Full flowmask
Console> show mls flowmask
Netflow Data Export is disabled
NDE Flowmask is configured to use atleast Full flowmask
This example shows output when NAT is configured on the RP:
Console> show mls flowmask
The MSFC features are using NotVlanFullFlow and VlanFullFlowOnly flow mask on vlan(s)
10-11,50-51,90-91.
Netflow Data Export is disabled
NDE Flowmask is configured to atleast the Null flowmask
These examples show output with various configurations when the Reflexive ACL feature is configured on the RP:
Console> show mls flowmask
The MSFC features are using VlanFullFlowOnly flow mask on vlan(s) 13.
Netflow Data Export is disabled
NDE Flowmask is configured to use atleast Null flowmask
Console> show mls flowmask
The MSFC features are using VlanFullFlowOnly flow mask on vlan(s) 13.
Netflow Data Export is enabled and is using Full-Vlan flowmask
NDE Flowmask is configured to use atleast Full-Vlan flowmask
Related Commands
set mls flow
set mls nde
show mls multicast
To display IP multicast MLS information, use the show mls multicast command.
show mls multicast
show mls multicast entry {[mod] [vlan vlan_id] [group ip_addr]} [source ip_addr]
[long | short]
show mls multicast entry {[all] [short | long]}
show mls multicast statistics {mod}
Syntax Description
entry
|
Specifies the IP multicast MLS packet entry.
|
mod
|
(Optional) Number of the MSFC; valid values are 15 and 16.
|
vlan vlan_id
|
(Optional) Specifies a VLAN.
|
group ip_addr
|
(Optional) Specifies a multicast group address.
|
source ip_addr
|
(Optional) Specifies a multicast traffic source.
|
all
|
(Optional) Specifies all IP multicast MLS entries on the switch.
|
long
|
(Optional) Specifies an output appropriate for terminals that support output 80-characters wide.
|
short
|
(Optional) Specifies an output appropriate for terminals that support output less than 80-characters wide.
|
statistics
|
Displays statistics for an MSFC.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you enter the show mls multicast commands on Catalyst 6500 series switches without MLS, this warning message is displayed:
This feature is not supported on this device.
If you enter the show mls multicast entry command with no arguments, all the MLS entries for multicast are displayed. Each row in the show mls multicast entry command corresponds to a flow.
These guidelines apply to switches configured with the Supervisor 2 with Layer 3 Switching Engine II (PFC2):
•
If you enter the show mls multicast entry command and an asterisk appears in the Source IP column, this indicates that any source is used.
•
If you specify source 0, all * (asterisk) entries are displayed.
If you disable DNS, no name can be specified or shown.
A warning message is displayed if you disable the Layer 2 multicast protocol when the multicast multilayer switching (MMLS) feature is running.
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
Examples
This example shows how to display global information about the IP MMLS entries on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine (WS-F6K-PFC):
Console> (enable) show mls multicast
Operational Status: Inactive
Configured flow mask is {Source-Destination-Vlan} flow
MSFC (Module 15): 0.0.0.0
This example shows how to display global information about the IP MMLS entries on a switch configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
Console> (enable) show mls multicast
Operational Status : Active
Table 2-54 describes the fields in the show mls multicast command output.
Table 2-54 show mls multicast Command Output Fields
Field
|
Description
|
Admin Status
|
Status of whether MMLS feature has been administratively enabled or not.
|
Operational Status
|
Actual operational status of the MMLS feature.
|
Total Entries
|
Number of shortcut entries that are currently installed.
|
MSFC
|
Information about the internal RP connected to the supervisor engine.
|
IP Address
|
IP address of the RP.
|
Complete Flows
|
Total number of complete flows installed by this RP.
|
Partial Flows
|
Total number of partial flows installed by this RP.
|
This example shows how to display statistical information on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine (WS-F6K-PFC):
Console> (enable) show mls multicast statistics
Router IP Router Name Router MAC
--------------- ------------------ -----------------
0.0.0.0 default 00-00-00-00-00-00
Feature Notification Responses: 0
Shortcut Notification Responses: 0
Total Transmit Failures: 0
Duplicate Shortcut Messages: 0
Output VLAN Delete TLV: 0
This example shows how to display statistical information on a switch configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
Console> (enable) show mls multicast statistics
Router IP Router Name Router MAC
--------------- ------------------ -----------------
0.0.0.0 default 00-00-00-00-00-00
Feature Notification Responses: 0
Shortcut Notification Responses: 0
Total Transmit Failures: 0
Duplicate Shortcut Messages: 0
Output VLAN Delete TLV: 0
This example shows how to display IP MMLS entry information on a switch configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC:
Console> (enable) show mls multicast entry
Router IP Dest IP Source IP Pkts Bytes InVlan OutVlans
--------------- --------------- --------------- ---------- ----------- ------- --------
1.1.5.252 224.1.1.1 1.1.11.1 15870 2761380 20
1.1.9.254 224.1.1.1 1.1.12.3 473220 82340280 12
1.1.5.252 224.1.1.1 1.1.12.3 15759 2742066 20
1.1.9.254 224.1.1.1 1.1.11.1 473670 82418580 11
1.1.5.252 224.1.1.1 1.1.11.3 15810 2750940 20
1.1.9.254 224.1.1.1 1.1.12.1 473220 82340280 12
1.1.5.252 224.1.1.1 1.1.13.1 15840 2756160 20
Note
The display for the show mls multicast entry command has been modified to fit the page.
This example shows how to display IP MMLS entry information on a switch configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
Console> (enable) show mls multicast entry
Router-IP Dest-IP Source-IP Pkts Bytes InVlan Type
OutVlans
--------------- --------------- --------------- -------------------- -------------------- ------ ----
----------
33.0.33.26 224.2.2.3 10.0.0.1 595 59500 50 C 13,
12
33.0.33.26 224.2.2.3 * 2 200 50 P 13,
12
Total Entries: 2 (1 of which type 'C' = Complete Flow/s, 'P' = Partial Flow/s)
Table 2-55 describes the fields in the show mls multicast entry command output.
Table 2-55 show mls multicast entry Command Output Fields
Field
|
Description
|
Router-IP
|
IP address of the RP that installed the flow.
|
Dest-IP
|
Multicast destination IP address for this flow.
|
Source-IP
|
IP address of the source that corresponds to this flow.
|
Pkts
|
Number of packets switched using this flow.
|
Bytes
|
Number of bytes switched using this flow.
|
InVlan
|
RPF interface for the packets corresponding to this flow.
|
Type
|
Shortcut Type (C = a complete shortcut and P = a partial shortcut).
|
OutVlans
|
Output VLANs on which the packets are replicated for this flow.
|
Total Entries
|
Number of shortcut entries currently installed.
|
Related Commands
clear mls multicast statistics
show mls nde
To display NetFlow Data Export information, use the show mls nde command.
show mls nde
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display NetFlow Data Export information:
Netflow Data Export version: 5
Netflow Data Export disabled
Netflow Data Export configured for port 9000 on host 10.6.1.10
Secondary Data Export configured for port 9111 on host 10.6.1.10
Total packets exported = 30872
Total Secondary packets exported = 1412
Destination Ifindex export is enabled
Source Ifindex export is enabled
Bridged flow statistics is disabled on vlan(s) 1,11-12,46.
Related Commands
clear mls nde
set mls bridged-flow-statistics
set mls nde
show mls netflow-route
To display summaries from NetFlow for routing in the MLS-based Catalyst 6500 series switches, use the show mls netflow-route command.
show mls netflow-route [ip | ipx]
Syntax Description
ip
|
(Optional) Specifies IP MLS.
|
ipx
|
(Optional) Specifies IPX MLS.
|
Defaults
The default displays both IP and IPX MLS information.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on Catalyst 6500 series switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) only.
Examples
This example shows how to display summaries from NetFlow for routing:
Console> show mls netflow-route
Total packets switched = 0
Software installed aging time = 0
IP flows aging time = 256 seconds
IP flows fast aging time = 0 seconds, packet threshold = 0
IP Current flow mask is Full flow
Total netflow forwarding entries = 4
Netflow Data Export version:7
Netflow Data Export disabled
Netflow Data Export port/host is not configured.
Total packets exported = 0
IPX flows aging time = 256 seconds
IPX flow mask is Destination flow
show mls pbr-route
To display statistics about policy-based routing (PBR) traffic, use the show mls pbr-route command.
show mls pbr-route
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal mode.
Usage Guidelines
Because PBR occurs in the hardware, PBR-related statistics on the MSFC do not reflect the volume of traffic being policy routed.
Examples
This example shows how to display PBR traffic statistics:
Console> show mls pbr-route
Total L3 packets forwarded 9789802
Total L3 octets forwarded 541243304
Total adjacency entries 1
Table 2-56 describes the possible fields in the show mls pbr-route command output.
Table 2-56 show mls pbr-route Command Output Fields
Field
|
Description
|
Total L3 packets forwarded
|
Number of Layer 3 packets forwarded in hardware.
|
Total L3 octets forwarded
|
Number of Layer 3 octets forwarded in hardware.
|
Total routed VLANs
|
Number of VLANs with PBR configured.
|
Total adjacency entries
|
Number of policy-routing adjacencies programmed.
|
show mls statistics
To display MLS statistics information in the MLS-based Catalyst 6500 series switches, use the show mls statistics command.
show mls statistics protocol
show mls statistics entry [mod]
show mls statistics entry ip [mod] [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol [src-port src_port] [dst-port dst_port]]
show mls statistics entry ip top-talkers [num_of_top_talkers]
show mls statistics entry ipx [mod] [destination ipx_addr_spec] [source ipx_addr_spec]
show mls statistics entry uptime
Syntax Description
protocol
|
Specifies a route processor.
|
entry
|
Specifies the entry type.
|
mod
|
(Optional) Number of the MSFC; valid values are 15 or 16.
|
entry
|
Displays statistics based on the specified option.
|
ip
|
Specifies IP MLS.
|
destination
|
(Optional) Specifies the destination IP address.
|
ip_addr_spec
|
(Optional) Full IP address or a subnet address in the following formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.
|
source
|
(Optional) Specifies the source IP address.
|
protocol protocol
|
(Optional) Specifies additional flow information (protocol family and protocol port pair) to be matched; valid values are from 1 to 255, ip, ipinip, icmp, igmp, tcp, and udp.
|
src-port src_port
|
(Optional) Specifies the source port IP address.
|
dst-port dst_port
|
(Optional) Specifies the destination port IP address.
|
top-talkers
|
Displays the NetFlows with the maximum network usage.
|
num_of_top_talkers
|
(Optional) Number of NetFlows to be displayed; valid values are from 1 to 32.
|
ipx
|
Specifies IPX MLS.
|
ipx_addr_spec
|
(Optional) Full IPX address or a subnet address in one of the following formats: src_net/[mask], dest_net.dest_node, or dest_net/mask.
|
uptime
|
Displays up time and aging time.
|
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If your system is configured with the Supervisor Engine 2 with Switching Engine II (PFC2), the show mls statistics entry command output displays per flow statistics as per the configured flow mask. You can enter this command to display per-flow statistics for flows that are CEF switched (in hardware) or switched through software-installed shortcuts in the NetFlow table.
You can enter the show mls statistics entry command to display NetFlow forwarding entries on systems configured with a Supervisor Engine 2. If your system is configured with a Supervisor Engine 1, enter the show mls entry command.
When specifying the ip | ipx keyword, if you specify ip or do not enter a keyword, this means that the command is for IP MLS. If you specify ipx, this means the command is for IPX only.
When entering the IPX address syntax, use the following format:
•
IPX net 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, A43.0000.0000.0001)
If you enter any of the show mls statistics protocol commands on a Catalyst 6500 series switch without MLS, this warning message is displayed:
Feature not supported in hardware.
If you enter the show mls statistics protocol command, the statistics in the protocol category, such as Telnet, FTP, or WWW are displayed. Note that this applies for "full flowmask" only. In flowmasks other than full flow, inapplicable fields will have a dash (similar to show mls entry outputs).
A value 0 for src_port and dst_port means "don't care." Note that this applies for "full flowmask" only.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number "00" in an IP address YY.YY.YY.YY specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 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, which has the same subnet address as ip_subnet_addr.
•
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.
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
The show mls statistics entry command displays bridged flows on a Supervisor Engine 2 when bridged flow statistics is enabled. The show mls entry command displays bridged flows on a Supervisor Engine 1 when bridged flow statistics is enabled. To enable or disable bridged flow statistics, enter the set mls bridged-flow-statistics command.
Enter the show mls statistics entry ip top-talkers command to identify the NetFlows with the maximum network usage (called "top talkers"). The command output displays the IP addresses of these NetFlows and the number of packets in each NetFlow. If you do not enter a num_of_top_talkers argument, up to 32 "top talkers" are displayed.
Note
The show mls statistics entry ip top-talkers command is available on the PFC2 and the PFC3 for IPv4 traffic.
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 up time and aging time on a Supervisor Engine 2:
Console> show mls statistics entry uptime
Destination IP Source IP Prot DstPrt SrcPrt Uptime Age
---------------- --------------- ----- ------ ------ -------- --------
172.20.52.19 - - - - 00:07:51 00:00:00
224.0.0.10 - - - - 00:06:44 00:00:02
224.0.0.10 - - - - 00:06:49 00:00:01
255.255.255.255 - - - - 00:02:53 00:00:37
224.0.0.10 - - - - 00:06:50 00:00:00
171.69.39.44 - - - - 00:07:51 00:00:00
224.0.0.2 - - - - 00:06:42 00:00:01
224.0.0.10 - - - - 00:06:35 00:00:03
224.0.0.5 - - - - 00:06:33 00:00:03
Destination IPX Source IPX net Uptime Age
-------------------------- -------------- -------- --------
This example shows how to display the MLS statistical entries on a Supervisor Engine 2:
Console> show mls statistics entry
Destination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes
---------------- --------------- ----- ------ ------ ---------- ---------------
10.0.0.6 10.0.0.1 255 0 0 569735 26207810
10.0.0.5 10.0.0.1 255 0 0 569735 26207810
10.0.0.2 10.0.0.1 255 0 0 569735 26207810
Destination IPX Source IPX net Stat-Pkts Stat-Bytes
-------------------------- -------------- ---------- ----------
Note
The following commands are output from switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC. The output from switches configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2) are slightly different.
This example shows how to display IP MLS statistics for MSFC 15 in a system configured with the Supervisor Engine 1 with Layer 3 Switching Engine (WS-F6K-PFC):
Console> show mls statistics entry ip 15 destination 172.20.22.14
MSFC 127.0.0.12 (Module 15):
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 IP address:
Console> show mls statistics entry ip 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
This example shows how to display the statistics for NetFlows with maximum network usage:
Console> show mls statistics entry ip top-talkers
Last Used
Destination IP Source IP Prot DstPrt SrcPrt Vlan Stat-Pkts Stat-Bytes
---------------- --------------- ----- ------ ------ ----- --------- -----------
12.0.0.5 11.0.0.6 255 N/A N/A N/A 387110 17807060
12.0.0.5 11.0.0.7 255 N/A N/A N/A 387109 17807014
12.0.0.5 11.0.0.4 TCP 8 7 N/A 20 920
127.0.0.20 127.0.0.19 UDP 67 68 N/A 18 828
12.0.0.5 11.0.0.2 TCP 6 5 N/A 15 690
12.0.0.5 11.0.0.5 TCP 8 7 N/A 15 690
12.0.0.5 11.0.0.3 TCP 6 5 N/A 12 552
This example shows how to display the statistics for a specified number of NetFlows with maximum network usage:
Console> show mls statistics entry ip top-talkers 2
Last Used
Destination IP Source IP Prot DstPrt SrcPrt Vlan Stat-Pkts Stat-Bytes
---------------- --------------- ----- ------ ------ ----- --------- -----------
12.0.0.5 11.0.0.6 255 N/A N/A N/A 387110 17807060
12.0.0.5 11.0.0.7 255 N/A N/A N/A 387109 17807014
Console>
Related Commands
clear mls statistics entry
set mls bridged-flow-statistics
set mls statistics protocol
show mls entry
show mls verify
To display the Layer 3 error checking configuration, use the show mls verify command.
show mls verify
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the Layer 3 error checking configuration:
IP checksum verification disabled
IP minimum length verification enabled
IP inconsistant length verification disabled
IPX minimum length verification enabled
IPX inconsistant length verification disabled
Table 2-57 describes the fields in the show mls verify command output.
Table 2-57 show mls verify Command Output Fields
Field
|
Description
|
IP checksum verification
|
Status of whether IP checksum verification is enabled or disabled.
|
IP minimum length verification
|
Status of whether the verification of IP minimum packet length is enabled or disabled.
|
IP inconsistent length verification
|
Status of whether the verification of IP length consistency is enabled or disabled.
|
IPX minimum length verification
|
Status of whether the verification of IPX minimum packet length is enabled or disabled.
|
IPX consistent length verification
|
Status of whether the verification of IPX length consistency is enabled or disabled.
|
Related Commands
set mls verify
show module
To display module status and information, use the show module command. For supervisor engines, the show module command displays the supervisor engine number but appends the uplink daughter card module type and information.
show module [mod]
Syntax Description
mod
|
(Optional) Number of the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a module number, all modules are shown.
The MAC addresses for the supervisor engine are displayed in three lines of output. The first line lists the two MAC addresses for inband ports, the second line lists the two MAC addresses for the two gigabit-uplink ports, and the third line lists the allocated 0x3ff MAC address for the chassis backplane.
If you place the MSFC on a supervisor engine installed in slot 1, then the MSFC is recognized as module 15. If you install the supervisor engine in slot 2, the MSFC is recognized as module 16.
The slot field in the show module command display is required because submodules, such as the MSM, reside in the same slot as the supervisor engine module, but are treated as a separate module.
The MSM is referenced by the module number in all other CLI commands and is treated like any other module.
The show module command does not display information about the 720 Gbps integrated switch fabric because it is not a separate module.
Examples
This example shows how to display status and information for all modules:
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 2 1000BaseX Supervisor WS-X6K-SUP1A-2GE yes ok
15 1 1 Multilayer Switch Feature WS-F6K-MSFC no ok
8 8 48 10/100BaseTX Ethernet WS-X6248-RJ-45 no ok
9 9 48 10/100BaseTX Ethernet WS-X6348-RJ-45 yes ok
Mod Module-Name Serial-Num
--- ------------------- -----------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- --------------
1 00-30-80-f7-a5-06 to 00-30-80-f7-a5-07 1.0 5.2(1) 6.1(0.12)
00-30-80-f7-a5-04 to 00-30-80-f7-a5-05
00-30-a3-4a-a0-00 to 00-30-a3-4a-a3-ff
15 00-d0-bc-ee-d0-dc to 00-d0-bc-ee-d1-1b 1.2 12.0(3)XE1 12.0(3)XE1
8 00-d0-c0-c8-83-ac to 00-d0-c0-c8-83-db 1.1 4.2(0.24)V 6.1(0.37)FTL
9 00-50-3e-7c-43-00 to 00-50-3e-7c-43-2f 0.201 5.3(1)
Mod Sub-Type Sub-Model Sub-Serial Sub-Hw
--- ----------------------- ------------------- ----------- ------
1 L3 Switching Engine WS-F6K-PFC SAD03451187 1.0
9 Inline Power Module WS-F6K-VPWR 1.0
This example shows the display for a 48-port 10/100BASE-TX switching services-configured module:
Mod Slot Ports Module-Type Model Status
--- ---- ----- ------------------------- ------------------- --------
5 5 48 10/100BaseTX (RJ-45) WS-X6248-RJ-45 ok
Mod Module-Name Serial-Num
--- ------------------- -----------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- -----------------
5 00-50-f0-ac-30-54 to 00-50-f0-ac-30-83 1.0 4.2(0.24)V 6.1(0.12)
This example shows the display for an 8-port T1/E1 ISDN PRI services-configured module:
Console> (enable) show module 3
Mod Slot Ports Module-Type Model Status
--- ---- ----- ------------------------- ------------------- --------
3 3 8 T1 PSTN WS-X6608-T1 ok
Mod Module-Name Serial-Num
--- ------------------- -----------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- -----------------
3 00-50-0f-08-bc-a0 to 00-50-0f-08-bc-cf 0.1 5.1(1) 5.4(1)
This example shows the display for a 24-port FXS analog station interface services-configured module:
Mod Slot Ports Module-Type Model Status
--- ---- ----- ------------------------- ------------------- --------
3 3 24 FXS WS-X6624-FXS ok
Mod Module-Name Serial-Num
--- ------------------- -----------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- -----------------
3 00-50-0f-08-bc-a0 to 00-50-0f-08-bc-a0 0.1 5.1(1) 5.4(1)
This example shows the display for a supervisor engine 720:
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
6 6 0 Sup 3 CPU Board Ariel --SUP3-ARIEL-- no ok
Mod Module-Name Serial-Num
--- -------------------- -----------
Mod MAC-Address(es) Hw Fw Sw
--- -------------------------------------- ------ ---------- -----------------
6 00-40-0b-ff-00-00 0.202 6.1(3) 7.5(0.2)CLR
Table 2-58 describes the possible fields in the show module command output.
Table 2-58 show module Command Output Fields
Field
|
Description
|
Mod
|
Module number.
|
Slot
|
Number of the slot where the module or submodule resides.
|
Ports
|
Number of ports on the module.
|
Module-Type
|
Module (such as 100BASE-X Ethernet).
|
Model
|
Model number of the module.
|
Sub
|
Status of whether a submodule is installed.
|
Status
|
Status of the module. Possible status strings are ok, disable, faulty, other, standby, error, pwr-down, and pwr-deny states1 .
|
Module-Name
|
Name of the module.
|
Serial-Num
|
Serial number of the module.
|
MAC-Address(es)
|
MAC address or MAC address range for the module.
|
Hw2
|
Hardware version of the module.
|
Fw3
|
Firmware version of the module.
|
Sw
|
Software version on the module.
|
Sub-Type4
|
Submodule type.
|
Sub-Model4
|
Model number of the submodule.
|
Sub-Serial4
|
Serial number of the submodule.
|
Sub-Hw4
|
Hardware version of the submodule.
|
show moduleinit
To display contents of the information stored in the system module initiation log, use the show moduleinit command.
show moduleinit [mod] [log lognum | -logcount]
Syntax Description
mod
|
(Optional) Number of the module.
|
log
|
(Optional) Specifies a specific log.
|
lognum
|
(Optional) Number of the log to display.
|
-logcount
|
(Optional) Number of previous logs to display.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a module number, contents for all modules are shown.
Examples
This example shows how to show the last two log entries 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
State 3: Entry/Exit/Elapse Time: 14721/32223/17502
Table 2-59 describes the possible fields in the show moduleinit command output.
Table 2-59 show moduleinit Command Output Fields
Field
|
Description
|
Log #
|
Number of the log.
|
State #
|
Number of the module initiation states. Output includes the entry time into and exit time from all the module initiation states, along with the elapsed time, in milliseconds.
|
show msfcautostate
To display the Multilayer Switch Feature Card (MSFC) auto port state, use the show msfcautostate command.
show msfcautostate
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display the MSFC auto state status:
Console> (enable) show msfcautostate
MSFC Auto port state: enabled
Related Commands
clear msfcautostate
set msfcautostate
show msmautostate
To display the current status of the line protocol state determination of the MSMs due to Catalyst 6500 series switch port state changes, use the show msmautostate command.
show msmautostate mod
Syntax Description
mod
|
Number of the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the current status of MSM line protocol state determination:
Console> show msmautostate
MSM Auto port state: enabled
Related Commands
set msmautostate
show multicast group
To display the multicast group configuration, use the show multicast group command.
show multicast group [mac_addr] [vlan_id]
Syntax Description
mac_addr
|
(Optional) Destination MAC address.
|
vlan_id
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
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-60 describes the fields in the show multicast group command output.
Table 2-60 show multicast group Command Output Fields
Field
|
Description
|
IGMP enabled/disabled
|
Status of whether IGMP is enabled or disabled.
|
GMRP enabled/disabled
|
Status of whether GMRP is enabled or disabled.
|
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.
|
Protocol Type
|
Type of protocol.
|
Total Number of Entries
|
Total number of entries in the multicast group table that match the criteria specified by the command.
|
Related Commands
clear multicast router
set multicast router
show multicast router
show multicast group count
To show the total count of multicast addresses (groups) in a VLAN, use the show multicast group count command.
show multicast group count [vlan_id]
Syntax Description
vlan_id
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
An asterisk in the show multicast group count command output indicates the port was configured manually.
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 multicast router
show multicast router
show multicast protocols status
To display the status of Layer 2 multicast protocols on the switch, use the show multicast protocols status command.
show multicast protocols status
Syntax Description
This command has no arguments.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the Layer 2 multicast protocol status:
Console> show multicast protocols status
IGMP disabled
IGMP fastleave enabled
IGMP V3 processing disabled
IGMP V3 fastblock feature disabled
RGMP enabled
GMRP disabled
Related Commands
set gmrp
set igmp
set igmp fastleave
set igmp v3-processing
set rgmp
show multicast ratelimit-info
To display information about multicast rate limiting, use the show multicast ratelimit-info command.
show multicast ratelimit-info
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display information about multicast rate limiting:
Console> show multicast ratelimit-info
Multicast ratelimiting enabled
Ratelimit threshold rate:1000 pps
VLAN RateLimited-Since Ratelimited-for(seconds)
---- ------------------ ----------------------
61 Fri Mar 19 2004, 06:32:45 30
Related Commands
set multicast ratelimit
show multicast router
To display the ports that have IGMP or RGMP-capable routers assigned to them, use the show multicast router command.
show multicast router {igmp | rgmp} [mod/port] [vlan_id]
Syntax Description
igmp
|
Specifies IGMP-capable routers.
|
rgmp
|
Specifies RGMP-capable routers.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
vlan_id
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the ports that have IGMP-multicast routers assigned to them:
Console> show multicast router igmp
Total Number of Entries = 1
This example shows how to display the ports that have RGMP-multicast routers assigned to them:
Console> show multicast router rgmp
Total Number of Entries = 2
Table 2-61 describes the fields in the show multicast router command output.
Table 2-61 show multicast router Command Output Fields
Field
|
Description
|
Port
|
Port through which a multicast router can be reached.
|
*
|
Status of whether the port was configured manually or not.
|
+
|
Status of whether the router is RGMP capable or not.
|
VLAN
|
VLAN associated with the port.
|
Total Number of Entries
|
Total number of entries in the table that match the criteria specified by the command.
|
Related Commands
set igmp
set multicast router
set rgmp
show multicast group
show multicast group count
show multicast v3-group
To display IGMP version 3 information based on group IP address, use the show multicast v3-group command.
show multicast v3-group [vlan_num] [group_ip]
Syntax Description
vlan_num
|
Number of the VLAN.
|
group_ip
|
IP address of the group.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display IGMP version 3 information based on group a IP address:
Console> (enable) show multicast v3-group
Displaying V3 group information for all vlans
---------------------------------------------
(G,C): (230.25.127.90,30), V3 state: INC
Compatibility mode: none (V3)
Include list: 20.1.1.23, Src timer 55 sec , Ports: 4/16 15/1
20.1.1.22, Src timer 55 sec , Ports: 4/15-16 15/1
20.1.1.21, Src timer 55 sec , Ports: 4/15 15/1
Related Commands
set igmp v3-processing
show mvrp
To display MVRP configuration, use the mvrp command.
show mvrp configuration
show mvrp machines {vlan | mod/port}
show mvrp trunk {all | mod/port}
Syntax Description
configuration
|
Displays the MVRP configuration.
|
machines
|
Displays the MVRP applicant and registration machines.
|
vlan
|
Number of VLANs.
|
mod/port
|
Module number and port number.
|
trunks
|
Displays ASM/RSM states.
|
all
|
Displays ASM/RSM states for all the modules and ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display the MVRP configuration:
Console> (enable) show mvrp configuration
Global MVRP Configuration:
MVRP Feature is currently enabled on the switch.
MVRP dynamic VLAN creation is disabled.
Port based MVRP Configuration:
MVRP-Status Registration Applicant Port(s)
----------- ------------ --------- ------------
Enabled Normal Normal 3/48
Disabled Normal Normal 1/1-9
MVRP Participants running on 3/48.
MVRP Timers(centiseconds):
-------------------------
JoinTimer LvTimer LvAllTimer Port(s)
--------- ------- ---------- --------
This example shows how to display MVRP applicant and registration machines:
Console(enable) show mvrp machines
Mod/Port VLAN Applicant: state & mgmt Registrar: state & mgmt
-------- ---- ----------------------------- -----------------------
3/48 0001 Qa: Quiet Normal, IN Registration_fixed
3/48 0100 Qa: Quiet Normal, IN Normal_registration
3/48 0200 Qa: Quiet Normal, MT Normal_registration
3/48 0300 Qa: Quiet Normal, MT Normal_registration
3/48 0400 Qa: Quiet Normal, MT Normal_registration
3/48 1002 Vo: Very_anxious Normal, MT Normal_registration
3/48 1003 Vo: Very_anxious Normal, MT Normal_registration
3/48 1004 Vo: Very_anxious Normal, MT Normal_registration
3/48 1005 Vo: Very_anxious Normal, MT Normal_registration
Total 9 Mad_machine(s) displayed.
Console> (enable) show mvrp machines 3/48
Mod/Port VLAN Applicant: state & mgmt Registrar: state & mgmt
-------- ---- ----------------------------- -----------------------
3/48 0001 Qa: Quiet Normal, IN Registration_fixed
3/48 0100 Qa: Quiet Normal, IN Normal_registration
3/48 0200 Qa: Quiet Normal, MT Normal_registration
3/48 0300 Qa: Quiet Normal, MT Normal_registration
3/48 0400 Qa: Quiet Normal, MT Normal_registration
3/48 1002 Vo: Very_anxious Normal, MT Normal_registration
3/48 1003 Vo: Very_anxious Normal, MT Normal_registration
3/48 1004 Vo: Very_anxious Normal, MT Normal_registration
3/48 1005 Vo: Very_anxious Normal, MT Normal_registration
Total 9 Mad_machine(s) displayed.
Console> (enable) show mvrp machines 200
Mod/Port VLAN Applicant: state & mgmt Registrar: state & mgmt
-------- ---- ----------------------------- -----------------------
3/48 0200 Qa: Quiet Normal, MT Normal_registration
Total 1 Mad_machine(s) displayed.
Console> (enable) show mvrp trunk 4/13
----- -----------------------------------------
Note
The highlighted field is not visible if MVRP is disabled.
Console> (enable) show trunk
* - indicates vtp domain mismatch
# - indicates dot1q-all-tagged enabled on the port
$ - indicates non-default dot1q-ethertype value
Port Mode Encapsulation Status Native vlan
-------- ----------- ------------- ------------ -----------
3/47 auto n-isl trunking 1
3/48 auto n-dot1q trunking 1
15/1 nonegotiate isl trunking 1
Port Vlans allowed on trunk
-------- ---------------------------------------------------------------------
Port Vlans allowed and active in management domain
-------- ---------------------------------------------------------------------
Port Vlans in spanning tree forwarding state and not pruned in VTP
-------- ---------------------------------------------------------------------
Port Vlans pruned by MVRP
-------- ---------------------------------------------------------------------
show mvrp statistics
To view the statistics of MVRP messages received and sent from MVRP enabled ports, use the show mvrp statistics command.
show mvrp statistics {mod /port}
Syntax Description
mod/port
|
Module number and port number.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display MVRP statistics:
Console> (enable) show mvrp statistics
Valid packets Received: 2237
Invalid Packets Received: 0
Join Empty Received: 7059
Packets Transmitted: 28652
Join In Transmitted: 1606
Join Empty Transmitted: 194866
Empty Transmitted: 5838810
Leave All Transmitted: 9633
show netstat
To display the currently active network connections and to list statistics for the various protocols in the TCP/IP, use the show netstat command.
show netstat [tcp | udp | ip | icmp | routes | stats | interface]
Syntax Description
tcp
|
(Optional) Shows TCP statistics.
|
udp
|
(Optional) Shows UDP statistics.
|
ip
|
(Optional) Shows IP statistics.
|
icmp
|
(Optional) Shows ICMP statistics.
|
routes
|
(Optional) Shows the IP routing table.
|
stats
|
(Optional) Shows all statistics for TCP, UDP, IP, and ICMP.
|
interface
|
(Optional) Shows interface statistics.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the current active network connections:
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 128 172.20.25.142.23 171.68.10.75.44720 ESTABLISHED
tcp 0 0 *.7161 *.* LISTEN
This example shows how to display TCP statistics:
Console> show netstat tcp
4642 data packets (102292 bytes)
28 data packets (6148 bytes) retransmitted
434 ack-only packets (412 delayed)