Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • A name of up to 80 alphanumeric characters; this is also referred to as the bulk configuration name
    • The starting and ending VLAN ID or S-VLAN ID values (inclusive) for each VLAN subrange

    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:

    • Configure a VLAN range named myBulkConfig with a single VLAN subrange containing VLAN IDs 100–500
      host1(config-if)#vlan bulk-config myBulkConfig vlan-range 100 500
    • Configure a VLAN range named myMultiBulkConfig with two VLAN subranges containing S-VLAN IDs 101–600 with VLAN IDs 0–1 (first subrange) and S-VLAN IDs 201–3200 with VLAN IDs 3–5 (second subrange)
      host1(config-if)#vlan bulk-config myMultiBulkConfig svlan-range 101 600 0 1 svlan-range 201 3200 3 5
    • Configure a VLAN range named myAciBulkConfig containing S-VLAN IDs 200–400. Subscriber information is determined by the packet’s agent-circuit-identifier information
      host1(config-if)#vlan bulk-config myAciBulkConfig svlan-range 200 400 agent-circuit-identifier

    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.

    Published: 2014-08-14