(Optional) Setting the Mode in Which VRRP Advertisement Packets Are Sent in a Super-VLAN
Context
When a VRRP group is configured in a super-VLAN, configure VRRP Advertisement packets to be sent to a specified sub-VLAN. This configuration ensures that Advertisement packets are not broadcast in all sub-VLANs, reducing the demand for network bandwidth.
Procedure
- Run system-view
The system view is displayed.
- Run interface vlanif vlan-id
The VLANIF interface view is displayed.
- Run vrrp advertise send-mode { sub-vlan-id | all }
A mode in which VRRP Advertisement packets are sent in a super-VLAN is set.
By default, the master sends VRRP Advertisement packets to a sub-VLAN that is Up and has the smallest VLAN ID in a super-VLAN.
If sub-vlan-id is specified, the master sends VRRP Advertisement packets to a specified sub-VLAN.
If all is specified, the master broadcasts VRRP Advertisement packets to all sub-VLANs of a super-VLAN.
If all is specified, the master broadcasts VRRP Advertisement packets to all sub-VLANs of a super-VLAN, increasing the CPU usage. Therefore, do not specify all.