Mpls : Simple Mpls Implementation Using Cisco® Two Routers/Switches (L3)
3. Simple MPLS implementation using two routers/switches (l3)
a. Using Cisco routers
The following example shows how to configure MPLS hop-by-hop forwarding on the interface. MPLS forwarding on Cisco routers requires that CEF be enabled. To enable CEF on a router, issue the following commands:
Router# configure terminal Router(config)# ip cef [distributed]
configure MPLS hop-by-hop forwarding for a router interface by issuing the following commands:
Router# configure terminal Router(config)# ip cef [distributed]
configure MPLS hop-by-hop forwarding for a router interface by issuing the following commands:
Router# configure terminal Router(config)# interface s 0/0 Router(config-if)# mpls ip mpls label protocol {ldp | tdp | both}
Example:
Router(config)# mpls label protocol ldp
Above command configures use of LDP on all interfaces.
On router use "show MPLS interface" to verify that the interfaces are configured to use LDP.