Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-6
5.1.7 default local-preference
Syntax
default local-preference
value
undo default local-preference
View
IPv6 address family view
Parameters
value
: Default local preference, in the range 0 to 4294967295. The larger the value is,
the higher the preference is.
Description
Use the
default local-preference
command to configure the default local preference.
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 the local
preference of B from default value 100 to 180, making the route passing B preferred.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] default local-preference 180
5.1.8 default med
Syntax
default med
med-value
undo default med
View
IPv6 address family view
Parameters
med-value
: MED value, in the range 0 to 4294967295.