11-12
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 11 Configuring VLANs
Enabling or Disabling VLAN Port-Provisioning Verification
Enabling or Disabling VLAN Port-Provisioning Verification
When VLAN port-provisioning verification is enabled, you must specify the VLAN name
in addition to
the VLAN number when assigning the switch ports to the VLANs. Because you are required to specify
both the VLAN name and the VLAN number, this verification feature helps to ensure that the ports are
not inadvertently placed in the wrong VLAN.
When the feature is enabled, you can still create new VLANs by entering the
set vlan
vlan mod/port
command but you cannot add additional ports to the VLAN without specifying both the VLAN number
and the VLAN name. The feature does not affect assigning ports to VLANs using other features such as
SNMP, dynamic VLANs, and 802.1X.
VLAN port-provisioning verification is disabled by default.
To enable or disable VLAN port-provisioning verification, perform this task in privileged mode:
This example shows how to enable VLAN port-provisioning verification:
Console> (enable)
set vlan verify-port-provisioning enable
vlan verify-port-provisioning feature enabled
Console> (enable)
This example shows how to verify the status of VLAN port-provisioning verification:
Console> (enable)
show vlan verify-port-provisioning
Vlan Verify Port Provisioning feature enabled
Console> (enable)
This example shows how to create VLAN 150 and add port 3/16 (with VLAN port-provisioning
verification enabled):
Console> (enable)
set vlan 150 3/16
Vlan 150 configuration successful
VLAN 150 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
150 3/16
Console> (enable)
This example shows what happens when you try to add port 3/17 to VLAN 150 with VLAN
port-provisioning verification enabled:
Console> (enable)
set vlan 150 3/17
Port Provisioning Verification is enabled on the switch.
To move port(s) into the VLAN, use 'set vlan <vlan> <port> <vlan_name>' command.
Console> (enable)
Task
Command
Step 1
Enable or disable VLAN port-provisioning
verification.
set vlan verify-port-provisioning
{
enable
|
disable
}
Step 2
Verify the VLAN port-provisioning verification
status.
show vlan verify-port-provisioning