Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

as-num

Syntax

Hierarchy Level

Description

Specify a single AS value for EVPN auto-derived import and export route target generation.

The device generates import and export route targets using the configured AS value.

Only one AS value can be configured per bridge domain or VNI.

You can apply the configuration to all VNIs or restrict the configuration to specific VNIs by using the vni-list option.

You cannot configure the as-num statement with the import-as or export-as statements.

Options

as-number

AS value used for auto-derived import and export route target generation.

vni-list

Applies the configuration to all VNIs or to the specified VNIs.

Required Privilege Level

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

Release Information

Statement introduced in Junos OS Release 26.2R1.