API Guide

ip virtual-router mac-address
Configures the MAC address of an anycast L3 gateway for VXLAN or VLAN routing.
Syntax
ip virtual-router mac-address mac-address
Parameters mac-address mac-addressEnter the MAC address of the anycast L3 gateway.
Default Not configured
Command mode CONFIGURATION
Usage
information
Configure the same MAC address on all VTEPs so that the anycast gateway MAC address remains the
same if a VM migrates to a different VTEP. Because the configured MAC address is automatically used
for all VXLAN virtual networks or VLANs, configure it in global Configuration mode.
Starting from release 10.5.2, you can use this command to configure anycast MAC address all switches
use in VLAN.
The no version of the command removes the specified virtual MAC address.
Example
OS10(config)# ip virtual-router mac-address 00:01:01:01:01:01
Supported
releases
10.4.3.0 or later
ipv6 virtual-router address
Configures an anycast gateway IPv6 address to a VLAN interface.
Syntax
ipv6 virtual-router address ipv6address
Parameters address ipv6addressEnter the IPv6 address of the anycast L3 gateway.
Default Not configured
Command mode INTERFACE-VLAN
Usage
information
Using this command, you can configure anycast IP gateway for up to 512 VLANs. The anycast IP address
may optionally be configured with a 128-bit subnet mask. Make sure the anycast IP address is different
from the primary IP address. To assign an anycast IPv4 address to a VLAN interface, use the ip virtual-
router address command.
Prior to assigning the anycast IP address to a VLAN interface, configure a virtual MAC address to the
switch using the ip virtual-router mac-address command. All virtual addresses on all VLAN interfaces
resolve to the configured virtual MAC address.
The no version of the command removes the specified anycast IPv6 address from the VLAN interface.
Example
OS10(config)# interface vlan 100
OS10(conf-if-vl-100)# ipv6 virtual-router address 3001::3
Supported
releases
10.5.2.0 or later
member-interface
Assigns untagged or tagged VLAN traffic on a member interface to a virtual network.
Syntax
member-interface {ethernet node/slot/port[:subport] | port-channel number}
{vlan-tag vlan-id | untagged}
Parameters
ethernet
node/slot/
Assign the specified interface to a virtual network.
896 VXLAN