1225default local-preference(IPv6 address family view)Syntax default local-preference valueundo default local-preferenceView IPv6 address family viewParameters value: Default local preference, in the range 0 to 4294967295. The larger thevalue is, the higher the preference is.Description Use the default local-preference command to configure the default localpreference.Use the undo default local-preference command to restore the default value.By default, the default local preference is 100.Use this command to affect IPv6 BGP route selection.Examples # Two devices A and B in the same AS are connected to another AS. Change thelocal preference of B from default value 100 to 180, making the route passing Bpreferred. system-view[Sysname] bgp 100[Sysname-bgp] ipv6-family[Sysname-bgp-af-ipv6] default local-preference 180default med (IPv6 address family view)Syntax default med med-valueundo default medView IPv6 address family viewParameters med-value: MED value, in the range 0 to 4294967295.Description Use the default med command to specify the default MED value.Use the undo default med command to restore the default.By default, the default med-value is 0.The multi-exit discriminator (MED) is an external metric of a route. Different fromlocal preference, MED is exchanged between ASs and will stay in the AS once itenters the AS. The route with a lower MED is preferred. When a router runningBGP obtains several routes with the identical destination and different next-hopsfrom various external peers, it will select the best route depending on the MED