04-25-2022 12:50 AM - last edited on 05-23-2022 04:04 AM by Translator
We are migration our Internetrouters from IOS based to IOS XR based Boxes.
I need a translation of the following Route Weigth Policy to IOS XR
My IOS Configuration looks like
router bgp 30
neighbor 10.100.83.1 remote-as 100
neighbor 10.100.83.1 ebgp-multihop 2
neighbor 10.100.83.1 update-source Loopback 0
neighbor 10.100.83.1 filter-list 1 out
neighbor 10.100.83.1 weight 50000
neighbor 10.200.60.1 remote-as 200
neighbor 10.200.60.1 ebgp-multihop 2
neighbor 10.200.60.1 update-source Loopback 0
neighbor 10.200.60.1 filter-list 1 out
neighbor 10.200.60.1 weight 20000
no auto-summary
Thanks in advance
Manfre
Solved! Go to Solution.
04-26-2022 12:10 AM - last edited on 05-23-2022 04:05 AM by Translator
Hello
Try the following example:
route-policy filter
if as-path is-local then
pass
endif
end-policy
router bgp 30
address-family ipv4 unicast
neighbor 10.100.83.1
remote-as 100
ebgp-multihop 2
update-source Loopback0
address-family ipv4 unicast
weight 55000
route-policy filter out
neighbor 10.200.60.1
remote-as 200
ebgp-multihop 2
update-source Loopback0
address-family ipv4 unicast
weight 22000
route-policy filter out
04-25-2022 02:22 AM - last edited on 05-23-2022 04:05 AM by Translator
Hello,
I think in XR, the weight has to be configured under the address family:
router bgp 30
neighbor 10.100.83.1
remote-as 100
address-family ipv4 unicast
weight 50000
04-26-2022 12:10 AM - last edited on 05-23-2022 04:05 AM by Translator
Hello
Try the following example:
route-policy filter
if as-path is-local then
pass
endif
end-policy
router bgp 30
address-family ipv4 unicast
neighbor 10.100.83.1
remote-as 100
ebgp-multihop 2
update-source Loopback0
address-family ipv4 unicast
weight 55000
route-policy filter out
neighbor 10.200.60.1
remote-as 200
ebgp-multihop 2
update-source Loopback0
address-family ipv4 unicast
weight 22000
route-policy filter out
05-23-2022 01:24 AM
Thanks very much Paul; your configuration was helpfull.
Greetings Manfred
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide