18
Use
undo vxlan local-mac report
to disable local-MAC logging.
Syntax
vxlan local-mac report
undo vxlan local-mac report
Default
Local-MAC logging is disabled.
Views
System view
Predefined user roles
network-admin
context-admin
Usage guidelines
When the local-MAC logging feature is enabled, the VXLAN module immediately sends a log
message with its local MAC addresses to the information center. When a local MAC address is
added or removed, a log message is also sent to the information center to notify the local-MAC
change.
With the information center, you can set log message filtering and output rules, including output
destinations. For more information about configuring the information center, see
Network
Management and Monitoring Configuration Guide
.
Examples
# Enable local-MAC logging.
<Sysname> system-view
[Sysname] vxlan local-mac report
vxlan tunnel mac-learning disable
Use
vxlan tunnel mac-learning disable
to disable remote-MAC address learning.
Use
undo vxlan tunnel mac-learning disable
to enable remote-MAC address learning.
Syntax
vxlan tunnel mac-learning disable
undo vxlan tunnel mac-learning disable
Default
Remote-MAC address learning is enabled.
Views
System view
Predefined user roles
network-admin
context-admin
Usage guidelines
When network attacks occur, use this command to prevent the device from learning incorrect remote
MAC addresses in the data plane.