26 configuring ldp, 1 overview, 2 set up ldp connection – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 168

Advertising
background image

CanogaOS Configuration Guide

26-1

26 Configuring LDP

26.1 Overview

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 CentecOS software supports these features:

• Downstream unsolicited label distribution with liberal retention mode.

• Supports control-mode modification.

• Supports lsr-id and transport-address modification.

• Supports target 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.2 Set up LDP connection

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
11.11.1.1/16

Configuring the port as layer 3 port.


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

Command Description

Advertising