Configuration Guide Vol. 3


13.5.9 Graceful restart configuration

<Structure of this section>

(1) List of configuration commands

The following table lists the commands used to configure graceful restart.

Table 13-23: List of configuration commands

Command name

Description

bgp graceful-restart mode

Specify to use graceful restart. #1

bgp graceful-restart restart-time

Specifies the maximum time that a peer will wait to be reconnected after a neighboring router has commenced a graceful restart. #1

bgp graceful-restart stalepath-time

Specifies the maximum time that a peer will keep routes received before a graceful restart after the neighboring router has commenced a graceful restart. #1

routing options graceful-restart time-limit #2

Specifies the maximum amount of time that the Switch holds routes.

Note #1

Commonly specified for both VRFs and the global network. The config-router mode setting is also applied to VRF.

Note #2

See Configuration Command Reference Vol.2" "9 Routing Options (IPv4).

(2) Configuring graceful restart

Points to note
  • To use the graceful restart router functionality, set restart or both parameters of bgp graceful-restart mode commandin config-router. If you need to configure bgp graceful-restart restart-time and bgp graceful-restart stalepath-time commands, configure them after you configure bgp graceful-restart mode command.

  • To use the graceful restart receive router function, set receive or both parameters of bgp graceful-restart mode commandin config-router. If you need to configure bgp graceful-restart restart-time and bgp graceful-restart stalepath-time commands, configure them after you configure bgp graceful-restart mode command.

Command examples

  1. (config)# router bgp 65531

    (config-router)# bgp router-id 192.168.1.100

    (config-router)# neighbor 172.16.2.2 remote-as 65532

    (config-router)# neighbor 192.168.2.2 remote-as 65531

    Configure the BGP4 peers.

  2. (config-router)# bgp graceful-restart mode both

    Specifies that the graceful restart router and receive router functionality are to be used.