34-8
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 34 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS
Configuring MPLS VPNs
Note
Some MPLS features require specific software licenses.
Enabling MPLS
To use MPLS in a network, such as the one shown in
Figure 34-1
, MPLS must be globally enabled and
explicitly configured on the provider-edge routers.
Beginning in privileged EXEC mode, follow these steps to incrementally deploy MPLS through a
network, assuming that packets to all destination prefixes should be label-switched:
Repeat these steps for every PE router in the network and the appropriate interfaces until all routers and
connected interfaces are enabled for MPLS.
Use the no mpls ip global configuration command to disable MPLS on the switch. Use the no mpls label
protocol ldp global configuration command to disable LDP.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip routing
Enable IP routing on the switch if it is disabled.
Step 3
mpls label protocol ldp
Set the label protocol on the switch to LDP. The default protocol is TDP.
Step 4
interface Loopback0
Enter interface configuration mode for a loopback interface.
Note
The loopback must be /32.
Step 5
ip address ip address
Assign an IP address to the loopback interface.
The subnet mask value has to be a host mask, /32.
Step 6
mpls ldp router-id loopback 0 force
Specify the interface to force the loopback.
Step 7
interface interface-id
Enter interface configuration mode, and specify the Layer 3 interface
connected to the MPLS network. Valid interfaces include
10GigabitEthernet1/1/1, GigabitEthernet1/1/2, and VLANs.
Step 8
ip address ip address
Assign an IP address to the Layer 3 interface connected to the MPLS
network.
Step 9
mpls ip
Enable MPLS forwarding of IPv4 packets along normally routed paths for
the interface.
Step 10
end
Return to privileged EXEC mode.
Step 11
show mpls forwarding-table
Verify the configuration.
Step 12
show mpls interfaces
Step 13
show mpls ldp neighbor
Verify the configuration.
Step 14
show mpls ldp discovery
Verify the configuration.
Step 15
copy running-config startup-config
(Optional) Save your entries in the configuration file.