< Home

hrp track bgp first-check-delay

Function

The hrp track bgp first-check-delay command sets a hold-off period for a VGMP group to monitor the BGP peer status.

The undo hrp track bgp first-check-delay command restores the hold-off period set for a VGMP group to monitor the BGP peer status to the default value (10 minutes).

Format

hrp track bgp first-check-delay delay-minutes

undo hrp track bgp first-check-delay

Parameters

Parameter Description Value
delay-minutes Specifies a hold-off period for a VGMP group to monitor the BGP peer status. The value is an integer ranging from 1 to 30, in minutes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, a VGMP group starts to monitor the BGP peer status after a hold-off period of 10 minutes.

Usage Scenario

The FW's service interface works in Layer 3 mode and is connected to a router, and BGP runs on the FW and router. To enable the FW to detect BGP route faults and trigger an active/standby switchover promptly, configure a VGMP group to monitor the BGP peer status. However, the establishment of a BGP adjacency takes time during network deployment or adjustment. To prevent an active/standby switchover from being performed before the BGP adjacency is established, run the hrp track bgp first-check-delay command to set a new hold-off period for the VGMP group to monitor the BGP peer status.

Configuration Impact

After the hrp track bgp first-check-delay command is run, the system starts the timer only once each time if the following conditions are both met:
  • The hrp track bgp command is run.
  • BGP peers to be monitored by a VGMP group are configured.
During the delay-minutes value specified by the timer, the system tolerates the Non-established BGP peer state. Any BGP peer state is identified as Unknown, and the VGMP group priority is not adjusted, which does not trigger an active/standby switchover. After the specified hold-off period expires, the system starts to check the BGP peer status. During the check, if the BGP peer status is Established, the VGMP group priority keeps unchanged; if the BGP peer status is Non-established, the VGMP group priority is reduced by 2, triggering an active/standby switchover.

Example

# Set the hold-off period for a VGMP group to monitor the BGP peer status to 20 minutes.

<sysname> system-view
[sysname] hrp track bgp first-check-delay 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >