VRRP SYNC GROUP Configuration
此内容尚不支持你的语言。
VRRP SYNC GROUP Configuration
Section titled “VRRP SYNC GROUP Configuration”vrrp ID sync-group ID priority-dec number
Section titled “vrrp ID sync-group ID priority-dec number”[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]
| Parameter | Description |
|---|---|
| vrrp id | Value range:1-255 |
| sync-group id | Value range:1-255 |
| priority-dec number | Value range:10-50 |
[View]
Interface View
[Notes]
- The priority dec size of VRRP configurations that join the same VRRP sync group must be the same;
- 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 20vrrp 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]
| Parameter | Description |
|---|---|
| vrrp id | Value range:1-255 |
| ID | Value range:1-255 |
| priority-dec number number | Value range:10-50 |
[View]
Interface View
[Use Cases]
sonic(config-if-11)# vrrp 2 sync-group 1 priority-dec 20vrrp ID startup-delay delay-time
Section titled “vrrp ID startup-delay delay-time”[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]
| Parameter | Description |
|---|---|
| vrrp id | Value range:1-255 |
| startup-delay delay-time | Value range:0-127 |
[View]
Interface View
[Use Cases]
sonic(config-if-11)# vrrp 2 startup-delay 120