peer-group (bgp-neighbor-config)

Sets the peer group for this BGP neighbor device (or devices using this profile). Peer groups are a set of BGP neighbors with the same update policies. This facilitates the updates of various policies, such as, distribute lists and filter lists.

Supported in the following platforms:

Syntax

peer-group <PEER-GROUP-NAME>

Parameters

peer-group <PEER-GROUP-NAME>
peer-group <PEER-GROUP-NAME> Specify the peer group name. Once specified, this neighbor device becomes a member of the peer group identified by the <PEER-GROUP-NAME> keyword.
  • <PEER-GROUP-NAME> – Specify the peer group name.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#peer-group eBGPPeerGrp1
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show context
  bgp neighbor 192.168.13.99
   advertisement-interval 100
   peer-group eBGPPeerGrp1
   allowas-in 10
   attribute-unchanged as-path
   capability orf prefix-list both
   default-originate
   description neighbor "This neighbor is an external AS neighbor"
   disable-connected-check
   dont-capability-negotiate
   ebgp-multihop 20
   enforce-multihop
   local-as 20 no-prepend
   maximum-prefix 400 50 warning-only
   next-hop-self
   override-capability
   passive
   password neighbor eBGPneighbor@300
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#


    

Related Commands

no (bgp-neighbor-config) Removes the peer group configuration. This neighbor peer group setting is removed.