beautypg.com

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

Page 453

background image

VLAN Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

17.25

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:

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:

Add VLAN 4 by re-entering the except parameter with a list of VLANs to exclude, instead
of using the add parameter to include VLAN 4, as shown in the command example below:

awplus#show running-config
!
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 4

awplus#

configure terminal

awplus(config)#

interface port1.0.6

awplus(config-if)#

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-4

awplus#show running-config
!
interface port1.0.6
switchport
switchport mode trunk
switchport trunk allowed vlan except 3-5

awplus#

configure terminal

awplus(config)#

interface port1.0.5

awplus(config-if)#

switchport trunk allowed vlan except 3,5