Configuring The Med Attribute - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

To do...
Enter system view
Enter BGP view
Enter IPv6 address family view
Configure preference values for
IPv6 BGP external, internal,
local routes
Configure the default local
preference
Advertise routes to an IPv6
peer/peer group with the local
router as the next hop
To make sure an iBGP peer can find the correct next hop, you can configure routes advertised to
the IPv6 iBGP peer/peer group to use the local router as the next hop. If BGP load balancing is
configured, the local router specifies itself as the next hop of routes sent to an IPv6 iBGP peer/peer
group regardless of whether the peer next-hop-local command is configured.
In a "third party next hop" network, that is, the two IPv6 eBGP peers reside in a common broadcast
subnet, the router does not specify itself as the next hop for routes sent to the IPv6 eBGP peer/peer
group by default, unless the peer next-hop-local command is configured.

Configuring the MED Attribute

Follow these steps to configure the MED attribute:
To do...
Enter system view
Enter BGP view
Enter IPv6 address family view
Configure a default MED value
Enable the comparison of MED
for routes from different eBGP
peers
Enable the comparison of MED
for routes from each AS
Use the command...
system-view
bgp as-number
ipv6-family
preference
{ external-preference
internal-preference
local-preference |
route-policy
route-policy-name }
default
local-preference value
peer { ipv6-group-name
| ipv6-address }
next-hop-local
Use the command...
system-view
bgp as-number
ipv6-family
default med med-value
compare-different-as-med
bestroute compare-med
1-11
Remarks
Optional
The default preference values of
external, internal and local routes are
255, 255, 130 respectively.
Optional
The value defaults to 100.
Required
By default, IPv6 BGP specifies the
local router as the next hop for routes
sent to an IPv6 eBGP peer/peer group,
but not for routes sent to an IPv6 iBGP
peer/peer group.
Remarks
Optional
Defaults to 0
Optional
Not enabled by default.
Optional
Disabled by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents