beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 169

background image

CanogaOS Configuration Guide

26-2

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)# interface eth-0-17

Enter the Interface mode.

• eth-0-17—Specify the interface

DUT1(config-if)# no switchport

Configuring the port as layer 3 port.

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

Create IP address on the port.

DUT1(config-if)# enable-ldp

Configuring Interface for LDP.

DUT1(config-if)# label-switching

Enable label-switching on interface.

DUT1(config-if)#exit

Exit the Configure mode.

DUT1(config)#router ldp

Enter the router-ldp mode.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#router rip

Enter the router-rip mode.

DUT1(config-router)#network 11.11.1.1/16

Associate networks with the RIP
process.

DUT1(config-router)#exit

Exit the router-rip mode

DUT1(config)#interface eth-0-9

Enter the Interface mode.

• eth-0-9—Specify the interface

DUT1(config-if)#no switchport

Configuring the port as layer 3 port.

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

Create IP address on the port.

DUT1(config-if)#enable-ldp Configuring Interface for LDP.

DUT1(config-if)#label-switching Enable label-switching on interface.


Configure lsr-c
Beginning in privileged EXEC mode, follow these steps to configure the LDP:

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)# interface eth-0-9

Enter the Interface mode.

• eth-0-9—Specify the interface

DUT1(config-if)# no switchport

Configuring the port as layer 3 port.

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

Create IP address on the port.

DUT1(config-if)# enable-ldp

Configuring Interface for LDP.

DUT1(config-if)# label-switching

Enable label-switching on interface.

DUT1(config-if)#exit

Exit the Configure mode.

DUT1(config)#router ldp

Enter the router-ldp mode.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#router rip

Enter the router-rip mode