C
ONFIGURING
P
RIVATE
VLAN
S
32-17
Example
The following example shows how to display information fo r VLAN 1:
Configuring Private VLANs
Private VLANs provide port-based security and isolation between ports
within the assigned VLAN. This section describes commands used to
configure private VlANs.
pvlan
This command enables or configures a private VLAN. Use the no form to
disable private VLANs, or the no form with the group keyword to disable
a specific private VLAN group.
Syntax
pvlan [up-link interface-list down-link interface-list [group group-number]]
no pvlan [group group-number]
up-link – Specifies an uplink interface including a port or trunk.
down-link – Specifies a downlink interface including a port only.
group-number – Number of independent private VLAN group.
(Range: 1-5)
Console#show vlan id 1
VLAN ID: 1
Type: Static
Name: DefaultVlan
Status: Active
Ports/Port Channels: Eth1/ 1(S) Eth1/ 2(S) Eth1 / 3(S) Eth1/ 4(S) Eth1/ 5(S)
Eth1/ 6(S) Eth1/ 7(S) Eth1 / 8(S) Eth1/ 9(S) Eth1/10(S)
Eth1/11(S) Eth1/12(S) Eth1 /13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1 /18(S) Eth1/19(S)
Console#
Table 32-6 Private VLAN Commands
Command Function Mode Page
pvlan Enables and configured private VLANS GC 32-17
show pvlan Displays the configured private VLANS PE 32-19