3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 5 BGP Configuration Commands
5-39
By default, a peer/peer group has no access control list (acl).
Related command:
peer filter-policy export
,
ip as-path-acl, peer as-path-acl
export
and
peer as-path-acl import
.
Example
# Set the filter-policy list of a peer group test.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer test filter-policy 2000 import
5.1.43 peer group
Syntax
peer
ip-address
group
group-name
[
as-number
as-number
]
undo peer
ip-address
View
BGP view
Parameter
group-name
: Name of the peer group, containing 1 to 47 characters.
ip-address
: 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
ip-address
command to delete a peer.
When adding a peer to a EBGP peer group without AS number, you should also
specify the peer’s AS number. While adding a peer to a IBGP peer group or to a
EBGP peer group with AS number, you need not specify the AS number for the peer.
Example
# Add a peer to the peer group test.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] group test external
[3Com-bgp] peer test as-number 2004
[3Com-bgp] peer 10.1.1.1 group test