Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 454

VLAN Commands
Software Reference for x310 Series Switches
17.26
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
The configuration is changed after entering the above commands to add VLAN 4:
Examples
The following shows adding a single VLAN to the port’s member set.
The following shows adding a range of VLANs to the port’s member set.
The following shows adding a list of VLANs to the port’s member set.
awplus#show running-config
!
interface port1.0.5
switchport
switchport mode trunk
switchport trunk allowed vlan except 3,5
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport trunk allowed vlan add 2
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport trunk allowed vlan add 2-4
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport trunk allowed vlan add 2,3,4