HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 212
bestroute med-confederation, Examples, Syntax, Default, Views, Predefined user roles, Usage guidelines
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 212 highlights
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. 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. 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. 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, 201