beautypg.com

Creating mac address-based vlans – Allied Telesis AT-8100 Series User Manual

Page 993

background image

AT-8100 Switch Command Line User’s Guide

993

Creating MAC Address-based VLANs

The VLAN MACADDRESS command in the VLAN Configuration mode is
the first command to creating this type of VLAN. This command assigns a
new VLAN a name and a VID. Here is the format of the command:

vlan

vid

name

name

type

macaddress

The range of the VID is 2 to 4094. The VID of the VLAN must be unique
from all other VLANs on the switch. The name of a VLAN can be up to 20
characters. It cannot contain any spaces, and the first character must be a
letter, not a number.

This example of the command creates a new MAC address-based VLAN
with the VID 12 and the name QA:

awplus> enable
awplus# configure terminal
awplus(config)# vlan database
awplus(config-vlan)# vlan 12 name QA type macaddress

For instructions on how to add MAC addresses and egress ports, refer to
“Adding MAC Addresses to VLANs and Designating Egress Ports” on
page 994.