Enabling Mpls - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 30
Configuring MPLS and EoMPLS

Enabling MPLS

To use MPLS in a network, such as the one shown in
explicitly configured on the PE 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:
Command
Step 1
configure terminal
Step 2
ip cef
Step 3
mpls ip
Step 4
mpls label protocol ldp
Step 5
mpls ldp advertise-labels [for
prefix-access-list [to peer-access-list]]
Step 6
interface interface-id
Step 7
mpls ip
Step 8
end
Step 9
show mpls forwarding table
show mpls interfaces
Step 10
copy running-config startup-config
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 return to the default TDP.
78-15870-01
Figure
Purpose
Enter global configuration mode.
Enable CEF on the device if it has been disabled.
Enable MPLS forwarding of IPv4 packets on normally routed paths if it
has been disabled.
Set the label protocol on the switch to LDP. The default protocol is TDP.
Enable MPLS label advertising on the switch. If no keywords are
included, there are no restrictions on which labels are advertised.
(Optional) for prefix-access-list—Specify which destinations should
have their labels advertised.
(Optional) to peer-access-list—Specify which LDP neighbors should
receive label advertisements. A label switch router (LSR) is
identified by its router ID, which consists of the first 4 bytes of its
6-byte LDP identifier.
Enter interface configuration mode, and specify the Layer 3 ES interface
connected to the MPLS network.
Enable MPLS forwarding of IPv4 packets along normally routed paths for
the interface.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring MPLS VPNs
30-1, MPLS must be globally enabled and
30-7

Advertisement

Table of Contents
loading

Table of Contents