[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Removing Overriding
Profile Assignments from a VLAN Range or VLAN Subrange
When
you issue the no vlan bulk-config command
to remove an entire VLAN range (and all VLAN subranges within that
VLAN range), the router also removes any overriding profile assignments
configured for VLAN IDs within those VLAN subranges. For example,
the following command removes the bulk-configured VLAN range named
myBulkConfig and any overriding profile assignments for VLAN IDs within
the VLAN subranges belonging to myBulkConfig.
- host1(config-if)#no vlan bulk-config myBulkConfig
When you issue the no vlan bulk-config command to remove a particular VLAN subrange in a bulk-configured
VLAN range, the router also removes any overriding profile assignments
for VLAN IDs within that VLAN subrange. However, overriding profile
assignments for VLAN IDs within other VLAN subranges in the VLAN range
remain intact. For example, the following command removes one VLAN
subrange (S-VLAN IDs 50–150 and VLAN IDs 150–250) and
only those overriding profile assignments associated with this subrange.
- host1(config-if)#no vlan bulk-config myBulkConfig
svlan-range 50 150 150 250
auto-configure vlan
- Use to configure the static VLAN major interface to support
autodetection of an VLAN dynamic interface type.
- You must issue this command to enable creation of a dynamic
VLAN subinterface.
- By default, all valid VLAN IDs and S-VLAN IDs are accepted.
- Example
- host1(config-if)#auto-configure vlan
- Use the no version to terminate
autodetection of the VLAN dynamic interface type.
- See auto-configure vlan.
encapsulation vlan
- Use to configure VLAN as the encapsulation method for
the interface.
- Example
- host1(config-if)#encapsulation vlan
- Use the no version to disable
VLAN on an interface.
- See encapsulation vlan.
interface fastEthernet
- Use to select a Fast Ethernet interface.
- For information about specifying a Fast Ethernet interface,
see interface fastEthernet.
- Example
- host1(config)#interface fastEthernet 4/1
- Use the no version to remove
IP from an interface or a subinterface.
- See interface fastEthernet.
interface gigabitEthernet
interface tenGigabitEthernet
- Use to select a Gigabit Ethernet interface or a 10-Gigabit
Ethernet interface.
- To specify a Gigabit Ethernet interface for ERX-7xx models,
ERX-14xx models, and ERX-310 routers, use the slot/port[.subinterface ] format.
- To specify a Gigabit Ethernet interface or 10-Gigabit
Ethernet interface for E120 and E320 routers, use the slot/adapter/port[.subinterface ] format.
- For more information, see chapter Configuring
Ethernet Interfaces in JUNOSe Physical Layer Configuration Guide.
- Examples
- host1(config)#interface gigabitEthernet 1/0
- host1(config)#interface gigabitEthernet 4/0/1
- host1(config)#interface tenGigabitEthernet
4/0/1
- Use the no version to remove
IP from an interface. You must issue the no version from the highest
level down; you cannot remove an interface or subinterface if the
one above it still exists.
- See interface gigabitEthernet.
- See interface tenGigabitEthernet.
profile
- Use to create a base profile to configure attributes for
a dynamic VLAN subinterface.
- Specify a profile name of up to 80 alphanumeric characters.
- Example
- host1(config)#profile vlanBaseProfile
- Use the no version to delete
the specified profile.
- See profile/
profile vlan bulk-config
- Use to assign the base profile configured for a dynamic
VLAN subinterface to the single-tagged VLAN IDs or double-tagged S-VLAN
IDs configured on a static VLAN major interface.
- You must specify both of the following:
- Name assigned to the VLAN range on a VLAN subinterface,
as specified in vlan bulk-config
- Name assigned to the base profile for a dynamic VLAN subinterface
- Example
- host1(config-if)#profile vlan bulk-config
myBulkConfig vlanBaseProfile
- Use the no version to remove
the base profile assignment.
- See profile vlan bulk-config.
profile vlan override bulk-config
- Use to assign an overriding profile to a single VLAN ID
or double-tagged S-VLAN ID.
- Using an overriding profile enables you to assign a special
profile for the subscribers associated with a specific DSLAM.
- You can also use an overriding profile to troubleshoot
the specified VLAN or S-VLAN by overriding the currently assigned
base profile with one that has debugging attributes enabled.
- 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.
- Example 1—Assigns an overriding profile (test1OverridingProfile)
to the dynamic VLAN subinterface with VLAN ID 202
- host1(config-if)#profile vlan override bulk-config
vlan 202 test1OverridingProfile
- Example 2—Assigns an overriding profile (test1DebugProfile)
to the S-VLAN subinterface with S-VLAN ID 100 within the VLAN subinterface
with V-LAN ID 202
- host1(config-if)#profile vlan override bulk-config
svlan 100 202 test1OverridingProfile
- Example 3—Removes the overriding profile assignment
from the VLAN subinterface with VLAN ID 202, and restores the original
base profile assignment
- host1(config-if)#no profile vlan override
bulk-config vlan 202 test1OverridingProfile
- Use the no version to remove
the overriding profile assignment for the VLAN ID or S-VLAN ID and
restore the original base profile assignment.
- See profile vlan override bulk-config.
shutdown
- Use to disable an interface.
- When you disable a dynamic VLAN subinterface, the shutdown command deletes the VLAN dynamic subinterface
column and removes the dynamic VLAN subinterface.
- Example
- host1(config-subif)#shutdown
- Because the shutdown command
removes the dynamic VLAN subinterface from the router, issuing a subsequent no version of this command has no effect; that is,
it does not restart the disabled subinterface.
- See shutdown.
svlan ethertype
- Use to specify the available Ethertypes that a packet
must use to create a dynamic VLAN subinterface.
- Choose one of the following Ethertype values:
-
8100—Specifies Ethertype
value 0x8100, as defined in IEEE Standard 802.1q
-
88a8—Specifies Ethertype
value 0x88a8, as defined in draft IEEE Standard 802.1ad
-
9100—Specifies Ethertype
value 0x9100
-
autoconfig—Specifies
that the packet can use any Ethertype to create a dynamic VLAN subinterface
- Examples
- host1(config-profile)#svlan ethertype 8100
- host1(config-profile)#svlan ethertype autoconfig
- Use the no version to restore
the default value, autoconfig.
- See svlan ethertype.
vlan advisory-rx-speed
- Use to set an advisory receive speed for VLAN subinterfaces
that are created with the profile you are configuring. This setting
has no effect on data forwarding. You can use it to indicate the speed
of the client interface. When traffic is tunneled with L2TP, the advisory
receive speed is sent from the LAC to the LNS. See LAC Configuration Prerequisites for additional information about the advisory receive speed.
- The range is 0–2147483647 kbps; 0 indicates no advisory
speed setting.
- Example
- host1(config-profile)#vlan advisory-rx-speed
2000
- Use the no version to restore
the default behavior—the Rx speed is not sent to the LNS.
- See vlan advisory-rx-speed
vlan advisory-tx-speed
- Use to set an advisory connect speed for VLAN subinterfaces
that are created with the profile that you are configuring. This setting
has no effect on data forwarding. You can use it to indicate the speed
of the client interface. When traffic is tunneled with L2TP, the advisory
receive speed is sent from the LAC to the LNS. See LAC Configuration Prerequisites for additional information about the advisory receive speed.
- The range is 0–2147483647 kbps; 0 indicates no advisory
speed setting.
- Example
- host1(config-profile)#vlan advisory-tx-speed
2000
- Use the no version to restore
the default behavior—the Tx speed is not sent to the LNS.
- See vlan advisory-tx-speed.
vlan auto-configure
- Use to specify the types of dynamic upper-interface encapsulations
that are accepted or detected by a dynamic VLAN subinterface.
- Include this command in the base profile for a dynamic
VLAN subinterface.
- Use the lockout-time keyword
to specify the minimum and maximum lockout time range for the encapsulation
type. For more information, see Encapsulation Type
Lockout.
- Example
- host1(config-profile)#vlan auto-configure
ip
- Use the no version to terminate
detection of the specified encapsulation type.
- See vlan auto-configure.
vlan auto-configure agent-circuit-identifier
- Use to create a VLAN subinterface 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.
- Include this command in the base profile for a dynamic
VLAN subinterface.
- Example
- host1(config-profile)#vlan auto-configure
agent-circuit-identifier
- Use the no version to disable
creation of VLAN subinterfaces based on agent-circuit-identifier information.
- See vlan auto-configure agent-circuit-identifier.
vlan bulk-config
- Use 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
- 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.
- 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.
- Example 1—Configures 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
- Example 2—Configures 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
- Example 3—Configures 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.
- See vlan bulk-config.
vlan description
- Use to assign a description to VLAN subinterfaces that
are created with this profile.
- You can use a maximum of 64 characters for the description
or to name the alias.
- Example
- host1(config-profile)#vlan description test1
- Use the no version to remove
the VLAN description.
- See vlan description.
vlan policy
- Use to assign a VLAN policy list to an interface.
- Use the input or output keyword to assign the policy list to the ingress
or egress of the interface.
- You can enable or disable the recording of routing statistics
for bytes and packets affected by the policy.
- If you enable statistics, you can enable or disable baselining
of the statistics. The router implements the baseline by reading and
storing the statistics at the time the baseline is set and then subtracting
this baseline whenever baseline-relative statistics are retrieved.
- You must also enable baselining on the interface with
the appropriate baseline command.
- You can use the preserve keyword
to save the existing statistics when you attach a policy to an interface
that already has a policy attached. This keyword saves the statistics
for any classifier-list that is the same for both the new and old
policy attachments. Without the preserve keyword, all statistics are deleted when you attach the new policy.
For example, when you replace a policy attachment
that references the original policy-list plOne with a new attachment
referencing policy-list plTwo, the existing statistics for the classifier
group referencing clOne and the default classifier group are saved.
|
Original Policy Attachment
|
New Policy Attachment
|
Comment
|
|
ip policy-list plOne
|
ip policy-list plTwo
|
–
|
|
ip classifier-list clOne
|
ip classifier-list clOne
|
statistics from plOne are saved
|
|
Forward
|
Forward
|
–
|
|
ip classifier-list clTwo
|
ip classifier-list clFour
|
–
|
|
Forward
|
Forward
|
–
|
|
ip classifier-list clThree
|
ip classifier-list clFive
|
–
|
|
Forward
|
Forward
|
–
|
|
classifier-list *
|
classifier-list *
|
statistics from plOne are saved
|
|
Filter
|
Filter
|
–
|
- Example
- host1(config-profile)#vlan policy input VlanPolicy33
statistics enabled preserve
- Use the no version to remove
the association between a policy list and an interface or a profile.
- See vlan policy.
vlan profile
- Use to add a nested profile assignment to a base profile
for a dynamic VLAN subinterface.
- A nested profile assignment references another profile
that configures attributes for a dynamic upper-interface type over
the VLAN subinterface.
- Examples
- host1(config-profile)#vlan profile pppoe vlanProfilePppoe
- host1(config-profile)#vlan profile ip vlanProfileIP
- Use the no version to remove
the profile assignment for the upper-interface encapsulation type.
- See vlan profile.
vlan service-profile
- Use to specify a service profile name for a dynamic VLAN
and to enter Service Profile Configuration mode. Service profiles
contain user and password information, and are used in route maps
for subscriber management and to authenticate subscribers with RADIUS.
- You can specify a service profile name with up to 80 alphanumeric
characters.
- Example
- host1(config)#vlan service-profile vlanClass1Service
- host1(config-service-profile)#
- Use the no version to delete
the service profile.
- See vlan service-profile.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]