Configuring Bgp Weights - Cisco ASR 9000 Series Configuration Manual

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

Advertisement

Implementing BGP

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
The clear bgp command must be used for the newly configured weight to take effect.
Note
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
Command or Action
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
OL-30423-03
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
Purpose
Specifies the autonomous system number and enters the BGP
configuration mode, allowing you to configure the BGP
routing process.
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP peer.
Creates a neighbor and assigns a remote autonomous system
number to it.
Configuring BGP Weights
83

Advertisement

Table of Contents
loading

Table of Contents