The steps in this example help in understanding how the SD-WAN provides the endpoint availability when a Branch-CPE (S1) loses connection with an SD-WAN Controller:
Versa uses IETF’s Graceful Restart (GRES) procedures to handle the failure of SD-WAN Controllers. Versa has extended this time to over 24 hours by adding a multiplier to the GRES which helps the Versa FlexVNF-Branch to retain routes which it has learned from the SD-WAN Controller for more than 24 hours.
Follow these steps to configure SD-WAN endpoint availability (based on the assumptions explained in the narration above):


admin@Branch1-cli> show orgs org-services Tenant1 ipsec vpn-profile SDWAN-Controller-Profile branch-2-branch security-associations brief Remote Gateway Transform Inbound SPI Bytes/sec Outbound SPI Bytes/sec Up Time Next Rekey Time --------------- --------- ----------- --------- ------------ --------- ------- --------------- 10.1.0.102 aes-gcm 0x50120066 0 0x50520065 0 26826 sec 577149 sec [ok][2017-08-18 07:29:58] admin@Branch1-cli>
admin@branch1-cli> exit admin@branch1:/var/log$ vsh allow-cli Enter password: CMD_MAAPI is true [mtid = 0] CMD_MAAPI is true [mtid = 18610] CMD_MAAPI is true [mtid = 18610] CMD_MAAPI is true [mtid = 0]
dmin@branch1-cli(config)% set interfaces vni-0/0 enable false [ok][2017-08-22 01:47:07]
admin@branch1-cli(config)% commit No modifications to commit. [ok][2017-08-22 01:47:09]
admin@branch1-cli(config)% run show interfaces brief vni-0/0.0 52:54:00:31:f9:71 down down 2 mpls1-Transport-VR 172.16.1.67/27 =====> vni-0/1 52:54:00:ab:e9:79 up up - -
admin@branch1-cli(config)% set interfaces vni-0/0 enable true [ok][2017-08-22 01:47:20]
admin@branch1-cli(config)% commit Commit complete. [ok][2017-08-22 01:47:23]
admin@branch1-cli(config)% run show interfaces brief NAME MAC OPER ADMIN TENANT VRF IP ----------------------------------------------------------------------------------------- vni-0/0.0 52:54:00:31:f9:71 up up 2 mpls1-Transport-VR 172.16.1.67/27 [ok][2017-08-22 01:47:27]
admin@Branch1-cli> show configuration routing-instances Tenant1-Control-VR protocols bgp graceful-restart | display set set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart enable set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart maximum-restart-time 3600 set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart recovery-time 3600 set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart select-defer-time 3600 set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart stalepath-time 3600 set routing-instances Tenant1-Control-VR protocols bgp 2 graceful-restart multiplier 72
admin@Branch1-cli> show configuration routing-instances Tenant1-Control-VR protocols bgp graceful-restart
2 {
graceful-restart {
enable;
maximum-restart-time 3600;
recovery-time 3600;
select-defer-time 3600;
stalepath-time 3600;
multiplier 72; ====================> It configures the availability to 72 Hours(72x 1 hour)
}
}