Enable Graceful Restart on Tenant VRF

You can enable graceful restart on each tenant VRF when you create or update a tenant VRF. Based on the endpoints present in the EPG, VRF is instantiated on the switches when you create an L3 endpoint group or transition L2 endpoint group to L3 endpoint group.

Graceful restart automatically gets configured when you configure a VRF.

About this task

Follow this procedure to enable graceful restart on tenant VRF.
Note

Note

By default, graceful restart is disabled. Default value of graceful restart is the switch default.

Procedure

  1. To enable graceful restart when you create a tenant VRF, run the following command:
    efa tenant vrf create --name <vrf-name> --tenant <tenant-name> 
          --graceful-restart=true/false
  2. To enable graceful restart on an existing tenant VRF, run the following command:
    efa tenant vrf update --name <vrf-name> --tenant <tenant-name> 
          --operation graceful-restart-update --graceful-restart=true/false
    

    The following example creates a graceful restart on tenant VRF:

    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