Why Is the CPU Usage High When VLANs Are Created or Deleted Through GVRP in Default Configuration?
The switch supports VLAN configuration on devices at both ends. When GVRP is enabled on the network, it advertises information about dynamic VLANs in two directions. Then the intermediate devices dynamically create and delete VLANs based on the information. Dynamic maintenance of VLANs can greatly reduce manual configurations.
The maximum 4 K dynamic VLANs are frequently created and deleted, which triggers larger amount of packet communication. Receiving packets and delivering dynamic VLANs occupy large amount of CPU resources.
In actual networking, you need to adjust GVRP timers to the recommended values.
GARP Hold timer: 100 centiseconds (1 second)
GARP Join timer: 600 centiseconds (6 seconds)
GARP Leave timer: 3000 centiseconds (30 seconds)
GARP LeaveAll timer: 12,000 centiseconds (2 minutes)
When more than 100 dynamic VLANs are created, use the preceding recommended values. When the number of dynamic VLANs increases, lengths of the GARP timers need to be increased.