Clear mac address-table static – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 366
![background image](/manuals/427254/366/background.png)
Switching Commands
Software Reference for x310 Series Switches
15.4
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
clear mac address-table static
Use this command to clear the filtering database of all statically configured entries for a
selected MAC address, interface, or VLAN.
Syntax
clear mac address-table static
[address
Mode
Privileged Exec
Usage
Use this command with options to clear the filtering database of all entries made from the
CLI for a given MAC address, interface or VLAN. Use this command without options to clear
any entries made from the CLI.
Compare this usage with
clear mac address-table dynamic command on page 15.5
Examples
This example shows how to clear all filtering database entries configured through the CLI.
This example shows how to clear all filtering database entries for a given interface
configured through the CLI.
This example shows how to clear filtering database entries filtering database entries
configured through the CLI for a given mac address.
Related Commands
clear mac address-table dynamic
mac address-table static
show mac address-table
Parameter
Description
address
Specify a MAC (Media Access Control) address to be cleared from
the filtering database.
Enter a MAC address to be cleared from the database in the format
HHHH.HHHH.HHHH.
interface
Specify a switch port to be cleared from the filtering database.
Specify the switch port from which address entries will be cleared.
This can be a single switch port, (e.g. port1.0.4), a static
channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g.
po2
).
vlan
Specify a VLAN to be cleared from the filtering database.
Enter a VID (VLAN ID) in the range <1-4094> to be cleared from
the filtering database.
awplus#
clear mac address-table static
awplus#
clear mac address-table static interface port1.0.3
awplus#
clear mac address-table static address 0202.0202.0202