3com 8807 Reference Guide

Page of 1099
BGP Configuration Commands
531
[3Com-bgp] peer 10.2.2.2 graceful-restart 
# Enable Graceful-restart on an EBGP peer group named "TEST", and disable 
Graceful-restart on Peer 10.1.1.1 in this group.
<SW8800>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-restart 
peer group
Syntax
peer peer-address group group-name [ as-number as-number ]
undo peer peer-address
View
BGP view
Parameter
group-name: Specifies the name of the peer group, which can consist of letters 
and 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.
Description
Use 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-number 
argument is not available.
When a peer is added to an EBGP peer group that has been assigned an AS 
number, the peer inherits the configuration of the group. You cannot assign an AS 
number 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. The 
peers 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 TEST 
peer ip-prefix export
Syntax
peer group-name ip-prefix prefixname export
undo peer group-name ip-prefix prefixname export