ldp

LDP configuration.

vrouter running config# vrf <vrf> routing mpls ldp

enabled

Enable or disable LDP.

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

router-id

LSR Id in IPv4 address format.

vrouter running config# vrf <vrf> routing mpls ldp
vrouter running ldp# router-id ROUTER-ID
ROUTER-ID An IPv4 address.

discovery

Discovery parameters.

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

hello

LDP Link Hellos.

vrouter running config# vrf <vrf> routing mpls ldp discovery
vrouter running discovery# hello holdtime <uint16> interval <uint16>

holdtime

Hello holdtime in seconds.

holdtime <uint16>
Default value
15

interval

Hello interval in seconds.

interval <uint16>
Default value
5

dual-stack

Configure dual stack parameters.

vrouter 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.

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

transport-preference

Configure preferred address family for TCP transport connection with neighbor.

vrouter running config# vrf <vrf> routing mpls ldp dual-stack
vrouter running dual-stack# transport-preference TRANSPORT-PREFERENCE
TRANSPORT-PREFERENCE values Description
ipv4 IPv4.
ipv6 IPv6.
Default value
ipv6

neighbor

Configure neighbor parameters.

vrouter running config# vrf <vrf> routing mpls ldp neighbor <neighbor>
<neighbor> An IPv4 address.

password

The password.

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

neighbor-id (state only)

LDP Id of neighbor.

vrouter> show state vrf <vrf> routing mpls ldp neighbor <neighbor> neighbor-id

ttl-security

LDP ttl security check.

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

hops

Maximum number of IP hops.

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

disable

Disable ttl security.

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

address-family

Configure Address Family and its parameters.

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

ipv4

IPv4.

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

session-holdtime

Session holdtime in seconds.

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

discovery

Discovery parameters.

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

Transport address for TCP connection.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv4 discovery
vrouter running discovery# transport-address TRANSPORT-ADDRESS
TRANSPORT-ADDRESS An IPv4 address.
hello

LDP Link Hellos.

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

Hello holdtime in seconds.

holdtime <uint16>
Default value
15
interval

Hello interval in seconds.

interval <uint16>
Default value
5

interface

Enable LDP on an interface.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv4 interface <interface>
<interface> An interface name.
name (state only)

Interface name.

vrouter> show state vrf <vrf> routing mpls ldp address-family ipv4 interface <interface> name

label

Configure label control and policies.

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

Local label control and policies.

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

Configure label allocation control.

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

IP access-list.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv4 label local allocate
vrouter running allocate# for FOR
FOR Access list name.
host-routes

Allocate local label for host routes only.

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

Remote/peer label control and policies.

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

Configure inbound label acceptance control.

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

IP access-list for destination prefixes.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote accept
vrouter running accept# for FOR
FOR Access list name.
from

Neighbor from whom to accept label advertisement.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv4 label remote accept
vrouter running accept# from FROM
FROM Access list name.

ipv6

IPv6.

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

session-holdtime

Session holdtime in seconds.

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

discovery

Discovery parameters.

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

Transport address for TCP connection.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 discovery
vrouter running discovery# transport-address TRANSPORT-ADDRESS
TRANSPORT-ADDRESS An IPv6 address.
hello

LDP Link Hellos.

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

Hello holdtime in seconds.

holdtime <uint16>
Default value
15
interval

Hello interval in seconds.

interval <uint16>
Default value
5

interface

Enable LDP on an interface.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 interface <interface>
<interface> An interface name.
name (state only)

Interface name.

vrouter> show state vrf <vrf> routing mpls ldp address-family ipv6 interface <interface> name

label

Configure label control and policies.

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

Local label control and policies.

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

Configure outbound label advertisement control.

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

IP access-list for destination prefixes.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise
vrouter running advertise# for FOR
FOR Access list name.
to

IP Access-list specifying controls on LDP Peers.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise
vrouter running advertise# to TO
TO Access list name.
explicit-null

Configure explicit-null advertisement.

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

IP access-list for destination prefixes.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label local advertise explicit-null
vrouter running explicit-null# for FOR
FOR Access list name.
allocate

Configure label allocation control.

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

IP access-list.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label local allocate
vrouter running allocate# for FOR
FOR Access list name.
host-routes

Allocate local label for host routes only.

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

Remote/peer label control and policies.

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

Configure inbound label acceptance control.

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

IP access-list for destination prefixes.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote accept
vrouter running accept# for FOR
FOR Access list name.
from

Neighbor from whom to accept label advertisement.

vrouter running config# vrf <vrf> routing mpls ldp address-family ipv6 label remote accept
vrouter running accept# from FROM
FROM Access list name.