background image
MLS-RP Configuration
279
VLAN Assignments
This command is used only if an external router's interface is not using ISL
or 802.1q encapsulation. (RSMs and MSFCs use logical VLAN interfaces.)
An example may be when a router has two physical interfaces connected to
the same switch, each to a different VLAN. This scenario doesn't require
that the router be aware of VLAN assignments.
If you wish to enable MLS on interfaces that are not encapsulated, you
can issue the mls rp vlan-id [vlan-id-number] command to assign a
VLAN to the interface. Here is an example:
RouterA#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
RouterA(config)#interface fastethernet 4/0
RouterA(config-if)#mls rp vlan-id 10
RouterA(config-if)#^Z
RouterA#
!
interface FastEthernet4/0
ip address 172.16.10.1 255.255.255.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
mls rp vtp-domain web-ut
mls rp vlan-id 10
!
Interface Configurations
Once VTP and VLAN assignments have been made, you can finally enable
MLS on the interface. This is done with the same command that was used to
globally enable MLS, mls rp ip. Here is an example:
RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#interface fastethernet 4/0
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com