[c-nsp] Cisco ISIS/BGP Redistribute

Olivier CALVANO o.calvano at gmail.com
Mon Nov 23 09:20:51 EST 2020


Hello

I am trying to redistribute in my IGP ISIS routes learned by a BGP session
based on communauty.

for this, i have:

router bgp 65533
 bgp log-neighbor-changes
 neighbor 192.168.191.29 remote-as 65534
 !
 address-family ipv4
  network 192.168.191.28 mask 255.255.255.254
  redistribute connected
  neighbor 192.168.191.29 activate
  neighbor 192.168.191.29 next-hop-self
  neighbor 192.168.191.29 as-override
  neighbor 192.168.191.29 route-map EBGP-IMPORT in
 exit-address-family



route-map EBGP-IMPORT permit 10
 match ip address 49
 set local-preference 200
 set community 4294771488 4294771489

access-list 49 permit 192.168.190.32
access-list 49 permit 192.168.190.33
access-list 49 permit 192.168.190.34
access-list 49 permit 192.168.190.35



i have created a IP Communauty List and:

ip community-list expanded ISIS800 permit 65533:801


route-map BGP-TO-ISIS-REDISTRIBUTE permit 10
 match community ISIS800


router isis
 net 49.0001.0000.0000.0397.00
 is-type level-2-only
 metric-style wide
 redistribute connected
 redistribute bgp 65533 route-map BGP-TO-ISIS-REDISTRIBUTE


in this configuration, it does not work, the 4 prefixes learned by BGP are
not redistributed in the ISIS.

if I put on the other hand:

  router isis
 net 49.0001.0000.0000.0397.00
 is-type level-2-only
 metric-style wide
 redistribute connected
 redistribute bgp 65533 route-map EBGP-IMPORT

the prefixes are well redistributed but it is not based on the community

anyone have any idea of my mistake?

thank you in advance


More information about the cisco-nsp mailing list