Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure the Timer of the VRRP Load-Balance Protocol

In the VRRP load-balance protocol, perform the corresponding actions according to the corresponding timer, so as to maintain the relevant state.

Configuration Conditions

Before configuring the timer of the VRRP load-balance protocol, first complete the following tasks:

  • Switch the VRRP mode to the VRRP load-balance protocol mode
  • Enable the VRRP load-balance protocol group

Configure the Period Interval of the Hello Packet

The Hello packet is mainly responsible for announcing some information to the neighbors and maintaining the relationship between neighbors, so it is necessary to keep the sending periods of the Hello packets consistent among neighbors in the same group.

Table 8-6 Configure the period interval of the Hello packet

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the period interval of the Hello packet of the VRRP load-balance protocol group

vrrp vrid timers hello Hello–time [ hold Hold–time [preserved Preserved–time [delay-vote Delay-vote–time]]]

Mandatory

Configure the period interval of the Hello packet.

Here, vrid is the VRRP group number; Hello–time specifies the sending period of the Hello packet of the VRRP group; Hold–time specifies the hold time of the VRRP group neighbor; Preserved–time specifies the reserve time of the virtual MAC of the VRRP group; Delay-vote–time specifies the delay election time of the VRRP group.

Configure the Period Interval of the Keep Packet

The Keep packet is responsible for advertising the virtual MAC address of the virtual router to the L2 switch, and refreshing the L2 MAC entries of the switch.

Table 8-7 Configure the period interval of the Keep packet

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the period interval of the Keep packet of the VRRP load-balance protocol group

vrrp vrid timers keep keep-time

Mandatory

Configure the period interval of the Keep packet.

Here, vrid is the VRRP group number; Keep-time specifies the period of sending the Keep packet of the VRRP load-balance protocol group.

Configure the Zombie Timer of the Virtual MAC Address

After the owner of the virtual MAC fails, the virtual MAC will experience the reserved state, and reach the zombie state. The configuration of the zombie state needs the timer larger than the age time of the bottom terminal ARP.

Table 8-8 Configure the zombie timer of the virtual MAC address

Step

Command

Description

Enter the global configuration mode configure terminal -

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the zombie time of the virtual MAC address of the VRRP load-balance protocol group

vrrp vrid timers zombie zombie-time

Mandatory

Configure the zombie timer of the virtual MAC address.

Here, vrid is the VRRP load-balance protocol group number, and Zombie-time specifies the zombie time of the virtual MAC of the VRRP load-balanceprotocol group.

Configure the Age Timer of the Forwarding Terminal

If the terminal is not online for a long time when managing the terminal at the forwarding layer, it will be aged to release the resources occupied by the terminal, thereby refreshing the terminal table items of the group.

Table 8-9 Configure the age timer of the terminal at the forwarding layer

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the age timer of the forwarding terminal of the VRRP load-balance protocol group

vrrp vrid timers forwarding ageing forwarding-ageing-time

Mandatory

Configure the age time of the terminal at the forwarding layer.

Here, vrid is the VRRP group number, and forwarding-ageing-time specifies the age time of the terminal at the forwarding layer in the VRRP group.

Configure the Detection Timer of the Terminal at the Forwarding Layer

When managing the terminal at the forwarding layer, detect the online state of the terminal regularly, so as to update the state of the terminal at the local.

Table 8-10 Configure the detection timer of the terminal at the forwarding layer

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the detection timer of the terminal at the forwarding layer in the VRRP load-balance protocol group

vrrp vrid timers forwarding dtct forwarding-dtct-time

Mandatory

Configure the detection timer of the terminal at the forwarding layer.

Here, vrid is the VRRP load-balance protocol group number, and forwarding-dtct-time specifies the detection time of the terminal at the forwarding layer in the VRRP load-balance protocol group.