Switchport Private-Vlan Host-Association - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
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)#
switchxxxxxx(config-if)#

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
no switchport private-vlan host-association
Parameters
primary-vlan-id
secondary-vlan-id
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.
interface gi14
switchport private-vlan mapping
primary-vlan-id secondary-vlan-id
—The VLAN ID of the primary VLAN.
—Specifies the secondary VLAN.
67
10 add 20
1288

Advertisement

Table of Contents
loading

Table of Contents