Adding Vlan Subranges; Removing Vlan Subranges - Juniper JUNOSE 11.1.X - LINK LAYER CONFIGURATION 4-7-2010 Configuration Manual

For e series broadband services routers - link layer configuration
Table of Contents

Advertisement

Adding VLAN Subranges

You can add a new VLAN subrange to an existing VLAN range only when the new
subrange does not overlap with any existing subrange. Any overlap causes the addition
to fail.
You can add multiple subranges to an existing VLAN range simultaneously. However,
the entire operation fails if even one of the new subranges overlaps with an existing
subrange.
The following example specifies the original VLAN subranges.
host1(config-if)#vlan bulk-config test svlan-range 201 250 2 2
svlan-range 501 550 5 5 svlan-range 301 350 3 3
To add subranges to this bulk-configured VLAN range, you can choose either of the
following methods. Each method adds a new subrange encompassing S-VLAN IDs
401–450 with VLAN ID 4 to the existing VLAN range, test.
Specify one new subrange at a time.
host1(config-if)#vlan bulk-config test svlan-range 401 450 4 4
Specify the new subrange and all the existing subranges. If you use this method,
all the existing subranges and their order must match exactly, or the operation
fails.
host1(config-if)#vlan bulk-config test svlan-range 201 250 2 2
svlan-range 501 550 5 5 svlan-range 301 350 3 3 svlan-range 401 450 4 4
The following operation fails because the order of subranges does not match the
existing order.
host1(config-if)#vlan bulk-config test svlan-range 201 250 2 2
svlan-range 101 150 1 1 svlan-range 501 550 5 5 svlan-range 301 350 3 3
svlan-range 401 450 4 4 svlan-range 601 650 6 6
You can create a placeholder VLAN range by specifying a VLAN range name without
specifying any subrange parameters. This VLAN range has no VLAN ID reservation,
but you can assign a profile to it, and add subranges later as desired. The following
commands illustrate this approach.
host1(config-if)#vlan bulk-config test
host1(config-if)#profile vlan bulk-config-name test vlanProfile
host1(config-if)#vlan bulk-config test svlan-range 401 450 4 4
svlan-range 601 650 6 6

Removing VLAN Subranges

You can remove VLAN subranges from an existing VLAN range if no dynamic VLAN
subinterfaces currently exists for any circuit within those subranges. The removal
operation fails if any such dynamic VLAN subinterface exists. You must first remove
the dynamic VLAN subinterfaces before you can remove the subranges. Removal of
Chapter 18: Configuring Dynamic Interfaces Using Bulk Configuration
Configuring VLAN Dynamic Subinterfaces
681

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x

Table of Contents