Configuring MPLS on a Frame Mode Interface
Router(config)#mpls ip |
Enables MPLS globally on the router NOTE: MPLS is enabled by default on Cisco routers. However, if you need to re-enable it, use the global mpls ip command. |
Router(config)#interface fastethernet 0/0 |
Moves to interface configuration mode |
Router(config-if)#mpls ip |
Enables MPLS on the specified interface |
Router(config-if)#mpls label protocol tdp |
Enables Tag Distribution Protocol (TDP) on this interface NOTE: TDP is Cisco proprietary. LDP is a superset of TDP. Cisco is changing from TDP to a fully compliant LDP. |
Router(config-if)#mpls label protocol ldp |
Enables Label Distribution Protocol (LDP) on this interface NOTE: LDP is the default protocol on Cisco IOS Release 12.4(3) and later. In older releases, TDP was the default protocol. |
Router(config-if)#mpls label protocol both |
Enables both TDP and LDP on this interface |