Creating a Bulk-Configured VLAN Range on a Static VLAN Major Interface

You can use the vlan bulk-config command to create a bulk-configured VLAN range on a static VLAN major interface for use by a dynamic VLAN subinterface.

Note: For information about the maximum number of VLAN bulk configurations supported per chassis, see JunosE Release Notes, Appendix A, System Maximums.

Each VLAN range consists of one or more nonoverlapping VLAN subranges. A VLAN subrange is a group of VLAN IDs or S-VLAN IDs that reside within the VLAN range you specify. You can configure multiple VLAN ranges on a VLAN subinterface.

When you create a bulk-configured VLAN range, you must specify the following:

You can use the any keyword to specify a VLAN ID as a wildcard. When you specify the any keyword with an S-VLAN ID of a DSLAM, all subscribers associated with the DSLAM will be created with the same profile.

You can use the agent-circuit-identifier keyword to configure a VLAN range that is based on the agent-circuit-id information in the option 82 field of DHCP messages or in the DSL Forum VSA 26-1 of PPPoE PADR and PADI packets. When you specify the agent-circuit-identifier keyword with an S-VLAN ID of a DSLAM, all subscribers associated with the DSLAM are created with the same profile.

You can create a placeholder VLAN range by issuing the vlan bulk-config command without specifying any subranges. You can assign a profile to this placeholder and add subranges to it later.

You can add and remove individual VLAN subranges. You cannot remove a VLAN subrange if any dynamic VLAN subinterfaces currently exist within the subrange. Use the vlan bulk-config shutdown command to remove dynamic VLAN interfaces created within a subrange. Removal of a subrange automatically results in the removal of all overriding profile assignments on that subrange.

You can create a bulk-configured VLAN subrange that includes the VLAN IDs and S-VLAN IDs belonging to an existing VLAN major interface on a static VLAN subinterface.

To create a bulk-configured VLAN range on a static VLAN major interface for use by a dynamic VLAN subinterface:

Use the no version to remove the specified VLAN range from the VLAN interface, to remove the specified subranges from the specified VLAN range, or to remove all subranges from the specified VLAN range. The no version also removes any overriding profile assignments for VLAN major interfaces within the deleted VLAN range or VLAN subrange.

Related Documentation