R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

809
Examples
# In IPv6 BGP-VPN instance view, enable 4-byte AS number suppression for peer 2001::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance 11
[Sysname-bgp-ipv6-11] peer 2001::1 as-number 200
[Sysname-bgp-ipv6-11] peer 2001::1 capability-advertise suppress-4-byte-as
peer connect-interface
Syntax
peer { ipv6-group-name | ipv6-address } connect-interface interface-type interface-number
undo peer { ipv6-group-name | ipv6-address } connect-interface
View
IPv6 address family view
Default level
2: System level
Parameters
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
interface-type interface-number: Specifies the type and name of the interface.
Description
Use peer connect-interface to specify the source interface for establishing TCP connections to an IPv6
BGP peer or peer group.
Use undo peer connect-interface to restore the default.
By default, BGP uses the outgoing interface of the best route to the IPv6 BGP peer/peer group as the
source interface for establishing a TCP connection.
To enhance stability of IPv6 BGP connections, HP 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 you use the
outgoing 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