[c-nsp] Export from VRF into global route table

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Fri Feb 4 09:16:19 EST 2005


>>>>> I hope this is a stupid question, because I'd sooner find out that
>>>>> I'm missing something, than find out that I can't do this.
>>>>> 
>>>>> Is there a way to export routes from a VRF into the global table
>>>>> (GSR 12404/PRP2 running 12.0.30S)?
>>>> 
>>>> You can only do this manually, i.e. static global routes pointing
>>>> to the vrf interface: 
>>>> 
>>>> int serial0
>>>> ip vrf forwarding foo
>>>> ...
>>>> !
>>>> ip route <prefix> <mask> serial0
>>>> 
>>> 
>>> Will this work for non point-to-point interfaces?
>> 
>> it works (tested 12.3(10)) when I do "ip route <prefix>
>> <mask> ethernet0 <next-hop>", but not sure if it's supported.
> 
> When the question rose on the netpro forum I tried to redistribute vrf
> routes into the global routing table using ospf, bgp, eigrp and not
worked.
> So static it might be but very much doubt that's supported.

The static rt towards the p2p interface is definitly supported, this is
the most basic form of providing Internet access for a VRF (I wouldn't
use it, though)..

	oli



More information about the cisco-nsp mailing list