Cisco Cisco SG500-52PP 52-port Gigabit Max PoE+ Stackable Managed Switch 技术参考
Virtual Local Area Network (VLAN) Commands
OL-31486-02 Command Line Interface Reference Guide
1245
64
---- ---------
73 Out
64.31 private-vlan
Use the private-vlan Interface VLAN Configuration mode command to configure a
private VLAN. Use the no form of this command to return the VLAN to normal VLAN
configuration.
private VLAN. Use the no form of this command to return the VLAN to normal VLAN
configuration.
Syntax
private-vlan
{primary | community | isolated}
no private-vlan
Parameters
•
primary—Designate the VLAN as a primary VLAN.
•
community—Designate the VLAN as a community VLAN.
•
isolated—Designate the VLAN as an isolated VLAN.
Default Configuration
No private VLANs are configured.
Command Mode
Interface (VLAN) Configuration mode
User Guidelines
•
The VLAN type cannot be changed if there is a private VLAN port that is a
member in the VLAN.
member in the VLAN.
•
The VLAN type cannot be changed if it is associated with other private
VLANs.
VLANs.
•
The VLAN type is not kept as a property of the VLAN when the VLAN is
deleted.
deleted.
Example
The following example set vlan 2 to be primary vlan:
switchxxxxxx(config)#
interface vlan 2