130 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
A BGP peer must belong to a peer group. If you want to configure a BGP peer, you
need to first create a peer group and then add a peer to the group.
If a peer is added to an IBGP peer group, the AS number cannot be specified in the
command.
When a peer group is defined with an AS number, all its member peers inherit that
AS number. If the AS number of the peer group is not specified, each peer added
to it should be specified with its own AS number. AS numbers of peers in a same
peer group can be different.
Configuring the State of a Peer/Peer Group
A BGP peer/peer group has two states: enable and disable. The BGP speakers do
not exchange routing information with a disabled peer or peer group.
Perform the following configurations in BGP view.
By default, a BGP peer or peer group is enabled.
When exchanging routing information between BGP speakers, the peer group
must be enabled first, and then the peer should be added to the enabled peer
group.
Configuring the Description of a Peer (Group)
The description of a peer or peer group can be added to facilitate learning the
characteristics of the peer .
By default, no BGP peer (group) description is set.
Configuring the Timer of a Peer (Group)
The peer timer command is used to configure timers of BGP peer (group),
including the keep-alive message interval and the hold timer. The preference of
Table 93 Creating a Peer Group and Add a Member
Operation Command
Add a peer to the peer group peer peer-address group group-name [
as-number as-number ]
Delete a peer undo peer peer-address
Table 94 Configuring the State of a Peer/Peer Group
Operation Command
Enable a peer/peer group peer { group-name | peer-address } enable
disable a peer/peer group undo peer { group-name | peer-address }
enable
Table 95 Configuring the Description of a Peer Group
Operation Command
Configure description of a peer (group) peer { peer-address | group-name }
description description-line
Delete description of a peer (group) undo peer { peer-address | group-name }
description