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

    Bulk Configuration of VLAN Ranges Overview

    Dynamic creation of VLAN subinterfaces requires you to configure a range of single-tagged VLAN IDs and double-tagged S-VLAN IDs on the VLAN major interface and assign a name to this range. You can also configure a range of S-VLAN IDs that is based on agent-circuit-identifier information. For more information, see Bulk Configuration of VLAN Ranges Using Agent-Circuit-Identifier Information Overview.

    Each VLAN range consists of one or more nonoverlapping VLAN subranges. A VLAN subrange is a group of VLAN IDs and S-VLAN IDs that reside within the VLAN range you specify.

    The process of configuring a VLAN range for a dynamic VLAN subinterface is referred to as bulk configuration. You create a bulk configuration by issuing the vlan bulk-config command. For example, the following commands create a VLAN bulk configuration named myBulkConfig on the specified VLAN interface.

    host1(config)#interface gigabitEthernet 2/0 host1(config-if)#vlan bulk-config myBulkConfig svlan-range 101 1100 1 375 svlan-range 1300 1500 500 650

    In the example, the vlan bulk-config command configures a VLAN range made up of two VLAN subranges. The first subrange configures S-VLANs 101–1100 and VLANs 1–375. The second subrange configures S-VLANs 1300–1500 and VLANs 500–650.

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

    After you issue the vlan bulk-config command, the router provisions all VLAN IDs and S-VLAN IDs in the specified VLAN range at the same time. The router does not dynamically create the VLAN subinterface until it receives incoming data traffic on the VLAN ID or S-VLAN ID.

    After you create a named VLAN range, you cannot remove the underlying VLAN major interface until you issue the no vlan bulk-config command to remove the VLAN range from that interface.

    This topic describes the following:

    Changing VLAN Subranges Overview

    You can add, remove, modify, merge, disable, and enable VLAN subranges within an existing bulk-configured VLAN range. For configuration instructions and examples, see Changing VLAN Subranges

    Published: 2014-08-14