3Com Switch 8800 Family Configuration Guide
366 CHAPTER 33: BGP CONFIGURATION
create an EBGP peer group and sub-AS peer groups inside a confederation.
group-name is locally significant.
The default type of BGP peer group is IBGP.
Configuring AS number of an EBGP peer group
You can specify AS number for an EBGP peer group, but IBGP needs no AS
number. When a peer group is specified with an AS number, all its member peers
inherit the AS number.
If a peer group has peers, you cannot specify an AS number for the peer group. In
addition, deleting the AS number of a peer group will delete all peers in it.
Adding a member to a peer group
A BGP peer must belong to a peer group. If you want to configure a BGP peer, you
need first to create a peer group and then add a peer into the group.
If you want to add a peer to an IBGP peer group, this command cannot specify AS
numbers.
When a peer is added to an EBGP peer group and the peer group is defined with
an AS number, all its member peers inherits the configuration of the group and
you cannot specify the AS numbers. 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
BGP peer/peer group has two types of state: enabled and disabled. The BGP
speakers do not exchange routing information with the disabled peer or peer
group.
By default, only BGP peer groups of IPv4 unicast address family are enabled. Other
peer types or peer group types are disabled, consequently exchanging no routing
information.
Tabl e 348 Configure AS number of a EBGP peer group
Operation Command
Configure the AS number of the EBGP peer
group
peer group-name as-number as-number
Delete the AS number of the EBGP peer group
undo peer group-name as-number
as-number
Tabl e 349 Create 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
Tabl e 350 Configure 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