members
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement updated with enhanced ? (CLI completion feature) functionality in Junos OS 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.
![]() | 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. |
names—Name of one or more VLANs.
vlan-ids—Numeric identifier of one or more VLANs. For a series of tagged VLANs, specify a range; for example, 10-20 or 10-20 23 27-30.
Required Privilege Level
interface—To view this statement in the
configuration.
interface-control—To add this
statement to the configuration.
Related Topics
- show ethernet-switching interfaces
- show vlans
- Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch
- Example: Connecting an Access Switch to a Distribution Switch
- Configuring Gigabit Ethernet Interfaces (CLI Procedure)
- Configuring Gigabit Ethernet Interfaces (J-Web Procedure)
- Creating a Series of Tagged VLANs (CLI Procedure)
- Understanding Bridging and VLANs on EX Series Switches
- Junos OS Network Interfaces Configuration Guide at http://www.juniper.net/techpubs/software/junos/index.html


