HP A5830 series Configuration Manual page 169

High availability
Hide thumbs Also See for A5830 series:
Table of Contents

Advertisement

# Set the authentication mode of VRRP group 1 to simple, and the authentication key to hello.
[SwitchB-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello
# Configure the master to send VRRP packets at an interval of five seconds.
[SwitchB-Vlan-interface2] vrrp vrid 1 timer advertise 5
# Configure Switch B to work in preemptive mode, and set the preemption delay to five seconds.
[SwitchB-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
Verify the configuration.
6.
After configuration, ping Host B on Host A, and you can see that Host B is reachable. Use the display
vrrp command to view the configuration result.
# Display detailed information about VRRP group 1 on Switch A.
[SwitchA-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface Vlan-interface2
VRID
Admin Status
Config Pri
Preempt Mode
Auth Type
Virtual IP
Virtual MAC
Master IP
VRRP Track Information:
Track Object
# Display detailed information about VRRP group 1 on Switch B.
[SwitchB-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface Vlan-interface2
VRID
Admin Status
Config Pri
Preempt Mode
Become Master
Auth Type
Virtual IP
Master IP
The output shows that in VRRP group 1, Switch A is the master, and Switch B is a backup. Packets from
Host A to Host B are forwarded through Switch A.
When a fault is on the link between Switch A and Switch C, you can still successfully ping Host B on
Host A. Use the display vrrp command to view information about VRRP group 1.
: Standard
: Virtual MAC
: 1
Adver Timer
: Up
State
: 110
Running Pri
: Yes
Delay Time
: Simple
Key
: 10.1.1.10
: 0000-5e00-0101
: 10.1.1.1
: 1
State : Positive
: Standard
: Virtual MAC
: 1
Adver Timer
: Up
State
: 100
Running Pri
: Yes
Delay Time
: 2200ms left
: Simple
Key
: 10.1.1.10
: 10.1.1.1
169
: 5
: Master
: 110
: 5
: hello
Pri Reduced : 30
: 5
: Backup
: 100
: 5
: hello

Advertisement

Table of Contents
loading

Table of Contents