BGP Configuration Commands 531[3Com-bgp] peer 10.2.2.2 graceful-restart# Enable Graceful-restart on an EBGP peer group named "TEST", and disableGraceful-restart on Peer 10.1.1.1 in this group.system-view[3Com-bgp] group TEST external[3Com-bgp] peer 10.1.1.1 group TEST as-number 200[3Com-bgp] peer TEST graceful-restart[3Com-bgp] undo peer 10.1.1.1 graceful-restartpeer group Syntaxpeer peer-address group group-name [ as-number as-number ]undo peer peer-addressViewBGP viewParametergroup-name: Specifies the name of the peer group, which can consist of lettersand numbers with a length ranging from 1 to 47.peer-address: Specifies the IP address of the peer.as-number: Peer AS number of the peer/peer group, in the range of 1 to 65535.DescriptionUse the peer group command to add a peer to the existing peer group.Use the undo peer group command to delete the specified peer.When you add a peer to an IBGP peer group, the as-number as-numberargument is not available.When a peer is added to an EBGP peer group that has been assigned an ASnumber, the peer inherits the configuration of the group. You cannot assign an ASnumber to the peer separately. If the peer group is not assigned an AS number,you need to assign an AS number to each peer when adding it to the group. Thepeers in the same peer group may use different AS numbers.Example# Add a peer to the peer group TEST.[3Com-bgp] group TEST[3Com-bgp] peer TEST as-number 2004[3Com-bgp] peer 10.1.1.1 group TESTpeer ip-prefix export Syntaxpeer group-name ip-prefix prefixname exportundo peer group-name ip-prefix prefixname export