R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

453
peer connect-interface (IPv6 address family view)
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.
Syntax
peer { ipv6-group-name | ipv6-address } connect-interface interface-type interface-number
undo peer { ipv6-group-name | ipv6-address } connect-interface
Default
BGP uses the outbound interface of the best route to the IPv6 BGP peer or peer group as the source
interface for establishing a TCP connection.
Views
IPv6 address family view
Default command level
2: System level
Parameters
ipv6-group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ipv6-address: Specifies the IPv6 address of a peer.
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
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, specify on the local router the respective source
interfaces for establishing TCP connections to the peers on the peering BGP router. If you do not, the local
BGP router might 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
Use peer default-route-advertise to advertise a default route to a peer or peer group.
Use undo peer default-route-advertise to disable advertising a default route.
Syntax
peer { group-name | ipv4-address | ipv6-address } default-route-advertise [ route-policy
route-policy-name ]