Technical Documentation



label-map (in-label | default-route) {class-of-service cos-value;next-hop (address | interface-name | address/interface-name) | (discard | reject);(pop | swap out-label);preference preference; swap-push swap-label push-label;}

Hierarchy Level

[edit logical-systems logical-system-name protocols mpls interface interface-name],[edit protocols mpls interface interface-name]

Release Information

Statement introduced before JUNOS Release 7.4.


For static MPLS only, specify the label to match.


in-label—Incoming label value.

Range: 0 through 1,048,575. Labels 0 through 999,999 are for internal use. Labels 1,000,000 through 1,048,575 are unassigned by the JUNOS Software and are available for static LSPs. When you configure static LSPs, you can use only this range of labels.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2010-01-13