C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
441
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
VLAN C
OMMANDS
SWITCHPORT
TRUNK
ALLOWED
VLAN
NOTE
:
Only use the
add
or the
remove
parameters with this command if a list of VLANs
are configured on a port. Only use the
except
parameter to remove VLANs after either
the
except
or the
all
parameters have first been used to add a list of VLANs to a port.
To remove a VLAN, where the configuration for
port1.0.6
shows the below
output:
Remove VLAN
3
by re-entering the
except
parameter with the list of VLANs to
remove, instead of using the
remove
parameter, as shown in the command
example below:
awplus#
configure terminal
awplus(config)#
interface port1.0.6
awplus(config-if)#
switchport trunk allowed vlan except 3,4
Then the configuration is changed after entering the above commands to remove
VLAN 3:
To add a VLAN, where the configuration for
port1.0.6
shows the below output:
awplus#show running-config
!
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 4
awplus#show running-config
!
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 3-4
awplus#show running-config
!
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 3-5