< Home

route-policy-change notify-delay

Function

The route-policy-change notify-delay command sets the delay before the RM to notify each protocol of applying a new policy after the original route-policy changes.

The undo route-policy-change notify-delay command restores the default setting.

By default, this command is not configured, and the delay time is 0s.

Format

route-policy-change notify-delay delay-time

undo route-policy-change notify-delay

Parameters

Parameter Description Value
delay-time Specifies the delay for applying a new policy after the original route-policy changes. The value is an integer ranging from 1 to 180, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The switch process the changes of a route-policy according to the following rules.

After the configuration of a route-policy changes, by default, the RM immediately notifies the protocol of performing related operations. To delay processing the changes of the route-policy, you can run the route-policy-change notify-delay command to set the delay for change processing. The new policy is applied after the timer expires:

  • If the configuration of the route-policy changes again within the delay, the RM resets the timer.

  • If the new policy is configured for BGP, the refresh bgp all command can be used within the delay set by the route-policy-change notify-delay command to trigger BGP to immediately use the new policy.

The following commands are related to the timer:
  • route-policy
  • ip ip-prefix
  • ip ipv6-prefix
  • ip as-path-filter
  • ip community-filter
  • ip extcommunity-filter
  • ip rd-filter
  • acl

Example

# Set the delay before the RM to notify each protocol of applying a new policy after the original route-policy changes.

<HUAWEI> system-view
[HUAWEI] route-policy-change notify-delay 20 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >