SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type slot/subslot /port [. subinterface]
4.
mpls ip
5.
end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Specifies the Gigabit Ethernet interface and enters interface
configuration mode.
interface type slot/subslot /port [. subinterface]
Example:
Device(config)# interface gigabitethernet
4/0/0
Step 3
Enables MPLS forwarding of IPv4 packets along normally
routed paths for the Gigabit Ethernet interface.
mpls ip
Example:
Device(config-if)# mpls ip
Step 4
Exits interface configuration mode and returns to privileged
EXEC mode.
end
Example:
Device(config-if)# end
Step 5
What to Do Next
Configure either of the following:
•
MPLS Label Distribution Protocol (LDP). For information about configuring MPLS LDP, see the MPLS
Label Distribution Protocol Configuration Guide.
MPLS Basic Configuration Guide, Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
6
Multiprotocol Label Switching (MPLS) on Cisco Routers
Configuring a Router for MPLS Forwarding