CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 213

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 213 of 350

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

DUT1(config-router)#network
11.11.1.1/16

Associate networks with the RIP
process.


Validation Commands
To display the LDP configuration, use the show ldp session privileged EXEC
command.

1) show status lsr-a:

DUT1#show ldp session

Peer IP Address IF Name My Role State KeepAlive

11.11.17.2 eth-0-17 Passive OPERATIONAL 30

2) show status lsr-b:

DUT1#show ldp session

Peer IP Address IF Name My Role State KeepAlive

11.11.9.2 eth-0-9 Active OPERATIONAL 30

11.11.17.1 eth-0-17 Active OPERATIONAL 30

3) show status lsr-c:

Advertising