beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 191

background image

CanogaOS Configuration Guide

29-8

29.3.2 Configuring the VPLS on PE2

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-1

Enter the Interface mode.

• eth-0-1—Specify the interface

DUT1(config)#switchport mode trunk

Configure trunk mode on the port.

DUT1(config)#exit

Exit the Interface mode.

DUT1(config)#interface eth-0-2

Enter the Interface mode.

• eth-0-2—Specify the interface

DUT1(config-if)#no switchport

Configure the port to layer 3 port.

DUT1(config-if)#ip address 12.12.12.2/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.2/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.1/32 3
14.14.14.1

Configure one static FTN entry.

DUT1(config)#mpls ftn-entry 11.11.11.3/32 230
12.12.12.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.1 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 vlan 200

Bind an interface to a VPLS instance.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)# vpls-fib-add vpls1 peer 14.14.14.1
201 102

Add a static PW for a PE in a VPLS instance.

DUT1(config)# vpls-fib-add vpls1 peer 11.11.11.3
203 302

Add a static PW for a PE in a VPLS instance.