beautypg.com

Vlan set macaddress (port interface mode) – Allied Telesis AT-DC2552XS User Manual

Page 333

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

333

VLAN SET MACADDRESS (Port Interface Mode)

Syntax

vlan set

vid

macaddress

mac-address

Parameters

vid

Specifies the VID of a MAC address-based VLAN. The MAC
address-based VLAN must already exist.

mac-address

Specifies the MAC address to assign to egress ports. The MAC
address must be entered in the hexadecimal format:

xx:xx:xx:xx:xx:xx

Mode

Port Interface mode

Description

Use this command to assign MAC addresses to egress ports for MAC
address-based VLANs. You can add only one address at a time. The
specified MAC address must be already added to the MAC address-base
VLAN with the VLAN SET MACADDRESS (Global Configuration Mode)
command. See “VLAN SET MACADDRESS (Global Configuration Mode)”
on page 331.

Confirmation Command

“SHOW VLAN MACADDRESS” on page 316

Example

This example assigns the MAC address 00:30:84:32:8A:5D to egress
ports 1.0.1 through 1.0.10 in a VLAN whose VID value is 4:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1-1.0.10
awplus(config-if)# vlan set 4 macaddress 00:30:84:32:8a:5d