beautypg.com

Vlan set macaddress (port interface mode), Vlan set macaddress (port interface mode) 2 – Allied Telesis AT-8100 Series User Manual

Page 1012

background image

Chapter 65: MAC Address-based VLAN Commands

1012

VLAN SET MACADDRESS (Port Interface Mode)

Syntax

vlan set

vid

macaddress|destaddress

mac-address

Parameters

vid

Specifies the VID of the VLAN to be modified.

mac-address

Specifies the MAC address to assign to an egress port. The MAC
address must be entered in this format:

xx:xx:xx:xx:xx:xx

Note

The MACADDRESS and DESTADDRESS keywords are equivalent.

Mode

Port Interface mode

Description

Use this command to assign MAC addresses to egress ports for MAC
address-based VLANs. The specified MAC address must already be
assigned to the VLAN. For instructions, refer to “VLAN SET
MACADDRESS (Global Configuration Mode)” on page 1010.

Confirmation Command

“SHOW VLAN MACADDRESS” on page 1006

Examples

This example assigns the MAC address 00:30:84:32:8A:5C to egress
ports 1 and 4 in a VLAN whose VID is 3:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1,port1.0.4
awplus(config-if)# vlan set 3 macaddress 00:30:84:32:8a:5c