Enables automatic neighbor discovery for Border Gateway Protocol (BGP).
By default, automatic neighbor discovery for BGP is disabled.
BGP configuration mode
Currently, automatic neighbor discovery is supported for only one peer group identifier.
Note
The configuration remains enabled when at least one peer group configured with accept-lldp-neighbors is present.The following example enables automatic neighbor discovery for BGP and applies the properties of a peer group named lldp-grp to new automatically-discovered neighbors.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor lldp-grp accept-lldp-neighbors
The following example disables automatic neighbor discovery for a peer group named lldp-grp.
device# configure terminal device(config)# router bgp device(config-bgp-router)# no neighbor lldp-grp accept-lldp-neighbors