R21xx-HP FlexFabric 11900 Series High Availability Command Reference

82
Examples
# Associate IPv6 VRRP group 1 on VLAN-interface 2 with track entry 1 and decrease the priority of the
router in the VRRP group by 50 when the state of track entry 1 changes to negative.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp ipv6 vrid 1 track 1 reduced 50
Related commands
display vrrp ipv6
vrrp ipv6 vrid virtual-ip
Use vrrp ipv6 vrid virtual-ip to create an IPv6 VRRP group and assign a virtual IPv6 address to the VRRP
group or assign a virtual IPv6 address to an existing IPv6 VRRP group.
Use undo vrrp ipv6 vrid virtual-ip to remove all configurations of an existing IPv6 VRRP group or to
remove a virtual IPv6 address from an IPv6 VRRP group.
Syntax
vrrp ipv6 vrid virtual-router-id virtual-ip virtual-address [ link-local ]
undo vrrp ipv6 vrid virtual-router-id [ virtual-ip virtual-address [ link-local ] ]
Default
No IPv6 VRRP group is created.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.
virtual-address: Specifies a virtual IPv6 address.
link-local: Specifies a link-local address as the virtual IPv6 address.
Usage guidelines
You can assign up to 16 virtual IPv6 addresses to an IPv6 VRRP group.
The first virtual IPv6 address that you assign for an IPv6 VRRP group must be a link-local address, and it
must be removed last.
An IPv6 VRRP group can have only one link-local address as its virtual IPv6 address.
If you create an IPv6 VRRP group but do not assign any virtual IPv6 address for it, the VRRP group stays
in inactive state and does not function.
The virtual IPv6 addresses of an IPv6 VRRP group must be in the same subnet as one of the IPv6
addresses of the interface where the VRRP group is configured. Otherwise, the hosts in the subnet cannot
access external networks.