Switchport Mode Private-Vlan - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Switch Cisco IOS Commands

switchport mode private-vlan

Use the switchport mode private-vlan interface configuration command on the switch stack or on a
standalone switch to configure a port as a promiscuous or host private VLAN port. Use the no form of
this command to reset the mode to the appropriate default for the device.
This command is available only if the stack master is running the enhanced multilayer image (EMI). We
strongly recommend that the stack members also run the EMI when private VLANs are configured.
Syntax Description
host
promiscuous
Defaults
The default private-VLAN mode is neither host nor promiscuous.
The default switchport mode is dynamic auto.
Command Modes
Interface configuration
Command History
Release
12.2(20)SE
Usage Guidelines
A private-VLAN host or promiscuous port cannot be a Switched Port Analyzer (SPAN) destination port.
If you configure a SPAN destination port as a private-VLAN host or promiscuous port, the port becomes
inactive.
Do not configure private VLAN on ports with these other features:
A private-VLAN port cannot be a SPAN destination port.
While a port is part of the private-VLAN configuration, any EtherChannel configuration for it is inactive.
A private-VLAN port cannot be a secure port and should not be configured as a protected port.
78-16181-03
switchport mode private-vlan {host | promiscuous}
no switchport mode private-vlan
Configure the interface as a private-VLAN host port. Host ports belong to
private-VLAN secondary VLANs and are either community ports or isolated
ports, depending on the VLAN that they belong to.
Configure the interface as a private-VLAN promiscuous port. Promiscuous
ports are members of private-VLAN primary VLANs.
Modification
This command was introduced.
dynamic-access port VLAN membership
Dynamic Trunking Protocol (DTP)
Port Aggregation Protocol (PAgP)
Link Aggregation Control Protocol (LACP)
Multicast VLAN Registration (MVR)
voice VLAN
switchport mode private-vlan
Catalyst 3750 Switch Command Reference
2-571

Advertisement

Table of Contents
loading

Table of Contents