2 vc configuration using static command – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 227

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 227 of 350

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.1.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.
1) 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

2) 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

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.2 VC configuration using static command

28.2.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

Advertising