[c-nsp] Help on redistribute OSPF/BGP

Olivier CALVANO o.calvano at gmail.com
Thu Aug 30 12:11:33 EDT 2012


Hi

i request a small help on my cisco 7301 because i never used OSPF.

I have a OSPF session into a vrf:


router ospf 1 vrf MYVRF
 router-id 172.16.1.254
 log-adjacency-changes
 area 30 nssa no-redistribution

on the same router, i have my full BGP on my AS:

router bgp my-as-number
 address-family ipv4 vrf MYVRF
  redistribute connected
  redistribute static
  no synchronization
 exit-address-family


i see the route:

7301#sh ip route vrf MYVRF

Routing Table: MYVRF
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is xx.xx.xx.xx to network 0.0.0.0

     172.16.0.0/16 is variably subnetted, 17 subnets, 2 masks
B       172.16.6.248/32 [200/0] via 78.41.184.12, 01:30:23
B       172.16.6.251/32 [200/0] via 78.41.184.12, 01:30:23
B       172.16.6.12/30 [200/0] via 78.41.184.12, 01:30:23
O N1    172.16.7.29/32
           [110/40] via 172.16.1.94, 00:48:50, GigabitEthernet0/1
O N1    172.16.7.30/32



What is the configuration

for sent to the OSPF all routes of BGP and same, sent into the bgp all
route of the OSPF ?


thanks
Olivier


More information about the cisco-nsp mailing list