Typically, you do not configure anything for LDP at the global level, but you can perform the following optional tasks.
- host1(config)#mpls ldp
- host1(config)#mpls ldp redistribute ospf route-map
boston5
- host1(config)#mpls ldp interface profile ldp1
- host1(config-ldp)#hello hold-time 55
- host1(config-ldp)#hello interval 10
- host1(config)#mpls ldp targeted-hello send
list 10.21.5.87
- host1(config)#mpls ldp targeted-hello receive
list 192.168.45.25
![]() |
Note: The mpls ldp targeted-hello receive list command is unnecessary if you configure the mpls ldp targeted-hello send list command. |
- host1(config)#mpls ldp targeted-hello holdtime
90
- host1(config)#mpls ldp targeted-hello interval
30
- host1(config)#mpls ldp session retry-time
2
- host1(config)#mpls ldp session retries 1800
- host1(config)#mpls ldp session holdtime 1800
- host1(config)#mpls ldp session keepalive-time
180
- host1(config)#mpls ldp discovery transport-address
192.168.34.2
- host1(config)#mpls ldp independent-control
- host1(config)#mpls ldp egress-label explicit-null
For topology-driven LSPs, perform the following LDP configuration tasks.
- host1(config)#mpls topology-driven-lsp
- host1(config)#mpls ldp advertise-labels host-only
![]() |
Note: This step is not optional if you are using a topology-driven network to forward plain IP packets. |
- host1(config)#ldp ip-forwarding host-only
- host1(config)#mpls ldp advertise-labels for
boston1
- host1#clear mpls ldp