Specifications

Table Of Contents
mpls ip (interface configuration)
MP-171
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines MPLS forwarding of IPv4 packets along normally routed paths is sometimes called dynamic label
switching. If dynamic label switching has been enabled for the platform when this command is issued
on an interface, label distribution for the interface begins with the periodic transmission of neighbor
discovery Hello messages on the interface. When the outgoing label for a destination routed through the
interface is known, packets for the destination are labeled with that outgoing label and forwarded
through the interface.
The no f
orm of this command causes packets routed out through the interface to be sent unlabeled; this
form of the command also terminates label distribution for the interface. However, the no form of the
command does not affect the sending of labeled packets through any link-state packet (LSP) tunnels that
might use the interface.
For an LC-ATM interface, the no f
orm of this command prevents the establishment of label virtual
circuits (LVCs) beginning at, terminating at, or passing through the interface.
Examples The following example shows how to enable label switching on the specified Ethernet interface:
Router(config)# configure terminal
Router(config-if)# interface e0/2
Router(config-if)# mpls ip
Related Commands Command Description
mpls ldp maxhops Limits the number of hops permitted in an LSP established by the
do
wnstream on demand method of label distribution.
show mpls interfaces Displays information about one or more interfaces that have been configured
f
or label switching.