< Home

Configuring BGP GR

Context

BGP restart causes peer relationship reestablishment and traffic interruption. Graceful restart (GR) ensures uninterrupted traffic forwarding in the case of BGP restart.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run graceful-restart

    BGP GR is enabled.

    By default, BGP GR is disabled.

  4. (Optional) Run graceful-restart timer wait-for-rib timer

    The time during which the restarting speaker and receiving speaker wait for End-of-RIB messages is set.

    By default, the time for waiting for End-of-RIB messages is 600 seconds.

  5. (Optional) Run graceful-restart peer-reset

    The device is enabled to reset a BGP session in GR mode.

    By default, a device is disabled from resetting a BGP connection in GR mode.

Verifying the Configuration

  • Run the display bgp peer verbose command to check detailed information about BGP GR.

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