R3303-HP HSR6800 Routers High Availability Configuration Guide

163
Configuration procedure
To configure VRRP packet attributes:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter the specified interface
view.
interface interface-type
interface-number
N/A
3. Configure the authentication
mode and authentication key
when the VRRP groups send
or receive VRRP packets.
vrrp ipv6 vrid virtual-router-id
authentication-mode simple
[ cipher ] key
Optional.
Authentication is not performed by
default.
4. Configure the time interval for
the master in the VRRP group
to send VRRP advertisement.
vrrp ipv6 vrid virtual-router-id timer
advertise adver-interval
Optional.
100 centiseconds by default.
Displaying and maintaining VRRP for IPv6
Task Command
Remarks
Display VRRP group status.
display vrrp ipv6 [ verbose ]
[ interface interface-type
interface-number [ vrid
virtual-router-id ] ] [ | { begin |
exclude | include }
regular-expression ]
Available in any view.
Display VRRP group statistics.
display vrrp ipv6 statistics
[ interface interface-type
interface-number [ vrid
virtual-router-id ] ] [ | { begin |
exclude | include }
regular-expression ]
Available in any view.
Clear VRRP group statistics.
reset vrrp ipv6 statistics [ interface
interface-type interface-number
[ vrid virtual-router-id ] ]
Available in user view.
IPv4-based VRRP configuration examples
Single VRRP group configuration example
Network requirements
Host A needs to access Host B on the Internet, using 202.38.160.111/24 as its default gateway.
Router A and Router B belong to VRRP group 1 with the virtual IP address of 202.38.160.111/24.
If Router A operates correctly, packets sent from Host A to Host B are forwarded by Router A. If
Router A fails, packets sent from Host A to Host B are forwarded by Router B.