EasyManuals Logo

Cisco Catalyst 4500 Series Command Reference Guide

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1117 background imageLoading...
Page #1117 background image
2-1059
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
switchport private-vlan association trunk
switchport private-vlan association trunk
To configure the association between a secondary VLAN and a VLAN on a private VLAN trunk port, use
the switchport private-vlan association trunk command. To remove the private VLAN mapping from
the port, use the no form of this command.
switchport private-vlan association trunk {primary-vlan-id} {secondary-vlan-id}
no switchport private-vlan association trunk {primary-vlan-id}
Syntax Description
Defaults Private VLAN mapping is disabled.
Command Modes Interface configuration mode
Command History
Usage Guidelines Multiple private VLAN pairs can be specified so that a private VLAN trunk port can carry multiple
secondary VLANs. If an association is specified for the existing primary VLAN, the existing association
is replaced.
Only isolated secondary VLANs can be carried over a private VLAN trunk.
Note Community secondary VLANs on a private VLAN trunk are not supported in this release.
If there is no trunk association, any packets received on the secondary VLANs are dropped.
Examples This example shows how to configure a port with a primary VLAN (VLAN 18) and secondary VLAN
(VLAN 20):
Switch(config-if)# switchport private-vlan association trunk 18 20
Switch(config-if)#
This example shows how to remove the private VLAN association from the port:
Switch(config-if)# no switchport private-vlan association trunk 18
Switch(config-if)#
primary-vlan-id Number of the primary VLAN of the private VLAN relationship.
secondary-vlan-id Number of the secondary VLAN of the private VLAN relationship.
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.2(20)EW Support for community VLAN was added.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals