The undo mac-address dynamic vni command deletes static or dynamic MAC addresses of a VXLAN.
undo mac-address dynamic [ mac-address ] vni { vni-id [ peer ip-address ] | all | peer ip-address }
| Parameter | Description | Value |
|---|---|---|
| dynamic | Indicates dynamic MAC address entries, which are learned based on source MAC addresses. Dynamic MAC address entries can be aged based on a specified aging time. Such entries will be lost after the system is reset or the LPU is hot-swapped. | - |
| vni vni-id | Specifies a VNI. | The specified VNI must already exist. |
| peer ip-address | Specifies the IP address of the peer VTEP. | - |
| all | Clears all MAC addresses. | - |
You can run this command to delete MAC address entries: