HP 5920 Series Command Reference Manual page 374

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

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,
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.
If no AS number is specified for an IBGP peer group, you do not need to specify the as-number
keyword when you execute the peer group command, because the AS number of the IBGP peer
group is the local AS number. To specify the as-number keyword for the peer group command,
make sure that the AS number is the same as the local AS number.
If you have specified the AS number of a peer group with the peer as-number command, only the peers
with the same AS number can be added to the peer group. All peers in the group share the same AS
number. If you have not specified the AS number for a peer group, peers added to it can use their own
AS numbers.
After you add a peer to a peer group, you must use the peer enable command to enable BGP to
exchange routing information with the peer group.
Examples
# In BGP view, add peer 10.1.1.1 to the EBGP peer group test.
<Sysname> system-view
361

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents