cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Cisco BGP configuration to XOS

Convert Cisco BGP configuration to XOS

r_____________9
New Contributor
I am tring to replace existing Cisco router to XOS switch. Can anyone help to convert following Cisco configuration to XoS switch?

router bgp 65522
no synchronization
bgp log-neighbor-changes
network 61.57.208.0 mask 255.255.255.0
network 61.57.209.0 mask 255.255.255.0
network 61.57.210.0 mask 255.255.255.0
network 61.57.211.0 mask 255.255.255.0

neighbor 192.72.113.121 remote-as 4780
neighbor 192.72.113.121 send-community
neighbor 192.72.113.121 soft-reconfiguration inbound
neighbor 192.72.113.121 route-map AS4780_IN in
neighbor 192.72.113.121 route-map AS4780_OUT_01 out
neighbor 192.72.113.121 password 7 0902573B18501E3639343625

neighbor 192.72.113.125 remote-as 4780
neighbor 192.72.113.125 send-community
neighbor 192.72.113.125 soft-reconfiguration inbound
neighbor 192.72.113.125 route-map AS4780_IN in
neighbor 192.72.113.125 route-map AS4780_OUT_02 out
neighbor 192.72.113.125 password 7 02481D690A5306057E763B16

neighbor 192.72.113.129 remote-as 4780
neighbor 192.72.113.129 send-community
neighbor 192.72.113.129 soft-reconfiguration inbound
neighbor 192.72.113.129 route-map AS4780_IN in
neighbor 192.72.113.129 route-map AS4780_OUT_03 out
neighbor 192.72.113.129 password 7 05451F3D2019472D2B3D251D

neighbor 192.72.113.133 remote-as 4780
neighbor 192.72.113.133 send-community
neighbor 192.72.113.133 soft-reconfiguration inbound
neighbor 192.72.113.133 route-map AS4780_IN in
neighbor 192.72.113.133 route-map AS4780_OUT_04 out
neighbor 192.72.113.133 password 7 034A4239075A28687C312B0A

maximum-paths 4
no auto-summary
!
ip route 61.57.208.0 255.255.255.0 Null0 254
ip route 61.57.209.0 255.255.255.0 Null0 254
ip route 61.57.210.0 255.255.255.0 Null0 254
ip route 61.57.211.0 255.255.255.0 Null0 254
ip bgp-community new-format
!
ip prefix-list bogons seq 5 permit 0.0.0.0/8 le 32
ip prefix-list bogons seq 10 permit 10.0.0.0/8 le 32
ip prefix-list bogons seq 15 permit 127.0.0.0/8 le 32
ip prefix-list bogons seq 20 permit 169.254.0.0/16 le 32
ip prefix-list bogons seq 25 permit 172.16.0.0/12 le 32
ip prefix-list bogons seq 30 permit 192.0.2.0/24 le 32
ip prefix-list bogons seq 35 permit 192.168.0.0/16 le 32
ip prefix-list bogons seq 40 permit 224.0.0.0/3 le 32
ip prefix-list bogons seq 45 permit 0.0.0.0/0 ge 25
!
ip prefix-list default_route seq 5 permit 0.0.0.0/0
!
ip prefix-list perfer_4780_01 seq 5 permit 61.57.208.0/24
!
ip prefix-list perfer_4780_02 seq 5 permit 61.57.209.0/24
!
ip prefix-list perfer_4780_03 seq 5 permit 61.57.210.0/24
!
ip prefix-list perfer_4780_04 seq 5 permit 61.57.211.0/24
!
route-map AS4780_IN deny 10
match ip address prefix-list bogons
!
route-map AS4780_IN permit 20
match ip address prefix-list default_route
!
route-map AS4780_OUT_04 deny 5
match ip address prefix-list bogons
!
route-map AS4780_OUT_04 permit 10
match ip address prefix-list perfer_4780_01
!
route-map AS4780_OUT_04 permit 20
match ip address prefix-list perfer_4780_02
set community 65522:200
!
route-map AS4780_OUT_04 permit 30
match ip address prefix-list perfer_4780_03
!
route-map AS4780_OUT_04 permit 40
match ip address prefix-list perfer_4780_04
set community 65522:300
!
route-map AS4780_OUT_03 deny 5
match ip address prefix-list bogons
!
route-map AS4780_OUT_03 permit 10
match ip address prefix-list perfer_4780_01
set community 65522:200
!
route-map AS4780_OUT_03 permit 20
match ip address prefix-list perfer_4780_02
!
route-map AS4780_OUT_03 permit 30
match ip address prefix-list perfer_4780_03
set community 65522:300
!
route-map AS4780_OUT_03 permit 40
match ip address prefix-list perfer_4780_04
!
route-map AS4780_OUT_02 deny 5
match ip address prefix-list bogons
!
route-map AS4780_OUT_02 permit 10
match ip address prefix-list perfer_4780_01
!
route-map AS4780_OUT_02 permit 20
match ip address prefix-list perfer_4780_02
set community 65522:300
!
route-map AS4780_OUT_02 permit 30
match ip address prefix-list perfer_4780_03
!
route-map AS4780_OUT_02 permit 40
match ip address prefix-list perfer_4780_04
set community 65522:200
!
route-map AS4780_OUT_01 deny 5
match ip address prefix-list bogons
!
route-map AS4780_OUT_01 permit 10
match ip address prefix-list perfer_4780_01
set community 65522:300
!
route-map AS4780_OUT_01 permit 20
match ip address prefix-list perfer_4780_02
!
route-map AS4780_OUT_01 permit 30
match ip address prefix-list perfer_4780_03
set community 65522:200
!
route-map AS4780_OUT_01 permit 40
match ip address prefix-list perfer_4780_04
!

10 REPLIES 10

Sathish_Arul
Extreme Employee
configure bgp neighbor
soft-reset in

If both the local BGP neighbor and the neighbor router support the route refresh capability
(ExtremeWare does not support this feature), a dynamic soft input reset can be performed. The
configure bgp neighbor soft-reset command triggers the generation of a Route-Refresh message to the neighbor. As a response to the Route-Refresh message, the neighbor sends the entire BGP routing table in updates and the switch applies the appropriate routing policy to the updates.

r_____________9
New Contributor
Is there any command in XOS which is equivalent to the cisco command “clear ip bgp
soft in”

Thanks!

Sathish_Arul
Extreme Employee
Extreme - It will be dropped.
Cisco - It will be sent to bit bucket = dropped.

r_____________9
New Contributor
What if the packet with the destination (61.57.210.0) is passed to the switch? Will it be dropped because it's blackhole route?
GTM-P2G8KFN