Configuring The Med Metric For Bgp; Configuring Bgp Weights - Cisco ASR 9000 Series Routing Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Configuring the MED Metric for BGP

Configuring the MED Metric for BGP
Perform this task to set the multi exit discriminator (MED) to advertise to peers for routes that do not already
have a metric set (routes that were received with no MED attribute).
SUMMARY STEPS
1. configure
2. router bgp as-number
3. default-metric value
4. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp
120
Step 3
default-metric value
Example:
RP/0/RSP0/CPU0:router(config-bgp)# default
metric 10
Step 4
commit

Configuring BGP Weights

Perform this task to assign a weight to routes received from a neighbor. A weight is a number that you can
assign to a path so that you can control the best-path selection process. If you have particular neighbors that
you want to prefer for most of your traffic, you can use the weight command to assign a higher weight to all
routes learned from that neighbor.
Before You Begin
Note
The clear bgp command must be used for the newly configured weight to take effect.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
86
Purpose
Specifies the autonomous system number and enters the BGP
configuration mode, allowing you to configure the BGP routing
process.
Sets the default metric, which is used to set the MED to advertise
to peers for routes that do not already have a metric set (routes
that were received with no MED attribute).
Implementing BGP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents