label-map
Syntax
label-mapin-label{
(next-hop(address|interface-name|address/interface-name)) | (reject|discard);
(pop| (swap<out-label>);
class-of-servicevalue;
preferencepreference;
typetype;
}Hierarchy Level
[edit protocols mplsinterfaceinterface-name]Description
For static MPLS only, the label to match.
Options
in-label—Label value.
Range: 0 through 1,048,575. Dynamic MPLS assigns the labels 100,000 through 1,048,575, so if your network uses both static and dynamic MPLS, we recommend that you use labels 16 through 1,023 and 10,000 through 99,999 only for static MPLS. Labels 0 through 15 are reserved and require special semantics. Labels 1,024 to 9,999 are reserved for future applications.The remaining statements are explained separately in this chapter.
Usage Guidelines
See Minimum MPLS Configuration and Configure the Intermediate and Egress Routers for Static MPLS.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.