Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Configuration Guide for the S4048–ON System 9.14.2.5

PDF

Configuring Peer Groups

To configure a peer group, use the following commands.
  1. Enter the router configuration mode and the AS number.
    CONFIG mode
    router bgp as-number
  2. Create a peer group by assigning a name to it.
    CONFIG-ROUTER-BGP mode
    neighbor peer-group-name peer-group
  3. Enable the peer group.
    CONFIG-ROUTER-BGP mode
    neighbor peer-group-name no shutdown
    By default, all peer groups are disabled.
  4. Create a BGP neighbor.
    CONFIG-ROUTER-BGP mode
    neighbor {ip-address | ipv6-address} remote-as as-number
  5. Enable the neighbor.
    CONFIG-ROUTER-BGP mode
    neighbor {ip-address | ipv6-address} no shutdown
    NOTE You can use neighbor shutdown command to disable a BGP neighbor or a peer group.
  6. Add an enabled neighbor to the peer group.
    CONFIG-ROUTER-BGP mode
    neighbor {ip-address | ipv6-address | peer-group-name} peer-group peer-group-name
  7. Add a neighbor as a remote AS.
    CONFIG-ROUTER-BGP mode
    neighbor {ip-address | ipv6-address | peer-group-name} remote-as as-number
    • peer-group Name: 16 characters.
    • as-number: the range is from 0 to 65535 (2-Byte) or 1 to 4294967295 | 0.1 to 65535.65535 (4-Byte) or 0.1 to 65535.65535 (Dotted format)
    To add an external BGP (EBGP) neighbor, configure the as-number parameter with a number different from the BGP as-number configured in the router bgp as-number command.
    To add an internal BGP (IBGP) neighbor, configure the as-number parameter with the same BGP as-number configured in the router bgp as-number command.

Examples of Viewing and Configuring Peer Groups

After you create a peer group, you can use any of the commands beginning with the keyword neighbor to configure that peer group.

When you add a peer to a peer group, it inherits all the peer group’s configured parameters.

A neighbor cannot become part of a peer group if it has any of the following commands configured:
  • neighbor advertisement-interval
  • neighbor distribute-list out
  • neighbor filter-list out
  • neighbor next-hop-self
  • neighbor route-map out
  • neighbor route-reflector-client
  • neighbor send-community

A neighbor may keep its configuration after it was added to a peer group if the neighbor’s configuration is more specific than the peer group’s and if the neighbor’s configuration does not affect outgoing updates.

NOTE When you configure a new set of BGP policies for a peer group, always reset the peer group by entering the clear ip bgp peer-group peer-group-name command in EXEC Privilege mode.

To view the configuration, use the show config command in CONFIGURATION ROUTER BGP mode.

When you create a peer group, it is disabled (shutdown). The following example shows the creation of a peer group (zanzibar) (in bold). To enable a peer group, use the neighbor peer-group-name no shutdown command.

DellEMC(conf)# router bgp 45
DellEMC(conf-router_bgp)# neighbor zanzibar peer-group
DellEMC(conf-router_bgp)# neighbor zanzibar no shutdown
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 remote-as 65535
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 no shutdown
DellEMC(conf-router_bgp)# neighbor 10.14.8.60 remote-as 18505
DellEMC(conf-router_bgp)# neighbor 10.14.8.60 no shutdown
DellEMC(conf-router_bgp)# neighbor 2001::1 peer-group zanzibar

Following is the show config output for the above sample configuration.

DellEMC# show config
!
router bgp 45
  neighbor zanzibar peer-group
  neighbor zanzibar no shutdown
  neighbor 10.1.1.1 remote-as 65535
  neighbor 10.1.1.1 shutdown
  neighbor 10.14.8.60 remote-as 18505
  neighbor 10.14.8.60 no shutdown
  neighbor 2001::1 peer-group zanzibar
DellEMC#

To disable a peer group, use the neighbor peer-group-name shutdown command in CONFIGURATION-ROUTER-BGP mode. The configuration of the peer group is maintained, but it is not applied to the peer group members. When you disable a peer group, all the peers within the peer group that are in the ESTABLISHED state move to the IDLE state.

To view the status of peer groups, use the show ip bgp peer-group command in EXEC Privilege mode, as shown in the following example.

DellEMC>show ip bgp peer-group
Peer-group zanzibar
BGP version 4
Minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast
BGP neighbor is zanzibar, peer-group internal,
Number of peers in this group 1
Peer-group members (* - outbound optimized):
  2001::1

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\