Default Med (Ipv6 Mbgp Address Family View) - HP 3600 v2 Series Command Reference Manual

Ip multicast
Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

Use undo default local-preference to restore the default.
By default, the default local preference is 100.
Using this command can affect IPv6 MBGP route selection.
Examples
# In IPv6 MBGP address family view, set the default local preference to 180.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] default local-preference 180

default med (IPv6 MBGP address family view)

Syntax
default med med-value
undo default med
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
med-value: Specifies the default MED value, in the range of 0 to 4294967295.
Description
Use default med to specify the default MED value.
Use undo default med 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 from the local preference, the
MED is exchanged between ASs and stays in the AS after it enters the AS. The route with a lower MED
is preferred. When a router running BGP obtains several routes with an identical destination but different
next-hops from various external peers, it selects the best route depending on the MED value. If all the
other conditions are the same, the system selects the route with the lowest MED as the best external route.
Examples
# Devices A and B belong to AS 100 and device C belongs to AS 200. Device C is the peer of A and
B. Configure the MED of A as 25 to make C select the path from B.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] default med 25
412

Advertisement

Table of Contents
loading

Table of Contents