
Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
1286
67
Example
The following example set vlan 2 to be primary vlan:
switchxxxxxx(config)#
interface vlan 2
switchxxxxxx(config-if)#
private-vlan primary
67.31 private-vlan association
Use the private-vlan association Interface VLAN Configuration mode command to
configure the association between the primary VLAN and secondary VLANs. Use
the no form of this command to remove the association.
Syntax
private-vlan association
[add | remove]
secondary-vlan-list
no private-vlan association
Parameters
•
add
secondary-vlan-list
—List of VLAN IDs of type secondary to add to a
primary VLAN. Separate nonconsecutive VLAN IDs with a comma and no
spaces. Use a hyphen to designate a range of IDs.This is the default action.
•
remove
secondary-vlan-list
—List of VLAN IDs of type secondary to remove
association from a primary VLAN. Separate nonconsecutive VLAN IDs with
a comma and no spaces. Use a hyphen to designate a range of IDs.
Default Configuration
No private VLANs are configured.
Command Mode
Interface (VLAN) Configuration mode
User Guidelines
•
The command can only be executed in the context of the primary VLAN.
•
A private VLAN cannot be removed or have its type changed, if it is
associated with other private VLANs.
•
A primary VLAN can be associated with only a single, isolated VLAN.
•
A secondary VLAN can be associated with only one primary VLAN.
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...