R3303-HP HSR6800 Routers Security Command Reference

517
When the primary KS detects a disconnection from a secondary KS, it informs the secondary KS of the
disconnection through hello packets. The secondary KS tries to re-establish a connection with the primary
KS if it receives the hello packet. If the connection cannot be established, primary KS re-election is
triggered.
Do not set a long hello packet sending interval. Otherwise, secondary KSs cannot timely detect a
primary KS failure or a link failure.
You can increase the value of the number argument for KSs connected to not-so-good links to avoid
unnecessary primary KS re-elections caused by link transmission failures.
Examples
# Set the redundancy hello packet sending interval to 30 seconds, and the maximum number of
consecutive failures in receiving redundancy hello packets to 3.
<Sysname> system-view
[Sysname] gdoi ks group abc
[Sysname-gdoi-ks-group-abc] redundancy hello interval 30 number 3
Related commands
display gdoi ks
redundancy retransmit
Use redundancy retransmit to configure the redundancy protocol packet retransmission interval and the
maximum number of retransmissions.
Use undo redundancy retransmit to restore the default.
Syntax
redundancy retransmit { interval interval | number number } *
undo redundancy retransmit [ interval | number ]
Default
The retransmission interval is 10 seconds, and the maximum number of retransmissions is 2.
Views
GDOI KS group view
Default command level
2: System level
Parameters
interval interval: Specifies the redundancy protocol packet retransmission interval in the range of 10 to
60 seconds.
number number: Specifies the maximum number of retransmissions, in the range of 2 to 5.
Usage guidelines
During KS election and data exchange, the local KS sends redundancy protocol packets (expect hello
packets) to peer KSs. If the local KS does not receive a response from a peer KS within the retransmission
interval, the local KS retransmits the packets to the peer KS. If the maximum number of retransmissions is
exceeded, the local KS sets the peer KS state to Down. Packets to be retransmitted include priority
requests, main advertisement packets, data mergence packets, data updates, and data synchronization
packets.