beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 183

background image

CanogaOS Configuration Guide

28-4

Command Description

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-if)#exit

Exit the Interface mode.

DUT1(config)#mpls ftn-entry 192.168.10.1/24 222 8.8.8.1

Configure FTN entry for tunnel

DUT1(config)#mpls ilm-entry pop 111

Configure ILM entry for tunnel

DUT1(config)#mpls l2-circuit t2 201 192.168.10.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.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 l2-circuit-fib-entry t2 333 444

Configure VC label for the VC

28.3.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
t2 200 eth-0-1 Ethernet N/A 0 Yes

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 444 333 192.168.11.10 Active Yes


On PE2

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

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 333 444 192.168.10.10 Active
Yes