Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-72
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear mls entry
Up to 16 routers can be included explicitly as MLS-RPs.
To use a router as an MLS, you must meet these conditions:
The router must be included (either explicitly or automatically) in the MLS-SE.
The MLS feature must be enabled in the Catalyst 6500 series switches.
The Catalyst 6500 series switches must know the router’s MAC-VLAN pairs.
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 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 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 a full host address, such as 193.22.253.1/22, which has the same subnet
address as the ip_subnet_addr.
If you do not use the all argument in the clear mls entry command, you must specify at least one of the
other three keywords (source, destination, or protocol) and its arguments.
If no value or 0 is entered for src_port and dest_port, all entries are cleared.
When you remove a Multilayer Switch Module (MSM) from the Catalyst 6500 series switch, it is
removed immediately from the inclusion list and all the MLS entries for the MSM are removed.
Examples This example shows how to clear the MLS entries with destination IP address 172.20.26.22:
Console> (enable) clear mls entry destination 172.20.26.22
Multilayer switching entry cleared.
Console> (enable)
This example shows how to clear specific IP MLS entries for destination IP address 172.20.26.22:
Console> (enable) clear mls entry ip destination 172.20.26.22 source 172.20.22.113 protocol tcp 520 320
Multilayer switching entry cleared
Console> (enable)
This example shows how to clear specific IPX MLS entries for a destination IPX address:
Console> (enable) clear mls entry ipx destination 1.00e0.fefc.6000 source 3.0034.1245.AB45
IPX Multilayer switching entry cleared
Console> (enable)
Related Commands show mls entry