Virtual Local Area Network (VLAN) Commands
1083
OL-32830-01 Command Line Interface Reference Guide
56
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
56.31 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.
The port association configuration for a community secondary VLAN includes:
Summary of Contents for 300 Series
Page 2: ......