Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1288
67
User Guidelines
The secondary VLANs should be associated with the primary VLANs, otherwise
the configuration is not accepted.
Example
The following example add promiscuous port gi14 to primary VLAN 10 and to
secondary VLAN 20.
switchxxxxxx(config)#
interface
gi14
switchxxxxxx(config-if)#
switchport private-vlan mapping
10 add 20
67.33 switchport private-vlan host-association
Use the switchport private-vlan host-association Interface Configuration mode
command to configure the association of a host port with primary and secondary
VLANs of the private VLAN. Use the no form of this command to reset to default.
Syntax
switchport private-vlan host-association
primary-vlan-id secondary-vlan-id
no switchport private-vlan host-association
Parameters
•
primary-vlan-id
—The VLAN ID of the primary VLAN.
•
secondary-vlan-id
—Specifies the secondary VLAN.
Default Configuration
No association.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
The secondary VLAN must be associated with the primary VLAN, otherwise the
configuration is not accepted. See the private-vlan association command.
The port association configuration depends on the type of the secondary VLAN.