If
hop-count
is not specified in the
peer ebgp-max-hop
command, 255 is used as the
maximum number of hops in EBGP connections.
NOTE
When establishing the EBGP connection through loopback interfaces, you must use the
peer
ebgp-max-hop
command specifying that
hop-count
is greater than or equal to 2. Otherwise,
BGP cannot set up the EBGP connection with the peer.
5.
(Optional) Run:
peer
{
ipv6-address
|
group-name
}
listen-only
The peer or peer group is configured only to listen to connection requests, but not to
send any connection request.
After this command is used, the existing peer relationship is removed. The peer on
which this command is used reestablishes the peer relationship after receiving the
connection request from its peer. After this configuration is done, the conflict of
connection requests is avoided.
NOTE
This command can be used on only one of two peers. If this command is used on the two peers,
the connection between the two peers cannot be established.
6.
Run:
ipv6-family
[
unicast
]
The BGP IPv6 unicast address family view is displayed.
7.
Run:
peer
{
ipv6-address
|
group-name
}
enable
An IPv6 peer is enabled.
After configuring a BGP4+ peer in the BGP view, enable the peer in the BGP IPv6
unicast address family view.
----End
9.2.4 (Optional) Configuring the Local Interfaces Used for BGP4+
Connections
When establishing BGP4+ peer relationship between two devices through various links, you
need to specify the local interface during the setup of a BGP4+ session on the devices.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
{
as-number-plain
|
as-number-dot
}
The BGP view is displayed.
Step 3
Run:
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.
1051