Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-40
[Quidway-bgp] undo peer 10.1.1.1 graceful-restart
5.1.45 peer group
Syntax
peer
peer-address
group
group-name
[
as-number
as-number
]
undo peer
peer-address
View
BGP view
Parameter
group-name
: Specifies the name of the peer group, which can consist of letters and
numbers with a length ranging from 1 to 47.
peer-address
: Specifies the 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
group
command to delete the specified peer.
When you add a peer to an IBGP peer group, the
as-number as-number
argument is
not available.
When a peer is added to an EBGP peer group that has been assigned an AS number,
the peer inherits the configuration of the group. You cannot assign an AS number to the
peer separately. If the peer group is not assigned an AS number, you need to assign an
AS number to each peer when adding it to the group. The peers in the same peer group
may use different AS numbers.
Example
# Add a peer to the peer group TEST.
[Quidway-bgp] group TEST
[Quidway-bgp] peer TEST as-number 2004
[Quidway-bgp] peer 10.1.1.1 group TEST
5.1.46 peer ip-prefix export
Syntax
peer
{
group-name
|
peer-addess
}
ip-prefix
prefixname
export
undo peer
{
group-name
|
peer-addess
}
ip-prefix
prefixname
export