Navigation
Supported Platforms
Related Documentation
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- Creating a Series of Tagged VLANs (CLI Procedure)
- Configuring Routed VLAN Interfaces (CLI Procedure)
- Configuring Integrated Routing and Bridging Interfaces (CLI Procedure)
- Understanding Bridging and VLANs on EX Series Switches
vlans
Syntax
vlans {vlan-name {description text-description;dot1q-tunneling {customer-vlans (id | range)layer2-protocol-tunneling all | protocol-name {drop-threshold number;shutdown-threshold number;}}filter input filter-name;filter output filter-name;interface interface-name { egress;ingress;mapping (native (push | swap) | policy | tag (push | swap));pvlan-trunk;}isolation-id id-number;l3-interface l3-interface-name.logical-interface-number;l3-interface-ingress-counting layer-3-interface-name; mac-limit limit action action;mac-table-aging-time seconds;no-local-switching;no-mac-learning;primary-vlan vlan-name;vlan-id number;vlan-prune;vlan-range vlan-id-low-vlan-id-high;}}
Hierarchy Level
[edit]
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure VLAN properties on EX Series switches. The following configuration guidelines apply:
- Only private VLAN (PVLAN) firewall filters can be used when the VLAN is enabled for Q-in-Q tunneling.
- An S-VLAN tag is added to the packet if the VLAN is Q-in-Q-tunneled and the packet is arriving from an access interface.
- You cannot use a firewall filter to assign an integrated routing and bridging (IRB) interface or a routed VLAN interface (RVI) to a VLAN.
- VLAN assignments performed using a firewall filter override all other VLAN assignments.
Options
vlan-name—Name of the VLAN. The name can include letters, numbers, hyphens (-), and periods (.) and can contain up to 255 characters long.
The remaining statements are explained separately.
Usage Guidelines
Required Privilege Level
system—To view this statement in the configuration.
system–control—To add this statement to the configuration.
Related Documentation
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- Creating a Series of Tagged VLANs (CLI Procedure)
- Configuring Routed VLAN Interfaces (CLI Procedure)
- Configuring Integrated Routing and Bridging Interfaces (CLI Procedure)
- Understanding Bridging and VLANs on EX Series Switches
Published: 2014-04-23
Supported Platforms
Related Documentation
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- Creating a Series of Tagged VLANs (CLI Procedure)
- Configuring Routed VLAN Interfaces (CLI Procedure)
- Configuring Integrated Routing and Bridging Interfaces (CLI Procedure)
- Understanding Bridging and VLANs on EX Series Switches