78

AT-8800 Series Switch User Guide

To add tagged ports to a VLAN, use the command:

ADD VLAN={vlan-name1..4094} PORT={port-listALL}

FRAME=TAGGED

A port can be tagged for any number of VLANs.

To add untagged ports to a VLAN, use the command:

ADD VLAN={vlan-name1..4094} PORT={port-listALL}

[FRAME=UNTAGGED]

A port can be untagged for zero or one VLAN. A port can only be added to the default VLAN as an untagged port if it is not untagged for another VLAN. A port cannot transmit both tagged and untagged frames for the same VLAN (that is, it cannot be added to a VLAN as both a tagged and an untagged port).

To remove ports from a VLAN, use the command:

DELETE VLAN={vlan-name1..4094} PORT={port-listALL}

Removing an untagged port from a VLAN will return it to the default VLAN, unless it is a tagged port for another static VLAN. An untagged port can only be deleted from the default VLAN if the port is a tagged port for another static VLAN.

Ports tagged for some VLANs and left in the default VLAN as untagged ports will transmit broadcast traffic for the default VLAN. If this is not required, the unnecessary traffic in the switch can be reduced by deleting those ports from the default VLAN.

To change the tagging status of a port in a VLAN, use the command:

SET VLAN={vlan-name1..4094} PORT={port-listALL}

FRAME=TAGGED

To destroy a VLAN, use the command:

DESTROY VLAN={vlan-name2..4094ALL}

VLANs can only be destroyed if no ports belong to them.

To display the VLANs configured on the switch, use the command:

SHOW VLAN[={vlan-name1..4094ALL}]

Information which may be useful for trouble-shooting a network can be displayed with the VLAN debugging mode. This is disabled by default, and can be enabled for a specified time, disabled, and displayed using the commands:

ENABLE VLAN={vlan-name1..4078ALL} DEBUG={PKTALL} [OUTPUT=CONSOLE] [TIMEOUT={1..4000000000NONE}]

DISABLE VLAN={vlan-name1..4078ALL} DEBUG={PKTALL}

SHOW VLAN DEBUG

To view packet reception and transmission counters for a VLAN, use the command (see the Interfaces chapter of the switch’s Software Reference):

SHOW INTERFACE=VLANn COUNTER

Software Release 2.6.1 C613-02039-00 REV A

Page 78
Image 78
Allied Telesis 2.6.1 manual To add tagged ports to a VLAN, use the command, To destroy a VLAN, use the command