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

UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE????

UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE????

Description:

I am unable to get a static default route via MPBGP session for a vrf, any other route redistributed the same way is getting through.

Just the static default route isn't ????

1>

SOURCE PE WHERE IS THE ROUTE REDISTRIBUTED:

-------------------------------------------

pe1#

router bgp 4755

bgp router-id 10.10.10.103

no bgp default ipv4-unicast

bgp log-neighbor-changes

neighbor 10.10.10.100 remote-as 4755

neighbor 10.10.10.100 update-source Loopback0

!

address-family vpnv4

neighbor 10.10.10.100 activate

neighbor 10.10.10.100 send-community extended

exit-address-family

!

address-family ipv4 vrf B

redistribute static <<<<<<<<<<<<<< STATIC REDIS

no auto-summary

no synchronization

exit-address-family

!

address-family ipv4 vrf A

redistribute static <<<<<<<<<<<<<< STATIC REDIS

no auto-summary

no synchronization

exit-address-family

!

ip classless

ip route vrf A 0.0.0.0 0.0.0.0 Serial1/0 192.168.1.2 global <<<< STATIC ROUTE POINTING THE GLOBAL CONTEXT INTERFACE

ip route vrf B 0.0.0.0 0.0.0.0 Serial1/0 192.168.1.2 global <<<< STATIC ROUTE POINTING THE GLOBAL CONTEXT INTERFACE

!

DESTINATION PE HERE I CANNOT SEE THE STATIC DEFAULT ROUTE:

----------------------------------------------------------

pe3(config-router-af)#do sh ip bgp vpnv4 all

BGP table version is 11, local router ID is 10.10.10.103

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

r RIB-failure, S Stale

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

Route Distinguisher: 4755:1 (default for vrf A)

*>i172.16.1.0/30 10.10.10.101 0 100 0 ?

*>i172.16.2.0/30 10.10.10.102 0 100 0 ?

*>i172.16.10.0/24 10.10.10.101 2297856 100 0 ?

*>i172.16.20.0/24 10.10.10.102 2297856 100 0 ?

*>i172.16.200.0/24 10.10.10.102 2170112 100 0 ?

Route Distinguisher: 4755:2 (default for vrf B)

*>i172.16.1.0/30 10.10.10.101 0 100 0 ?

*>i172.16.2.0/30 10.10.10.102 0 100 0 ?

*>i172.16.10.0/24 10.10.10.101 2297856 100 0 ?

*>i172.16.20.0/24 10.10.10.102 2297856 100 0 ?

*>i172.16.200.0/24 10.10.10.102 2170112 100 0 ?

THE STAITC ROUTE IS REDISTRIBUTED TO LOCAL VRF CONTXT ASWELL AS WE CAN SEE:

----------------------------------------------------------------------------

pe3(config-router-af)#do sh ip route vrf A

Routing Table: A

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 192.168.1.2 to network 0.0.0.0

172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks

B 172.16.200.0/24 [200/2170112] via 10.10.10.102, 00:00:23

B 172.16.20.0/24 [200/2297856] via 10.10.10.102, 00:00:23

B 172.16.10.0/24 [200/2297856] via 10.10.10.101, 00:00:23

B 172.16.1.0/30 [200/0] via 10.10.10.101, 00:00:23

B 172.16.2.0/30 [200/0] via 10.10.10.102, 00:00:23

S* 0.0.0.0/0 [1/0] via 192.168.1.2, Serial1/0

Hope I am clear in explaining the issue...

Thanks,

Dara

2 REPLIES
New Member

Re: UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE????

Hi:

"Unfortunately" you HAVE to use the default-information originate cmd with BGP in addition to the static route.

:-)

Same goes for Ospf.....

A simple default static will not get redistributed !!

Regards.

New Member

Re: UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE????

Hehehe :)

"Unfortunately" that's true !!!!

This could have been the last thing that I try.

Getting he techs work, protocols work is fine.

But if get to make myself understand the logic behind adding this command as well than ... :(

Thanks a lot,

269
Views
5
Helpful
2
Replies
CreatePlease to create content