Add vlan port macaddress – Allied Telesis AT-S63 User Manual

Page 695

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section VI: Virtual LANs

695

ADD VLAN PORT MACADDRESS

Syntax

add vlan=

name

|

vid

port=

ports

macaddress|destaddress=

mac-

address

Parameters

vlan

Specifies the name or VID of the VLAN to be modified.

port

Specifies the egress port(s) to assign to the MAC
address. You can specify more than one egress port.

macaddress or

Specifies the MAC address to be assigned the egress

destaddress

port(s). The MAC address can be entered in either of
the following formats:

xx:xx:xx:xx:xx:xx or xxxxxxxxxxxx

Description

This command assigns egress ports to MAC addresses in MAC address-
based VLANs. A MAC address must already be in a VLAN before you can
assign it egress ports. To assign a MAC address to a VLAN, refer to “ADD
VLAN MACADDRESS” on page 694.

Examples

The following command assigns ports 1 and 4 as egress ports for the MAC
address 00:30:84:32:8A:5D in the Sales VLAN:

add vlan=sales port=1,4 macaddress=00:30:84:32:8a:5d

The following command assigns port 11 to 14 as egress ports for the MAC
address 00:30:84:75:11:B2 from the VLAN with the VID 24:

add vlan=24 port=11-14 macaddress=00:30:84:75:11:b2

Advertising