Configuring a preferred value for routes from a, Peer or peer group – H3C Technologies H3C S10500 Series Switches User Manual
Page 340
325
Configuring a preferred value for routes from a peer or peer
group
Follow these steps to configure a preferred value for routes received from a 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
—
Configure a preferred value for
routes received from an IPv6 peer
or peer group
peer { ipv6-group-name |
ipv6-address } preferred-value
value
Required
By default, the preferred value is 0.
NOTE:
If you both reference a routing policy and use the command peer {
ipv6-group-name | ipv6-address }
preferred-value
value to set a preferred value for routes from a peer, the routing policy sets the specific
preferred value for routes matching it. If the preferred value in the routing policy is zero, the routes use the
value set with the peer {
ipv6-group-name | ipv6-address } preferred-value value command. For how to
use a routing policy to set a preferred value, see the command peer {
group-name | ipv4-address |
ipv6-address } route-policy route-policy-name { import | export } in this document, and the command
apply preferred-value
preferred-value in the chapter “Routing policy configuration commands.”
Specifying the source interface for establishing TCP
connections
IPv6 BGP uses TCP as the transport layer protocol. By default, IPv6 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.
If an IPv6 BGP router has multiple links to a peer, and the source interface fails, IPv6 BGP has to
reestablish TCP connections, causing network oscillation. To enhance stability of IPv6 BGP connections,
H3C recommends using a loopback interface as the source interface.
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.