BGP neighbor-group

A BGP neighbor-group is a template that holds address-family independent and address-family dependent configurations associated with a neighbor. Once configured, each neighbor can inherit the configuration through the use neighbor-group command. An example of such an implementation can be found below:

RP/0/0/CPU0:router(config)# router bgp 140 RP/0/0/CPU0:router(config-bgp)# neighbor-group AS_1 RP/0/0/CPU0:router(config-bgp-nbrgrp)# remote-as 1 RP/0/0/CPU0:router(config-bgp-nbrgrp)# exit RP/0/0/CPU0:router(config-bgp)# neighbor-group adv_15 RP/0/0/CPU0:router(config-bgp-nbrgrp)# remote-as 10 RP/0/0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 15 RP/0/0/CPU0:router(config-bgp-nbrgrp)# exit RP/0/0/CPU0:router(config-bgp)# neighbor 10.0.101.5 RP/0/0/CPU0:router(config-bgp-nbr)# use neighbor-group AS_1 RP/0/0/CPU0:router(config-bgp-nbr)# exit RP/0/0/CPU0:router(config-bgp)# neighbor 10.0.101.10 RP/0/0/CPU0:router(config-bgp-nbr)# use neighbor-group adv_15

This command is exclusively available on the IOS-XR. IOS-XE platforms can use BGP peer groups to achieve similar results.