C613-50631-01 Rev A Command Reference for IE340 Series 565
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SWITCHING COMMANDS
CLEAR
MAC ADDRESS-TABLE DYNAMIC
clear mac address-table dynamic
Overview Use this command to clear the filtering database of all entries learned for a selected
MAC address, an MSTP instance, a switch port interface, or a VLAN interface.
Syntax
clear mac address-table dynamic ď€
[address <mac-address>|interface <port> [instance <inst>]|ď€
vlan <vid>]
Mode Privileged Exec
Usage notes Use this command with options to clear the filtering database of all entries learned
for a given MAC address, interface or VLAN. Use this command without options to
clear any learned entries.
Use the optional instance parameter to clear the filtering database entries
associated with a specified MSTP instance. Note that you must first specify a switch
port interface before you can specify an MSTP instance.
Compare this usage and operation with the clear mac address-table static
command. Note that an MSTP instance cannot be specified with the command
clear mac address-table static.
Examples This example shows how to clear all dynamically learned filtering database entries.
awplus# clear mac address-table dynamic
This example shows how to clear all dynamically learned filtering database entries
when learned through device operation for the MAC address 0000.5E00.5302.
awplus# clear mac address-table dynamic address 0000.5E00.5302
Parameter Description
address
<mac-address>
Specify a MAC (Media Access Control) address to be cleared
from the filtering database, in the format
HHHH.HHHH.HHHH.
interface <port> Specify a switch port to be cleared from the filtering
database. The 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)
instance <inst> Specify an MSTP (Multiple Spanning Tree) instance in the
range 1 to 63 to be cleared from the filtering database.
vlan <vid> Specify a VID (VLAN ID) in the range 1 to 4094 to be cleared
from the filtering database.