HPE FlexNetwork HSR6800 series Configuration Manual page 165

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

Advertisement

<RouterB> system-view
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] ip address 202.38.160.2 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure Router B to operate in preemptive mode, with the preemption delay set to 5
seconds.
[RouterB-GigabitEthernet1/0/1] vrrp vrid 1 preempt-mode timer delay 5
3.
Verify the configuration:
After the configuration, Host B can be pinged successfully on Host A. To verify your
configuration, use the display vrrp verbose command.
# Display the detailed information about VRRP group 1 on Router A.
[RouterA] display vrrp verbose
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface GigabitEthernet1/0/1
VRID
Admin Status
Config Pri
Preempt Mode
Auth Type
Virtual IP
Virtual MAC
Master IP
# Display the detailed information about VRRP group 1 on Router B.
[RouterB] display vrrp verbose
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface GigabitEthernet1/0/1
VRID
Admin Status
Config Pri
Preempt Mode
Become Master
Auth Type
Virtual IP
Master IP
The output shows that in VRRP group 1 Router A is the master, Router B is the backup and
packets sent from Host A to Host B are forwarded by Router A.
If Router A fails, you can still ping Host B successfully on Host A. To view the detailed
information about the VRRP group on Router B, use the display vrrp verbose command.
# If Router A fails, display the detailed information about VRRP group 1 on Router B.
[RouterB] display vrrp verbose
IPv4 Standby Information:
: Standard
: Virtual MAC
: 1
Adver Timer
: Up
State
: 110
Running Pri
: Yes
Delay Time
: None
: 202.38.160.111
: 0000-5e00-0101
: 202.38.160.1
: Standard
: Virtual MAC
: 1
Adver Timer
: Up
State
: 100
Running Pri
: Yes
Delay Time
: 4200ms left
: None
: 202.38.160.111
: 202.38.160.1
158
: 1
: Master
: 110
: 5
: 1
: Backup
: 100
: 5

Advertisement

Table of Contents
loading

Table of Contents