Default Local-Preference(Ipv6 Address Family View); Default Med (Ipv6 Address Family View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

default local-preference(IPv6 address family view)

Syntax
View
Parameters
Description
Examples

default med (IPv6 address family view)

Syntax
View
Parameters
Description
default local-preference value
undo default local-preference
IPv6 address family view
value: Default local preference, in the range 0 to 4294967295. The larger the
value is, the higher the preference is.
Use the
default local-preference
preference.
Use the
undo default local-preference
By default, the default local preference is 100.
Use this command to affect IPv6 BGP route selection.
# 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
default med med-value
undo default med
IPv6 address family view
med-value: MED value, in the range 0 to 4294967295.
Use the
default med
Use the
undo default med
By default, the default med-value is 0.
The multi-exit discriminator (MED) is an external metric of a route. Different from
local preference, MED is exchanged between ASs and will stay in the AS once it
enters the AS. The route with a lower MED is preferred. When a router running
BGP obtains several routes with the identical destination and different next-hops
from various external peers, it will select the best route depending on the MED
command to configure the default local
command to restore the default value.
command to specify the default MED value.
command to restore the default.
1225

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents