Use the
peer command to
add a peer to the backup gateway list. To remove the backup gateway list, use
the
no peer
command.
Peers are ordered by
preference; the lower the sequence number, the higher the preference.
If a connection is
established with a new peer and the peer is not a part of the downloaded list,
the peer adds the downloaded list to the backup gateway list, and the existing
backup gateway list is replaced with the new list.
You can configure a
static peer and attach it to a track object. A peer is a “possible peer” if the
track object of the peer is in the UP state.
Note |
Peers that are not
attached to a track object, including peers in the downloaded list, are
classified as “possible peers” because these peers are always in the UP state.
|
The peer selection
process works as follows: when a connection is established, the gateway list is
looked up and the first possible peer is selected. A peer is selected according
to the following rule: a static peer can be associated with the track object
with a desired status (UP or DOWN). If the status of the track object matches
the configured status, the peer is said to be a “possible peer.”
Note |
If the peer is
identified by either a Domain Name Service (DNS) name or a fully qualified
domain name (FQDN), the name is resolved dynamically.
|
The peer selection
process is followed by the selection of a new peer or when the existing
criteria fail, which happens in the following scenarios:
-
The active peer
stops responding to liveness checks.
-
The DNS
resolution of the peer name fails.
-
The IKE
negotiation with the peer fails.
-
The peer is no
longer a “possible peer” (its corresponding track object goes DOWN).
Note |
When you configure multiple FlexVPN peers on a FlexVPN client and when
you clear the IKEv2 SA on the primary peer, the clearance will trigger a new
peer selection on the client.
|