2-471
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
switchport private-vlan trunk allowed vlan
switchport private-vlan trunk allowed vlan
To configure a list of allowed normal VLANs on a private VLAN trunk port, use the switchport
private-vlan trunk allowed vlan command. To remove all allowed normal VLANs from a private VLAN
trunk port, use the no form of the command.
switchport private-vlan trunk allowed vlan {vlan-list} all | none | [add | remove | except]
vlan_atom [,vlan_atom...]
no switchport private-vlan trunk allowed vlan
Syntax Description
Defaults All allowed normal VLANs are removed from a private VLAN trunk port.
Command Modes Interface configuration
Command History
Usage Guidelines By default, no normal VLANs are allowed unless explicitly configured to be allowed.
Only use this command for normal VLANs on a private VLAN trunk port.
Use the switchport private-vlan association trunk command to configure a port that can carry private
VLANs on a private VLAN trunk port.
vlan_list Sets the list of allowed VLANs. See “Usage Guidelines” for formatting guidelines
for vlan_list.
all Specifies all VLANs from 1 to 4094. This keyword is not supported on commands
that do not permit all VLANs in the list to be set at the same time.
none Indicates an empty list. This keyword is not supported on commands that require
certain VLANs to be set or at least one VLAN to be set.
add (Optional) Adds the defined list of VLANs to those currently set instead of
replacing the list.
remove (Optional) Removes the defined list of VLANs from those currently set instead of
replacing the list.
except (Optional) Lists the VLANs that should be calculated by inverting the defined list
of VLANs.
vlan_atom Either a single VLAN number from 1 to 4094 or a continuous range of VLANs
described by two VLAN numbers, the lesser one first, separated by a hyphen.
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.