Modifying Vlan Subranges - Juniper JUNOSE SOFTWARE 11.2.X - LINK LAYER CONFIGURATION GUIDE 7-7-2010 Configuration Manual

Software for e series broadband services routers link layer configuration guide
Table of Contents

Advertisement

Copyright © 2010, Juniper Networks, Inc.
VLAN subinterfaces before you can remove the subranges. Removal of a subrange
automatically results in the removal of all overriding profile assignments on that subrange.
You can remove only a single specific VLAN subrange at a time. The following example
specifies the original VLAN subranges.
host1(config-if)#vlan bulk-config test svlan-range 101 150 1 1
svlan-range 201 250 2 2 svlan-range 501 550 5 5 svlan-range 301 350 3 3
The following command removes one subrange encompassing S-VLAN IDs 101–150 with
VLAN ID 1 and leaves the remaining subranges, and the named VLAN range, test, intact.
host1(config-if)#no vlan bulk-config test svlan-range 101 150 1 1
The following command removes a subrange that includes S-VLAN IDs 700–750, and
that is based on agent-circuit-identifier information from the named VLAN range, test.
host1(config-if)#no vlan bulk-config test svlan-range 700 750 agent-circuit-identifier
To remove more than one VLAN subrange, you must issue multiple removal commands,
one for each subrange. You cannot remove only part of a subrange. A removal command
cannot encompass more than one subrange, even if the subranges are adjacent. However,
if you do not specify any subranges, you can remove all subranges in the VLAN, and the
named VLAN range, at the same time.
host1(config-if)#no vlan bulk-config test

Modifying VLAN Subranges

You can shorten or expand a subrange by modifying the subrange values of a VLAN range.
You can expand a subrange if none of the VLAN IDs or S-VLAN IDs added overlap with
any other subrange. You can shorten a subrange if none of the VLAN IDs or S-VLAN IDs
have existing dynamic VLAN subinterfaces. You can also modify an existing subrange by
configuring it to use agent-circuit-identifier information rather than a range of VLAN IDs.
You can modify only a single specific subrange at a time. The following example specifies
the original VLAN subranges encompassing S-VLAN IDs 201–250 with VLAN ID 2.
host1(config-if)#vlan bulk-config test svlan-range 101 150 1 1
svlan-range 201 250 2 2 svlan-range 501 550 5 5 svlan-range 301 350 3 3
The following command modifies the second subrange from S-VLAN IDs 201–250 with
VLAN ID 2 to S-VLAN IDs 210–230 with VLAN IDs 2–3.
host1(config-if)#vlan bulk-config test modify svlan-range 210 230 2 3
The following command modifies the third subrange from S-VLAN IDs 501–550 with
VLAN ID 5 to S-VLAN IDs 501–550 with user identification that is based on
agent-circuit-identifier information.
host1(config-if)#vlan bulk-config test modify svlan-range 501 550 agent-circuit-identifier
The router retains any overriding profiles assigned to a subrange after you modify the
subrange if the override assignment still falls within the modified subrange. If the
assignment falls outside of the newly modified subrange, the router drops the overriding
profile assignment.
Chapter 18: Configuring Dynamic Interfaces Using Bulk Configuration
675

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2

Table of Contents