VRF: Graceful Restart (GR)

User can enable GR (graceful-restart) per tenant VRF during VRF create and VRF update operations. EFA provisions the user input GR on the switches during the instantiation and updation of VRF on the switches.

VRF is instantiated on the switches during the user triggered L3 EPG create or L2 EPG transition to L3 EPG, based on the endpoints present in the EPG.

VRF is updated on the switches during the user triggered VRF update operation, based on the endpoints present in the EPGs using this VRF.

Currently GR gets configured wherever the VRF gets configured.

Note

Note

  1. By default, the GR is disabled. Default value of GR is the switch default.
  2. Pre-EFA 2.4.0 versions have GR enabled by default.
  3. Upgrade from pre-2.4.0 to 2.4.0 retains the GR enabled for all the pre-2.4.0 VRFs.

VRF Create

efa tenant vrf create --name <vrf-name> --tenant <tenant-name> 
            --graceful-restart=true/false

VRF Update

efa tenant vrf update --name <vrf-name> --tenant <tenant-name> 
            --operation graceful-restart-update --graceful-restart=true/false

Example

efa tenant vrf create --name vrf1 --tenant tenant1
efa tenant vrf create –name vrf10 –tenant tenant1 –-graceful-restart=true

efa tenant epg create --name ten1epg1 --tenant tenant1 
           --port 10.24.80.134[0/11],10.24.80.135[0/11] 
           --switchport-mode trunk –ctag-range 11 --vrf vrf1 –anycast-ip 11:10.10.11.1/24
efa tenant epg create --name ten1epg2 --tenant tenant1 
           --port 10.24.80.134[0/12],10.24.80.135[0/12] 
           --switchport-mode trunk –ctag-range 12 --vrf vrf10 –anycast-ip 12:10.10.12.1/24
efa tenant vrf update –-name vrf1 –-tenant tenant1
           --operation graceful-restart-update –-graceful-restart=true
efa tenant vrf update --name vrf10 –-tenant tenant1
           --operation graceful-restart-update –graceful-restart=false

Switch Config

Rack1-Device1# sh run router bgp
router bgp
 local-as 4200000000!
address-family ipv4/v6 unicast vrf vrf1
  redistribute connected
  graceful-restart
 !
address-family ipv4 unicast vrf vrf10
  redistribute connected
 !
Rack1-Device2# sh run router bgp
router bgp
 local-as 4200000000!
address-family ipv4/v6 unicast vrf vrf1
  redistribute connected
    graceful-restart
 !
address-family ipv4 unicast vrf vrf10
  redistribute connected
 !