Step
2.
Set the DSCP value for VRRP
packets.
3.
Enter the specified interface
view.
4.
Configure the authentication
mode and authentication key
when the VRRP groups send
or receive VRRP packets.
5.
Configure the time interval for
the master in the VRRP group
to send VRRP advertisement.
Displaying and maintaining VRRP for IPv6
Task
Display VRRP group status.
Display VRRP group statistics.
Clear VRRP group statistics.
IPv4-based VRRP configuration examples
Single VRRP group configuration example
Network requirements
Host A wants to access Host B on the Internet, using 202.38.160.1 1 1/24 as its default gateway.
•
•
Switch A and Switch B belong to VRRP group 1 with the virtual IP address of 202.38.160.1 1 1/24.
When Switch A operates properly, packets sent from Host A to Host B are forwarded by Switch A;
•
when Switch A fails, packets sent from Host A to Host B are forwarded by Switch B.
Command
vrrp ipv6 dscp dscp-value
interface interface-type
interface-number
vrrp ipv6 vrid virtual-router-id
authentication-mode simple
[ cipher ] key
vrrp ipv6 vrid virtual-router-id timer
advertise adver-interval
Command
display vrrp ipv6 [ verbose ] [ interface
interface-type interface-number [ vrid
virtual-router-id ] ] [ | { begin | exclude | include }
regular-expression ]
display vrrp ipv6 statistics [ interface
interface-type interface-number [ vrid
virtual-router-id ] ] [ | { begin | exclude | include }
regular-expression ]
reset vrrp ipv6 statistics [ interface interface-type
interface-number [ vrid virtual-router-id ] ]
135
Remarks
Optional.
56 by default.
N/A
Optional.
Authentication is not performed by
default.
Optional.
100 centiseconds by default.
Remarks
Available in any view
Available in any view
Available in user view