Allied Telesis AR2050V Command Reference Manual page 470

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

VLAN C
OMMANDS
SWITCHPORT TRUNK ALLOWED VLAN
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. The except parameter creates an exception to the list.
If you use the all parameter, and then you want to remove VLANs from the port's
member list, you must use the except parameter to remove the unwanted VLANs.
Similarly, if you use the except parameter to remove a list of VLANs, and you want
to change that list, you must use the except parameter to make that change (not
the add and remove parameters).
For example, if you want to remove VLAN3-5 from a port and the port's
configuration is currently switchport trunk allowed vlan all, then you should
remove VLAN3-5 by entering the except parameter, instead of using the remove
parameter. This means using the following commands:
awplus#
awplus(config)#
awplus(config-if)#
If you do this, then the configuration changes to:
For example, if you want to add VLAN4 back in again, and the port configuration is
currently switchport trunk allowed vlan except 3-5, then you should add VLAN4
by re-entering the except parameter with the list of VLANs to remove, instead of
using the add parameter. This means using the following commands:
awplus#
awplus(config)#
awplus(config-if)#
If you do this, then the configuration changes to:
C613-50186-01 Rev B
configure terminal
interface port1.0.6
awplus#show running-config
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 3-5
configure terminal
interface port1.0.5
awplus#show running-config
interface port1.0.5
switchport
switchport mode trunk
switchport trunk allowed vlan except 3,5
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
switchport trunk allowed vlan except 3-5
switchport trunk allowed vlan except 3,5
470

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents