HPE FlexNetwork HSR6800 series Configuration Manual page 173

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

Advertisement

[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ip address 10.1.1.2 24
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1
# Set the priority of Router A in VRRP group 1 to 120, which is higher than that of Router B (110)
and that of Router C (100), so that Router A can become the master.
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 priority 120
# 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
[RouterA-GigabitEthernet1/0/1] quit
# Create track entry 1 to associate with the physical status of GigabitEthernet 1/0/2 on Router A.
When the track entry becomes negative, it means that the interface fails.
[RouterA] track 1 interface gigabitethernet 1/0/2
# Configure VF tracking to monitor track entry 1 and specify the value by which the weight
decreases, making the weight of Router A decrease by more than 245 (250 in this example)
when track entry 1 turns to negative. In such a case, another router with a higher weight can
take over.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] vrrp vrid 1 weight track 1 reduced 250
2.
Configure Router B:
# Configure VRRP to operate in load balancing mode.
<RouterB> system-view
[RouterB] vrrp mode load-balance
# Create VRRP group 1 and configure its virtual IP address as 10.1.1.1.
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] ip address 10.1.1.3 24
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1
# Set the priority of Router B in VRRP group 1 to 110, which is higher than that of Router C
(100), so that Router B can become the master when Router A fails.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 priority 110
# Set Router B to operate in preemptive mode and set the preemption delay to 5 seconds.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 preempt-mode timer delay 5
[RouterB-GigabitEthernet1/0/1] quit
# Create track entry 1 to associate with the physical status of GigabitEthernet 1/0/2 on Router B.
When the track entry becomes negative, it means that the interface fails.
[RouterB] track 1 interface gigabitethernet 1/0/2
# Configure VF tracking to monitor track entry 1 and specify the value by which the weight
decreases, making the weight of Router B decrease by more than 245 (250 in this example)
when track entry 1 turns to negative. In such a case, another router with a higher weight can
take over.
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 weight track 1 reduced 250
3.
Configure Router C:
# Configure VRRP to operate in load balancing mode.
<RouterC> system-view
[RouterC] vrrp mode load-balance
# Create VRRP group 1 and configure its virtual IP address as 10.1.1.1.
[RouterC] interface gigabitethernet 1/0/1
166

Advertisement

Table of Contents
loading

Table of Contents