The local mac-only-route no-generate command disables the device from generating EVPN MAC routes when both MAC address entries and ARP/ND entries contain local MAC addresses.
The undo local mac-only-route no-generate command restores the default configuration.
By default, EVPN MAC routes are generated when both MAC address entries and ARP/ND entries contain local MAC addresses.
Usage Scenario
If a MAC address entry and an ARP/ND entry on the local gateway both contain the local MAC address in EVPN scenarios, the gateway generates both an EVPN MAC/IP route and an EVPN MAC route by default. To optimize memory utilization, perform this step so that the gateway generates only a MAC/IP route. To ensure normal Layer 2 traffic forwarding, also run the mac-ip route generate-mac command on the peer gateway to enable the function to generate MAC address entries based on MAC/IP routes.