Can't find what you need?


• Ask the Community
• Create a Case
Reset Search
 

 

Article

How To Use Weight to Control Which BGP Peer is Primary and Backup on an S-Series

« Go Back

Information

 
TitleHow To Use Weight to Control Which BGP Peer is Primary and Backup on an S-Series
Objective
The following configures the 203.0.113.254 router as the primary link by using a route map to asign a higher weight to routes learned from that peer.Weight is calculated only on the router on which it is configured.
Environment
S-Series
Procedure
 
 route-map bgp bigpipe permit 10
  set weight 50
  exit
 
 route-map bgp littlepipe permit 10
  set weight 10
  exit
 
 router bgp 1234
  bgp router-id 2.2.2.2
  log-up-down
  neighbor 203.0.113.1 remote-as 1234
  neighbor 203.0.113.1 route-map littlepipe in
  neighbor 203.0.113.254 remote-as 1234
  neighbor 203.0.113.254 route-map bigpipe in
  exit

 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255