beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 994

background image

Chapter 64: MAC Address-based VLANs

994

Adding MAC Addresses to VLANs and Designating Egress Ports

The MAC addresses and egress ports are specified with the VLAN SET
MACADDRESS command in the Global Configuration mode and Port
Interface mode. Enter the command in the Global Configuration mode
when you want to add MAC addresses to VLANs. To designate the egress
ports of addresses, enter the same command in the Port Interface mode.

The command has the same format in both the Global Configuration mode
and Port Interface mode. The format is shown here:

vlan set

vid

macaddress|destaddress

mac-address

The VID parameter specifies the VID of the MAC address-based VLAN to
which the address is to be added, and the MAC-ADDRESS parameter is
the address, which has to be entered in this format:

xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx

The MACADDRESS and DESTADDRESS keywords are equivalent. You
can use either one in the command.

In this example of the command, the MAC address 2A:98:2C:AC:18:A4 is
added to port 6 in a MAC address-based VLAN that has the VID 18:

awplus> enable

Enter the Privileged Executive
mode from the User Executive
mode.

awplus# configure terminal

Enter the Global Configuration
mode.

awplus(config)# vlan set 18 macaddress
2a:98:2c:ad:18:a4

Use the VLAN SET
MACADDRESS to add the MAC
address to the VLAN.

awplus(config)# interface port1.0.6

Enter the Port Interface mode for
port 6.

awplus(config-if)# vlan set 18 macaddress
2a:98:2c:ac:18:a4

Enter the VLAN SET
MACADDRESS command again
to designate port 6 as an egress
port of the address.