To enhance stability of IPv6 BGP connections, Hewlett Packard Enterprise recommends using a
loopback interface as the source interface for establishing a TCP connection.
To establish multiple BGP connections to a BGP router, you need to specify on the local router the
respective source interfaces for establishing TCP connections to the peers on the peering BGP
router; otherwise, the local BGP router may fail to establish TCP connections to the peers when
using the outbound interfaces of the best routes as the source interfaces.
Examples
# Specify loopback 0 as the source interface for routing updates to peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 connect-interface loopback 0
peer default-route-advertise
Syntax
peer { group-name | ipv4-address | ipv6-address } default-route-advertise [ route-policy
route-policy-name ]
undo peer { group-name | ipv4-address | ipv6-address } default-route-advertise
View
IPv6 address family view
Default level
2: System level
Parameters
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
route-policy-name: Name of a routing policy, a string of 1 to 63 characters.
Description
Use peer default-route-advertise to advertise a default route to a peer/peer group.
Use undo peer default-route-advertise to disable advertising a default route.
By default, no default route is advertised to a peer/peer group.
Using this command does not require the default route available in the routing table. With this
command used, the router sends the default route unconditionally to the peer/peer group with the
next hop being itself.
Examples
# Advertise a default route to peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 default-route-advertise
384