API Guide

Usage
information
In deployments running BGP with 2-byte or 4-byte autonomous systems, auto-EVI automatically creates
EVPN instances when you create a virtual network on a VTEP in the overlay network. In auto-EVI mode,
the RD and RT values automatically generate:
For a 2-byte autonomous system:
The RD auto-configures as Type 1 from the overlay network source IP address and the auto-
generated EVI index.
The RT auto-configures as Type 0 from the 2-byte AS and the 3-byte VNIType encoded as
0x0002.
For a 4-byte autonomous system:
The RD auto-configures as Type 1 from the overlay network source IP address and the auto-
generated EVI index.
The RT auto-configures as Type 2 from the 4-byte AS and the 2-byte EVIType encoded as
0x0202.
Example
OS10(config)# evpn
OS10(config-evpn)# auto-evi
Supported
releases
10.4.2.0 or later
evi
Creates an EVPN instance (EVI) in EVPN mode.
Syntax
evi id
Parameters
id
Enter the EVPN instance ID, from 1 to 65535.
Default Not configured
Command mode EVPN
Usage
information
If an MP-BGP network uses 4-byte autonomous systems or to specify the RD and RT values, manually
configure EVPN instances and associate each EVI with the overlay VXLAN virtual network. The EVI
activates only when you configure the VXLAN network ID (VNI), RD, RT, and virtual network.
Example
OS10(config)# evpn
OS10(config-evpn)# evi 10
OS10(config-evpn-evi)#
Supported
releases
10.4.2.0 or later
evpn
Enables the EVPN control plane for VXLAN.
Syntax
evpn
Parameters None
Default Not configured
Command mode CONFIGURATION
Usage
information
Enabling EVPN triggers BGP to advertise EVPN capability with AFI=25 and SAFI=70 to all BGP peers in
an autonomous system. The no version of this command disables EVPN on the switch.
Example
OS10(config)# evpn
OS10(config-evpn)#
VXLAN 935