vlan
Syntax
- vlan (all | vlan-name) {
- interface interface-name;
- }
Hierarchy Level
Release Information
Statement introduced in JUNOS Release 9.3 for EX Series switches.
Statement updated with enhanced ? (CLI completion feature) functionality in JUNOS Release 9.5 for EX Series switches.
Description
Specify a VLAN from which unknown unicast packets will be forwarded or specify that the packets will be forwarded from all VLANS. Unknown unicast packets are forwarded from a VLAN to a specific trunk interface.
The interface statement is explained separately.
![]() |
Tip: To display a list of all configured VLANs on the system, including VLANs that are configured but not committed, type ? after vlan or vlans in your configuration mode command line. Note that only one VLAN is displayed for a VLAN range. |
Options
-
all—All VLANs.
-
vlan-name—Name of a VLAN.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.