跳转到内容
Ask AI

VRRP SYNC GROUP Configuration

此内容尚不支持你的语言。

[Command]

vrrp ID sync-group ID priority-dec number

[Purpose]

Add the VRRP with the specified ID to the VRRP SYNC GROUP, specify the ID of the synchronization group, and specify the downgrade interval of VRRP priority in the synchronization group. VRRP Sync Group is an advanced enhancement feature for the traditional VRRP protocol. It forcibly binds multiple VRRP instances (backup groups) on the device together, and the interface bound to each instance becomes one of the track interfaces in the synchronization group. As long as the link status of any track interface in the group changes, the priority of all other instances in the group will decrease/increase accordingly, triggering a forced follow switch between the primary and backup states. When any track interface link in the VRRP synchronization group becomes down, the priority of all other instances in the group will decrease by the size of priority dec until it reaches a minimum of 1; When the track interface link status returns to up, the priority of all other instances in the group will increase by the size of priority dec until it reaches the initial value.

[Parameter]

ParameterDescription
vrrp idValue range:1-255
sync-group idValue range:1-255
priority-dec numberValue range:10-50

[View]

Interface View

[Notes]

  1. The priority dec size of VRRP configurations that join the same VRRP sync group must be the same;
  2. VRRP that has joined the VRRP sync group must be configured in preemption mode, otherwise it cannot switch between primary and backup.

[Use Cases]

sonic(config-if-11)# vrrp 2 sync-group 1 priority-dec 20

vrrp ID track-interface [ethernet|vlan|lag] ID priority-dec number

Section titled “vrrp ID track-interface [ethernet|vlan|lag] ID priority-dec number”

[Command]

vrrp ID track-interface [ethernet|vlan|lag] ID priority-dec number

[Purpose]

Configure the specified VRRP track interface, which can be configured with Ethernet, VLAN if, and lag if interface types, and specify different priority dec sizes for the configured interface types.

[Parameter]

ParameterDescription
vrrp idValue range:1-255
IDValue range:1-255
priority-dec number numberValue range:10-50

[View]

Interface View

[Use Cases]

sonic(config-if-11)# vrrp 2 sync-group 1 priority-dec 20

[Command]

vrrp ID startup-delay delay-time

[Purpose]

This command is used to configure the startup delay time of the VRRP state machine. When the device restarts and the interface status changes from Down to Up, the VRRP instance will not immediately start sending and receiving VRRP messages for primary and backup elections, but will stay for a specified duration. After waiting for the countdown to end, VRRP officially enters the network to participate in character elections.

[Parameter]

ParameterDescription
vrrp idValue range:1-255
startup-delay delay-timeValue range:0-127

[View]

Interface View

[Use Cases]

sonic(config-if-11)# vrrp 2 startup-delay 120