Ipv4-Based Vrrp Configuration Examples; Single Vrrp Group Configuration Example - HPE FlexNetwork HSR6800 series Configuration Manual

High availability configuration guide
Hide thumbs Also See for FlexNetwork HSR6800 series:
Table of Contents

Advertisement

Task
Clear VRRP group statistics.

IPv4-based VRRP configuration examples

Single VRRP group configuration example

Network requirements
Host A needs to access Host B on the Internet, using 202.38.160.111/24 as its default gateway.
Router A and Router B belong to VRRP group 1 with the virtual IP address of
202.38.160.111/24.
If Router A operates correctly, packets sent from Host A to Host B are forwarded by Router A. If
Router A fails, packets sent from Host A to Host B are forwarded by Router B.
Figure 44 Network diagram
Configuration procedure
1.
Configure Router A:
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ip address 202.38.160.1 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure the priority of Router A in the VRRP group 1 as 110, which is higher than that of
Router B (100), so that Router A can become the master.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 priority 110
# Configure Router A to operate in preemptive mode so that it can become the master
whenever it works correctly. Configure the preemption delay as 5 seconds to avoid frequent
status switchover.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 preempt-mode timer delay 5
2.
Configure Router B:
Command
reset vrrp ipv6 statistics
[ interface interface-type
interface-number [ vrid
virtual-router-id ] ]
157
Remarks
Available in user view.

Advertisement

Table of Contents
loading

Table of Contents