R2511-HP MSR Router Series High Availability Command Reference(V5)
48
When the status of the tracked interface turns from down or removed to up, the corresponding router
automatically restores its priority.
The interface specified in this command can be a Layer 3 Ethernet interface, a VLAN interface, a
synchronous/asynchronous serial interface, a POS interface, an MP-group interface, a dialer interface,
a BRI interface, or an HDLC link bundle interface. 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 Ethernet 1/1, set the interface to be tracked as Serial 2/0, making the priority of VRRP
group 1 on interface Ethernet 1/1 decrement by 50 when Serial 2/0 is down or removed.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/1] vrrp vrid 1 track interface serial 2/0 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: Specifies a VRRP group by its number in the range of 1 to 255.
virtual-address: Specifies a 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.










