beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 198

background image

CanogaOS Configuration Guide

30-5

Command Description

• loopback0—Specify the loopback interface
name.

DUT1(config-if)#ip address 10.10.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)# router ldp

Enter the router-ldp mode.

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

Targeted Peer in LDP.

DUT1(config-router)# transport-address 10.10.10.10

Configure Transport Address in LDP.

DUT1(config-router)# exit

Exit the router-ldp mode.

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

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

Associate networks with the RIP process.

DUT1(config-router)# network 2.2.2.0/24

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.2 Configurations on PE2

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-12

Enter the Interface mode.

• eth-0-12—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 2.2.2.2/24

Create IP address on the port.

DUT1(config-if)# exit

Exit the Interface mode.

DUT1(config)#interface eth-0-17

Enter the Interface mode.

• eth-0-17—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 3.3.3.1/24

Create IP address on the port.