![Huawei S6700 Series Configuration Manual Download Page 519](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517519.webp)
Step 2
Run:
bgp
as-number
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 switches.
TIP
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 switch is configured with an IPv4 address, you must set a router ID for the
switch.
----End
8.3.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
Do as follows on the switch on which the IBGP connection needs to be set up:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
peer
{
ipv6-address
|
group-name
}
as-number
as-number
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
A peer (group) is configured only to listen to connection requests, but not to send
connection requests.
After this command is used, the existing peer relationship is interrupted. The peer on
which this command is used waits for the connection request from its peer to
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
500