vlan-id (Dynamic VLANs)
Syntax
vlan-id number;
Hierarchy Level
[edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number input-vlan-map], [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number output-vlan-map]
Description
For dynamic VLAN interfaces, specify the line VLAN identifiers to be rewritten at the input or output interface.
You cannot include the vlan-id
statement with the swap
statement, swap-push
statement, push-push
statement, or push-swap
statement at the [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number output-vlan-map]
hierarchy level. If you include any of those statements in
the output VLAN map, the VLAN ID in the outgoing frame is rewritten
to the vlan-id
statement that you include at the [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number]
hierarchy level.
Options
number | A valid VLAN identifier. When used for input VLAN maps, you
can specify the |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.4.