R3303-HP HSR6800 Routers High Availability Command Reference
161
The Layer 2 protocol used by the tracked synchronous/asynchronous serial interfaces can be PPP only,
and the tracked synchronous/asynchronous serial interfaces cannot be added to a virtual template or
MP-group; the dialer interface should function as the PPPoE client and operate in the permanent online
mode; the BRI interface should operate in the dedicated line mode.
Examples
# On interface GigabitEthernet 1/0/1, set the interface to be tracked as GigabitEthernet 1/0/2,
making the priority of VRRP group 1 on interface GigabitEthernet 1/0/1 decrement by 50 when
GigabitEthernet 1/0/2 is down or removed.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 track interface gigabitethernet 1/0/2 reduced
50
Related commands
• display vrrp
• vrrp vrid track
vrrp vrid virtual-ip
Use vrrp vrid virtual-ip to create a VRRP group and configure a virtual IP address for it or add another
virtual IP address for an existing VRRP group.
Use undo vrrp vrid virtual-ip to remove an existing VRRP group or the virtual IP address of the VRRP
group.
Syntax
vrrp vrid virtual-router-id virtual-ip virtual-address
undo vrrp vrid virtual-router-id [ virtual-ip virtual-address ]
Default
No VRRP group is created.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: VRRP group number in the range of 1 to 255.
virtual-address: Virtual IP address.
Usage guidelines
The system removes a VRRP group after you delete all the virtual IP addresses in it.
The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, non
A/B/C address and other illegal IP addresses such as 0.0.0.1.
A VRRP group operates correctly only when the configured virtual IP address and the interface IP address
belong to the same segment and are legal host addresses. If they are not in the same network segment,