14-27
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 14 Configuring MLS
Configuring MLS
Displaying MLS Entries for a Specific IP Flow
The
show mls entry ip flow
command displays the MLS entries for a specific IP flow. The
protocol
argument can be
tcp
,
udp
,
icmp
, or a decimal number for other protocol families. The
src_port
and
dst_port
arguments specify the protocol ports if the protocol is TCP or User Datagram Protocol (UDP).
A value of zero (0) for
src_port,
dst_port,
or
protocol
is treated as a wildcard and all entries are displayed
(unspecified options are treated as wildcards). If the protocol selected is not TCP or UDP, set the
src_port
and
dst_prt
to 0 or no flows will display.
To display the MLS entries for a specific IP flow (when the flow mask mode is full flow), perform this
task in privileged mode:
This example shows how to display the MLS entries for a specific IP flow:
Console> (enable)
show mls entry ip flow tcp 23 37819
Destination IP Source IP Port DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
MSFC 51.0.0.3:
10.0.2.15 51.0.0.2 TCP 37819 Telnet 08-00-20-7a-07-75 10 3/1
Console> (enable)
Displaying IPX MLS Entries for a Specific MSFC
To display the IPX MLS entries for a specific MSFC, perform this task in privileged mode:
This example shows how to display the IPX MLS entries for a specific MSFC:
Console> (enable)
show mls entry ipx 15
Destination-IPX Destination-Mac Vlan EDst ESrc Port Stat-Pkts
Stat-Bytes Uptime Age
------------------------- ----------------- ---- ---- ---- ----- ----------
----------- -------- --------
MSFC 22.1.0.56 (Module 15):
11.0000.0000.2B10 00-00-00-00-2b-10 11 ARPA ARPA - 7869
361974 00:15:52 00:00:00
11.0000.0000.A810 00-00-00-00-a8-10 11 ARPA ARPA - 3934
180964 00:15:52 00:00:00
11.0000.0000.3210 00-00-00-00-32-10 11 ARPA ARPA - 7871
362066 00:15:52 00:00:00
11.0000.0000.B110 00-00-00-00-b1-10 11 ARPA ARPA - 3935
181010 00:15:52 00:00:00
11.0000.0000.1910 00-00-00-00-19-10 11 ARPA ARPA - 7873
362158 00:15:52 00:00:00
11.0000.0000.9A10 00-00-00-00-9a-10 11 ARPA ARPA - 3936
181056 00:15:52 00:00:00
Task
Command
Display the MLS entries for a specific IP
flow (when the flow mask mode is full flow).
show mls entry ip flow
[
protocol
src_port dst_port
]
Task
Command
Display the IPX MLS entries for a specific
MSFC.
show mls entry ipx
mod
1
1.
The
mod
keyword specifies the module number of the MSFC; either 15 (if the MSFC is installed on Supervisor Engine 1 in
slot 1) or 16 (if the MSFC is installed on Supervisor Engine 1 in slot 2).