Cisco Systems 12.4 Building Set User Manual


 
Command or Action Purpose
Step 4
mpls label protocol {ldp | tdp | both}
Example:
Router(config)# mpls label protocol ldp
Configures the use of LDP on all interfaces. LDP is the default.
If you set all interfaces globally to LDP, you can override
specific interfaces with either the tdp or both keyword by
specifying the command in interface configuration mode.
Step 5
Router(config)# interface type number
Example:
Router(config)# interface ethernet3/0
Specifies the interface to be configured and enters interface
configuration mode.
Step 6
mpls ip
Example:
Router(config-if)# mpls ip
Configures MPLS hop-by-hop forwarding on the interface.
You must enable MPLS forwarding on the interfaces as well
as for the router.
Step 7
exit
Example:
Router(config-if)# exit
Exits interface configuration mode and enters global configuration
mode.
Step 8
exit
Example:
Router(config)# exit
Exits global configuration mode and enters privileged EXEC
mode.
Step 9
show mpls interfaces [interface] [detail
Example:
Router# show mpls interfaces
Verifies that the interfaces have been configured to use LDP, TDP,
or both.
Step 10
show mpls ldp discovery [all | vrf vpn-name] [detail
Example:
Router# show mpls ldp discovery
Verifies that the interface is up and is sending Discovery Hello
messages.
MPLS Label Distribution Protocol (LDP)
How to Configure MPLS LDP
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
7