Configure the Keepalive Parameters
Configuration Condition
Before configuring the Keepalive parameters, first complete the following task:
Configure Source, Destination Address and Other Parameters of Keepalive Packet
To establish the MLAG system correctly, the source and destination addresses of keepalive packet must be configured, and the L3 layer between two nodes is reachable.
The VLAN corresponding to the L3 interface to which the source IP address of the keepalive packet belongs cannot be included in the VLAN where the peer link interface is located.
Table 13-12 Configure the source, destination address and other parameters of the Keepalive packet
Step |
Command |
Description |
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the MLAG domain configuration mode.
|
mlag domain domain-id
|
-
|
Configure the source, destination addresses and other parameters of the Keepalive packet
|
keepalive ip destination ipv4_address source ipv4_address [udp-port udp-number] [vrf vrf_name]
|
Mandatory
By default, the udp- port is 53910, VRF name is global, udp- port range is 1-65535, and VRF name supports up to 31 characters.
|
Configure Sending Interval and Receiving Timeout of the Keepalive Packet
When receiving the previous keepalive packet or when starting to listen, start the receiving timeout timer with the receiving timeout. If the timer does not receive the next keepalive packet before the expiration, it is considered as LOST.
Table 13-13 Configure the sending interval and receiving timeout of the Keepalive packet
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the MLAG domain configuration mode.
|
mlag domain domain-id
|
-
|
Configure the sending interval and receiving timeout of the Keepalive packet
|
keepalive interval mseconds [timeout seconds]
|
Optional
By default, the transmission interval of keepalive packet is 1000ms, the receiving timeout of keepalive packet is 6s, the sending interval range of keepalive packet is 100-10000, and the receiving timeout of keepalive packet is 1- 20s
|
Configure the Quiet Time of the Keepalive Packet
After the peer-link is down, the slave node enters the quiet period. The keepalive packets received during the quiet period will be ignored and will not be processed. The keepalive packets received after the quiet period will be processed. The quiet period is to wait for the keepalive packets on the link to be received and sent completely, so as to prevent false detection due to packet delay.
Table 13-14 Configure the quiet time of the Keepalive packet
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the MLAG domain configuration mode.
|
mlag domain domain-id
|
-
|
Configure the quiet time of the Keepalive packet
|
keepalive quiet-time mseconds
|
Optional
By default, the quiet period of the Keepalive packet is 1000ms, and the value range of the quiet time is 1- 10000ms.
|