CANOGA PERKINS 9175 Configuration Guide User Manual

Page 200

Advertising
background image

CanogaOS Configuration Guide

30-7

Command Description

DUT1(config)#interface eth-0-9

Enter the Interface mode.

• eth-0-9—Specify the interface

DUT1(config-if)#no switchport

Configure the port to layer 3 port.

DUT1(config-if)#enable-ldp

Configure Interface for LDP

DUT1(config-if)#ip address 4.4.4.2/24

Create IP address on the port.

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 11.11.11.11/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)# router ldp

Enter the router-ldp mode.

DUT1(config-router)# targeted-peer 10.10.10.10 Configure

Targeted Peer in LDP.

DUT1(config-router)# transport-address 11.11.11.11

Configure Transport Address in LDP.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#mpls l2-circuit vc1 100 10.10.10.10

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

DUT1(config)#interface eth-0-1

Enter the Interface mode.

• eth-0-1—Specify the interface

DUT1(config-if)#mpls-l2-circuit vc1

Bind an interface to the Virtual Circuit.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)#router rip

Enter the router-rip mode

DUT1(config-router)#network 4.4.4.0/24

Associate networks with the RIP process.

DUT1(config-router)#network 11.11.11.11/32

Associate networks with the RIP process.

DUT1(config-router)#exit

Exit the router-rip mode.

DUT1(config)#mpls enable-all-interfaces Enable

label-switching on all interfaces.

30.3.5 Validation

Commands

The validation commands used are show mpls ftn-forwarding, show mpls l2-circuit, show
mpls vc-table, ping mpls l2-circuit and traceroute mpls l2-circuit on PE1.

DUT1# show mpls ftn-forwarding
FEC Out-Label Nexthop Out-Intf
3.3.3.0/24 3 2.2.2.2 eth-0-12
4.4.4.0/24 1025 2.2.2.2 eth-0-12
11.11.11.11/32 1026 2.2.2.2 eth-0-12
DUT1# show mpls l2-circuit
VC-Name VC-ID Interface VC-type VLAN C-Word Manual
vc1 100 eth-0-1 Ethernet N/A 0 No
DUT1# show mpls vc-table
VC-ID PW Intf AC Intf L/R Label EndPoint Status Manual
100 eth-0-12 eth-0-1 1024/1024 11.11.11.11 Active No

Advertising