HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Command - Page 112
vrrp vrid track
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 112 highlights
Routers in the same VRRP group must use the same Adver_Timer setting. Related commands: display vrrp. Examples # Set the master in VRRP group 1 to send VRRP advertisements at intervals of five seconds. system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1 [Sysname-Vlan-interface2] vrrp vrid 1 timer advertise 5 vrrp vrid track Syntax vrrp vrid virtual-router-id track track-entry-number [ forwarder-switchover member-ip ip-address | reduced priority-reduced | switchover ] View undo vrrp vrid virtual-router-id track [ track-entry-number ] Interface view Default level 2: System level Parameters virtual-router-id: Specifies a VRRP group number, which ranges from 1 to 255. track track-entry-number: Specifies a track entry. The track-entry-number argument ranges from 1 to 1024. forwarder-switchover member-ip ip-address: Enables the LVF on the router to take over the role of the AVF at the specified IP address immediately after the specified track entry changes to the negative state. You can use the display vrrp verbose command to view the IP addresses of VFs. reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when the state of the specified track entry changes to the negative state. The priority-reduced argument ranges from 1 to 255. switchover: Enables the router in backup state to take over as the master immediately after the specified track entry changes to the negative state. Description Use vrrp vrid track to associate a VRRP group with a track entry and control master switchover or AVF switchover in the VRRP group in response to changes (such as uplink state changes) detected by the track entry. Use undo vrrp vrid track to remove the association between a VRRP group and a track entry. If no track entry is specified, the association between the VRRP group and any track entry is removed. By default, a VRRP group is not associated with any track entry. When the associated track entry changes to the negative state, the priority of the router in the VRRP group decreases by a specified value, or the router immediately takes over as the master if it is a backup router, or the LVF on the router immediately takes over the role of the AVF at the specified IP address, depending on your configuration. 107