vlans
Syntax
- vlans {
-
- vlan-name {
- description text-description;
-
- dot1q-tunneling {
-
- customer-vlans (id | range)
- }
- filter input filter-name;
- filter output filter-name;
- interface interface-name;
- l3-interface vlan.logical-interface-number;
- mac-limit number;
- mac-table-aging-time seconds;
- no-local-switching;
- no-mac-learning;
- primary-vlan vlan-name;
- vlan-id number;
- vlan-range vlan-id-low-vlan-id-high;
- }
- }
Hierarchy Level
Release Information
Statement introduced in JUNOS Release 9.0 for EX-series switches.
Options dot1q-tunneling, no-local-switching, and primary-vlan introduced in JUNOS Release 9.3 for EX-series switches.
Periods (.) in VLAN names introduced in JUNOS Release 9.4 for EX-series switches.
Option no-mac-learning introduced in JUNOS Release 9.5 for EX-series switches.
Description
Configure VLAN properties on EX-series switches.
Default
If you use the default factory configuration, all switch interfaces become part of the VLAN default.
Options
-
vlan-name—Name of the VLAN. The name can contain letters, numbers, hyphens (-), and periods (.) and can be up to 255 characters long.
-
The remaining statements are described separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing–control—To add this statement to the configuration.
