
CanogaOS Configuration Guide
29-2
Command Description
DUT1(config)#router rip Enter the router-rip mode
DUT1(config-router)#network 11.11.1.1/16 Associate networks with the RIP process.
DUT1(config-router)#exit Exit the router-rip mode
DUT1(config)#mpls vpls-vlan 4000 4010 Create a block of continuous vlan id which
used for vpls function.
DUT1(config)#mpls vpls v1 100 Create a VPLS instance and come into the
VPLS instance mode.
DUT1(config-vpls)#vpls-peer 11.11.3.3 raw Add a PE for VPLS instance.
DUT1(config-vpls)#vpls-peer 11.11.4.4 raw Add a PE for VPLS instance.
DUT1(config-vpls)#exit Exit VPLS instance mode.
DUT1(config)#interface eth-0-1 Enter the Interface mode.
• eth-0-1—Specify the interface
DUT1(config-if)#mpls-vpls v1 Bind an interface to a VPLS instance.
DUT1(config-if)#exit Exit the Interface mode.
DUT1(config)#interface eth-0-2 Enter the Interface mode.
• eth-0-2—Specify the interface
DUT1(config-if)#mpls-vpls v1 Bind an interface to a VPLS instance.
DUT1(config-if)#exit Exit the Interface mode.
29.2.2 Configuring the VPLS on PE2
Command Description
DUT1#configure terminal Enter the Configure mode.
DUT1(config)#interface eth-0-13 Enter the Interface mode.
• eth-0-13—Specify the interface
DUT1(config)#no switchport Configure the port to layer 3 port.
DUT1(config-if)#ip add 11.11.13.4/24 Create IP address on the port.
DUT1(config-if)#enable-ldp Configure Interface for LDP
DUT1(config-if)#label-switching Enable label-switching on interface.
DUT1(config-if)#exit Exit the Interface mode
DUT1(config)# interface loopback 0 Enter the Interface mode.
• loopback0—Specify the loopback
interface name.
DUT1(config-if)#ip address 11.11.4.4/32 Create loopback addresses on both
PE routers. Use a /32 host route for
the loopback address.
DUT1(config)#exit Exit the Interface mode.
Kommentare zu diesen Handbüchern