beautypg.com

3 vc configuration using static command – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 182

background image

CanogaOS Configuration Guide

28-3


DUT1#show mpls vc-table
VC-ID In Intf Out Intf In Label Out Label EndPoint Status Manual
200 eth-0-2 eth-0-1 3328 3328 192.168.10.10 Active No

28.3 VC configuration using static command

28.3.1 Configuring the VPWS on PE1

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)#mpls-l2-circuit t2 ethernet

Bind an interface to the Virtual Circuit.

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 192.168.10.10/32

Create loopback addresses on both PE
routers. Use a /32 host route for the
loopback address.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)#mpls ftn-entry 192.168.11.1/24 111
8.8.8.2

Configure FTN entry for tunnel

DUT1(config)#mpls ilm-entry pop 222

Configure ILM entry for tunnel

DUT1(config)#mpls l2-circuit t2 201 192.168.11.10
manual

Create a Virtual Circuit.

DUT1(config)# interface eth-0-1

Enter the Interface mode.

• eth-0-1—Specify the interface

DUT1(config-if)# no switchport

Configure the port to layer 3 port.

DUT1(config-if)#ip address 8.8.8.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 l2-circuit-fib-entry t2 444 333

Configure VC label for the VC.

28.3.2 Configuring the VPWS on PE2

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)#mpls-l2-circuit t2 ethernet

Bind an interface to the Virtual Circuit.