How to configure VRRP on CE series switches

# Create VRRP group 1 on the master device. Set the priority of the master device in the VRRP group to 120 and set the preemption time to 20s.
<HUAWEI>system-view
[~HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*HUAWEI-Vlanif100] vrrp vrid 1 priority 120
[*HUAWEI-Vlanif100] vrrp vrid 1 preempt timer delay 20
[*HUAWEI-Vlanif100] commit
[~HUAWEI-Vlanif100] quit
# Create VRRP group 1 on the backup device and retain the default priority 100 for the device.
system-view
[~HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*HUAWEI-Vlanif100] commit
[~HUAWEI-Vlanif100] quit

Scroll to top