Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-881
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2    Catalyst 3750-X and 3560-X Cisco IOS Commands
switchport mode private-vlan
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.
switchport mode private-vlan {host | promiscuous}
no switchport mode private-vlan
Note
This command is not supported on switches running the LAN base feature set.
Syntax Description
Defaults
The default private-VLAN mode is neither host nor promiscuous. 
The default switchport mode is dynamic auto.
Command Modes
Interface configuration
Command History
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:
  •
Dynamic-access port VLAN membership
  •
Dynamic Trunking Protocol (DTP) 
  •
Port Aggregation Protocol (PAgP)
  •
Link Aggregation Control Protocol (LACP)
  •
Multicast VLAN Registration (MVR)
  •
Voice VLAN
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.
host
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.
promiscuous
Configure the interface as a private-VLAN promiscuous port. Promiscuous 
ports are members of private-VLAN primary VLANs.
Release
Modification
12.2(53)SE2
This command was introduced.