Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual page 274

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Configuring MLS
Clearing MLS Cache Entries
The clear mls entry command removes specific MLS cache entries. The all keyword clears all MLS
entries. The destination and source keywords specify the source and destination IP addresses. The
destination and source ip_addr_spec can be a full IP address or a subnet address in the format
ip_subnet_addr, ip_addr/subnet_mask, or ip_addr/subnet_mask_bits.
The flow keyword specifies the following additional flow information:
To clear an MLS entry, perform this task in privileged mode:
Task
Clear an MLS entry.
This example shows how to clear MLS entries with destination IP address 172.20.26.22:
Console> (enable) clear mls entry ip destination 172.20.26.22
MLS IP entry cleared
Console> (enable)
This example shows how to clear MLS entries with destination IP address 172.20.22.113, TCP source
port 1652, and TCP destination port 23:
Console> (enable) clear mls entry destination 172.20.26.22 source 172.20.22.113 flow tcp
1652 23
MLS IP entry cleared
Console> (enable)
Clearing IPX MLS Cache Entries
The clear mls entry ipx command removes specific IPX MLS cache entries. The destination and
source keywords specify the source and destination IPX addresses. The all keyword clears all MLS
entries.
Displaying IP MLS Statistics
These sections describe how to display a variety of IP MLS statistics:
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
14-26
Protocol family (protocol)—Specify tcp, udp, icmp, or a decimal number for other protocol
families. A value of zero (0) for protocol is treated as a wildcard, and entries for all protocols are
cleared (unspecified options are treated as wildcards).
TCP or UDP source and destination port numbers (src_port and dst_port)—If the protocol you
specify is TCP or UDP, specify the source and destination TCP or UDP port numbers. A value of
zero (0) for src_port or dst_port is treated as a wildcard, and entries for all source or destination
ports are cleared (unspecified options are treated as wildcards). For other protocols, set the src_port
and dst_port to 0, or no entries will clear.
Displaying IP MLS Statistics by Protocol, page 14-27
Displaying Statistics for MLS Cache Entries, page 14-27
Command
clear mls entry ip [destination ip_addr_spec] [source
ip_addr_spec] [flow protocol src_port dst_port] [all]
Chapter 14
Configuring MLS
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents