Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the methods of setting the BGP administrative weight to influence BGP path selection?

user-image
Question added by Micheal Egereugwu , IT TECHNICAL SUPPORT ENGINEER , AFRI-HUB ICT CENTER
Date Posted: 2017/07/21
Micheal Egereugwu
by Micheal Egereugwu , IT TECHNICAL SUPPORT ENGINEER , AFRI-HUB ICT CENTER

using the neighbor weight command

R(#)conf t

R(config)#router bgp 11

R(config-router)#neighbor 1.1.1.1 weight 60

R(config-router)#exit

R(config-router)#exit

R#clear ip bgp 1.1.1.1 soft

neighbor must be cleeared with a soft reset

using a route-map to set bgp administrative weight

R#conf t

R(config)#ip prefix-list bayt_17 permit 181.0.0.0/8

R(config)#route-map find-a-ob permit 10

R(config)#match ip address prefix-list bayt_11

R(config)#set weight 60

R(config)#route-map find-a-job permit 20

R(config)#exit

R#conf t

R(config)#router bgp 11

R(config-router)#neighbor 192.168.1.2 route-map find-a-job in

neighbor must be cleared with a soft reset

More Questions Like This