< Home

Controlling the Valid Time of Routing Policies

Pre-configuration Tasks

None

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run route-policy-change notify-delay delay-time

    The delay in applying the routing policy is set.

    The value ranges from 1 to 180, in seconds.

    By default, the RM immediately instructs protocols to apply a new policy when the existing routing policy changes.

  3. Run quit

    Return to the user view.

  4. (Optional) Run refresh bgp all { export | import }

    BGP is configured to apply the new routing policy.

    After a routing policy is configured, to make policy-based filtering take effect immediately, use this command to configure BGP to apply the new policy immediately.

    The policies affected by the timer are ACLs, IP prefix lists, AS_Path filters, community filters, extended community filters, RD filters, and route-policies.

Verifying the Configuration

  • Run the display current-configuration | include notify-delay command to check the delay in applying a routing policy.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >