CANOGA PERKINS 9175 Configuration Guide User Manual

Page 181

Advertising
background image

CanogaOS Configuration Guide

28-2

28.2.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 t1 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.11.10/32

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

DUT1(config)#exit

Exit the Configure mode.

DUT1(config)# router ldp

Enter the router-ldp mode.

DUT1(config-router)# targeted-peer 192.168.10.10

Configure Targeted Peer in LDP.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)# mpls l2-circuit t1 200 192.168.10.10

Create a Virtual Circuit.Both PE routers must be
configured with the same VC-ID (200).

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.2/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

28.2.3 Validation

Commands

Use the show mpls l2-circuit and the show mpls vc-table commands respectively to
display complete information about the Layer-2 Virtual Circuit. The following are the
sample outputs for the show commands displaying Layer-2 virtual circuit information.

On PE1

DUT1#show mpls l2-circuit
VC-Name VC-ID Interface VC-type VLAN C-Word Manual
t1 200 eth-0-1 Ethernet N/A 0 No

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.11.10 Active No


On PE2

DUT1#show mpls l2-circuit
VC-Name VC-ID Interface VC-type VLAN C-Word Manual
t1 200 eth-0-1 Ethernet N/A 0 No

Advertising