Disabling an ipv6 vrrp group, Displaying and maintaining ipv6 vrrp, Ipv4 vrrp configuration examples – H3C Technologies H3C MSR 5600 User Manual
Page 28: Single vrrp group configuration example, Network requirements
20
Disabling an IPv6 VRRP group
You can temporarily disable an IPv6 VRRP group. After being disabled, the VRRP group stays in
initialized state, and its configurations remain unchanged. You can change the configuration of a VRRP
group when it is disabled. Your changes take effect when you enable the VRRP group again.
To disable an IPv6 VRRP group:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Disable an IPv6 VRRP group. vrrp ipv6 vrid virtual-router-id
shutdown
By default, an IPv6 VRRP group is
enabled.
Displaying and maintaining IPv6 VRRP
Execute display commands in any view and the reset command in user view.
Task Command
Display the states of IPv6 VRRP
groups.
display vrrp ipv6 [ interface interface-type interface-number [ vrid
virtual-router-id ] ] [ verbose ]
Display statistics for IPv6 VRRP
groups.
display vrrp ipv6 statistics [ interface interface-type interface-number
[ vrid virtual-router-id ] ]
Clear statistics for IPv6 VRRP
groups.
reset vrrp ipv6 statistics [ interface interface-type interface-number [ vrid
virtual-router-id ] ]
IPv4 VRRP configuration examples
This section provides examples of configuring IPv4 VRRP applications on routers.
Single VRRP group configuration example
This section provides an example of configuring a single VRRP group on routers.
Network requirements
Router A and Router B form a VRRP group and use the virtual IP address 10.1.1.111/24 to provide gateway
service for the subnet where Host A resides, as shown in
Router A operates as the master to forward packets from Host A to Host B. When Router A fails, Router
B takes over to forward packets for Host A.
Configure Router A to operate in preempt mode so Router A can forward traffic as long as Router A
operates correctly. Configure the preempt delay as 5 seconds to avoid frequent status change.