Preserve Retain Route Target All on
Boarder Leaf Devices
XCO preserves the retain route-target all
configuration on boarder leaf devices in any config sync operations (for example, any
sync refresh from XCO to IP
fabric).
In XCO 3.5.0, the retain
route-target all
configuration is applied under "l2evpn address-family"
on the spine and super-spine devices, but not on the leaf and border-leaf devices.
If you manually configure retain route-target all
as out-of-band on the border-leaf or leaf
devices, XCO detect this as a drift and reconcile..
Starting from XCO 3.6.0, for Data Center Interconnect (DCI) scenarios, ensure that
the retain route-target
all
configuration is present on the border-leaf devices. Therefore, XCO
will no longer manage the retain route-target all
configuration, specifically, on the
border-leaf devices. This means that XCO will neither configure nor detect drift and
reconcile for any retain
route-target all
configuration on the border-leaf devices, except for
non-Clos multi rack fabric.
The following table describes the
retain route-target all
configuration for a non-Clos and Clos fabric:
Fabric Type |
Device Type |
Description |
Non-Clos |
Singel Rack |
Border Leaf |
XCO does not push 'retain route-target all' on leaf or
border-leaf devices, so it disowns the 'retain route-target all'
configuration for these devices. |
Multi Rack |
Border Leaf or Leaf |
XCO preservers the 'retain route-target all' configuration,
configures it as part of the fabric configuration, and detects
and reconciles any drift during DRC. |
Clos (3-Stage or
5-Stage) |
Border Leaf |
XCO disowns the 'retain route-target all' configuration,
neither configuring it nor identifying and reconciling drift as
part of DRC. |
Example Configuration for Non-Clos Single Rack Fabric
The following is an example configuration for non-Clos single rack fabric:
efa fabric show --name common-fabric
Fabric Name: common-fabric, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| 10.64.208.22 | r1 | SW-22 | 4200065535 | BorderLeaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r1 | SW-23 | 4200065535 | BorderLeaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+-------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
Example
The following examples show the
retain route-target
all
configuration behavior in XCO 3.5.0 and 3.6.0 in a
non-Clos single
rack fabric:
- XCO 3.5.0 Behavior
XCO CONFIGURED ROUTER BGP
SLX:
SW-22# show runn router bgp
router bgp
local-as 4200065535
capability as4-enable
fast-external-fallover
neighbor 10.20.20.5 remote-as 4200065535
neighbor 10.20.20.5 next-hop-self
address-family ipv4 unicast
network 172.31.254.211/32
network 172.31.254.248/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
!
!
|
User created OOB configuration
SW-22# conf
Entering configuration mode terminal
SW-22(config)# router bgp
SW-22(config-bgp-router)# address-family l2vpn evpn
SW-22(config-bgp-evpn)# retain route-target all
SW-22(config-bgp-evpn)# ex
SW-22(config-bgp-router)# ex
SW-22(config)# ex
|
efa inventory device update –ip 10.64.208.22
efa fabric show
Fabric Name: common-fabric, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.22 | r1 | SW-22 | 4200065535 | BorderLeaf | provisioned | cfg-refreshed | BGPU | | 2 | 1 |
| 10.64.208.23 | r1 | SW-23 | 4200065535 | BorderLeaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
efa fabric configure --name common-fabric
WARNING: 'fabric configure' will result in configuration change on the devices which are in 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' state.
Please check 'fabric show' to see the 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' devices. Please confirm if you want to continue with 'fabric configure' [y/n]?
y
Validate Fabric [Success]
Configure Fabric [Success]
Please verify the fabric physical/underlay topology using 'efa fabric topology show {physical | underlay}' before attempting tenant configuration on the fabric.
--- Time Elapsed: 30.549013784s ---
SW-22# show runn router bgp
router bgp
local-as 4200065535
capability as4-enable
fast-external-fallover
neighbor 10.20.20.5 remote-as 4200065535
neighbor 10.20.20.5 next-hop-self
address-family ipv4 unicast
network 172.31.254.211/32
network 172.31.254.248/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
!
!
SW-22#
|
The “retain route-target all” configuration gets removed from the border-leaf during “efa fabric configure” or during DRC.
|
- XCO 3.6.0 Behavior
XCO CONFIGURED ROUTER BGP:
SLX:
SW-22# show runn router bgp
router bgp
local-as 4200065535
capability as4-enable
fast-external-fallover
neighbor 10.20.20.5 remote-as 4200065535
neighbor 10.20.20.5 next-hop-self
address-family ipv4 unicast
network 172.31.254.211/32
network 172.31.254.248/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
!
!
|
OOB CREATED:
SW-22# conf
Entering configuration mode terminal
SW-22(config)# router bgp
SW-22(config-bgp-router)# address-family l2vpn evpn
SW-22(config-bgp-evpn)# retain route-target all
SW-22(config-bgp-evpn)# no graceful-restart
%Warning: Please clear the neighbor session for the parameter change to take effect!
SW-22(config-bgp-evpn)# ex
SW-22(config-bgp-router)# ex
SW-22(config)# ex
|
efa inventory device update –ip 10.64.208.22
efa fabric show –name common-fabric
Fabric Name: common-fabric, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.22 | r1 | SW-22 | 4200065535 | BorderLeaf | provisioned | cfg-in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r1 | SW-23 | 4200065535 | BorderLeaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+-------------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
efa fabric configure --name common-fabric
WARNING: 'fabric configure' will result in configuration change on the devices which are in 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' state.
Please check 'fabric show' to see the 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' devices. Please confirm if you want to continue with 'fabric configure' [y/n]?
y
Validate Fabric [Success]
Configure Fabric [Success]
Please verify the fabric physical/underlay topology using 'efa fabric topology show {physical | underlay}' before attempting tenant configuration on the fabric.
--- Time Elapsed: 30.549013784s ---
SW-22# show runn router bgp
router bgp
local-as 4200065535
capability as4-enable
fast-external-fallover
neighbor 10.20.20.5 remote-as 4200065535
neighbor 10.20.20.5 next-hop-self
address-family ipv4 unicast
network 172.31.254.211/32
network 172.31.254.248/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
retain route-target all
!
!
SW-22#
|
The “retain route-target all” configuration doesn‘t get removed from the border-leaf during “efa fabric configure”.
|
- DRC
efa inventory drift-reconcile execute --ip 10.64.208.22 --reconcile
+--------------+-----------+--------------------------------------+---------+--------+
| IP ADDRESS | RECONCILE | UUID | STATUS | REASON |
+--------------+-----------+--------------------------------------+---------+--------+
| 10.64.208.22 | Yes | 580570d5-11f5-4c51-be6c-c04346181081 | Success | |
+--------------+-----------+--------------------------------------+---------+--------+
Drift and Reconcile Execute
Execute the CLI to get details : efa inventory drift-reconcile detail --uuid 580570d5-11f5-4c51-be6c-c04346181081
--- Time Elapsed: 11.348279ms ---
efa inventory drift-reconcile detail --uuid 580570d5-11f5-4c51-be6c-c04346181081
+--------------------------------+--------------------------------------+
| NAME | VALUE |
+--------------------------------+--------------------------------------+
| UUID | 580570d5-11f5-4c51-be6c-c04346181081 |
+--------------------------------+--------------------------------------+
| Device IP | 10.64.208.22 |
+--------------------------------+--------------------------------------+
| Status | success |
+--------------------------------+--------------------------------------+
| Execution Reason | manual |
+--------------------------------+--------------------------------------+
| operation | drift-and-reconcile |
+--------------------------------+--------------------------------------+
| Inventory Status | inventory-dr-success |
+--------------------------------+--------------------------------------+
| Is Inventory config Refreshed | false |
+--------------------------------+--------------------------------------+
| Inventory Duration | 19.991554ms |
+--------------------------------+--------------------------------------+
| Fabric Status | fabric-dr-success |
+--------------------------------+--------------------------------------+
| Is Fabric config Refreshed | false |
+--------------------------------+--------------------------------------+
| Fabric Duration | 33.609071659s |
+--------------------------------+--------------------------------------+
| Policy Status | policy-dr-success |
+--------------------------------+--------------------------------------+
| Is Policy config Refreshed | false |
+--------------------------------+--------------------------------------+
| Policy Duration | 104.505439ms |
+--------------------------------+--------------------------------------+
| Tenant Status | tenant-dr-success |
+--------------------------------+--------------------------------------+
| Is Tenant config Refreshed | false |
+--------------------------------+--------------------------------------+
| Tenant Duration | 129.163088ms |
+--------------------------------+--------------------------------------+
| Device Update Count | 2 |
+--------------------------------+--------------------------------------+
| Device Update Total Duration | 2m30.478250751s |
+--------------------------------+--------------------------------------+
| Maintenance Mode Disable | |
| Duration | |
+--------------------------------+--------------------------------------+
| Start Time | 2024-05-15 15:05:02 +0530 IST |
+--------------------------------+--------------------------------------+
| Last Modified | 2024-05-15 15:08:47 +0530 IST |
+--------------------------------+--------------------------------------+
| Duration | 3m45.7253427s |
+--------------------------------+--------------------------------------+
Inventory Service Response:
.
.
.
Policy Service Response:
Tenant service Response:
--- Time Elapsed: 15.230163ms ---
SLX:
SW-22# show runn router bgp
router bgp
local-as 4200065535
capability as4-enable
fast-external-fallover
neighbor 10.20.20.5 remote-as 4200065535
neighbor 10.20.20.5 next-hop-self
address-family ipv4 unicast
network 172.31.254.211/32
network 172.31.254.248/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
retain route-target all
!
!
SW-22#
|
The “retain route-target all” configuration doesn‘t get removed from the border-leaf during DRC.
|
Example Configuration for Non-Clos Multi Rack Fabric
The following is an example configuration for non-Clos multi rack fabric:
efa fabric show –name fs
Fabric Name: fs, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| 10.64.208.28 | r1 | S28 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.29 | r1 | S29 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r2 | L23 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.22 | r2 | L22 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
Example
The following examples show the
retain route-target all
configuration behavior in XCO 3.5.0 and 3.6.0 in a
non-Clos multi rack fabric:
- XCO 3.5.0 Behavior
On border leaf or leaf devices
XCO CONFIGURED ROUTER BGP
SLX:
L22# show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
retain-route-target all
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22#
|
User created OOB configuration
User removes the "retain route-target all"
L2# config
Entering configuration mode terminal
L22(config)# router bgp
L22(config-bgp-router)# address-family l2vpn evpn
L22(config-bgp-evpn)# no retain route-target all
|
efa inventory device update –ip 10.64.208.22
efa fabric show
Fabric Name: fs, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Red
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.28 | r1 | S28 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.29 | r1 | S29 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r2 | L23 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.22 | r2 | L22 | 4200065535 | borderleaf | provisioned | cfg refreshed | BGPU | | 2 | 1 |
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
efa fabric debug device drift --device-ip 10.64.208.28 --name fs --reconcile
No Drift Found hence no reconciliation required
--- Time Elapsed: 440.8283ms ---
"retain route-target all" is not configure back as part of reconcile fabric.
XCO CONFIGURED ROUTER BGP
SLX:
L22(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#
- XCO 3.6.0 Behavior
On border-leaf or leaf devices
XCO CONFIGURED ROUTER BGP
SLX:
L22# show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
retain route-target all
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22#
|
OOB CREATED:
User removes the "retain route-target all"
L2# config
Entering configuration mode terminal
L22(config)# router bgp
L22(config-bgp-router)# address-family l2vpn evpn
L22(config-bgp-evpn)# no retain route-target all
|
efa inventory device update –ip 10.64.208.22
efa fabric show
Fabric Name: fs, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Red
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.28 | r1 | S28 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.29 | r1 | S29 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r2 | L23 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.22 | r2 | L22 | 4200065535 | borderleaf | provisioned | cfg refreshed | BGPU | | 2 | 1 |
+--------------+------+-----------+------------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
drc with reconcile.
efa fabric debug device drift --device-ip 10.64.208.22 --name fs --reconcile
Config Drift: Router BGP
+--------+---------------+---------------------------------+
| TYPE | APP STATE | CHILD CONFIG |
+--------+---------------+---------------------------------+
| Global | cfg-in-sync | BgpDynamicPeerListenLimit |
| Global | cfg-in-sync | PeerGroupInfo |
| Global | cfg-in-sync | BgpNeighbor |
| Global | cfg-in-sync | BgpMCTBFDNeighbor |
| Global | cfg-in-sync | BgpMCTNeighbor |
| Global | cfg-in-sync | RouterID |
| Global | cfg-in-sync | LocalAsn |
| Global | cfg-in-sync | FastExternalFallOver |
| Global | cfg-in-sync | CapabilityAs4Enable |
| Global | cfg-in-sync | BgpIPV4Network |
| Global | cfg-in-sync | BgpIPV4NetworkGracefulRestart |
| Global | cfg-in-sync | BgpL2EVPNNetworkGracefulRestart |
| Global | cfg-refreshed | BgpL2EVPNRetainRtAll |
| Global | cfg-in-sync | BgpIPV4NetworkMaxPath |
+--------+---------------+---------------------------------+
+-------------+---------+-------+
| CONFIG TYPE | STATUS | ERROR |
+-------------+---------+-------+
| routerbgp | Success | |
+-------------+---------+-------+
$ efa fabric show --name fs
Fabric Name: fs, Fabric Description: , Fabric Type: non-clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | RACK | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| 10.64.208.28 | r1 | S28 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.29 | r1 | S29 | 4200000000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | r2 | L23 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.22 | r2 | L22 | 4200065535 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+------+-----------+------------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
XCO CONFIGURED ROUTER BGP
SLX:
L22(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
retain route-target all
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#
|
"retain route-target all" is configured back as part of reconcile fabric.
|
Example Configuration for Clos Fabric
The following is an example configuration for a Clos fabric:
efa fabric show --name stage5
Fabric Name: stage5, Fabric Description: , Fabric Stage: 5, Fabric Type: clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-----------+-----------+-------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | POD | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-----------+-----------+-------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
| 10.64.208.29 | podstage5 | S29 | 64769 | superspine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.28 | pod3 | S28 | 64512 | spine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.22 | pod3 | L22 | 65000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | pod3 | L23 | 66000 | borderleaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
+--------------+-----------+-----------+-------+------------+--------------+-------------+-------------------+-----------------+---------+-------+
Example
The following examples show the
retain route-target all
configuration behavior in XCO 3.5.0 and 3.6.0 in a
Clos fabric:
- XCO 3.5.0 Behavior
On border leaf devices
XCO CONFIGURED ROUTER BGP
SLX:
L22(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#
|
User Created OOB Configurations:
"retain route-target all"
L2# config
Entering configuration mode terminal
L22(config)# router bgp
L22(config-bgp-router)# address-family l2vpn evpn
L22(config-bgp-evpn)# retain route-target all
|
efa inventory device update –ip 10.64.208.23
efa fabric show
Fabric Name: stage5, Fabric Description: , Fabric Stage: 5, Fabric Type: clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | POD | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.29 | podstage5 | S29 | 64769 | superspine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.28 | pod3 | S28 | 64512 | spine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.22 | pod3 | L22 | 65000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | pod3 | L23 | 66000 | borderleaf | provisioned | cfg refreshed | BGPU | | 2 | 1 |
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
efa fabric configure --name stage5
WARNING: 'fabric configure' will result in configuration change on the devices which are in 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' state.
Please check 'fabric show' to see the 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' devices. Please confirm if you want to continue with 'fabric configure' [y/n]?
y
Validate Fabric [Success]
Configure Fabric [Success]
Please verify the fabric physical/underlay topology using 'efa fabric topology show {physical | underlay}' before attempting tenant configuration on the fabric.
--- Time Elapsed: 30.549013784s ---
"retain route-target all" is removed as part of configure fabric.
SLX:
L22# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#
- XCO 3.6.0 Behavior
On border-leaf or leaf devices
SLX:
L23(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L23(config-bgp-evpn)#
|
User Created OOB Configurations:
"retain route-target all"
L2# config
Entering configuration mode terminal
L22(config)# router bgp
L22(config-bgp-router)# address-family l2vpn evpn
L22(config-bgp-evpn)# retain route-target all
|
efa inventory device update –ip 10.64.208.23
efa fabric show
Fabric Name: stage5, Fabric Description: , Fabric Stage: 5, Fabric Type: clos, Fabric Status: configure-success, Fabric Health: Green
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| IP ADDRESS | POD | HOST NAME | ASN | ROLE | DEVICE STATE | APP STATE | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
| 10.64.208.29 | podstage5 | S29 | 64769 | superspine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.28 | pod3 | S28 | 64512 | spine | provisioned | cfg in-sync | NA | NA | NA | 1 |
| 10.64.208.22 | pod3 | L22 | 65000 | leaf | provisioned | cfg in-sync | NA | NA | 2 | 1 |
| 10.64.208.23 | pod3 | L23 | 66000 | borderleaf | provisioned | cfg refreshed | BGPU | | 2 | 1 |
+--------------+-----------+-----------+-------+------------+--------------+---------------+-------------------+-----------------+---------+-------+
efa fabric configure --name stage5
WARNING: 'fabric configure' will result in configuration change on the devices which are in 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' state.
Please check 'fabric show' to see the 'cfg refreshed' or 'fabric setting refreshed' or 'cfg refresh error' devices. Please confirm if you want to continue with 'fabric configure' [y/n]?
y
Validate Fabric [Success]
Configure Fabric [Success]
Please verify the fabric physical/underlay topology using 'efa fabric topology show {physical | underlay}' before attempting tenant configuration on the fabric.
--- Time Elapsed: 30.549013784s ---
"retain route-target all" is not removed as part of configure fabric that is expected.
XCO CONFIGURED ROUTER BGP
SLX:
L23(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
retain route-target all
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#
efa fabric debug device drift --device-ip 10.64.208.28 --name stage5 --reconcile
No Drift Found hence no reconciliation required
--- Time Elapsed: 440.8283ms ---
"retain route-target all" is not removed as part of reconcile, that is expected.
XCO CONFIGURED ROUTER BGP
SLX:
L23(config-bgp-evpn)# do show running-config router bgp address-family l2vpn evpn
router bgp
address-family l2vpn evpn
graceful-restart
retain route-target all
neighbor overlay-ebgp-group encapsulation vxlan
neighbor overlay-ebgp-group next-hop-unchanged
neighbor overlay-ebgp-group activate
!
!
L22(config-bgp-evpn)#