Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-28
To do…
Use the command…
Remarks
Configure the default local
preference
default
local-preference
value
Optional
100 by default
Configure the
default MED
value
default med
med-value
Optional
0 by default
Enable the
comparison
of MED of
routes from
different ASs
compare-different-as-
med
Optional
Not enabled by default
Enable the
comparison
of MED of
routes from
each AS
bestroute
compare-med
Optional
Not enabled by default
Configure
the MED
attribute
Enable the
comparison
of MED of
routes from
confederation
peers
bestroute
med-confederation
Optional
Not enabled by default
Specify the router as the
next hop of routes to a
peer/peer group
peer
{
group-name |
ip-address
}
next-hop-local
Optional
By default, routes to an
EBGP peer/peer group take
the router as the next hop,
while routes to an IBGP
peer/peer group do not take
the local router as the next
hop.