R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101
27
Before executing the command, create a VRRP group on an interface and configure the virtual IPv6
address of the VRRP group.
If you configure an interface to be tracked on a router that is the IP address owner in a VRRP group, the
configuration does not take effect. If the router is not the IP address owner in the VRRP group later, the
configuration takes effect.
When the status of the tracked interface turns from down or removed to up, the corresponding router
restores its priority automatically.
The interface specified in this command can be a Layer 3 Ethernet interface or a Layer 3 aggregate
interface.
Related commands: display vrrp ipv6.
Examples
# On interface GigabitEthernet 0/1, set the interface to be tracked to GigabitEthernet 0/2, making the
priority of VRRP group 1 on interface GigabitEthernet 0/1 decrement by 50 when GigabitEthernet 0/2
is down or removed.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::2 link-local
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 1 track interface GigabitEthernet 0/2 reduced
50
vrrp ipv6 vrid virtual-ip
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 ] ]
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
virtual-address: Virtual IPv6 address.
link-local: Indicates that the virtual IPv6 address of the VRRP group is a link local address.
Description
Use vrrp ipv6 vrid virtual-ip to create a VRRP group, and configure a virtual IPv6 address for it, or, add
another virtual IPv6 address for an existing VRRP group.
Use undo vrrp ipv6 vrid virtual-ip to remove an existing VRRP group or the virtual IPv6 address of the
VRRP group.
By default, no VRRP group is created.
The first virtual IPv6 address assigned to a VRRP group must be a link local address and only one such
address is allowed in a VRRP group.