C613-50631-01 Rev A Command Reference for IE340 Series 585
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SWITCHING COMMANDS
MAC
ADDRESS-TABLE LOGGING
mac address-table logging
Overview Use this command to create log entries when the content of the FDB (forwarding
database) changes. Log messages are produced when a MAC address is added to
or removed from the FDB.
CAUTION: MAC address table logging may impact the performance of the switch. Only
enable it when necessary as a debug tool.
Use the no variant of this command to stop creating log entries when the content
of the FDB changes.
Syntax
mac address-table logging
no mac address-table logging
Default MAC address table logging is disabled by default.
Mode User Exec/Privileged Exec
Usage When MAC address table logging is enabled, the switch produces the following
messages:
Note that rapid changes may not be logged. For example, if an entry is added and
then removed within a few seconds, those actions may not be logged.
To see whether MAC address table logging is enabled, use the command show
running-config.
Example To create log messages when the content of the FDB changes, use the command:
awplus# mac address-table logging
Related
commands
show running-config
Change Message format Example
MAC added MAC add <mac> <port> <vlan> MAC add eccd.6db5.68a7 port1.0.1 vlan2
MAC removed MAC remove <mac> <port> <vlan> MAC remove eccd.6db5.68a7 port1.0.1 vlan2