Users Guide

Table Of Contents
Example
OS10(config)# interface virtual-network 10000
OS10(config-if-vn-10000)# ip vrf forwarding tenant1
OS10(config-if-vn-10000)# ip address 10.1.0.1/16
OS10(config-if-vn-10000)# no shutdown
Supported
releases
10.4.3.0 or later
ip virtual-router address
Configures an anycast gateway IP address for a VXLAN virtual network or a VLAN interface.
Syntax
ip virtual-router address ipv4address
Parameters address ipv4addressEnter the IP address of the anycast L3 gateway.
Default Not configured
Command mode
INTERFACE-VIRTUAL-NETWORK
INTERFACE-VLAN
Usage
information
Configure the same anycast gateway IP address on all VTEPs in a VXLAN virtual network or a VLAN. 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 or VLAN. The anycast gateway IP address must be in the same subnet as the IP
address of the virtual-network router.
Starting from release 10.5.2, you can use this command to configure an anycast IPv4 address for a VLAN
interface. This command allows you to configure anycast IP gateway for up to 512 VLANs. The anycast
IP address may optionally be configured with a 32-bit subnet mask. Make sure the anycast IP address
is different from the primary IP address. To assign an anycast IPv6 address to a VLAN interface, use
the ipv6 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 IP address from a VXLAN virtual network
or a VLAN interface.
Example - VXLAN
virtual network
OS10(config)# interface virtual-network 10000
OS10(config-if-vn-10000)# ip virtual-router address 10.1.0.100
Example - VLAN
interface
OS10(config)# interface vlan 100
OS10(conf-if-vl-100)# ip virtual-router address 10.10.10.3
Supported
releases
10.4.3.0 or later
10.5.2.0 or laterSupport for Interface VLAN added.
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.
890 VXLAN