create bgp peer-group

create bgp peer-group peer-group-name

Description

Creates a new peer group.

Syntax Description

peer-group-name Specifies a peer group.

Default

N/A.

Usage Guidelines

You can use BGP (Border Gateway Protocol) peer groups to group together up to 512 BGP neighbors. All neighbors within the peer group inherit the parameters of the BGP peer group. The following mandatory parameters are shared by all neighbors in a peer group:
  • source-interface
  • out-nlri-filter
  • out-aspath-filter
  • out-route-policy
  • send-community
  • next-hop-self

The BGP peer group name must begin with an alphabetical character and may contain alphanumeric characters and underscores ( _ ), but it cannot contain spaces. The maximum allowed length for a name is 32 characters. For name creation guidelines and a list of reserved names, see the ExtremeXOS 22.7 Feature License Requirements document..

No IPv4 or IPv6 address family capabilities are added a to a new peer group. When the first IPv4 peer is added to a peer group, the IPv4 unicast and multicast families are enabled by default. No IPv6 address family capabilities are automatically added when an IPv6 peer is added to a peer group; you must explicitly add any IPv6 address family capabilities that you want for a peer group.

Example

The following command creates a new peer group named outer:

create bgp peer-group outer

The following example specifies how to create a neighbor peer group in a VRF (PE – CE neighbor session):

virtual-router <vr_vrf_name>   
create bgp neighbor <remoteaddr> remote-AS-number <asNumber> {multi-hop}   
create bgp neighbor <remoteaddr> peer-group <peer-group-name> {multi-hop}    
delete bgp [{neighbor} <remoteaddr> | neighbor all ]    
[create | delete] bgp peer-group <peer-group-name>    

BGP maintains a separate RIB (RIB-In, RIB-Loc and RIB-Out) for each of the VRF it is configured to run. So routes received from a peer in VRF1 are not mixed up with routes from a peer in VRF2. Additionally, BGP routes in a VRF are regular IPv4 routes of address family ipv4. The BGP decision algorithm occurs inside a VRF and is not impacted by any BGP activity in other VRF.There can be two BGP neighbors with the same peer IP address in two different VRFs.

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

Support for IPv6 was added in ExtremeXOS 12.6 BGP.

Support for L3 VPN was added in ExtremeXOS 15.3.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 22.7 Feature License Requirements document.