Treceți la conținutul principal
  • Plasaţi comenzi rapid şi simplu
  • Vizualizaţi comenzile şi urmăriţi starea transportului
  • Creaţi şi accesaţi o listă cu produsele dvs.
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

Configuring Peer Groups

To configure multiple BGP neighbors at one time, create and populate a BGP peer group.

An advantage of peer groups is that members of a peer group inherit the configuration properties of the group and share same update policy.

A maximum of 256 peer groups are allowed on the system.

Create a peer group by assigning it a name, then adding members to the peer group. After you create a peer group, you can configure route policies for it. For information about configuring route policies for a peer group, refer to Filtering BGP Routes.

  1. Create a peer group by assigning a name to it. CONFIG-ROUTERBGP mode neighbor peer-group-name peer-group
  2. Enable the peer group. CONFIG-ROUTERBGP mode neighbor peer-group-name no shutdown By default, all peer groups are disabled.
  3. Create a BGP neighbor. CONFIG-ROUTERBGP mode neighbor ip-address remote-as as-number
  4. Enable the neighbor. CONFIG-ROUTERBGP mode neighbor ip-address no shutdown
  5. Add an enabled neighbor to the peer group. CONFIG-ROUTERBGP mode neighbor ip-address peer-group peer-group-name
  6. Add a neighbor as a remote AS. CONFIG-ROUTERBGP mode neighbor { ip-address | peer-group name } remote-as as-number Formats: IP Address A.B.C.D
    • 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.

Example of Viewing a Newly Created Peer Group

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

Dell(conf-router_bgp)#
                                 neighbor zanzibar peer-group
                                 Dell(conf-router_bgp)#show conf
                                 !
                                 router bgp 45
                                 bgp fast-external-fallover
                                 bgp log-neighbor-changes
                                 neighbor zanzibar peer-group
                                 neighbor zanzibar shutdown
                                 neighbor 10.1.1.1 remote-as 65535
                                 neighbor 10.1.1.1 shutdown
                                 
                              

To enable a peer group, use the neighbor peer-group-name no shutdown command in CONFIGURATION ROUTER BGP mode (shown in bold).

Dell(conf-router_bgp)#
                                 neighbor zanzibar no shutdown
                                 Dell(conf-router_bgp)#show config
                                 !
                                 router bgp 45
                                 bgp fast-external-fallover
                                 bgp log-neighbor-changes
                                 neighbor zanzibar peer-group
                                 neighbor zanzibar no shutdown
                                 neighbor 10.1.1.1 remote-as 65535
                                 neighbor 10.1.1.1 shutdown
                              

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.

Dell>show ip bgp peer-group
                                 
                                 Peer-group zanzibar, remote AS 65535
                                 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 26
                                 Peer-group members (* - outbound optimized):
                                 10.68.160.1
                                 10.68.161.1
                                 10.68.162.1
                                 10.68.163.1
                                 10.68.164.1
                                 10.68.165.1
                                 10.68.166.1
                                 10.68.167.1
                                 10.68.168.1
                                 10.68.169.1
                                 10.68.170.1
                                 10.68.171.1
                                 10.68.172.1
                                 10.68.173.1
                                 10.68.174.1
                                 10.68.175.1
                                 10.68.176.1
                                 10.68.177.1
                                 10.68.178.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: <>()\