456CHAPTER 30: CONFIGURING BGP

holdtime-intervalattribute is 180 seconds and may have a time interval ranging from 3 to 42949675 seconds.

Configuring a BGP Peer The BGP peer group command can be used for user configuration. When starting Group several peers of the same configuration, you can first create and configure one

peer group, then add other peer groups into this group to get the same configuration.

Configuring a basic BGP peer group includes creating a peer group and adding a peer to the group.

Perform the following peer group configuration in BGP view.

1Create a peer group

By default, a IBGP peer is added to the default peer group and no configuration is necessary. The configuration of route updating strategy to any IBGP peer is only applicable to other IBGP peers in the group. If the router is not configured as a route reflector, all IBGP peers are in one group. Otherwise, all route reflection clients are in one group and non-clients are in another group.

The members of an external peer group must be in the same network segment, otherwise some EBGP peers may discard the route updating information you have sent.

All peers in this group must be configured with an AS number, if this group is not configured with an AS number. If you add an AS number to the peer group, any peer in this group cannot be configured with an AS number different from this peer group AS number.

The members of the peer group cannot be configured with a route updating strategy different from that of the group but different access strategy is permitted.

Table 526 Create a Peer Group

Operation

Command

 

 

 

 

Create a peer group

peer group-name

group

 

 

Delete a specified peer group

undo peer group-namegroup

 

 

 

Reset the connection of all members in

reset bgp group

group-name

the peer group

 

 

 

 

 

By default, no peer group is created.

2Add a peer to the BGP peer group

Add one BGP peer into the peer group to create a peer group. When the configuration of the peer group is changed, the configuration of each peer should also be changed accordingly. IBGP peer and EBGP peer cannot be in the same group.

Table 527 Add a Peer to the BGP Peer Group

Operation

Command

 

 

Add a peer to the BGP peer group

peer peer-address group group-name

 

 

Delete a member from the BGP peer

undo peer peer-addressgroup

group

group-name

 

 

By default, there is no BGP peer in a peer group.

Page 460
Image 460
3Com 10014299 manual By default, there is no BGP peer in a peer group, Add a Peer to the BGP Peer Group, Peer group-name