Configuring static MAC address entries
Configuration restrictions and guidelines
To ensure correct traffic forwarding, do not configure static MAC address entries for the MAC addresses of VSI interfaces.
Configuration procedure
To configure a static MAC address entry:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Add a static local-MAC address entry. | mac-address static mac-address interface interface-type interface-number service-instance instance-id vsi vsi-name | By default, VXLAN VSIs do not have static local-MAC address entries. For successful configuration, make sure the VSI has been created and the Ethernet service instance has been mapped to the VSI. |
3. Add a static remote-MAC address 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. |