Vlan set macaddress (global configuration mode) – Allied Telesis AT-DC2552XS User Manual

Page 331

Advertising
background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

331

VLAN SET MACADDRESS (Global Configuration 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. The MAC address must be entered in
the hexadecimal format:

xx:xx:xx:xx:xx:xx

Mode

Global Configuration mode

Description

Use this command to add a MAC address to a MAC address-based VLAN.
You can add only one address at a time. To create a MAC address-based
VLAN, see “VLAN MACADDRESS” on page 329.

To forward frames from the hosts with the specified MAC addresses, you
must associate the MAC address to egress ports using the VLAN SET
ADDRESS (Port Interface Mode) command. See “VLAN SET
MACADDRESS (Global Configuration Mode)” on page 331.

Confirmation Command

“SHOW VLAN MACADDRESS” on page 316

Examples

This example adds the MAC address, 00:30:84:32:8A:5D, to a MAC
address-based VLAN with a VID value of 4:

awplus> enable
awplus# configure terminal
awplus(config)# vlan set 4 macaddress 00:30:84:32:8a:5d

Advertising