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 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.

Links:

https://forum.networklessons.com/t/bgp-peer-groups-on-cisco-ios/1237/49?u=lagapides

https://www.cisco.com/c/en/us/td/docs/routers/xr12000/software/xr12k_r4-1/routing/configuration/guide/routing_cg41xr12k_chapter1.html#task_1213997

Links to this page: