free hit counter

Private-Vlan Association - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

56
1081
Example
The following example set vlan 2 to be primary vlan:
switchxxxxxx(config)#
switchxxxxxx(config-if)#

56.29 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]
no private-vlan association
Parameters
secondary-vlan-list
add
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.
secondary-vlan-list
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.
Virtual Local Area Network (VLAN) Commands
interface vlan 2
private-vlan primary
secondary-vlan-list
—List of VLAN IDs of type secondary to add to a
—List of VLAN IDs of type secondary to remove
OL-32830-01 Command Line Interface Reference Guide

Advertisement

Table of Contents
loading