Specifying The Source Interface For Tcp Connections - HP 6125XLG Layer 3 - Ip Routing Configuration Manual

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Create an EBGP peer group.
4.
Add a peer into the EBGP
peer group.
5.
(Optional.) Configure a
description for the peer group.
6.
Create the BGP IPv6 unicast
address family or BGP-VPN
IPv6 unicast address family
and enter its view.
7.
Enable the router to exchange
IPv6 unicast routing
information with peers in the
specified peer group.

Specifying the source interface for TCP connections

By default, BGP uses the output interface of the optimal route to a peer or peer group as the source
interface for establishing TCP connections to the peer or peer group, and it uses the IP address/IPv6
address of the output interface as the source IP address/IPv6 address of TCP connections. You can
change the source interface in the following scenarios:
If the peer's IP address/IPv4 address belongs to an interface indirectly connected to the local router,
you must specify that interface as the source interface for TCP connections on the peer. For example,
interface A on the local end is directly connected to interface B on the peer. If you use the peer
x.x.x.x as-number as-number command in which x.x.x.x is not the IP address of interface B on the
local end, you must use the peer connect-interface command on the peer to specify the interface
whose IP address is x.x.x.x as the source interface for establishing a TCP connection.
If the source interface fails on a BGP router that has multiple links to a peer, BGP has to reestablish
TCP connections. To avoid this problem, use a loopback interface as the source interface.
To establish multiple BGP sessions between two routers, specify the source interface for establishing
TCP connections to each peer on the local router. Otherwise, the local BGP router may fail to
establish a TCP connection to a peer when using the outbound interface of the best route to the peer
as the source interface.
To specify the source interface for TCP connections (IPv4):
Step
1.
Enter system view.
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
group group-name external
peer ipv6-address group
group-name as-number as-number
peer group-name description
description-text
address-family ipv6 [ unicast ]
peer group-name enable
Command
system-view
203
Remarks
N/A
N/A
By default, no EBGP peer group is
created.
By default, no peer exists in the
peer group.
By default, no description is
configured for the peer group.
By default, the BGP IPv6 unicast
address family or BGP-VPN IPv6
unicast address family is not
created.
By default, the router cannot
exchange IPv6 unicast routing
information with the peers.
Remarks
N/A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents