Technical Documentation



swap-push swap-label push-label;

Hierarchy Level

[edit logical-systems logical-system-name protocols mpls interface interface-name label-map in-label | default-route)],[edit protocols mpls interface interface-name label-map in-label | default-route)]

Release Information

Statement introduced before JUNOS Release 7.4.


Replace the stack’s top label and then push one more label on top of the stack.


push-label—Label value.

swap-label—Label value.

The following range and default values apply to both push-label and swap-label:

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.
Default: If you do not define the swap-label option, the original label value remains unchanged.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2010-01-13