Configuring The Med Attribute - HP A8800 Configuration Manual

Ip multicast
Hide thumbs Also See for A8800:
Table of Contents

Advertisement

Step
4.
Configure the default local
preference.

Configuring the MED attribute

When other conditions of routes to a destination are identical, the route with the smallest MED is
selected.
To configure the MED attribute:
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enter IPv4 MBGP address family
view.
4.
Configure the MED attribute.
Configuring the NEXT_HOP attribute
You can use the peer next-hop-local command to specify the local router as the next hop of routes sent
to a MBGP IBGP peer or peer group. If load balancing is configured, the router specifies itself as the next
hop of route advertisements to the multicast IBGP peer or peer group regardless of whether the peer
next-hop-local command is configured.
In the environment where the local router has two multicast EBGP peers in a broadcast network, the
router does not specify itself as the next hop of routing information sent to the EBGP peers unless the peer
next-hop-local command is configured.
To specify the router as the next hop of routes sent to a peer/peer group:
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enter IPv4 MBGP address family
view.
Command
default local-preference value
Command
system-view
bgp as-number
ipv4-family multicast
Configure the default MED value:
default med med-value
Enable the comparison of the MED
of routes from different ASs:
compare-different-as-med
Enable the comparison of the MED
of routes from each AS:
bestroute compare-med
Enable the comparison of the MED
of routes from confederation peers:
bestroute med-confederation
Command
system-view
bgp as-number
ipv4-family multicast
228
Remarks
Optional.
100 by default.
Remarks
N/A
N/A
N/A
Optional.
The default MED value is 0.
By default, the comparison
of the MED of routes is not
enabled.
Remarks
N/A
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents