Establishing Nondirectly Connected MPLS LDP Sessions, page 8
Saving Configurations MPLS Tag Switching Commands, page 11
Specifying the LDP Router ID, page 12
Preserving QoS Settings with MPLS LDP Explicit Null, page 14
Protecting Data Between LDP Peers with MD5 Authentication, page 18
Enabling Directly Connected LDP Sessions
This procedure explains how to configure MPLS LDP sessions between two directly connected routers.
SUMMARY STEPS
1. enable
2. configure terminal
3. mpls ip
4. mpls label protocol {ldp | tdp | both}
5. Router(config)# interface type number
6. mpls ip
7. exit
8. exit
9. show mpls interfaces [interface] [detail
10.show mpls ldp discovery [all | vrf vpn-name] [detail
11.show mpls ldp neighbor [[vrf vpn-name] [address | interface] [detail] | [all]]
DETAILED STEPS
Command or Action Purpose
Step 1 enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2 configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3 mpls ip
Example:
Router(config)# mpls ip
Configures MPLS hop-by-hop forwarding globally.
The mpls ip command is enabled by default; you do not have
to specify this command.
Globally enabling MPLS forwarding does not enable it on the
router interfaces. You must enable MPLS forwarding on the
interfaces as well as for the router.
Enabling Directly Connected LDP Sessions
How to Configure MPLS LDP
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
6