as-num
Syntax
as-num as-number {
vni-list [ vni-list ... ];}Hierarchy Level
[edit logical-systems name switch-options vrf-target auto], [edit logical-systems name routing-instances name vrf-target auto], [edit routing-instances name vrf-target auto], [edit switch-options vrf-target auto]
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.