API Guide

Supported
releases
10.4.3.0 or later
interface virtual-network
Configures a virtual-network router interface.
Syntax
interface virtual-network vn-id
Parameters
virtual-
network vn-id
Enter a virtual-network ID, from 1 to 65535.
Default Not configured
Command mode CONFIGURATION
Usage information Configure a virtual-network router interface to enable hosts connected to a virtual network to route traffic to
hosts on another virtual network in the same VRF. The virtual-network IP address must be unique on each VTEP,
including VTEPs in VLT pairs.
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.
Syntax
ip virtual-router address ip-address
Parameters
address ip-
address
Enter the IP address of the anycast L3 gateway.
Default Not configured
Command mode INTERFACE-VIRTUAL-NETWORK
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 routing.
Syntax
ip virtual-router mac-address mac-address
Parameters
mac-address
mac-address
Enter the MAC address of the anycast L3 gateway.
Default Not configured
VXLAN 21