# vlan bulk-config

#### Syntax

To configure or remove a bulk configuration or a specific VLAN range:

vlan bulk-config bulkConfigName [ vlan-range vlanIdStart vlanIdEnd ]*

no vlan bulk-config bulkConfigName [ vlan-range vlanIdStart vlanIdEnd ]

To configure a VLAN range containing double-tagged S-VLAN IDs:

vlan bulk-config bulkConfigName [ svlan-range s-vlanIdStart s-vlanIdEnd
vlanIdStart vlanIdEnd ]*

To configure a VLAN range containing S-VLAN IDs with any VLAN ID:

vlan bulk-config bulkConfigName [ svlan-range s-vlanIdStart s-vlanIdEnd any ]*

To configure a VLAN range that is based on agent-circuit-identifier information:

vlan bulk-config bulkConfigName [ svlan-range s-vlanIdStart s-vlanIdEnd agent-circuit-identifier ]*

To remove a VLAN range containing S-VLAN IDs or agent-circuit-identifier information:

no vlan bulk-config bulkConfigName [ svlan-range s-vlanIdStart s-vlanIdEnd
{ vlanIdStart vlanIdEnd | any | agent-circuit-identifier } ]

#### Release Information

Command introduced in JunosE Release 7.3.0.

#### Description

Configures a range of single-tagged VLAN IDs and double-tagged S-VLAN IDs for use by a dynamic VLAN subinterface, and assigns a name to the VLAN range. Each VLAN range consists of one or more nonoverlapping VLAN subranges. A VLAN subrange is a group of VLAN IDs that resides within the specified VLAN ID ranges. You can configure multiple VLAN ranges on a major VLAN interface. The no version removes the specified VLAN range (including all subranges in the range) from the VLAN major interface or the specified subrange from the VLAN range. The no version also removes any overriding profile assignments for VLAN IDs within the deleted VLAN range or VLAN subrange.

#### Options

- bulkConfigName—Name of the VLAN range; string of up to 80 characters
- vlanIdStart—Starting VLAN ID of the VLAN subrange you are configuring
- vlanIdEnd—Ending VLAN ID of the VLAN subrange you are configuring
- s-vlanIdStart—Starting S-VLAN ID of the VLAN subrange you are configuring
- s-vlanIdEnd—Ending S-VLAN ID of the VLAN subrange you are configuring
- any—Specifies the VLAN ID as a wildcard
- agent-circuit-identifier—Specifies a VLAN range that is based on agent-circuit-identifier information
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Interface Configuration