VPF HA State Data Synchronization

With the filter and NAT rules in place the next step is to configure VPF HA importer and exporter definitions for each node so they can exchange state data.

Primary Node

Configure the VPF HA importer and exporter on R1:

r1 tnsr(config)# vpf ha
r1 tnsr(config-vpf-ha)# importer local-address 10.28.1.1 local-port 8000
                                 remote-address 10.28.1.2 remote-port 9000
r1 tnsr(config-vpf-ha)# exporter local-address 10.28.1.1 local-port 9000
                                 remote-address 10.28.1.2 remote-port 8000 mtu 1500
r1 tnsr(config-vpf-ha)# exit

Secondary Node

Configure the VPF HA importer and exporter on R2:

r2 tnsr(config)# vpf ha
r2 tnsr(config-vpf-ha)# importer local-address 10.28.1.2 local-port 8000
                                 remote-address 10.28.1.1 remote-port 9000
r2 tnsr(config-vpf-ha)# exporter local-address 10.28.1.2 local-port 9000
                                 remote-address 10.28.1.1 remote-port 8000 mtu 1500
r2 tnsr(config-vpf-ha)# exit