[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring Overriding Profile Assignments for VLAN Major Interfaces
You can assign an overriding profile to a single
VLAN major interface within a bulk-configured VLAN subrange.
The overriding profile includes debugging attributes
to help you identify and troubleshoot problems with the VLAN dynamic
subinterface column created on the specified VLAN ID.
To assign an overriding profile to a VLAN within
a bulk-configured VLAN subrange:
- Configure both of the following:
- Base profile for the bulk-configured dynamic VLAN on the
static VLAN major interface. The VLAN range consists of one or more
VLAN subranges.
- Overriding profile for a dynamic VLAN within a bulk-configured
VLAN subrange.
For information about configuring profiles,
see Configuring a Dynamic Interface from a Profile in Configuring Dynamic Interfaces.
- Create a bulk-configured range of single-tagged VLAN
IDs or double-tagged S-VLAN IDs on a static VLAN major interface.
The following commands create a bulk-configured VLAN range named myBulkConfig
that consists of two VLAN subranges. The first subrange encompasses
VLAN IDs 150–250. The second subrange encompasses VLAN IDs 300–500.
- host1(config)#interface gigabitEthernet 4/0.101
- host1(config-if)#vlan bulk-config myBulkConfig
vlan-range 150 250
vlan-range
300 500
- Assign the previously configured base profile (vlanBaseProfile)
to the bulk-configured VLAN range.
- host1(config-if)#profile vlan bulk-config
myBulkConfig vlanBaseProfile
- Assign the previously configured overriding profile to
a single VLAN ID or double-tagged S-VLAN ID within the bulk-configured
VLAN subrange. The following command assigns the overriding profile
overrideVoiceSubscriber to the VLAN ID 202. This VLAN ID exists within
the first VLAN subrange (VLAN IDs 150–250) configured in Step
2.
- host1(config-if)#profile vlan override bulk-config
myBulkConfig vlan 202 overrideVoiceSubscriber
The router now uses the information in
the overriding profile instead of the information in the base profile
to create subsequent VLAN dynamic subinterface columns over this VLAN
ID.
- (Optional) You can assign the same overriding profile
to a VLAN ID within the same VLAN range or within a different VLAN
range. For example, the following command assigns the overriding profile
overrideVoiceSubscriber to the VLAN ID 160. This S-VLAN ID exists
within the VLAN subrange configured in Step 2.
- host1(config-if)#profile vlan override bulk-config-name
myBulkConfig
svlan 120
202 overrideVoiceSubscriber
 |
Note:
You can reverse the order of Step 2 and Step 4 with identical
results. That is, you can assign the overriding profile to an S-VLAN
ID and then assign the base profile to the entire VLAN subinterface.
|
- Configure the VLAN major interface to support autodetection
of the VLAN dynamic encapsulation type.
- host1(config-if)#auto-configure vlan
- (Optional) Use the show vlan profile command to verify the overriding profile configuration.
For more information about using this command,
see Monitoring Dynamic Interfaces and Profiles.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]