2-651
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set vlan
Examples This example shows how to set VLAN 850 to include ports 3 through 7 on module 3:
Console> (enable) set vlan 850 3/3-7
VLAN 850 modified.
VLAN Mod/Ports
---- -----------------------
850 3/4-7
Console> (enable)
This example shows how to set VLAN 7 as a primary VLAN:
Console> (enable) set vlan 7 pvlan-type primary
Console> (enable)
This example shows how to set VLAN 901 as an isolated VLAN:
Console> (enable) set vlan 901 pvlan-type isolated
Console> (enable)
This example shows how to set VLAN 903 as a community VLAN:
Console> (enable) set vlan 903 pvlan-type community
Console> (enable)
This example shows how to unmap all instances currently mapped to VLAN 5:
Console> (enable) set vlan 5 mistp-instance none
Vlan 5 configuration successful
Console> (enable)
This example shows how to secure a range of VLANs on a Firewall Services Module:
Console> (enable) set vlan 2-55 firewall-module 7
Console> (enable)
This example shows the message that appears w he n VLA N po rt- prov is ion ing veri ficat io n is en ab l ed :
Console> (enable) set vlan 10 2/1
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)
Related Commands clear config pvlan
clear pvlan mapping
clear vlan
set pvlan
set spantree macreduction
set vlan mapping
show pvlan
show pvlan mapping
show vlan