< Home

set vrrp max-group-number

Function

The set vrrp max-group-number command sets the maximum number of allowed VRRP groups (sum of VRRP4 and VRRP6 groups).

The undo set vrrp max-group-number command restores the default maximum number of allowed VRRP groups.

By default, a maximum of 64 VRRP groups can be configured.

Format

set vrrp max-group-number max-group-number

undo set vrrp max-group-number

Parameters

Parameter

Description

Value

max-group-number

Specifies the maximum number of allowed VRRP groups.

Enumerated type. The values are as follows:
  • S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S: 64, 128, 192, 256, 320, 384, 448, 512, or 1000
  • S5720-EI, S6720S-EI, and S6720-EI: 64, 128, 192, 256, 320, or 384
  • S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720S-SI, and S6720-SI: 64, 128, 192, or 256
  • S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI: 64 or 128

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When more than 64 VRRP groups need to be configured, run this command to set the maximum number of allowed VRRP groups.

Precautions

  • You are not advised to configure more than 64 VRRP groups.

  • When more than 64 VRRP groups are configured, to reduce the frequency of sending VRRP Advertisement packets and the impact of VRRP Advertisement packets on network bandwidth and CPU performance, perform one of the following operations as prompted in addition to executing the set vrrp max-group-number command (You are advised to configure an mVRRP group):

    • Run the vrrp vrid timer advertise command to increase the interval for sending VRRP Advertisement packets, and run the cpu-defend dynamic-car enable command to enable a switch to dynamically adjust the default CIR value for protocol packets.
    • Run the vrrp vrid timer advertise command to increase the interval for sending VRRP Advertisement packets, and run the

      car { packet-type packet-type | user-defined-flow flow-id } cir cir-value [ cbs cbs-value ]

      command to increase the CPCAR for VRRP Advertisement packets. Adjust the CPCAR value as prompted. Improper CPCAR settings will affect services on your network.

    • Run the admin-vrrp vrid command to configure an mVRRP group.
    • For the S5730-SI, S5730S-EI, S6720-SI, and S6720S-SI:

      • When the number of VRRP groups on the device exceeds a specified value, ACL resources are occupied. In this situation, MAC mirroring may become invalid.

      • When a VRRP group is configured for a super-VLAN, the device delivers virtual MAC address entries corresponding to sub-VLANs of the super-VLAN. This occupies many resources. When configuring a VRRP group for a super-VLAN, pay attention to the following points:
        • The VRRP group can be configured for a maximum of 16 super-VLANs on the device.

        • The device allows a maximum of 312 virtual MAC address entries for VRRP. For example, there are 10 sub-VLANs in super-VLAN 100. When a VRRP group is configured on VLANIF 100, 11 virtual MAC address entries are occupied (1 super-VLAN + 10 sub-VLANs).

Example

# Set the maximum number of allowed VRRP groups to 192.

<HUAWEI> system-view
[HUAWEI] set vrrp max-group-number 192
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >