Enable MPLS Encapsulation on an Interface
By default, MPLS encapsulation is disabled on all interfaces. MPLS encapsulation has to be explicitly enabled on all ingress and egress MPLS interfaces through which the static MPLS labeled traffic travels.
SUMMARY STEPS
- configure
- mpls static
- interface interface
- commit
DETAILED STEPS
Step 1 |
configure |
Step 2 |
mpls static Example:
Enters MPLS-static configuration mode. |
Step 3 |
interface interface Example:
Enables MPLS encapsulation on the specified interface. |
Step 4 |
commit |
What to do next
RP/0/RP0/CPU0:router# show mpls interfaces
Mon May 12 06:21:30.937 DST
Interface LDP Tunnel Static Enabled
-------------------------- -------- -------- -------- --------
GigabitEthernet0/0/0/3 No No Yes Yes
For the interface on which MPLS static is enabled, the "Static"
column displays "Yes".