vrrp advertise send-mode
Function
The vrrp advertise send-mode command configures the mode in which the master sends VRRP Advertisement packets in a Super-VLAN.
The undo vrrp advertise send-mode command restores the default mode in which the master sends VRRP Advertisement packets in a Super-VLAN.
By default, the master sends VRRP Advertisement packets to a Sub-VLAN that is Up and has the smallest VLAN ID in the Super-VLAN.
Parameters
Parameter | Description | Value |
---|---|---|
sub-vlan-id | Specifies the ID of a Sub-VLAN where the master sends VRRP Advertisement packets. | The value is an integer that ranges from 1 to 4094. |
all | Indicates that the master sends VRRP Advertisement packets to all Sub-VLANs in a Super-VLAN. | - |
Usage Guidelines
When a VRRP group is configured in a Super-VLAN, run the vrrp advertise send-mode command to configure the master to send VRRP Advertisement packets to a specified Sub-VLAN or all Sub-VLANs in the Super-VLAN. If a Super-VLAN has many Sub-VLANs, to save bandwidth, configure the master to send VRRP Advertisement packets to a specified Sub-VLAN.
PrerequisitesA VRRP group has been configured on the VLANIF interface corresponding to the Super-VLAN.
PrecautionsIf all is specified, the master broadcasts VRRP Advertisement packets to all Sub-VLANs of a Super-VLAN. This causes CPU usage to increase.
Example
# Configure the master to broadcast VRRP Advertisement packets to all Sub-VLANs in Super-VLAN 100.
<AC6605> system-view [AC6605] vlan 100 [AC6605-vlan100] aggregate-vlan [AC6605-vlan100] quit [AC6605] interface vlanif 100 [AC6605-Vlanif100] vrrp vrid 1 virtual-ip 10.10.10.10 [AC6605-Vlanif100] vrrp advertise send-mode all