Enabling vxlan local mac change logging, Configuring static remote-mac address entries, Enabling remote-mac address learning – H3C Technologies H3C S6800 Series Switches User Manual
Page 23: Configuring a multicast-mode vxlan

15
Enabling VXLAN local MAC change logging
Local-MAC change logging enables the VXLAN module to send a log message to the information center
when a local MAC address is added or removed.
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.
To enable local MAC change logging:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable local MAC
change logging.
vxlan local-mac report
By default, VXLAN local MAC
change logging is disabled.
Configuring static remote-MAC address entries
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Add a static remote
entry.
mac-address static mac-address
interface tunnel tunnel-number vsi
vsi-name
By default, VXLAN VSIs do not have
static remote-MAC address entries.
For the setting to take effect, make
sure the VSI's VXLAN has been
created and specified on the VXLAN
tunnel.
Enabling remote-MAC address learning
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enable remote-MAC
address learning.
undo vxlan tunnel mac-learning
disable
By default, remote-MAC address
learning is enabled.
When network attacks occur,
disable remote-MAC address
learning to prevent the device from
learning incorrect remote MAC
addresses.
Configuring a multicast-mode VXLAN
For a multicast-mode VXLAN to flood traffic, you must perform the following tasks in addition to
multicast-mode configuration: