Table Of Contents
show mls cef
show mls cef adjacency
show mls cef exact-route
show mls cef hardware
show mls cef ip
show mls cef ipx
show mls cef logging
show mls cef mac
show mls cef statistics
show mls cef summary
show mls ip
show mls ip multicast
show mls ip statistics
show mls ipx
show mls nde
show mls netflow
show mls netflow ip
show mls netflow ipx
show mls qos
show mls qos aggregate policer
show mls qos statistics-export info
show mls sampling
show mls statistics
show mls table-contention
show module
show monitor session
show mpls l2transport vc
show mpls ttfib
show msfc
show pagp
show platform
show policy-map
show policy-map interface
show port-security
show power
show protocol-filtering
show qdm status
show qm-sp port-data
2
show mls cef
To display hardware Layer 3 switching table entries, use the show mls cef command.
show mls cef [prefix] [mask] [module number]
Syntax Description
prefix
|
(Optional) Entry prefix in the format A.B.C.D.
|
mask
|
(Optional) Entry prefix mask in the format A.B.C.D.
|
module number
|
(Optional) Displays the entries for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Hardware Layer 3 switching applies to IP traffic only.
You can enter this command on the supervisor engine and hardware Layer 3 switching module consoles only. Enter the remote login command to session into the supervisor engine and DFC-equipped module to enter the commands.
Examples
This example shows how to display all the hardware Layer 3 switching table entries:
Switch-sp# show mls cef
Index Prefix Mask Adjacency
0 0.0.0.0 255.255.255.255 punt
1 255.255.255.255 255.255.255.255 punt
2 1.2.19.177 255.255.255.255 punt
3 1.0.0.0 255.255.255.255 punt
4 1.255.255.255 255.255.255.255 punt
5 11.11.11.177 255.255.255.255 punt
6 11.11.0.0 255.255.255.255 punt
7 11.11.255.255 255.255.255.255 punt
8 4.4.4.177 255.255.255.255 punt
9 4.4.4.0 255.255.255.255 punt
10 4.4.4.255 255.255.255.255 punt
11 5.5.5.177 255.255.255.255 punt
12 5.5.5.0 255.255.255.255 punt
13 5.5.5.255 255.255.255.255 punt
14 6.6.6.177 255.255.255.255 punt
15 6.6.6.0 255.255.255.255 punt
16 6.6.6.255 255.255.255.255 punt
17 11.11.13.149 255.255.255.255 0000.0000.0b0b
18 11.11.13.118 255.255.255.255 0000.0000.0b0b
19 11.11.13.119 255.255.255.255 0000.0000.0b0b
114851 110.0.0.0 255.0.0.0 00e0.f74c.842d
114852 40.0.0.0 255.0.0.0 00e0.f74c.842c
114853 30.0.0.0 255.0.0.0 00e0.f74c.842e
114854 50.0.0.0 255.0.0.0 00e0.f74c.842e
114855 171.0.0.0 255.0.0.0 0060.5c86.5b82
115200 0.0.0.0 0.0.0.0 0060.5c86.5b82
This example shows how to display the entry for a specific prefix in the MLS hardware Layer 3-switching table:
Switch-sp# show mls cef | include 1.255.254.254
Index Prefix Mask Adjacency
1102 1.255.254.254 255.255.255.255 0800.2073.5848
Table 2-37 describes the possible fields in the show mls cef command output.
Table 2-37 show mls cef Command Output Fields
Field
|
Description
|
Index
|
Hardware Layer 3 switching table entry index; the maximum contains 256,000 entries.
|
Adjacency
|
Adjacency types are as follows:
• drop—Packets matching the prefix entry are dropped.
• punt—Redirect to an MSFC for further processing.
• mac-address—Packets matching the prefix are forwarded to this specific next hop or the final destination host if directly attached.
|
Related Commands
show mls cef mac
show mls cef summary
show mls cef adjacency
To display information about the hardware Layer 3 switching adjacency node, use the show mls cef adjacency command.
show mls cef adjacency [count | mac-address number] [module number]
Syntax Description
count
|
(Optional) Displays the total adjacency count.
|
mac-address number
|
(Optional) Displays the adjacency node information for a specific MAC address.
|
module number
|
(Optional) Displays the adjacency node information for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
The module number keyword and argument designate the module and port number. Valid values depend on the chassis and module used. For example, if you have a 48-port 10/100BASE-T Ethernet module installed in a 13-slot chassis, valid values for the module number are from 2 to 13 and valid values for the port number are from 1 to 48.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Hardware Layer 3 switching applies to IP traffic only.
Hardware Layer 3 switching adjacency statistics are updated every 60 seconds.
You can view hardware-switched IP directed broadcasts information by entering the show mls cef adjacency mac-address number detail command. The number argument is the 48-bit hardware address of the next hop.
For each hardware Layer 3 switching FIB entry, hardware Layer 3 switching stores Layer 2 information from the MSFC2 for adjacent nodes in the hardware Layer 3 switching adjacency table. Adjacent nodes are nodes that are directly connected at Layer 2. To forward traffic, hardware Layer 3 switching selects a route from a hardware Layer 3 switching FIB entry, which points to a hardware Layer 3 switching adjacency entry, and uses the Layer 2 header for the adjacent node in the adjacency table entry to rewrite the packet during Layer 3 switching. Hardware Layer 3 switching supports 256,000 adjacency table entries.
Examples
This example shows how to display information for all adjacency nodes:
Router# show mls cef adjacency
Index 17414 : mac-sa:00d0.061d.200a, mac-da:0000.0000.0b0b
interface:Gi4/11, mtu:1514
packets:0000000000000000, bytes:0000000000000000
Index 17415 : mac-sa:00d0.061d.200a, mac-da:00e0.f74c.842e
packets:0000000000000000, bytes:0000000000000000
This example shows how to display the total number of adjacency nodes:
Router# show mls cef adjacency count
This example shows how to display adjacency node information for a specific MAC address:
Router# show mls cef adjacency mac-address 00e0.f74c.842e
Index 17415 : mac-sa:00d0.061d.200a, mac-da:00e0.f74c.842e
packets:0000000000000000, bytes:0000000000000000
This example shows how to display the adjacency node information for a specific MAC address for a specific module:
Router# show mls cef adjacency mac-address 00e0.f74c.842e module 4
Index 17415 : mac-sa:00d0.061d.200a, mac-da:00e0.f74c.842e
packets:0000000000000000, bytes:0000000000000000
show mls cef exact-route
To display the hardware load-sharing results, use the show mls cef exact-route command.
show mls cef exact-route src-ip {dest-ip | src-l4port} [dest-l4port | {module num}]
Syntax Description
src-ip
|
Source IP address.
|
dest-ip
|
Destination IP address.
|
src-l4port
|
Layer 4 source port number; valid values are from 0 to 65535.
|
dest-l4port
|
(Optional) Layer 4 destination port number; valid values are from 0 to 65535.
|
module num
|
(Optional) Module number.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(13)E
|
Support for this command was introduced on the Supervisor Engine 2.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
Examples
This example shows how to display hardware load-sharing information:
Router# show mls cef exact-route 172.20.52.16 172.20.52.31
Interface: Gi2/1, Next Hop: 255.255.255.255, Vlan: 4073, Destination Mac: 00d0.061d.200a
Related Commands
show ip cef exact-route (refer to the Cisco IOS Release 12.1 Command Reference)
show mls cef hardware
To display hardware Layer 3 switching table entries, use the show mls cef hardware command.
show mls cef hardware [module number]
Syntax Description
module number
|
(Optional) Displays the adjacency node information for a specific module.
|
This command has no keywords or arguments.
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
12.1(8b)E6
|
This command was changed to include consistency check information.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Hardware Layer 3 switching applies to IP traffic only.
Examples
This example shows how to display all the hardware Layer 3 switching table entries:
Router# show mls cef hardware
65536 rows/device, 2 device(s), 131072 total rows
8192 total blocks (32b wide)
0 - 4095 upper blocks, 4096 - 8191 lower blocks
Free blocks (non-contiguous range):
27 - 4095 upper blocks, 4096 - 8191 lower blocks
sanity interval: 301 seconds
consistency check interval: 61 seconds
redistribution interval: 120 seconds
redistribution threshold: 10
compression interval: 30 seconds
bank differential limit: 5
Background Task statistics:
sanity check count: 0000000000000169
Consistency check count: 0000000000000834
Consistency check errors: 0000000000000002
block redistribute count: 0000000000000000
block compress count: 0000000000000011
IP ucast [29]: 0000000000000001
IP ucast [28]: 0000000000000001
Hardware switching status:
show mls cef ip
To display IP entries in the MLS hardware Layer 3 switching table, use the show mls cef ip command.
show mls cef ip [prefix [mask]] | [module num]
show mls cef ip {lookup ip-address} [module num]
show mls cef ip {multicast tcam [prefix [mask]} [module num]]
Syntax Description
prefix
|
(Optional) Entry prefix in the format A.B.C.D.
|
mask
|
(Optional) Entry prefix mask in the format A.B.C.D.
|
module num
|
(Optional) Displays the entries for a specific module.
|
lookup ip-address
|
(Optional) Displays the TCAM entry index for the specified destination IP unicast address.
|
multicast tcam
|
(Optional) Displays the IP multicast entries in the compact CEF table display format.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Information in the output of the show mls cef ip command is also displayed in the show mls ip command.
The lookup is performed as a "longest prefix match " and displays the TCAM entry index that applies to the specified destination IP address.
The information output is in this format: Index, Prefix, Mask, and Adjacency.
Examples
This example shows how to display IP entries in the MLS hardware Layer 3 switching table:
Index Prefix Mask Adjacency
0 0.0.0.0 255.255.255.255 punt
1 255.255.255.255 255.255.255.255 punt
2 127.0.0.12 255.255.255.255 punt
3 127.0.0.0 255.255.255.255 punt
4 127.255.255.255 255.255.255.255 punt
5 172.20.52.18 255.255.255.255 punt
6 172.20.52.0 255.255.255.255 punt
7 172.20.52.31 255.255.255.255 punt
8 172.20.52.1 255.255.255.255 0010.0d59.b8c0
160 172.20.52.0 255.255.255.224 punt
6400 224.0.0.0 255.255.255.0 punt
115200 0.0.0.0 0.0.0.0 0010.0d59.b8c0
This example shows how to display the IP multicast entries in the compact CEF table display format:
Router# show mls cef ip multicast tcam
Index Group Source RPF Interface
This example shows how to display the longest prefix match lookup:
Router# show mls cef ip lookup 172.20.52.19
160 172.20.52.0 255.255.255.224 punt
show mls cef ipx
To display IPX entries in the MLS hardware Layer 3 switching table, use the show mls cef ipx command.
show mls cef ipx [prefix [mask]] | [module num]
show mls cef ipx {lookup ip-address} [module num]
Syntax Description
prefix
|
(Optional) Entry prefix in the format A.B.C.D.
|
mask
|
(Optional) Entry prefix mask in the format A.B.C.D.
|
module num
|
(Optional) Displays the entries for a specific module.
|
lookup ip-address
|
(Optional) Displays the longest prefix match lookup.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Information in the output of the show mls cef ipx command is also displayed in the show mls ipx command.
Examples
The show mls cef ipx command outputs are similar to the show mls cef ip command outputs.
show mls cef logging
To display the contents of the TCAM inconsistency buffer, use the show mls cef logging command.
show mls cef logging [module num]
Syntax Description
module number
|
(Optional) Displays the entries for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(8b)E6
|
Support for this command was introduced on the Supervisor Engine 2.
|
Usage Guidelines
The TCAM inconsistency buffer records any inconsistency found in the TCAM.
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Hardware Layer 3 switching applies to IP traffic only.
Examples
This example shows how to display the contents of the TCAM inconsistency buffer:
Router# show mls cef logging
PFIB_ERR:TCAM_SHADOW_CONSISTENCY_ERR:value : Index: 100
PFIB_ERR:TCAM_SHADOW_CONSISTENCY_ERR:Mask : Index: 3
show mls cef mac
To display the hardware Layer 3 switching MAC address information for the MSFC, use the show mls cef mac command.
show mls cef mac [module num]
Syntax Description
module num
|
(Optional) Displays the entries for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Examples
This example shows how to display hardware Layer 3 switching MAC address information for the MSFC:
Router MAC address:00d0.061d.200a
Related Commands
show mls cef
show mls cef summary
show mls cef statistics
To display the number of switched packets and bytes, use the show mls cef statistics command.
show mls cef statistics [module number]
Syntax Description
module number
|
(Optional) Displays the information for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Examples
This example shows how to display MLS hardware Layer 3 switching statistical information:
Router# show mls cef statistics
Total CEF switched packets: 0000000000000007
Total CEF switched bytes: 0000000000000322
show mls cef summary
To display the total number of packets and bytes that are switched on the local switching engine and the number of prefixes in the hardware Layer 3 switching table, use the show mls cef summary command.
show mls cef summary [module number]
Syntax Description
module number
|
(Optional) Displays the information for a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(5c)EX
|
Support for this command was introduced on the Supervisor Engine 2.
|
12.1(8a)E
|
Support for this command on the Supervisor Engine 2 was extended to the 12.1 E release.
|
Usage Guidelines
This command is supported on systems configured with a Supervisor Engine 2 only.
In systems configured with a Supervisor Engine 2 with a PFC and an MSFC2, hardware Layer 3 switching provides IP unicast and IP multicast Layer 3 switching for a Supervisor Engine 2, a PFC2, an MSFC2, and fabric-enabled switching modules that have a DFC.
In systems configured with a Supervisor Engine 1 with a PFC and an MSFC or an MSFC2, Layer 3 switching with MLS is provided. Refer to the "Configuring IP Unicast Layer 3 Switching on Supervisor Engine 1" and "Configuring IPX Unicast Layer 3 Switching on Supervisor Engine 1" chapters in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide for more information.
Examples
This example shows how to display a summary of hardware Layer 3 switching information:
Switch-sp# show mls cef summary
Total CEF switched packets: 0000000000098681
Total CEF switched bytes: 0000000004539326
Table 2-38 describes the possible fields in the show mls cef summary command output.
Table 2-38 show mls cef summary Command Output Fields
Field
|
Description
|
Total hardware Layer 3 switching switched packets
|
Number of hardware Layer 3 switching packets forwarded by hardware Layer 3 switching engine.
|
Total hardware Layer 3 switching switched bytes
|
Number of bytes forwarded by hardware Layer 3 switching engine.
|
Total routes
|
Number of route entries.
|
IP unicast routes
|
Number of IP unicast route entries.
|
IPX routes
|
Number of IPX route entries.
|
IP multicast routes
|
Number of IP multicast route entries.
|
Related Commands
show mls cef
show mls cef mac
show mls ip
To display the MLS IP information, use the show mls ip command.
show mls ip [any | destination {hostname | ip-address} | detail | flow {tcp | udp} | {interface
{interface interface-number}} | {vlan vlan-id} | {macd destination-mac-address} | {macs
source-mac-address} | {module number} | source {hostname | ip-address} | count]
Syntax Description
any
|
(Optional) Displays any MLS IP information.
|
destination hostname
|
(Optional) Displays the entries for a specific destination IP address.
|
destination ip-address
|
(Optional) Displays the entries for a specific destination IP address.
|
detail
|
(Optional) Specifies a detailed output.
|
flow
|
(Optional) Specifies the flow type.
|
tcp | udp
|
Selects the flow type.
|
interface
|
(Optional) Specifies an interface.
|
interface
|
Interface type; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, pos, atm, and ge-wan.
|
interface-number
|
Module and port number; see the "Usage Guidelines" section for valid values.
|
vlan vlan-id
|
(Optional) Specifies the VLAN ID; see the "Usage Guidelines" section for valid values.
|
macd destination-mac-address
|
(Optional) Specifies the destination MAC address.
|
macs source- mac-address
|
(Optional) Specifies the source MAC address.
|
module number
|
(Optional) Displays the entries that are downloaded on the specified module; see the "Usage Guidelines" section for valid values.
|
source hostname
|
(Optional) Displays the entries for a specific source address.
|
source ip-address
|
(Optional) Displays the entries for a specific source IP address.
|
count
|
(Optional) Displays the total number of MLS entries.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
Support for this command was introduced on Catalyst 6500 series switches.
|
12.1(11b)E
|
This command was changed to include the ge-wan, atm, and pos keywords.
|
Usage Guidelines
The interface-number argument designates the module and port number. Valid values for interface-number depend on the specified interface type and the chassis and module used. For example, if you specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet module installed in a 13-slot chassis, valid values for the module number are from 2 to 13 and valid values for the port number are from 1 to 48. This definition also applies to the module number keyword and argument.
If your system is configured with a Supervisor Engine 1, valid values for vlan-id are from 1 to 1005. If your system is configured with a Supervisor Engine 2, valid values for vlan-id are from 1 to 4094. Extended-range VLANs are not supported on systems configured with a Supervisor Engine 1.
When you view the output, note that a colon (:) is used to separate the fields.
Examples
This example shows how to display any MLS IP information:
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 4 1067
Fa5/9,----- ARPA,ARPA 86 06:05:44
172.20.52.37 0.0.0.0 100 : 00d0.5870.a4ff 1 332
Fa5/9,----- ARPA,ARPA 102 06:05:27
172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 1 268
Fa5/9,----- ARPA,ARPA 100 06:05:29
Number of Entries Found = 3
This example shows how to display MLS information on a specific interface:
Router# show mls ip interface fastethernet 5/9
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.37 0.0.0.0 100: 00d0.5870.a4ff 1 129
Fa5/9,----- ARPA,ARPA 107 06:10:02
172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 50 6403
Fa5/9,----- ARPA,ARPA 107 06:10:04
Number of Entries Found = 2
This example shows how to display MLS information on a specific IP address:
Router# show mls ip destination 172.20.52.122
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 684 103469
Fa5/9,Fa5/9 ARPA,ARPA 281 07:17:02
Number of Entries Found = 1
This example shows how to display MLS information on a specific flow:
Router# show mls ip flow udp
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 4 1067
Fa5/9,----- ARPA,ARPA 48 06:12:35
172.20.52.37 0.0.0.0 100 : 00d0.5870.a4ff 3 551
Fa5/9,----- ARPA,ARPA 198 06:12:20
172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 52 6761
Fa5/9,----- ARPA,ARPA 198 06:12:21
Number of Entries Found = 3
This example shows how to display detailed MLS information on a full flow mask:
Router# show mls ip detail
IP Destination IP Source Vlan Xtag L3-protocol Encapsulation
--------------+---------------+----+----+-----------+-------------+
RW-Vlan RW-MACSource RW-MACDestination Bytes Packets Age
-------+--------------+-----------------+-----------+-----------+-----+
Last Seen QoS Police Count Threshold Leak Drop Bucket
---------+-----------+------------+---------+-----------+----+-------+
This example shows how to display detailed MLS information when there is not a full flow mask:
Router# show mls ip detail
IP Destination IP Source Protocol [IN/OUT] Ports Vlan Xtag
--------------+---------------+--------+--------------+----+----+
L3-protocol Encapsulation RW-Vlan RW-MACSource RW-MACDestination
-----------+-------------+-------+--------------+-----------------+
Bytes Packets Age Last Seen QoS Police Count
-----------+-----------+-----+---------+-----------+------------+
Threshold Leak Drop Bucket Use-Tbl Use-Enable
---------+-----------+----+-------+-------+----------+
Related Commands
mls ip
show mls ip multicast
To display the MLS IP information, use the show mls ip multicast command.
show mls ip multicast [{complete | partial} [{group {hostname | ip-address} [ip-mask |
{interface {interface interface-number}} | {source {hostname | ip-address}}] | {interface
{interface interface-number}} | {source {hostname | ip-address} [ip-mask]}]
show mls ip multicast [connected | consistency-check | summary]
show mls ip multicast statistics [group {hostname | ip-address} [source {hostname | ip-address}]]
Syntax Description
complete
|
(Optional) Displays complete hardware-switched entries.
|
partial
|
(Optional) Displays partially hardware-switched entries.
|
group hostname | ip-address
|
(Optional) Displays the entries for a specific multicast group source address or host name.
|
ip-mask
|
(Optional) IP mask for group source IP address.
|
interface
|
(Optional) Specifies an interface.
|
interface
|
Interface type; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, port-channel, vlan, ge-wan, atm, and pos.
|
interface-number
|
Interface number; see the "Usage Guidelines" section for valid values.
|
source hostname
|
(Optional) Displays the entries for a specific source host name.
|
source ip-address
|
(Optional) Displays the entries for a specific source IP address.
|
connected
|
(Optional) Displays the installed interface or mask entries.
|
consistency-check
|
(Optional) Displays consistency-checker information.
|
summary
|
(Optional) Displays a summary of statistics multicast entries.
|
statistics
|
(Optional) Displays the statistics multicast entries for the (optional) specified group or source entry.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.0(7)XE
|
Support for this command was introduced on the Catalyst 6500 series switches.
|
12.1(1)E
|
Support for this command on the Catalyst 6500 series switches was extended to the 12.1 E release.
|
12.1(5c)EX
|
This command was changed to include the complete and partial options and support systems configured with a Supervisor Engine 2 with a Layer 3 switching engine II (PFC2).
|
12.1(11b)E
|
This command was changed to include the ge-wan, atm, and pos keywords.
|
12.1(12c)E4
|
This command was changed to include the consistency-checker option.
|
12.1(19)E
|
This command was changed to include the statistics group option.
|
Usage Guidelines
The interface-number argument designates the module and port number. Valid values for interface-number depend on the specified interface type and the chassis and module used. For example, if you specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet module installed in a 13-slot chassis, valid values for the module number are from 2 to 13 and valid values for the port number are from 1 to 48.
The number of valid values for port-channel num depends on the software release. For releases prior to Release 12.1(3a)E3, valid values are from 1 to 256; for Releases 12.1(3a)E3, 12.1(3a)E4, and 12.1(4)E1, valid values are from 1 to 64. Release 12.1(5c)EX and later support a maximum of 64 values ranging from 1 to 256. Release 12.1(13)E and later support a maximum of 64 values ranging from 1 to 282; values 257 to 282 are supported on the CSM and FWSM.
If your system is configured with a Supervisor Engine 1, valid values for vlan-id are from 1 to 1005. If your system is configured with a Supervisor Engine 2, valid values for vlan-id are from 1 to 4094. Extended-range VLANs are not supported on systems configured with a Supervisor Engine 1.
When you view the output, note that a colon (:) is used to separate the fields.
For complete shortcuts, the MSFC does not see the packets coming into the RPF interface and replication/forwarding on all the oifs are done by the EARL. For partial shortcuts, the MSFC sees the packet in the incoming VLAN. When a partial shortcut is established, the MSFC does not forward the packet to the interfaces that are getting hardware forwarded.
Examples
This example shows how to display general MLS IP multicast information:
Router# show mls ip multicast
Multicast hardware switched flows:
(*, 224.1.1.1) Incoming interface: Vlan0, Packets switched: 0
Hardware switched outgoing interfaces: Vlan202
Total hardware switched flows : 1
This example shows how to display any MLS IP multicast information:
Router# show mls ip multicast any
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.122 0.0.0.0 5 : 00e0.4fac.b3ff 4 1067
Fa5/9,----- ARPA,ARPA 86 06:05:44
172.20.52.37 0.0.0.0 100 : 00d0.5870.a4ff 1 332
Fa5/9,----- ARPA,ARPA 102 06:05:27
172.20.52.36 0.0.0.0 100 : 0050.7312.0cff 1 268
Fa5/9,----- ARPA,ARPA 100 06:05:29
Number of Entries Found = 3
This example shows how to display a summary of MLS information:
Router# show mls ip multicast summary
1 MMLS entries using 168 bytes of memory
Number of partial hardware-switched flows: 0
Number of complete hardware-switched flows: 1
Directly connected subnet entry install is enabled
Aggregation of routed oif is enabled
Hardware shortcuts for mvpn mroutes supported
Egress Mode of replication is enabled
Maximum route support is enabled
This example shows how to display MLS information on a specific interface:
Router# show mls ip multicast interface fastethernet 5/9
DstIP SrcIP Dst i/f:DstMAC Pkts Bytes
-----------------------------------------------------------------------
SrcDstPorts SrcDstEncap Age LastSeen
----------------------------------------
172.20.52.37 0.0.0.0 100: 00d0.5870.a4ff 1 129
Fa5/9,----- ARPA,ARPA 107 06:10:02