beautypg.com

Mac address-table static – Allied Telesis AT-DC2552XS User Manual

Page 390

background image

Chapter 15: MAC Address Table Commands

390

Section II: Layer 2 Switching

MAC ADDRESS-TABLE STATIC

Syntax

mac address-table static

macaddress

forward|discard

interface

port_id

vlan

vid

Parameters

macaddress

Specifies the MAC address you want to add to the switch’s MAC
address table. Multicast MAC addresses are not permitted. The
address must be specified in the following format: xx:xx:xx:xx:xx:xx

forward

Forwards frames containing the MAC address as a destination
address.

discard

Discards frames containing the MAC address as a destination
address.

port_id

Specifies the port ID from which the switch forwards frames
containing the MAC address as a destination address.

vid

Specifies the ID number of the VLAN that the node of the MAC
address is a member of. The range is 1 to 4,094.

Mode

Global Configuration mode

Description

Use this command to add a MAC address to the switch’s MAC address
table statically. A static MAC address is never timed out from the MAC
address table, even when the end node is inactive. With this command,
you can add only one static MAC address at a time.

The forward and discard keywords specify whether the switch forwards or
discards frames containing the specified MAC address as a destination
address. When you specify the discard keyword, the switch discards
frames containing the MAC address as a designation address and does
not forward the frames from the port. However, you must specify the
port_id parameter in this command.