beautypg.com

Specifying the source interface for establishing, Tcp connections, Allowing the establishment of a non-direct ebgp – H3C Technologies H3C S7500E Series Switches User Manual

Page 334: Connection

background image

11-5

Specifying the Source Interface for Establishing TCP Connections

Follow these steps to specify the source interface for establishing TCP connections to a BGP peer or

peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Specify the source interface for

establishing TCP connections to

an IPv6 BGP peer or peer group

peer { ipv6-group-name |

ipv6-address } connect-interface

interface-type interface-number

Required

By default, IPv6 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.

z

To improve stability and reliability, you can specify a loopback interface as the source interface for

establishing TCP connections to a BGP peer. By doing so, a connection failure upon redundancy

availability will not affect TCP connection establishment.

z

To establish a BGP connection, you need to specify on the local router the source interface for

establishing the TCP connection to the peer on the peering BGP router; otherwise, the local BGP

router may fail to establish TCP connection to the peer when using the outbound interface of the

best route as the source interface.

Allowing the Establishment of a Non-Direct eBGP connection

Follow these steps to allow the establishment of eBGP connection to a non-directly connected

peer/peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Allow the establishment of eBGP connection to

a non directly connected peer/peer group

peer { ipv6-group-name |

ipv6-address } ebgp-max-hop

[ hop-count ]

Required

Not configured by

default.