EasyManua.ls Logo

HP 6125XLG - Bestroute Med-Confederation

HP 6125XLG
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
201
With the bestroute compare-med command configured, the router puts routes received from the same AS
into a group. The router then selects the route with the lowest MED from the same group, and compares
routes from different groups. This mechanism avoids the above-mentioned problem.
If the bestroute compare-med and balance commands are configured at the same time, the balance
command does not take effect.
Examples
# In BGP IPv4 unicast instance view, enable MED comparison for routes on a per-AS basis.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] bestroute compare-med
# In BGP-VPN IPv4 unicast instance view, enable MED comparison for routes on a per-AS basis.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] bestroute compare-med
# In BGP IPv6 unicast instance view, enable MED comparison for routes on a per-AS basis.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] bestroute compare-med
bestroute med-confederation
Use bestroute med-confederation to enable MED comparison for routes received from confederation
peers.
Use undo bestroute med-confederation to restore the default.
Syntax
bestroute med-confederation
undo bestroute med-confederation
Default
MED comparison is disabled for routes received from confederation peers.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view
Predefined user roles
network-admin
Usage guidelines
This command enables BGP to compare the MEDs of routes received from confederation peers. However,
if a route received from a confederation peer has an AS number that does not belong to the
confederation, BGP does not compare the route with other routes. For example, a confederation has
three AS numbers 65006, 65007, and 65009. BGP receives three routes from different confederation
peers. The AS_PATH attributes of these routes are 65006 65009, 65007 65009, and 65008 65009,

Table of Contents

Other manuals for HP 6125XLG

Related product manuals