EasyManua.ls Logo

HP 6125XLG - Compare-Different-As-Med

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...
203
Examples
# Enable BGP, set the local AS number to 100, and enter BGP view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp]
compare-different-as-med
Use compare-different-as-med to enable MED comparison for routes from peers in different ASs.
Use undo compare-different-as-med to disable the comparison.
Syntax
compare-different-as-med
undo compare-different-as-med
Default
The comparison 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
If multiple routes to a destination exist, the route with the smallest MED is selected.
Do not use this command unless relevant ASs adopt the same IGP protocol and routing selection method.
Examples
# In BGP IPv4 unicast instance view, enable MED comparison for routes from peers in different ASs.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] compare-different-as-med
# In BGP-VPN IPv4 unicast instance view, enable MED comparison for routes from peers in different ASs.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] compare-different-as-med
# In BGP IPv6 unicast instance view, enable MED comparison for routes from peers in different ASs.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] compare-different-as-med

Table of Contents

Other manuals for HP 6125XLG

Related product manuals