API Guide

Table Of Contents
Usage
information
Configure the same anycast gateway IP address on all VTEPs in a VXLAN virtual network. Use the
anycast gateway IP address as the default gateway IP address if the host VMs move from one VTEP to
another in a VXLAN. The anycast gateway IP address must be in the same subnet as the IP address of the
virtual-network router interface.
Example
OS10(config)# interface virtual-network 10000
OS10(config-if-vn-10000)# ip virtual-router address 10.1.0.100
Supported
releases
10.4.3.0 or later
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
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/
port[:subport
]
Assign the specified interface to a virtual network.
port-channel
number
Assign the specified port channel to a virtual network.
untagged
Assign untagged traffic on an interface or port channel to a virtual network.
vlan-tag
vlan-id
Assign tagged traffic on the specified VLAN to a virtual network.
Default Not configured
Command mode VIRTUAL-NETWORK
Usage
information
Use this command to assign traffic on the same VLAN or interface to different virtual networks. The no
version of this command removes the configured value.
22 VXLAN