41 router ldp, 42 router-id, Router ldp – PLANET XGS3-24042 User Manual

Page 1208: Router

Advertising
background image

76-26

Related Commands:

request-retry

76.41 router ldp

Command:

router ldp

no router ldp

Function:

Enable the LDP protocol; the no operation will disable it.

Default:

LDP is disabled.

Command Mode:

Global Mode.

Usage Guide:

The LDP protocol is a label advertising protocol used when switching labels in the public network,

which usually works in a BGP VPN environment. Implementing this command will globally enable

the LDP protocol, however, in interfaces where the protocol is actually working, implementing

“enable-ldp” in the interface configuration mode is required, so does enabling Label-switching,

which, in combination with this command, work as a whole to ensure the normal operation of the

protocol.

Example:

Switch(config)#router ldp

Switch(config-router)#

76.42 router-id

Command:

router-id <ip-addr>

no router-id

Function:

Set the router ID used by LDP; the no operation will cancel the configuration.

Parameters:

<ip-addr> is the router ID, in dotted decimal format.

Default:

Advertising