[Contents] [Prev] [Next] [Index] [Report an Error]

swap-push

Syntax

swap-push swap-label push-label;

Hierarchy Level

[edit logical-systems logical-system-name protocols mpls interface interface-name label-map in-label],
[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],
[edit protocols mpls interface interface-name label-map in-label default-route]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

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

Options

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.

Usage Guidelines

See Configuring the Intermediate and Egress Routers for Static LSPs.

Required Privilege Level

routing—To view this statement in the configuration.

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

Related Topics

pop and swap


[Contents] [Prev] [Next] [Index] [Report an Error]