Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-45
Example
# Set the filter-policy list of peer group test.
[3Com ] acl number 2003
[3Com -acl-basic-2003] rule 0 deny source 98.12.0.0 0.0.0.255
[3Com -acl-basic-2003] quit
[3Com ] bgp 100
[3Com -bgp] peer test as-number 100
[3Com -bgp] peer test filter-policy 2003 import
5.1.48 peer group
Syntax
For multicast address family or VPNv4 address family:
peer peer-address group group-name
undo peer peer-address group
For unicast address family or VPN-INSTANCE address family:
peer peer-address group group-name [ as-number as-number ]
undo peer peer-address group
View
BGP view
Parameter
group-name: Specifies the name of the peer group. It can be an alphanumeric string
with the length ranging from 1 to 47.
peer-address: Specifies the IP address of the peer.
as-number: Specifies the AS number for the peer.
Description
Use the peer group command to add a peer to a peer group.
Use the undo peer group command to delete the specified peer from a peer group.
In the unicast/VPN-INSTANCE address family view, when adding a peer to an external
peer group without a specified AS number, specify an AS number for the peer at the
same time. While it is unnecessary when adding the peer to an internal peer group or
an external peer group with a specified AS number.
In the multicast/VPNv4 address family view, it is required that the peer to be added
exist and have been added to a peer group in the unicast address family (the peer can
be disabled).










