When a spoke-to-hub tunnel fails, a backup tunnel is established using an NHS having the next higher priority value. Even
though the tunnel is established with an NHS of lower priority, the spoke continuously probes the NHS having the highest priority
value. Once the NHS having the highest priority value becomes active, the spoke establishes a tunnel with the NHS and hence
the NHS attains the UP state.
The table below presents NHS recovery functionality. Four NHSs belonging to cluster 1 and cluster 3 and two NHSs belonging
to the default cluster are available for setting up spoke-to-hub tunnels. All NHSes have different priorities. The maximum
connection value is set to 1. In scenario 1, NHS A4, NHS B4, and NHS 10 with the least priority in their respective clusters
associate with the spoke in establishing a tunnel. The spoke continues to probe NHSs of higher prirority to establish a connection
with the NHS having the highest priority value. Hence, in scenario 1, NHSs having the highest priority value in their respective
clusters are in the PROBE state. In scenario 2, NHS A1 is ACTIVE, forms a tunnel with the spoke, and attains the UP state.
Because NHS A1 has the highest priority, the spoke does not probe any other NHS in the cluster. Hence, all the other NHSs
in cluster1 are in the DOWN state.
When the connection with NHS B4 breaks, the spoke connects to NHS B3, which has the next higher priority value, because NHS
B1 of cluster 3 is not active. In scenario 3, NHS A1 continues to be in the UP state and NHS B1 with the highest priority
in cluster 2 becomes active, forms a tunnel, and attains the UP state. Hence, no other NHSs in cluster 2 are in the PROBE
state. However, because NHS 10 having the lowest priority value in the default cluster is in the UP state, the spoke continues
to probe NHS 9 having the highest priority in the cluster.
In scenario 4, NHS A1 and NHS B1 continue to be in the UP state and NHS 9 having the highest priority in the default cluster
attains the UP state. Hence, because the spoke is associated with the NHSs having the highest priority in all the clusters,
none of the NHSs are in the PROBE state.
Table 7. NHS Recovery Functionality
NHS
|
NHS Priority
|
Cluster
|
Maximum Number of Connections
|
Scenario
1
|
Scenario
2
|
Scenario
3
|
Scenario
4
|
NHS A1
|
1
|
1
|
1
|
PROBE
|
UP
|
UP
|
UP
|
NHS A2
|
2
|
DOWN
|
DOWN
|
DOWN
|
DOWN
|
NHS A3
|
2
|
DOWN
|
DOWN
|
DOWN
|
DOWN
|
NHS A4
|
2
|
UP
|
DOWN
|
DOWN
|
DOWN
|
NHS B1
|
1
|
3
|
1
|
PROBE
|
PROBE
|
UP
|
UP
|
NHS B2
|
10
|
PROBE
|
DOWN
|
DOWN
|
DOWN
|
NHS B3
|
10
|
PROBE
|
UP
|
DOWN
|
DOWN
|
NHS B4
|
30
|
UP
|
DOWN
|
DOWN
|
DOWN
|
NHS 9
|
Default
|
Default
|
1
|
PROBE
|
PROBE
|
PROBE
|
UP
|
NHS 10
|
100
|
UP
|
UP
|
UP
|
DOWN
|