HP MSR Series Configuration Manual page 41

High availability
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Configuration procedure
1.
Configure Router A:
# Specify an IP address for Router A.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 10.1.1.1 255.255.255.0
# Create VRRP group 1 on GigabitEthernet 2/0/1 and set its virtual IP address to 10.1.1.111.
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 virtual-ip 10.1.1.111
# Assign Router A a higher priority than Router B in VRRP group 1, so Router A can become the
master.
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 priority 110
# Configure Router A to operate in preemptive mode, so it can become the master whenever it
operates correctly. Set the preemption delay to 5 seconds to avoid frequent status switchover.
[RouterA-GigabitEthernet2/0/1] vrrp vrid 1 preempt-mode delay 5
2.
Configure Router B:
# Specify an IP address for Router A.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ip address 10.1.1.2 255.255.255.0
# Create VRRP group 1 on GigabitEthernet 2/0/1 and set its virtual IP address to 10.1.1.111.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 virtual-ip 10.1.1.111
# Set the priority of Router B to 100 in VRRP group 1.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 priority 100
# Configure Router B to operate in preemptive mode, and set the preemption delay to 5 seconds.
[RouterB-GigabitEthernet2/0/1] vrrp vrid 1 preempt-mode delay 5
Verifying the configuration
# Ping Host B from Host A. (Details not shown.)
# Display detailed information about VRRP group 1 on Router A.
[RouterA-GigabitEthernet2/0/1] display vrrp verbose
IPv4 Virtual Router Information:
Running Mode
Total number of virtual routers : 1
Interface GigabitEthernet2/0/1
VRID
Admin Status
Config Pri
Preempt Mode
Auth Type
Virtual IP
Virtual MAC
Master IP
# Display detailed information about VRRP group 1 on Router B.
[RouterB-GigabitEthernet2/0/1] display vrrp verbose
IPv4 Virtual Router Information:
: Standard
: 1
: Up
: 110
: Yes
: None
: 10.1.1.111
: 0000-5e00-0101
: 10.1.1.1
Adver Timer
: 100
State
: Master
Running Pri
: 110
Delay Time
: 5
36

Advertisement

Table of Contents
loading

Table of Contents