HP 4800G Series Configuration Manual page 1469

24/48 port
Table of Contents

Advertisement

[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure the authentication mode of the VRRP group as simple and authentication key as hello.
[SwitchB-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello
# Set the interval for Master to send VRRP advertisement to five seconds.
[SwitchB-Vlan-interface2] vrrp vrid 1 timer advertise 5
3)
Verify the configuration
After the configuration, Host B can be pinged successfully on Host A. You can use the display vrrp
verbose command to verify the configuration.
# Display detailed information of VRRP group 1 on Switch A.
[SwitchA-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Method
: VIRTUAL-MAC
Total number of virtual routers: 1
Interface
: Vlan-interface2
VRID
: 1
Admin Status
: UP
Config Pri
: 110
Preempt Mode
: YES
Auth Type
: SIMPLE TEXT
Track IF
: Vlan3
Virtual IP
: 202.38.160.111
Virtual MAC
: 0000-5e00-0101
Master IP
: 202.38.160.1
# Display detailed information of VRRP group 1 on Switch B.
[SwitchB-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Method
: VIRTUAL-MAC
Total number of virtual routers: 1
Interface
: Vlan-interface2
VRID
: 1
Admin Status
: UP
Config Pri
: 100
Preempt Mode
: YES
Auth Type
: SIMPLE TEXT
Virtual IP
: 202.38.160.111
Master IP
: 202.38.160.1
The above information indicates that in VRRP group 1 Switch A is the master, Switch B is the backup
and packets sent from Host A to Host B are forwarded by Switch A.
If interface VLAN-interface 3 through which Switch A connects to the Internet is not available, you can
still ping Host B successfully on Host A. Use the display vrrp verbose command to view the detailed
information of the VRRP group.
# If VLAN-interface 3 on Switch A is not available, the detailed information of VRRP group 1 on Switch A
is displayed.
[SwitchA-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Adver. Timer
: 5
State
: Master
Run Pri
: 110
Delay Time
: 0
Key
: hello
Pri Reduced
: 30
Adver. Timer
: 5
State
: Backup
Run Pri
: 100
Delay Time
: 0
Key
: hello
1-21

Advertisement

Chapters

Table of Contents
loading

Table of Contents