Previous Topic

Next Topic

Book Contents

Private VLAN Commands

This section describes the commands to configure private-VLAN.

switchport private-vlan

This command is used to define a private-VLAN association for an isolated or community port or a mapping for a promiscuous port.

Parameter description

no switchport private-vlan

This command is used to remove the private-VLAN association or mapping from the port.

switchport mode private-vlan

This command is used to configure a port as a promiscuous or host private VLAN port.

Parameter description

no switchport mode private-vlan

This command is used to remove the private-VLAN association or mapping from the port.

private-vlan

This command is used to configure the private VLANs and to configure the association between the primary private VLAN and secondary VLANs.

Parameter description

no private-vlan

This command is used to restore normal VLAN configuration.

show vlan

This command displays information about the configured private VLANs including primary and secondary VLAN IDs, type (community, isolated, or primary) and the ports which belong to a private VLAN.

The command displays the following information:

show interface ethernet <interface >switchport

This command displays the private-VLAN mapping information for the switch interfaces.

The command displays the following information:

See also

Switching Commands

Port Configuration Commands

Spanning Tree Protocol (STP) Commands

VLAN Commands

Ethernet Ring Protection Commands

Double VLAN Commands

Voice VLAN Commands

Provider Bridge Commands

802.1AS Timesync Commands

Provisioning (IEEE 802.1p) Commands

Protected Ports Commands

GARP Commands

GVRP Commands

GMRP Commands

Port-Based Network Access Control Commands

Switch Port Auto-recovery (SPAR) Commands

802.1X Supplicant Commands

Storm-Control Commands

Link Local Protocol Filtering Commands

MMRP Commands

MSRP Commands

MVRP Commands

Port-Channel/LAG (802.3ad) Commands

Port Mirroring

Static MAC Filtering

DHCP L2 Relay Agent Comamnds

DHCP Client Commands

DHCP Snooping Configuration Commands

Dynamic ARP Inspection Commands

IGMP Snooping Configuration Commands

IGMP Snooping Querier Commands

MLD Snooping Commands

MLD Snooping Querier Commands

Port Security Commands

LLDP (802.1AB) Commands

LLDP-MED Commands

Denial of Service Commands

MAC Database Commands

ISDP Commands

Ethernet in the First Mile Operations and Maintenance Commands

Connectivity Fault Management Commands