The set access-ve-mac command configures the MAC address of an L3VE interface.
The undo set access-ve-mac command restores the MAC address of an L3VE interface.
By default, the MAC address of an L3VE interface is the system bridge MAC address.
Usage Scenario
In a scenario where an L2VPN accesses an L3VPN, an L2VE interface and the sub-interface of an Eth-Trunk or portswitch interface are bound to the same local VSI. The default MAC addresses of an L3VE interface that needs to communicate with the preceding sub-interface and the sub-interface are both the system bridge's MAC address. In this case, packets that the L2VPN's CE sends to the L3VE interface will be sent to the CPU when passing through the sub-interface, and traffic will be discarded. This is because the destination MAC address of the packets is the same as the MAC address of the preceding sub-interface. To resolve this issue, run the set access-ve-mac command to modify the MAC address of the L3VE interface.
Precautions
After the set access-ve-mac command is run for multiple times, the latest MAC address takes effect.