Switchport Private-Vlan Association Trunk - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

switchport private-vlan association trunk

switchport private-vlan association trunk
To configure the association between a secondary VLANs 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 the command.
Syntax Description
primary-vlan-id
secondary-vlan-id
Defaults
Private VLAN mapping is disabled.
Command Modes
Interface configuration
Command History
Release
12.1(12c)EW
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.
If there is no trunk association, any packets received on 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 PVLAN association from the port:
Switch(config-if)# no switchport private-vlan association trunk 18
Switch(config-if)#
Related Commands
show interfaces switchport
switchport mode
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-468
switchport private-vlan association trunk {primary-vlan-id} {secondary-vlan-id }
no switchport private-vlan association trunk {primary-vlan-id}
Number of the primary VLAN of the PVLAN relationship.
Number of the secondary VLAN of the private VLAN relationship.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents