cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

4byte as number and redistribution between OSPF and BGP

mothukuri
Level 1
Level 1

Hi Experts ,

We have SVis configured on Nexus 7718 switches , which are part of area 0 and fabripath is running between them. We are running OSPF as IGP and We have EGBP with Palo alto Firewall.

whenever we are redistributing ospf into bgp and vice-versa we are not getting ospf routes into BGP and bgp routes into OSPF.

we are using 4byet AS numbers ie 10.1 , 10.2 and 10.200 and also we are using community list.

nexus 7k config :

interface Vlan19
no shutdown
no ip redirects
ip address 10.10.10.2/24
no ipv6 redirects
ip ospf passive-interface
ip router ospf 20 area 0.0.0.0
hsrp 19
ip 10.10.10.1

 

interface Vlan20
no shutdown
no ip redirects
ip address 20.10.10.2/24
no ipv6 redirects
ip ospf passive-interface
ip router ospf 20 area 0.0.0.0
hsrp 20
ip 20.10.10.1

router ospf 20
router-id 10.147.0.120

redistribute bgp 10.1 route-map bgp_in_ospf

 

router bgp 10.1
router-id 60.60.60.1
address-family ipv4 unicast
redistribute ospf 20 route-map ospf_in_bgp
neighbor 40.40.40.1 remote-as 10.1
update-source loopback35
timers 10 30
address-family ipv4 unicast
soft-reconfiguration inbound
neighbor 50.50.50.1 remote-as 10.200
local-as 10.3 no-prepend replace-as dual-as
timers 30 90
address-family ipv4 unicast
next-hop-self
soft-reconfiguration inbound

route-map bgp_in_ospf deny 10
match community bgp_redis
route-map bgp_in_ospf permit 20
set tag 200
set metric-type type-1

route-map ospf_in_bgp deny 10
match tag 200
route-map ospf_in_bgp permit 20
set extcommunity 4byteas-generic transitive 10.3:99

ip extcommunity-list standard bgp_redis 4bytegeneric  transitive 10.3:99

IBGP is fine between nexus 7ks  & EBGP is formed with Palo alto FW .main problem is that OSPF routes are not getting redistributed into BGP and vice-versa.

Could you please check above config and confirm whether extcommunity works in this case as we are using dotted AS numbers.

Who Me Too'd this topic