LDP Commands
List of the supported MPLS LDP operational commands and configuration commands
The supported MPLS LDP commands are grouped in the following sections:
- MPLS LDP operational commands
- MPLS LDP configuration commands
LDP operational commands
The following clear, reset, and show commands are available with MPLS LDP:
- clear mpls ldp statistics
- reset mpls ldp [adjacency all | X.X.X.X ] | [session all | X.X.X.X]
- show mpls ldp
- show mpls ldp adjacency
- show mpls ldp advertise-labels
- show mpls ldp discovery [ <interface> ]
- show mpls ldp downstream
- show mpls ldp fec
- show mpls ldp graceful-restart
- show mpls ldp igp sync
- show mpls ldp interface [ <interface> ]
- show mpls ldp isp [ detail | host | prefix ]
- show mpls ldp neighbors
- show mpls ldp routes
- show mpls ldp session [X.X.X.X]
- show mpls ldp statistics
- show mpls ldp upstream
LDP configuration commands
The following global configuration commands are available with MPLS LDP:
- protocols mpls-ldp lsr-id <ipaddr>
- protocols mpls-ldp neighbors neighbor <ip address> md5-password <text>
- protocols mpls-ldp neighbors session-downstream-on-demand
- protocols mpls-ldp neighbors session-ka-holdtime 30..3600
- protocols mpls-ldp neighbors session-ka-interval 10..1200
- protocols mpls-ldp address-family ipv4 label-policy advertise explicit-null
- protocols mpls-ldp address-family ipv4 label-policy advertise prefix-list <name>
- protocols mpls-ldp address-family ipv4 label-policy distribution-control-mode independent
- protocols mpls-ldp address-family ipv4 label-policy distribution-control-mode ordered
- protocols mpls-ldp address-family ipv4 transport-address <ip address>
- protocols mpls-ldp graceful-restart helper-enable
- protocols mpls-ldp graceful-restart reconnect-time 10..1800
- protocols mpls-ldp graceful-restart recovery-time 30..3600
The following interface configuration commands are available with MPLS LDP:
- protocols mpls-ldp discovery interfaces interface <name> address-family ipv4
- protocols mpls-ldp discovery interfaces hello-holdtime 15..3600
- protocols mpls-ldp discovery interfaces hello-interval 5..1200
- protocols mpls-ldp discovery interfaces interface <name> igp-synchronization-delay 3..60
- protocols mpls-ldp discovery interfaces interface <name> hello-holdtime 15..3600
- protocols mpls-ldp discovery interfaces interface <name> hello-interval 5..1200
- protocols mpls-ldp discovery interfaces interface <name> session-ka-holdtime 30..3600
- protocols mpls-ldp discovery interfaces interface <name> session-ka-interval 10..1200
The following logging configuration commands are available with MPLS LDP:
- protocols mpls-ldp log dsm
- protocols mpls-ldp log events
- protocols mpls-ldp log fsm
- protocols mpls-ldp log nsm
- protocols mpls-ldp log rib
- protocols mpls-ldp log usm
- protocols mpls-ldp log packet address | all | hello | init | keepalive | label | notification
Logging is enabled for LDP with the following command:
monitor protocols mpls ldp enable | disable [ dsm | events | fsm | nsm | packet | rib | usm ]