C
OMMAND
L
INE
I
NTERFACE
4-240
Example
The following example shows how to display information for 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 the private VLAN.
Syntax
pvlan [up-link interface-list down-link interface-list]
no pvlan
• up-link – Specifies an uplink interface.
• down-link – Specifies a downlink interface.
Default Setting
No private VLANs are defined.
Command Mode
Global Configuration
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)
Console#
Table 4-59 Private VLAN Commands
Command Function Mode Page
pvlan Enables and configured private VLANS GC 4-240
show pvlan Displays the configured private VLANS PE 4-241