Reference Guide

Private VLAN (PVLAN) | 1187
Defaults
none
Command Modes
INTERFACE VLAN
Command
History
Usage
Information
The list of secondary VLANs can be:
Specified in comma-delimited or hyphenated-range format.
Specified with this command even before they have been created.
Amended by specifying the new secondary VLAN to be added to the list.
Related
Commands
show interfaces private-vlan
c s
Display type and status of PVLAN interfaces.
Syntax
show interfaces private-vlan [interface interface]
Parameters
Defaults
none
Command Modes
EXEC
EXEC Privilege
Command
History
Usage
Information
This command has two types of display — a list of all PVLAN interfaces or for a
specific interface. Examples of both types of output are shown below.
Version 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810
Version 7.8.1.0 Introduced on C-Series and S-Series
private-vlan mode Set the mode of the selected VLAN to community, isolated, or
primary.
show interfaces private-vlan Display type and status of PVLAN interfaces.
show vlan private-vlan Display PVLANs and/or interfaces that are part of a PVLAN.
show vlan private-vlan
mapping
Display primary-secondary VLAN mapping.
switchport mode
private-vlan
Set the PVLAN mode of the selected port.
interface interface
(OPTIONAL) Enter the keyword interface, followed by the ID of the
specific interface for which to display PVLAN status.
Version 7.8.1.0 Introduced on C-Series and S-Series