Configure Bgp Weights - Cisco NCS 5500 Series Configuration Manual

Bgp configuration ios xr
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Configure BGP Weights

Example:
RP/0/RP0/CPU0:router(config-bgp)# default metric 10
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).
Step 4
commit
Configure BGP Weights
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. Perform this task to assign a weight to routes
received from a neighbor.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. neighbor ip-address
4. remote-as as-number
5. address-family { ipv4 | ipv6 } unicast
6. weight weight-value
7. commit
DETAILED STEPS
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP
routing process.
Step 3
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24
Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer.
Step 4
remote-as as-number
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
10
Implementing BGP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents