members
Syntax
Hierarchy Level
- [edit interfaces ge-fpc/chassis/port unit 0 family ethernet-switching vlan]
Release Information
Statement introduced in JUNOS Release 9.0 for EX-series switches.
Statement updated with enhanced ? (CLI completion feature) functionality in JUNOS Release 9.5 for EX-series switches.
Description
For trunk interfaces, configure the VLANs for which the interface can carry traffic.
![]() |
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—Specifies that this trunk interface is a member of all the VLANs that are configured on this switch. When a new VLAN is configured on the switch, this trunk interface automatically becomes a member of the VLAN.
-
names—Names of one or more VLANs.
-
vlan-ids—Numeric identifiers of one or more VLANs.
![]() |
Note: Each VLAN that is configured must have a specified VLAN ID when you attempt to commit the configuration; otherwise, the configuration commit fails. Also, all cannot be the name of a VLAN on the switch. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.