The mac-address command sets a VTEP MAC address.
The undo mac-address command deletes a VTEP MAC address.
By default, a VTEP address is a system MAC address.
Parameter | Description | Value |
---|---|---|
H-H-H |
Specifies a VTEP MAC address. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. A MAC address cannot be all 0s, all 1s, or a multicast MAC address. |
Usage Scenario
In VTEP all-active access scenarios, the NVE interfaces on all-active devices must have the same source VTEP MAC address. To set a VTEP MAC address to control the MAC extension attribute carried in EVPN BGP routes, run the mac-address command.
If no VTEP MAC address is configured, the MAC address of an NVE interface on an all-active device is the system MAC address. In this case, VTEP functions become unavailable.