virtual-gateway-esi
Syntax
virtual-gateway-esi { identifier; all-active; }
Hierarchy Level
[edit interfaces irb unit n], [edit logical-systems name interfaces irb unit]
Description
Set an Ethernet segment identifier (ESI) value for an integrated routing and bridging (IRB) interface that is configured as a Layer 3 (L3) EVPN virtual gateway.
In an EVPN-VXLAN network configuration, when you set a virtual-gateway-address for the IRB interfaces on an L3 gateway device, the device automatically generates an ESI value from the autonomous system (AS) number and the VXLAN network identifier (VNI). The device uses that ESI when advertising the virtual gateway address. The automatically generated ESI values provide load-balancing and redundancy for the virtual gateway address in the fabric. The device advertises other IRB addresses without an ESI value, so those IRB interfaces are reachable only via the advertising L3 gateway.
However, with external BGP (EBGP), the autonomous system (AS) number is
different on each of the L3 gateways, which produces different automatically
generated ESI values. You can use this virtual-gateway-esi
statement to manually configure the same ESI on all of the L3 gateway
devices, and override automatically assigning an ESI value. The device uses
this manually assigned ESI when advertising the IRB interface virtual
gateway address.
For example:
user@l3-gateway-dev# show interfaces irb unit 1 { virtual-gateway-esi { 00:11:11:11:11:11:11:11:11:45; all-active; } family inet { address 10.1.1.14/24 { virtual-gateway-address 10.1.1.10; } } } user@l3-gateway-dev# run show interfaces irb.1 extensive Logical interface irb.1 (Index 338) (SNMP ifIndex 586) (Generation 380) Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2 Virtual gateway ethernet segment value: 00:11:11:11:11:11:11:11:11:45, Mode: all-active Bandwidth: 1000mbps Routing Instance: EVPN-VXLAN-1 Bridging Domain: BD-1 . . . Generation: 607, Route table: 11 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1/24, Local: 10.1.1.14, Broadcast: 10.1.1.255, . . .
Options
identifier |
ESI value for the IRB interface. |
all-active |
Specify for the interfaces in the ESI to operate in all-active multihoming mode. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.1R1.