Command Reference Guide Ethernet Interface Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 659

switchport trunk allowed vlan [add | all | none | except | remove]

<vlan id list> [all]

Use the switchport trunk allowed vlan command to allow certain VLANs to transmit and receive traffic
on this port when the interface is in trunking mode. To return to defaults, use the no version of this
command.
Syntax Description
add Adds the specified VLAN IDs to the VLAN trunking allowed list.
all Adds all configured VLAN IDs to the VLAN trunking allowed list.
none Adds no VLAN IDs to the VLAN trunking allowed list.
except Adds all configured VL AN IDs to the VLAN trunking allowed list excep t th os e
specified in the <vlan id list>.
remove Removes VLAN IDs from the VLAN trunking allowed list.
<vlan id list> Specifies a list of valid VLAN interface IDs. Refer to Functional Notes, below.
Default Values
By default, all valid VLANs are allowed.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 5.1 Command was introduced.
Functional Notes
A VLAN list is a set of VLAN IDs. A valid VLAN ID value must be fr om 1 to 4094 (i nclusive). Each VLAN ID
in a list is delimited by comm as, yet a ra ng e of IDs ma y be ex pr es se d as a sin gle elem e nt by usin g a
hyphen between endpoints. For example the VLAN ID range 1,2,3,4,6,7,8,9,500 may be more easily
expresse d as 1-4,6-9,500. No spaces are allowed in a valid ID range.
Usage Examples
The following example adds VLANs to the prev iously existing list of VLANs allowed to transmit and receive
on this port:
(config)#interface eth 0/1
(config-eth 0/1)#switchport trunk allowed vlan add 1-4,7-9,500