Command Reference Guide

240peer group 3Com Router 5000 Family and Router 6000 Family
Command Reference
peer group
Purpose 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.
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
Parameters 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.
Example Add the peer with IP address being 10.1.1.1 to the peer group TEST.
[3Com -bgp] group TEST
[3Com -bgp] peer 10.1.1.1 group TESTpurpose_body
View This command can be used in the following views:
BGP view
Description 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).
In different address family views, a peer can be added to different peer groups and a
peer group can have different members.