Configuring The Default Local Preference; Configuring The Med Attribute - HP MSR2000 series Configuration Manual

Hide thumbs Also See for MSR2000 series:
Table of Contents

Advertisement

Configuring the default local preference

The local preference is used to determine the best route for traffic leaving the local AS. When a BGP
router obtains from several IBGP peers multiple routes to the same destination but with different next hops,
it considers the route with the highest local preference as the best route.
This task allows you to specify the default local preference for routes sent to IBGP peers.
To specify the default local preference:
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Configure the default local preference.

Configuring the MED attribute

MED is used to determine the best route for traffic going into an AS. When a BGP router obtains from
EBGP peers multiple routes to the same destination but with different next hops, it considers the route with
the smallest MED value as the best route if other conditions are the same.
Configuring the default MED value
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Configure the default MED value.
Enabling the comparison of MED of routes from different ASs
Step
1.
Enter system view.
Enter BGP view.
2.
3.
Enable the comparison of MED of
routes from different ASs.
Enabling the comparison of MED of routes from each AS
Route learning sequence may affect optimal route selection.
Command
system-view
bgp as-number
default local-preference value
Command
system-view
bgp as-number
default med med-value
Command
system-view
bgp as-number
compare-different-as-med
209
Remarks
N/A
N/A
Optional.
100 by default.
Remarks
N/A
N/A
Optional.
0 by default.
Remarks
N/A
N/A
Not enabled by default.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000 seriesMsr4000 series

Table of Contents