379To do… Use the command… RemarksStep 3 Enter IPv6 addressfamily view ipv6-family —Step 4 Configure a preferredvalue for routesreceived from an IPv6peer or peer grouppeer { ipv6-group-name | ipv6-address } preferred-value valueOptionalBy default, the preferred value is0.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 or peer group, then the routingpolicy sets the specified preferred value for routes matching it. Other routes not matching the routing policyuse the value set with the peer { ipv6-group-name | ipv6-address } preferred-value value command. Ifthe preferred value in the routing policy is zero, then the routes matching it will also use the value set withthe 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 thisdocument, and the command apply preferred-value preferred-value in Routing Policy in the Layer 3 –IP Routing Command Reference.Specifying the source interface for establishing TCPconnectionsTo do… Use the command… RemarksStep 1 Enter system view system-view —Step 2 Enter BGP view bgp as-number RequiredStep 3 Enter IPv6 addressfamily view ipv6-family —Step 4 Specify the sourceinterface forestablishing TCPconnections to an IPv6BGP peer or peergrouppeer { ipv6-group-name | ipv6-address } connect-interfaceinterface-type interface-numberRequiredBy default, IPv6 BGP uses theoutbound interface of the bestroute to the IPv6 BGP peer orpeer group as the sourceinterface for establishing a TCPconnection.• To improve stability and reliability, specify a loopback interface as the source interface for establishingTCP connections to a BGP peer. By doing so, a connection failure upon redundancy availability will notaffect TCP connection establishment.