40-43
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 40 Configuring 802.1X Authentication
Configuring 802.1X Authentication on the Switch
Creating Private VLANs
This example shows how to create private VLANs:
Console> (enable)
set vlan 800 pvlan-type primary
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 800 configuration successful
Console> (enable)
set vlan 801 pvlan-type community
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 801 configuration successful
Console> (enable)
set pvlan 800 801
Host mode set to enable for ports
BPDU guard set to enable for ports
Trunk mode set to off for ports
Successfully set association between 800 and 801.
Console> (enable)
set vlan 400 pvlan-type primary
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 400 configuration successful
Console> (enable)
set vlan 401 pvlan-type isolated
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 401 configuration successful
Console> (enable)
set pvlan 400 401
Host mode set to enable for ports
BPDU guard set to enable for ports
Trunk mode set to off for ports
Successfully set association between 400 and 401.
Console> (enable)
set vlan 200 pvlan-type primary
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 200 configuration successful
Console> (enable)
set vlan 201 pvlan-type twoway-community
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 201 configuration successful
Console> (enable)
set pvlan 200 201
Host mode set to enable for ports
BPDU guard set to enable for ports
Trunk mode set to off for ports
Successfully set association between 200 and 201.
Console> (enable)
Verifying the Private VLAN Configuration
This example shows how to verify the private VLAN configuration:
Console> (enable)
show pvlan
Primary Secondary Secondary-Type Ports
------- --------- ---------------- ------------
200 201 twoway-community
400 401 isolated
800 801 community
Console> (enable)