beautypg.com

Mac address-table static – Allied Telesis AT-8100 Series User Manual

Page 390

background image

Chapter 20: MAC Address Table Commands

390

MAC ADDRESS-TABLE STATIC

Syntax

mac address-table static

macaddress

forward|discard

interface

port

[vlan

vlan-name

|

vid

]

Parameters

macaddress

Specifies the static unicast address you want to add to the switch’s
MAC address table. The address must be specified in either one of
the following formats: xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx

forward

Forwards packets containing the designated source MAC address.

discard

Discards packets containing the designated source MAC address.

port

Specifies the port(s) where the MAC address is to be assigned. A
unicast MAC address can be added to only one port.

vlan-name

Specifies the name of the VLAN where the node designated by the
MAC address is a member.

vid

Specifies the ID number of the VLAN where the node designated
by the MAC address is a member. This parameter is optional.

Mode

Global Configuration mode

Description

Use this command to add static unicast MAC addresses to the switch’s
MAC address table. A static MAC address is never timed out from the
MAC address table, even when the end node is inactive. You can add just
one static MAC address at a time with this command.

The FORWARD and DISCARD parameters are used to specify whether
the switch is to forward or discard packets containing the specified source
MAC address.