Default Med (Mbgp Address Family View); Default-Route Imported (Mbgp Address Family View) - HP 6125G Command Reference Manual

Ip multicast
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] default local-preference 180

default med (MBGP address family view)

Syntax
default med med-value
undo default med
View
IPv4 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.
Multi-exit discriminator (MED) is an external metric for routes. Different from local preference, 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 that is 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 other conditions are the same, the system selects the route with the smallest MED as the best external
route.
Examples
# In IPv4 MBGP address family view, configure the default MED as 25.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] default med 25

default-route imported (MBGP address family view)

Syntax
default-route imported
undo default-route imported
View
IPv4 MBGP address family view
Default level
2: System level
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents