The evpn mac-route enable command enables the MAC route function for BGP EVPN.
The undo evpn mac-route enable command disables the MAC route function for BGP EVPN.
By default, the MAC route function is disabled for BGP EVPN.
On a VXLAN network, if unidirectional isolation from the VXLAN access side to the tunnel side is enabled on a device using the isolate remote enable command, the device cannot learn MAC addresses through the received tunnel-side data packets. In this scenario, if communication between the access side and the tunnel side needs to be achieved, run the evpn mac-route enable command to enable the MAC route function for BGP EVPN. In this case, MAC address learning can be implemented and communication between the access side and the tunnel side can be achieved.