Default Med (Bgp/Bgp-Vpn Instance View) - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

Examples
# In BGP view, set the default local preference to 180.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default local-preference 180
# In BGP-VPN instance view, set the default local preference to 180 (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] default local-preference 180

default med (BGP/BGP-VPN instance view)

Syntax
default med med-value
undo default med
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
med-value: Default MED value, in the range 0 to 4294967295.
Description
Use the default med command to specify a default MED value.
Use the undo default med command 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 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 an identical destination but different
next-hops from various external peers, it will select the best route depending on the MED value. In the
case that all other conditions are the same, the system first selects the route with the smallest MED as
the best external route.
Examples
# In BGP view, configure the default MED as 25.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default med 25
# In BGP-VPN instance view, configure the default MED as 25 (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
1-12

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents