HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 211
bestroute compare-med, Default, Views, Predefined user roles, Examples, Syntax, Usage guidelines
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 211 highlights
undo bestroute as-path-neglect Default BGP considers the AS_PATH during best route selection. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Examples # In BGP IPv4 unicast instance view, ignore AS_PATH in route selection. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] bestroute as-path-neglect # In BGP-VPN IPv6 unicast instance view, ignore AS_PATH in route selection. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] bestroute as-path-neglect bestroute compare-med Use bestroute compare-med to enable MED comparison for routes on a per-AS basis. Use undo bestroute compare-med to restore the default. Syntax bestroute compare-med undo bestroute compare-med Default MED comparison for routes on a per-AS basis is disabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Usage guidelines By default, BGP does not compare MEDs for routes from the same AS. When a router learns a new route, it compares the route with the optimal route in its BGP routing table. If the new route is more optimal, it becomes the optimal route in the BGP routing table. In this way, route learning sequence might affect optimal route selection. 200