Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

label

Syntax

label {allocation label-allocation-policy;substitution label-substitution-policy;}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options][edit routing-instances routing-instance-name routing-options]

Release Information

Statement introduced in Junos OS Release 10.0.

Description

Specify label allocation and substitution policies on a per-route basis.

Options

allocation label-allocation-policy—Specify a policy to generate labels on a per-route basis.

substitution label-substituion-policy—Specify a policy to substitute labels on a per-route basis. The label substitution policy is used to determine whether or not a label should be substituted on an AS border router. The results of the policy operation are either accept (label substitution is performed) or reject (label substitution is not performed).

Default: accept

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2013-02-28