Switchport Private-Vlan Trunk Allowed Vlan - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport private-vlan trunk allowed vlan

switchport private-vlan trunk allowed vlan
To configure a list of the allowed normal VLANs on a private VLAN trunk port, use the switchport
private-vlan trunk allowed vlan command. To remove all the allowed normal VLANs from a private
VLAN trunk port, use the no form of this command.
Syntax Description
vlan_list
all
none
add
remove
except
vlan_atom
Defaults
All allowed normal VLANs are removed from a private VLAN trunk port.
Command Modes
Interface configuration mode
Command History
Release
12.1(12c)EW
Usage Guidelines
By default, no normal VLANs are allowed unless you explicitly configure the VLANs to be allowed.
Use this command only 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.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-1012
switchport private-vlan trunk allowed vlan {vlan-list} all | none | [add | remove | except]
vlan_atom [,vlan_atom...]
no switchport private-vlan trunk allowed vlan
Sets the list of allowed VLANs; see the "Usage Guidelines" section for formatting
guidelines for vlan_list.
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.
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.
(Optional) Adds the defined list of VLANs to those currently set instead of
replacing the list.
(Optional) Removes the defined list of VLANs from those currently set instead of
replacing the list.
(Optional) Lists the VLANs that should be calculated by inverting the defined list
of VLANs.
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.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents