Switching Commands
©2008 Allied Telesis Inc. All rights reserved.
15.8
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
mac address-table static
Use this command to statically configure the MAC address-table to forward or discard frames
with a matching destination MAC address.
Syntax
mac address-table static <
mac-addr
> {forward|discard} interface
<
port
> [vlan <
vid
>]
no mac address-table static <
mac-addr
> {forward|discard} interface
<
port
> [vlan <
vid
>]
Mode
Configure mode
Usage
The
mac address-table static
command is only applicable to layer 2 switched traffic within a
single VLAN. Do not apply the
mac address-table static
command to layer 3 switched traffic
passing from one VLAN to another VLAN. Frames will not be discarded across VLANs
because packets are routed across VLANs. This command only works on layer 2 traffic.
Examples
Parameter
Description
<mac-addr>
the destination MAC address in
HHHH.HHHH.HHHH
format.
<
port
>
The port to display information about. The port may be a switch port (e.g.,
port1.1.4), a static channel group (e.g., sa3), or an LACP channel group
(e.g., po4).
<vid>
the VLAN ID. If you do not specify a VLAN, it defaults to vlan 1.
awplus#
configure terminal
awplus(config)#
mac address-table static 2222.2222.2222 forward
interface port1.1.4 vlan 3