26 configuring ldp – CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 211

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 211 of 350
26 Configuring LDP
This chapter describes how to configure LDP.
A fundamental concept in MPLS is that two Label Switching Routers (LSRs) must agree on the
meaning of the labels used to forward traffic between and through them. This common
understanding is achieved by using a set of procedures, called label distribution protocol -LDP.
The CanogaOS software supports these features:
Downstream unsolicited label distribution with liberal retention mode.
Supports control-mode modification.
Supports lsr-id and transport-address modification.
Supports targets peer setting.
Supports outbound label filtering.
Supports explicit null label.
This configuration guide will describe the basic configuration of LDP in our system and give
some examples for it.
More information about LDP, please see RFC3031 and FRC3036.
26.1.1 Configure parameters to set up LDP connection between lsr-a, lsr-b and
lsr-c.
configure lsr-a:
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-17
Enter the Interface mode.
• eth-0-17—Specify the interface
DUT1(config-if)# no
switchport
Configure the port as route port.
DUT1(config-if)# ip address
11.11.17.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.
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 Configuring the port as layer 3 port.