Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

label

date_range 20-Nov-23

Syntax

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

Hierarchy Level

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

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.

Release Information

Statement introduced in Junos OS Release 10.0.

footer-navigation