C613-50170-01 Rev B
Command Reference for x510 Series
526
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
WITCHING
C
OMMANDS
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
Example
To create log messages when the content of the FDB changes, use the command:
awplus#
mac address-table logging
Related
Commands
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