Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Cisco 7206 vxr to ASR 9000 BGP config migration

Hi,

I had a cisco 7206 vxr. I have just ASR 9000. I'm going to replace c7206vxr to ASR9000. I can tried to bgp config but I didnt see distribute-list for ASR9000.

c7206 config are below:

router bgp 100

no synchronization

bgp log-neighbor-changes

bgp suppress-inactive

neighbor 10.10.10.54 remote-as 101

neighbor 10.10.10.54 description *** ISP1 ***

neighbor 10.10.10.54 password 0 test

neighbor 10.10.10.54 update-source GigabitEthernet0/2.387

neighbor 10.10.10.54 prefix-list RED in

neighbor 10.10.10.54 distribute-list 12 out

neighbor 10.10.10.54 route-map PREF in

neighbor 10.10.10.54 route-map FAR out

neighbor 10.10.10.54 filter-list 9 in

!

ip prefix-list RED seq 2 deny 192.168.0.0/25

!

access-list 12 permit 192.168.96.0 0.0.3.255

!

ip as-path access-list 9 permit ^(101_)+

!

route-map PREF permit 10

set local-preference 150

!

route-map PREF permit 20

!

route-map FAR permit 10

match ip address example

set as-path prepend 100 100 100

!

route-map FAR permit 10

!

My ming so confused. Could you help me somebody ? How can migrate this config for the ASR9000 format?

Everyone's tags (7)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Cisco 7206 vxr to ASR 9000 BGP config migration

Hello Umit,

We should use RPL (Route Policy Language) on XR instead:

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

Regards,

/A

3 REPLIES
Cisco Employee

Cisco 7206 vxr to ASR 9000 BGP config migration

Hello Umit,

We should use RPL (Route Policy Language) on XR instead:

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

Regards,

/A

New Member

Cisco 7206 vxr to ASR 9000 BGP config migration

Thank you for perfect answer.

I ask another question for this case. I didnt see distribute-list example or information on this document.

How do I use distribute-list on the ASR ?

Cisco Employee

Re: Cisco 7206 vxr to ASR 9000 BGP config migration

Hello Umit,

The functionality is done with RLP as well. Here is the quick example. (note, I didn’t verify on a life router, but you should get an idea on how to implement it).

!

prefix-set pfx_acl_12_p1_permit

  192.168.96.0/22 ge 22

end-set

!

!

route-policy FAR

   prepend as-path 100 3

end-policy

!

route-policy policy_nbr_10_10_10_54__ipv4_unicast_out

if (destination in pfx_acl_12_p1_permit) then

   apply FAR

endif

end-policy

!

!

router bgp 100

bgp log neighbor changes

neighbor 10.10.10.54

remote-as 101

description *** ISP1 ***

password clear Test

update-source Gigabitethernet0/0/0/2.387

address-family ipv4 unicast

   route-policy in

   route-policy policy_nbr_10_10_10_54__ipv4_unicast_out out

!

Regards,

/A

3281
Views
15
Helpful
3
Replies
CreatePlease to create content