S
C
WITCHING
OMMANDS
-
MAC ADDRESS
TABLE STATIC
mac address-table static
Overview
Use this command to statically configure the MAC address-table to forward or
discard frames with a matching destination MAC address.
mac address-table static <mac-addr> {forward|discard} interface
Syntax
<port> [vlan <vid>]
no mac address-table static <mac-addr> {forward|discard}
interface <port> [vlan <vid>]
Mode
Global Configuration
Usage notes
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.
awplus#
Example
awplus(config)#
interface port1.0.4 vlan 3
Related
clear mac address-table static
commands
show mac address-table
C613-50644-01 Rev B
Parameter
Description
<mac-addr>
The destination MAC address in HHHH.HHHH.HHHH format.
interface
Specify a switch port to be cleared from the filtering database. The
<port>
port can be:
• a switchport (e.g. port1.0.4)
• a static channel group (e.g. sa2)
• a dynamic (LACP) channel group (e.g. po2)
vlan <vid>
The ID of a VLAN to apply the command to, in the range 1 to 4094. If
you do not specify a VLAN, the command applies to VLAN1.
configure terminal
mac address-table static 2222.2222.2222 forward
Command Reference for IE220 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
536