21 import-bgp-routes, Import, Routes – PLANET XGS3-24042 User Manual

Page 1194

Advertising
background image

76-12

Default:

15s.

Command Mode:

LDP Protocol Configuration Mode.

Usage Guide:

LDP discovers its neighbors and keeps in communication with them through multicast Hello.

Implementing this command will set the time interval of sending hello messages. Please pay

attention to the relationship between it and the hello-interval. It is better to set a value at least three

times as long as the latter. When the interface is configured with Hold-interval, the global

configuration will have no effect on it.

Example:

Configure the hold-time as 50:

Switch(config)#router ldp

Switch(config-router)#hold-time 50

Related Commands:

hello-interval, ldp hold-time, ldp hello-interval

76.21 import-bgp-routes

Command:

import-bgp-routes

no import-bgp-routes

Function:

Configure to import BGP routes; the “no” operation will restore the default configuration.

Default:

LDP doesn’t import BGP routes by default.

Command Mode:

LDP Protocol Configuration Mode.

Usage Guide:

In common cased, LDP finds routes the route table of the system. But there are exceptions where it

doesn’t import default routes or BGP routes. Importing the default routes may cause disorder, so it

is forbidden in any case. If the users can make sure the security, then they can import BGP routes

through this command and allocate labels for them.

Example:

Import BGP routes and set the import route labels.

Switch(config)#router ldp

Advertising
This manual is related to the following products: