A SERVICE OF

logo

Command Line Interface
4-144
Default Setting
Shows all VLANs.
Command Mode
Normal Exec, Privileged Exec
Example
The following example shows how to display information for VLAN 1:
Configuring Private VLANs
pvlan
Use this command in global configuration mode to enable or configure private
VLAN. Use the no form of this command to disable it.
Syntax
pvlan
pvlan up-link interface-list down-link interface-list
no pvlan
up-link – Specifies a list of uplink interfaces.
down-link – Specifies a list of downlink interfaces.
Default Setting
No pvlan
Command Mode
Global configuration
Console#show vlan id 1
VLAN Type Name Status Ports/Channel groups
---- ------- ---------------- --------- ----------------------------------
1 Static DefaultVlan Active Eth1/ 1 Eth1/ 2 Eth1/ 3 Eth1/ 4 Eth1/ 5
Eth1/ 6 Eth1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
Eth1/11 Eth1/12 Eth1/13 Eth1/14 Eth1/15
Eth1/16 Eth1/17 Eth1/18 Eth1/19 Eth1/20
Eth1/21 Eth1/22 Eth1/23 Eth1/24
Console#
Command Function Mode Pag
e
pvlan Enables Private VLAN globally for the switch GC 4-144
pvlan up-link down-link Configures uplink and downlink ports GC 4-144
show pvlan shows the private VLAN configuration settings on this
switch
PE 4-145