
CanogaOS Configuration Guide
29-7
Command Description
DUT1#configure terminal Enter the Configure mode.
DUT1(config)#interface eth-0-2 Enter the Interface mode.
• eth-0-2—Specify the interface
DUT1(config-if)#switchport mode trunk Configure trunk mode on the port.
DUT1(config-if)#exit Exit the Interface mode.
DUT1(config)#interface eth-0-3 Enter the Interface mode.
• eth-0-3—Specify the interface
DUT1(config-if)#no switchport Configure the port to layer 3 port.
DUT1(config-if)#ip address 13.13.13.1/24 Create IP address on the port.
DUT1(config-if)# label-switching Enable label-switching on interface.
DUT1(config-if)#exit Exit the Interface mode.
DUT1(config)#interface eth-0-4 Enter the Interface mode.
• eth-0-4—Specify the interface
DUT1(config-if)#no switchport Configure the port to layer 3 port.
DUT1(config-if)#ip address 14.14.14.1/24 Create IP address on the port.
DUT1(config-if)# label-switching Enable label-switching on interface.
DUT1(config-if)#exit Exit the Interface mode.
DUT1(config)#mpls ftn-entry 14.14.14.2/32 3
14.14.14.2
Configure one static FTN entry.
DUT1(config)#mpls ftn-entry 11.11.11.3/32 130
13.13.13.4
Configure one static FTN entry.
DUT1(config)# mpls vpls vpls1 1 Create a VPLS instance and come into the VPLS
instance mode.
DUT1(config-vpls)#vpls-peer 14.14.14.2 raw manual Add a PE for VPLS instance.
DUT1(config-vpls)#vpls-peer 11.11.11.3 raw manual Add a PE for VPLS instance.
DUT1(config)# interface eth-0-1 Enter the Interface mode.
• eth-0-1—Specify the interface
DUT1(config-if)# mpls-vpls vpls1 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 vpls1 vlan 100 Bind an interface to a VPLS instance.
DUT1(config)#vpls-fib-add vpls1 peer 14.14.14.2
102 201
Bind an interface to a VPLS instance.
DUT1(config)#vpls-fib-add vpls1 peer 11.11.11.3
103 301
Bind an interface to a VPLS instance.
Comentários a estes Manuais