Overview
Introduces BGP neighbor groups and provides instructions for configuring a BGP neighbor group to simplify neighbor management and streamline configuration tasks.
A BGP neighbor group is a configuration template that:
-
stores address family-independent and address family-dependent settings
-
enables multiple BGP neighbors to inherit shared configuration parameters, and
-
allows centralized management and consistent application of BGP neighbor policies.
Configuration inheritance
After you configure a neighbor group, each BGP neighbor can inherit its configuration by using the use command. By default, a neighbor configured to use a neighbor group inherits all configuration from that group, including address family-independent and address family-dependent settings.
Overriding inherited configuration
You can override inherited settings by directly configuring commands for the neighbor. Alternatively, associate session groups or address family groups with the neighbor using the use command
Configuring address family-independent parameters
Configure address family-independent parameters directly within the neighbor group configuration mode.
Configuring address family-dependent parameters
To configure address family-dependent parameters, enter the address family submode under the neighbor group by using the address-family command.
Assigning options to a neighbor group
After specifying the neighbor group name with the neighbor group command, assign the configuration options you want the group to use. Downstream neighbors inherit these options.
Suppose you have several BGP neighbors that require the same password and update-source configuration. Instead of configuring these parameters for each neighbor individually, define them in a neighbor group and attach the group to each neighbor with the use command.