virtual-mac

Enables generation of a virtual MAC with 0 IP hash.

Syntax

virtual-mac virtual_mac_address

Parameters

virtual_mac_address
Specifies a virtual MAC address.

Modes

VRRP-Extended group configuration mode

Usage Guidelines

The distributed VXLAN gateway functionality depends on VRRP-E for multi-homing. By default, the VRRP-E virtual MAC is derived as 02:e0:52:<2-byte-ip-hash>:<1-byte-vrid>. The VXLAN gateway requires that the virtual MAC be a function of only VRID. The two-byte hash of the virtual IP should be set to zeros, for example, 02e0.5200.00xx:100.

Examples

To enable the generation of a virtual MAC:

device# configure terminal
device(config)# interface ve 10
device(config-Ve-10)# vrrp-extended-group 100
device(config-vrrp-extended-group-100)# virtual-mac 02e0.5200.00xx:100