How do I configure MSTP and VRRP on an S series switch

16

An S series switch (except the S1700) connected to user terminals cannot forward VRRP packets (because discarding unknown multicast packets is configured, for example), or the links that VRRP packets (heartbeat packets) pass through are faulty or unstable. To address such problems, configure a heartbeat line between two switches to transmit VRRP packets.
Loops may occur between the two switches after the heartbeat line is configured. Therefore, you need to configure a loop prevention protocol such as STP or MSTP to prevent loops.
For details on how to configure VRRP and MSTP, see topic Example for Configuring MSTP and VRRP in section "Typical Examples of MSTP/RRPP/SEP/VBST" at S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples. The configuration method for the S9300 is the same as that for other switch models.
When configuring VRRP on a switch separately, STP does not need to be disabled.

Other related questions:
How do I configure VRRP load balancing on an S series switch
To configure VRRP load balancing on an S series switch (except the S1700), see section "Typical Reliability Configuration" at S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples. The configuration method for the S9300 is the same as that for other switch models.

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

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top