
The system view is displayed.
Step 2
Run:
bgp
{
as-number-plain
|
as-number-dot
}
BGP is enabled (the local AS number is specified) and the BGP view is displayed.
Step 3
(Optional) Run:
router-id
ipv4-address
The router ID is set.
Setting or changing the router ID of BGP resets the BGP peer relationship between routers.
NOTE
l
To enhance the network reliability, you can manually configure the address of a loopback interface as
the router ID. If the router ID is not set, BGP uses the router ID in the system view. To select the router
ID in the system view, refer to the
Command Reference
.
l
If no interface of a router is configured with an IPv4 address, you must set a router ID for the router.
----End
9.2.3 Configuring an IPv6 Peer
Devices can exchange BGP4+ routing information only after BGP4+ peers are configured and
the BGP4+ peer relationship is established.
Procedure
l
Configuring an IBGP Peer
Perform the following steps on the router on which the IBGP connection needs to be set
up:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
{
as-number-plain
|
as-number-dot
}
The BGP view is displayed.
3.
Run:
peer
{
ipv6-address
|
group-name
}
as-number
{
as-number-plain
|
as-number-
dot
}
The peer address and the AS where the peer resides are configured.
The AS number of the specified peer must be the same as the local AS number.
When the IPv6 address of a specified peer is a loopback address or a sub-interface
address, you need to perform
Configuring the Local Interfaces Used for BGP4+
to ensure the establishment of the peer.
4.
(Optional) Run:
peer
{
ipv6-address
|
group-name
}
listen-only
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
9 BGP4+ Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1049