7.4 MLS on the Switch
7.4.2 Adding external router MLS identification
If the switch supports an externally attached MLS-RP, the switch must be manually configured to recognize that MLS-RP. To manually include an external MLS-RP, enter the following command in privileged EXEC mode on the switch:

Switch> (enable) set mls include ip-addr

where ip-addr is the MLS IP address of the external router. To determine the IP address of the MLS-RP, enter the show mls rp command on the MLS-RP.

Note: Perform this command only for external routers. The MLS-SE automatically includes the IP address of resident RSMs in the switch inclusion list. When the RSM is physically removed from the switch chassis or MLS is disabled on an RSM, the RSM IP address is removed from the inclusion list. The auto-included RSM cannot be cleared using the clear mls include command.

The running-configuration example in the Figure states that external MLS-RP with the IP address of 172.16.41.168 has been added to the MLS include list.

To remove the MLS-RP from the switch inclusion list, enter the clear mls include command. A single MLS-RP can be removed by entering the IP address of a specific MLS-RP. All externally connected MLS-RPs can be removed from the switch inclusion list by entering the clear mls include all command.