cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
0
Helpful
1
Replies

A9K BGP

Hi, i´m new in the world of XR and i need to pass the next configuration in XR and i can´t, can you help me please?

router bgp 2222

bgp log-neighbor-changes

!

scope global

  neighbor 94.142.103.17 remote-as 1111

  neighbor 94.142.103.17 description CDE

  neighbor 94.142.103.17 password 123123

  neighbor 94.142.103.17 timers 20 60 60

  neighbor 94.142.103.17 activate

  neighbor 94.142.103.17 soft-reconfiguration inbound

  neighbor 94.142.103.17 prefix-list Filter in

  neighbor 94.142.103.17 prefix-list Filter-out out

  neighbor 94.142.103.17 route-map LOCAL-PREF-BACKUP in

   network 181.125.192.0 mask 255.255.192.0

   network 181.125.192.0 mask 255.255.224.0

   network 181.125.224.0 mask 255.255.224.0

   network 181.126.0.0 mask 255.255.128.0

   network 181.126.0.0 mask 255.255.192.0

   network 181.126.64.0 mask 255.255.192.0

   network 181.126.128.0 mask 255.255.128.0

   network 181.126.128.0 mask 255.255.192.0

   network 181.126.192.0 mask 255.255.192.0

   network 181.127.0.0 mask 255.255.192.0

   network 181.127.0.0 mask 255.255.224.0

   network 181.127.32.0 mask 255.255.224.0

!

ip prefix-list Filter seq 20 permit 216.9.251.0/24

ip prefix-list Filter seq 30 permit 66.117.0.0/16 ge 17 le 24

ip prefix-list Filter seq 40 permit 208.109.88.0/22

ip prefix-list Filter seq 50 permit 83.39.0.0/16

ip prefix-list Filter seq 100 permit 201.217.0.0/16 ge 17 le 24

ip prefix-list Filter seq 101 permit 190.23.0.0/17 ge 18 le 24

ip prefix-list Filter seq 102 permit 190.52.128.0/19 ge 20 le 24

ip prefix-list Filter seq 103 permit 190.52.160.0/19 ge 20 le 24

ip prefix-list Filter seq 104 permit 156.42.0.0/16 ge 17 le 24

ip prefix-list Filter seq 105 permit 65.197.244.0/24

ip prefix-list Filter seq 106 permit 65.216.64.0/20

ip prefix-list Filter seq 10000 permit 0.0.0.0/0

!

!

!

ip prefix-list Filter-out seq 101102005 permit 186.16.96.0/20

ip prefix-list Filter-out seq 101102006 permit 186.16.128.0/20

ip prefix-list Filter-out seq 101102007 permit 186.16.144.0/20

ip prefix-list Filter-out seq 101102008 permit 186.16.160.0/20

ip prefix-list Filter-out seq 101102009 permit 186.16.176.0/20

ip prefix-list Filter-out seq 101102020 permit 190.128.192.0/19

ip prefix-list Filter-out seq 1011022225 permit 200.12.146.0/24

ip prefix-list Filter-out seq 1011022230 permit 201.220.25.0/24

!

route-map LOCAL-PREF-BACKUP permit 10

set local-preference 95

1 Reply 1

xthuijs
Cisco Employee
Cisco Employee

The following 2 refences will give you some guidance on how to do that:

https://supportforums.cisco.com/docs/DOC-22848

and for RPL:

https://supportforums.cisco.com/docs/DOC-22031

You will need to use RPL to define your prefix sets (as opposed to prefix lists you have in IOS)

to filter inbound and outbound route updates.

You also use the RPL to modify BGP attributes.

The neighbor and network statements (need to be under the address family ipv4 unicast) are pretty much the same as in IOS.

regards

xander

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: