386To do… Use the command… RemarksStep 1 Enter system view system-view —Step 2 Enter BGP view bgp as-number RequiredStep 3 Enter IPv6 address familyview ipv6-family —Step 4 Configure preference valuesfor IPv6 BGP external,internal, local routespreference { external-preferenceinternal-preference local-preference |route-policy route-policy-name }OptionalThe default preferencevalues of external,internal, and local routesare 255, 255, 130,respectively.Step 5 Configure the default localpreference default local-preference valueOptionalThe value defaults to100.Step 6 Advertise routes to an IPv6peer or peer group with thelocal router as the next hoppeer { ipv6-group-name | ipv6-address } next-hop-localRequiredBy default, IPv6 BGPspecifies the local routeras the next hop forroutes sent to an IPv6eBGP peer or peergroup, but not for routessent to an IPv6 iBGPpeer or peer group.• To ensure an iBGP peer can find the correct next hop, you must configure routes advertised to the IPv6iBGP peer or peer group to use the local router as the next hop. If BGP load balancing is configured forequal-cost routes, the local router specifies itself as the next hop of routes sent to an IPv6 iBGP peer orpeer group regardless of whether the peer next-hop-local command is configured.• In a third party next hop network, that is, the two IPv6 eBGP peers reside in a common broadcastsubnet, the router does not specify itself as the next hop for routes sent to the IPv6 eBGP peer or peergroup by default, unless the peer next-hop-local command is configured.Configuring the MED attributeTo do… Use the command… RemarksStep 1 Enter system view system-view —Step 2 Enter BGP view bgp as-number RequiredStep 3 Enter IPv6 address familyview ipv6-family —