R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
249
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP IPv4 unicast address
family view, BGP-VPN IPv4
unicast address family view, or
BGP IPv4 multicast address
family view.
• Enter BGP IPv4 unicast address
family view:
a. bgp as-number
b. address-family ipv4
[ unicast ]
• Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[ unicast ]
• Enter BGP IPv4 multicast
address family view:
f. bgp as-number
g. address-family ipv4
multicast
N/A
3. Enable MED comparison for
routes from confederation
peers.
bestroute med-confederation By default, this feature is disabled.
To enable MED comparison for routes from confederation peers (IPv6 unicast/multicast address family):
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP IPv6 unicast address
family view, or BGP IPv6
multicast address family view.
• Enter BGP IPv6 unicast address
family view:
a. bgp as-number
b. address-family ipv6
[ unicast ]
• Enter BGP IPv6 multicast
address family view:
c. bgp as-number
d. address-family ipv6
multicast
N/A
3. Enable MED comparison for
routes from confederation
peers.
bestroute med-confederation By default, this feature is disabled.
Configuring the NEXT_HOP attribute
By default, a BGP router does not set itself as the next hop for routes advertised to an IBGP peer or peer
group. In some cases, however, you must configure the advertising router as the next hop to make sure
the BGP peer can find the correct next hop.
For example, as shown in Figure 60, R
o
uter A and Router B establish an EBGP neighbor relationship,
and Router B and Router C establish an IBGP neighbor relationship. If Router C has no route destined for