API Guide

graceful-restart
Enables graceful or hitless restart and configures the required parameters for the restart process.
Syntax
graceful-restart role receiver-only
Parameters
role Sets the restart role of the local router
receiver-only Local router supports graceful restart as a receiver only
Defaults Disabled
Command Mode ROUTER BGP
Usage
Information
When you enable graceful restart on a node, its BGP neighbor acts as a helper by not dropping the
sessions and maintaining the route information so that the traffic is not disturbed. The no version of this
command disables graceful-restart helper mode.
NOTE: To configure these settings for a non-default VRF instance, you must first enter ROUTER-
CONFIG-VRF sub mode using the following commands:
1. Enter the ROUTER BGP mode using the router bgp as-number command.
2. From the ROUTER BGP mode, enter the ROUTER BGP VRF mode using the vrf vrf-name
command.
Example
OS10(conf-router-bgp-10)# graceful-restart role receiver-only
Supported
Releases
10.3.0E or later
inherit template
Configures a peer group template name that the neighbors use to inherit peer-group configuration.
Syntax
inherit template template-name
Parameters
template-name Enter a template name. A maximum of 16 characters.
Default Not configured
Command Mode ROUTER-NEIGHBOR
Usage
Information
When network neighbors inherit a template, all that are enabled on the template are also supported on the
neighbors. The no version of this command disables the peer group template configuration.
Example
OS10(conf-router-neighbor)# inherit template zanzibar
Supported
Releases
10.2.0E or later
listen
Enables peer listening and sets the prefix range for dynamic peers.
Syntax
listen ip-address [limit count]
Parameters
ip-addressEnter the BGP neighbor IP address.
limit count(Optional) Enter a maximum dynamic peer count, from 1 to 4294967295.
Default Not configured
Command Mode ROUTER-TEMPLATE
Layer 3 631