ldp

Note

requires a Product License.

LDP configuration.

vsr running config# vrf <vrf> routing mpls ldp

enabled (pushed)

Enable or disable LDP.

vsr running config# vrf <vrf> routing mpls ldp
vsr running ldp# enabled true|false
Default value
true

router-id

LSR Id in IPv4 address format.

vsr running config# vrf <vrf> routing mpls ldp
vsr running ldp# router-id ROUTER-ID

ROUTER-ID

An IPv4 address.

discovery

Discovery parameters.

vsr running config# vrf <vrf> routing mpls ldp discovery

hello

LDP Link Hellos.

vsr running config# vrf <vrf> routing mpls ldp discovery hello

holdtime

Hello holdtime in seconds.

vsr running config# vrf <vrf> routing mpls ldp discovery hello
vsr running hello# holdtime <uint16>
Default value
15

interval

Hello interval in seconds.

vsr running config# vrf <vrf> routing mpls ldp discovery hello
vsr running hello# interval <uint16>
Default value
5

dual-stack

Configure dual stack parameters.

vsr running config# vrf <vrf> routing mpls ldp dual-stack

cisco-interop

Use Cisco non-compliant format to send and interpret the Dual-Stack capability TLV.

vsr running config# vrf <vrf> routing mpls ldp dual-stack
vsr running dual-stack# cisco-interop true|false
Default value
false

transport-preference

Configure preferred address family for TCP transport connection with neighbor.

vsr running config# vrf <vrf> routing mpls ldp dual-stack
vsr running dual-stack# transport-preference TRANSPORT-PREFERENCE

TRANSPORT-PREFERENCE values

Description

ipv4

IPv4.

ipv6

IPv6.

Default value
ipv6

neighbor

Configure neighbor parameters.

vsr running config# vrf <vrf> routing mpls ldp neighbor <neighbor>

<neighbor>

An IPv4 address.

password

The password.

vsr running config# vrf <vrf> routing mpls ldp neighbor <neighbor>
vsr running neighbor <neighbor># password <string>

ttl-security

LDP ttl security check.

vsr running config# vrf <vrf> routing mpls ldp neighbor <neighbor> ttl-security

hops

Maximum number of IP hops.

vsr running config# vrf <vrf> routing mpls ldp neighbor <neighbor> ttl-security
vsr running ttl-security# hops <uint8>

disable

Disable ttl security.

vsr running config# vrf <vrf> routing mpls ldp neighbor <neighbor> ttl-security
vsr running ttl-security# disable true|false
Default value
false

address-family

Configure Address Family and its parameters.

vsr running config# vrf <vrf> routing mpls ldp address-family

ipv4

IPv4.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4

session-holdtime

Session holdtime in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4
vsr running ipv4# session-holdtime <uint16>
Default value
180

discovery

Discovery parameters.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery
transport-address (mandatory)

Transport address for TCP connection.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery
vsr running discovery# transport-address TRANSPORT-ADDRESS

TRANSPORT-ADDRESS

An IPv4 address.

hello

LDP Link Hellos.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery hello
holdtime

Hello holdtime in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery hello
vsr running hello# holdtime <uint16>
Default value
15
interval

Hello interval in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery hello
vsr running hello# interval <uint16>
Default value
5

interface

Enable LDP on an interface.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 interface <interface>

<interface>

An interface name.

label

Configure label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label
local

Local label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label local
allocate

Configure label allocation control.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label local allocate
for

IP access-list.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label local allocate
vsr running allocate# for FOR

FOR

Access list name.

host-routes

Allocate local label for host routes only.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label local allocate
vsr running allocate# host-routes
remote

Remote/peer label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote
accept

Configure inbound label acceptance control.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote accept
for

IP access-list for destination prefixes.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote accept
vsr running accept# for FOR

FOR

Access list name.

from

Neighbor from whom to accept label advertisement.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote accept
vsr running accept# from FROM

FROM

Access list name.

ipv6

IPv6.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6

session-holdtime

Session holdtime in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6
vsr running ipv6# session-holdtime <uint16>
Default value
180

discovery

Discovery parameters.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery
transport-address (mandatory)

Transport address for TCP connection.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery
vsr running discovery# transport-address TRANSPORT-ADDRESS

TRANSPORT-ADDRESS

An IPv6 address.

hello

LDP Link Hellos.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery hello
holdtime

Hello holdtime in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery hello
vsr running hello# holdtime <uint16>
Default value
15
interval

Hello interval in seconds.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery hello
vsr running hello# interval <uint16>
Default value
5

interface

Enable LDP on an interface.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 interface <interface>

<interface>

An interface name.

label

Configure label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label
local

Local label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local
advertise

Configure outbound label advertisement control.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise
for

IP access-list for destination prefixes.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise
vsr running advertise# for FOR

FOR

Access list name.

to

IP Access-list specifying controls on LDP Peers.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise
vsr running advertise# to TO

TO

Access list name.

explicit-null

Configure explicit-null advertisement.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise explicit-null
for

IP access-list for destination prefixes.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise explicit-null
vsr running explicit-null# for FOR

FOR

Access list name.

allocate

Configure label allocation control.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local allocate
for

IP access-list.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local allocate
vsr running allocate# for FOR

FOR

Access list name.

host-routes

Allocate local label for host routes only.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label local allocate
vsr running allocate# host-routes
remote

Remote/peer label control and policies.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote
accept

Configure inbound label acceptance control.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote accept
for

IP access-list for destination prefixes.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote accept
vsr running accept# for FOR

FOR

Access list name.

from

Neighbor from whom to accept label advertisement.

vsr running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote accept
vsr running accept# from FROM

FROM

Access list name.