Allied Telesis at-8700xl series switch manual Creating VLANs

Models: at-8700xl series switch

1 81
Download 81 pages 57.37 Kb
Page 66
Image 66
Creating VLANs

66

AT-8700XL Series Switch User Guide

Creating VLANs

To briefly summarise the process of creating a VLAN:

1.Create the VLAN.

2.Add tagged ports to the VLAN, if required.

3.Add untagged ports to the VLAN, if required.

To create a VLAN, use the command:

CREATE VLAN=vlan-nameVID=2..255

Every port must belong to a VLAN, unless it is the mirror port. By default, all ports belong to the default VLAN as untagged ports.

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

ADD VLAN={vlan-name1..255} 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..255} 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..255} 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..255} PORT={port-listALL} FRAME=TAGGED

To destroy a VLAN, use the command:

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

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..255ALL}]

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

Software Release 2.6.1 C613-02030-00 REV B

Page 66
Image 66
Allied Telesis at-8700xl series switch manual Creating VLANs