Description: The following example shows how to configure MPLS hop-by-hop forwarding on the interface.
1. Enable privileged EXEC mode.
2. Enter into configuration mode
3. Enable the Cisco express forwarding on the router
4. Enter into interface configuration mode
5. Configures MPLS hop-by-hop forwarding on the interface.
6. Exit interface configuration mode
R1(config)#interface s 0/0
Note: Router(config)#mpls ip
The above command 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.
Use of the mpls ip command on an interface triggers the transmission of discovery Hello messages for the interface. When two platforms are directly connected by multiple packet links, the same label distribution protocol (LDP or TDP) must be configured for all of the packet interfaces connecting the platforms.
Description: The following example shows how to configure MPLS hop-by-hop
forwarding on the interface.
1. Select R1 from Select Device drop down box
2. Click Configure > Router > MPLS
3. Select MPLS from MPLS properties list and click Edit button
4. In Device properties window click MPLS tab
5. Click enable ip cef.
6. Select the interface s0/0 from drop down list
7. Select MPLS ip , click Save button and close button
Note: Please refer to the CertExams.com Network Simulator software for complete lab with GUI Interface.