Switchport trunk allowed vlan, Switchport trunk allowed vlan all, Switchport trunk allowed vlan add – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 452: Vid-list, Switchport trunk allowed, Vlan, Switchport trunk, Allowed vlan
VLAN Commands
Software Reference for x310 Series Switches
17.24
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
switchport trunk allowed vlan
Use this command to add VLANs to be trunked over this switch port. Traffic for these
VLANs can be sent and received on the port.
Use the no variant of this command to reset switching characteristics of a specified
interface to negate a trunked configuration specified with switchport trunk allowed vlan
command.
Syntax
switchport trunk allowed vlan all
switchport trunk allowed vlan none
switchport trunk allowed vlan add <vid-list>
switchport trunk allowed vlan remove <vid-list>
switchport trunk allowed vlan except <vid-list>
no switchport trunk
Default
By default, ports are untagged members of the default VLAN (vlan1).
Mode
Interface Configuration
Usage
The all parameter sets the port to be a tagged member of all the VLANs configured on the
device. The none parameter removes all VLANs from the port’s tagged member set. The
add and remove parameters will add and remove VLANs to and from the port’s member
set. See the note below about restrictions when using the add, remove, except, and all
parameters.
Parameter
Description
all
Allow all VLANs to transmit and receive through the port.
none
Allow no VLANs to transmit and receive through the port.
add
Add a VLAN to transmit and receive through the port. Only use this
parameter if a list of VLANs are already configured on a port.
remove
Remove a VLAN from transmit and receive through the port. Only use
this parameter if a list of VLANs are already configured on a port.
except
All VLANs, except the VLAN for which the VID is specified, are part of
its port member set. Only use this parameter to remove VLANs after
either this parameter or the all parameter have added VLANs to a
port.
<vid-list>
<2-4094> The ID of the VLAN or VLANs that will be added to, or
removed from, the port. A single VLAN, VLAN range, or comma-
separated VLAN list can be set.
For a VLAN range, specify two VLAN numbers: lowest, then highest
number in the range, separated by a hyphen.
For a VLAN list, specify the VLAN numbers separated by commas.
Do not enter spaces between hyphens or commas when setting
parameters for VLAN ranges or lists.