5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
353
general
Full 802.1q support VLAN Interface.
private-vlan
Set switchport mode as host or promiscuous port for the private VLAN.
Default
The default is General mode.
Command Mode
I
nterface Config
5-270 switchport trunk allowed vlan
Configure the allowed VLAN list configured to receive and send traffic in tagged format (trunking mode).
The default is all.
VLANs lists can be modified through the add or remove options or replaced with another list using the
vlan-list, all, or except options. Selecting all sets VLANs to the list of allowed VLAN. The except option
provides an exclusion list.
Use the
no
command to reset the list of allowed VLANs on the trunk port to its default value.
switchport trunk allowed vlan {vlan-list | all | {add vlan-list} | {remove vlan-list} | {except vlan-list}}
no switchport trunk allowed vlan
Parameters
vlan-list
Values: 1 to 4093, range is entered using two values separated by a
hyphen. The lower value is entered first.
all
Specifies all VLANs from 1 to 4093. This option is not supported on
commands that do not permit all VLANs in the list to be set at the same
time.
add
Add VLANs to the current list.
remove
Removes VLANs from the current list.
except
Create an exception entry to the VLAN list.
Default
The default is All.
Command Mode
Interface Config
5-271 switchport trunk native vlan