Specifications

Table Of Contents
mpls static binding ipv4
MP-282
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
The mpls static binding ipv4 command installs the specified bindings into the LDP Label Information
Base (LIB). LDP will install the binding labels for forwarding use if or when the binding prefix or mask
matches a known route.
Static label bindings are not supported for local prefixes, which are connected networks, summarized
routes, default routes, and supernets. These prefixes use implicit-null or explicit-null as the local label.
If you do not specify the i
nput or output keyword, input (local label) is assumed.
For the no f
orm of the command:
If you specify the command name without any keywords or arguments, all static bindings are
removed.
Specifying the prefix and mask but no label parameters removes all static bindings for that prefix or
mask.
Examples In the following example, the mpls st
atic binding ipv4 command configures a static prefix and label
binding before the label range is reconfigured to define a range for static assignment. The output of the
command indicates that the binding has been accepted, but cannot be used for MPLS forwarding until
you configure a range of labels for static assignment that includes that label.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 55
% Specified label 55 for 10.0.0.0/8 out of configured
% range for static labels. Cannot be used for forwarding until
% range is extended.
Router(config)# end
The following mpls static binding ipv4 commands configure input and output labels for several
prefixes:
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 55
Router(config)# mpls static binding ipv4 10.0.0.0 255.0.0.0 outp
ut 10.0.0.66 2607
Router(config)# mpls static binding ipv4 10.66.0.0 255.255.0.0 i
nput 17
Router(config)# mpls static binding ipv4 10.66.0.0 255.255.0.0 o
utput 10.13.0.8
explicit-null
Router(config)# end
The following show mpls static binding ipv4 command displays the configured bindings:
Router# show mpls static binding ipv4
10.0.0.0/8: Incoming label: 55
Outgoing labels:
10.0.0.66 2607
10.66.0.0/24: Incoming label: 17
Outgoing labels:
10.13.0.8 explicit-null
Related Commands Command Description
show mpls forwarding-table Displays labels currently being used for MPLS forwarding.
show mpls label range Displays statically configured label bindings.