14-24
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 14 Configuring MLS
Configuring MLS
Displaying Entries for a Specific IP Source Address
To display MLS entries for a specific source IP address, perform this task in privileged mode:
This example shows how to display MLS entries for a specific source IP address:
Console> (enable)
show mls entry ip source 10.0.2.15
Destination-IP Source-IP Prot DstPrt SrcPrt Destination-Mac Vlan
EDst ESrc DPort SPort Stat-Pkts Stat-Bytes Uptime Age
--------------- --------------- ----- ------ ------ ----------------- ----
---- ---- ------ ------ ---------- ----------- -------- --------
MSFC 172.20.25.1 (Module 15):
172.20.22.14 10.0.2.15 TCP Telnet 37819 00-e0-4f-15-49-ff 51
ARPA ARPA 5/39 5/40 115 5290 00:12:20 00:00:04
MSFC 172.20.27.1 (Module 16):
Total entries:1
Console> (enable)
Displaying Entries for a Specific IP Flow
The
show mls entry ip flow
command displays 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 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 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)
Task
Command
Display MLS entries for the specified
source IP address.
show mls entry ip source
[
ip_addr
]
Task
Command
Display entries for a specific IP flow (when
the flow mask mode is full flow).
show mls entry ip flow
[
protocol
src_port dst_port
]