R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

404
filter-policy import
peer as-path-acl
peer prefix-list
peer route-policy
peer group
Use peer group to add a peer to a peer group.
Use undo peer group to delete a specified peer from a peer group.
Syntax
peer { ip-address | ipv6-address } group group-name [ as-number as-number ]
undo peer { ip-address | ipv6-address } group group-name
Default
No peer exists in a peer group.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
ip-address: Specifies a peer by its IP address.
ipv6-address: Specifies a peer by its IPv6 address.
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
as-number as-number: Specifies an AS for a peer by its number in the range of 1 to 4294967295.
Usage guidelines
You can add a peer to a peer group in the following ways:
Use the peer as-number command to create a peer and specify its AS number, and then use the
peer group command to add the peer to the peer group.
{ You can specify the as-number keyword for the peer group command. The AS number must be
the same as the AS number specified in the peer as-number command.
{ If you have specified the AS number of the peer group with the peer as-number command, the
peer to be added must have the same AS number as the peer group.
{ To add a peer to an IBGP peer group, the peer must be an IBGP peer.
Use the peer group command to create a peer and add it to the peer group.
{ If you have specified the AS number of the peer group with the peer as-number command, you
do not need to specify the as-number keyword when you execute the peer group command.
This is because the AS number of the peer is the same as the peer group. To specify the
as-number keyword for the peer group command, make sure that the AS number is the same as
the peer group.
{ If no AS number is specified for an EBGP peer group, specify the as-number keyword when you
execute the peer group command.