<div>Dan , i have both static and direct..but now routes are exported.. </div>
<div> </div>
<div>foo </div>
<div>entry 1<br> from<br> protocol direct<br> exit<br> to<br> protocol bgp-vpn<br> exit<br> action accept<br>
exit<br> exit<br> entry 2<br> from<br> protocol static<br> exit<br> to<br> protocol bgp-vpn<br>
exit<br> action accept<br> exit<br> exit<br><br>B:NS072450653>config>service>vprn# info <br>----------------------------------------------<br>
vrf-export "foo"<br> route-distinguisher 6500:1<br> auto-bind ldp<br> vrf-target target:1:1<br> interface "to-ce1" create<br> address <a href="http://81.5.1.1/24">81.5.1.1/24</a><br>
sap 2/1/1:3 create<br> exit<br> exit<br> static-route <a href="http://5.3.1.1/32">5.3.1.1/32</a> next-hop <a href="http://81.5.1.2">81.5.1.2</a><br> exit<br>
no shutdown<br>----------------------------------------------<br> </div>
<div><br> </div>
<div><span class="gmail_quote">On 7/28/08, <b class="gmail_sendername">COULTER John</b> <<a href="mailto:John.Coulter@alcatel-lucent.com">John.Coulter@alcatel-lucent.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Dinesh,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Your policy is to import direct. You would need to add a section in your export policy for static. like follows:</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"><span class="q"> entry 20<br> from<br> protocol static<br></span><span class="q"> exit<br>
to<br> protocol bgp-vpn<br> exit<br> action accept<br> exit<br> exit</span></font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Thanks,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">John</font></span></div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><span class="q"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alcatel-nsp-bounces@puck.nether.net" target="_blank">alcatel-nsp-bounces@puck.nether.net</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alcatel-nsp-bounces@puck.nether.net" target="_blank">alcatel-nsp-bounces@puck.nether.net</a>] <b>On Behalf Of </b>Dinesh Bhonsle<br>
</span><b>Sent:</b> Monday, July 28, 2008 1:19 PM<br><b>To:</b> Dan Snyder<br><b>Cc:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alcatel-nsp@puck.nether.net" target="_blank">alcatel-nsp@puck.nether.net</a><span class="q"><br>
<b>Subject:</b> Re: [alcatel-nsp] vrf-export policy<br></span></font><br> </div>
<div><span class="e" id="q_11b6ab61a1c0b5a9_8">
<div></div>
<div>Thankls for the info, the static route is up, i added auto-bind ldp . But that did not bring the routes to the nbr PE. </div>
<div> </div>
<div>vrf-export "foo"<br> route-distinguisher 6500:1<br> auto-bind ldp<br> vrf-target target:1:1<br> interface "to-ce1" create<br> address <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.1/24" target="_blank">81.5.1.1/24</a><br>
sap 2/1/1:3 create<br> exit<br> exit<br> static-route <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://5.3.1.1/32" target="_blank">5.3.1.1/32</a> next-hop <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.2/" target="_blank">81.5.1.2</a><br>
<br><br> </div>
<div><span class="gmail_quote">On 7/28/08, <b class="gmail_sendername">Dan Snyder</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sliplever@gmail.com" target="_blank">sliplever@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">So did it work?<br><br>On Sun, Jul 27, 2008 at 11:47 PM, Dan Snyder <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sliplever@gmail.com" target="_blank">sliplever@gmail.com</a>> wrote:<br>
> well since you dont appear to be using SDP... I would enter the<br>> command "configure service vprn # auto-bind ldp" on both nodes...that<br>> should make it work for you...let me know<br>><br>> hth,<br>
> dan<br>><br>><br>> On Sun, Jul 27, 2008 at 1:18 PM, Dinesh Bhonsle <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dineshbs123@gmail.com" target="_blank">dineshbs123@gmail.com</a>> wrote:<br>
>> I am using ldp and lsp lsp from both PE's are up.<br>>><br>>> On Sat, Jul 26, 2008 at 9:02 PM, Dan Snyder <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sliplever@gmail.com" target="_blank">sliplever@gmail.com</a>> wrote:<br>
>>><br>>>> Do you have sdp setup? Or ldp auto bind?<br>>>><br>>>><br>>>><br>>>> On Jul 26, 2008, at 2:15 PM, "Dinesh Bhonsle" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dineshbs123@gmail.com" target="_blank">dineshbs123@gmail.com</a>><br>
>>> wrote:<br>>>><br>>>><br>>>>><br>>>>><br>>>>><br>>>>>> also kind of stuck here..do u have a sample vprn config. some how the<br>>>>>> alcatel box is not sending out its directly connected network and static<br>
>>>>> routes in vprn to remote PE (my policy has static/direct into bgp-vpn).<br>>>>>> 7750 has proper lsp path to remote PE.<br>>>>>> vprn 1<br>>>>>> vrf-export "foo"<br>
>>>>> route-distinguisher 6500:1<br>>>>>> vrf-target target:1:1<br>>>>>> interface "to-ce1" create<br>>>>>> address <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.1/24" target="_blank">81.5.1.1/24</a><br>
>>>>> sap 2/1/1:3 create<br>>>>>> exit<br>>>>>> exit<br>>>>>> static-route <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://5.3.1.1/32" target="_blank">5.3.1.1/32</a> next-hop <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.2/" target="_blank">81.5.1.2</a><br>
>>>>> no shutdown<br>>>>>> ----------------------------------------------<br>>>>>><br>>>>>><br>>>>>><br>>>>>> On Fri, Jul 25, 2008 at 12:40 PM, Stefano Gridelli <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sgridelli@gmail.com" target="_blank">sgridelli@gmail.com</a>><br>
>>>>> wrote:<br>>>>>>><br>>>>>>> In the version we are running (TiMOS-B-5.0.R5) we have to commit the<br>>>>>>> policy before being able to use it:<br>>>>>>><br>
>>>>>> *A:PE101>config>router>policy-options# begin<br>>>>>>> *A:PE101>config>router>policy-options# policy-statement foo<br>>>>>>> *A:PE101>config>router>policy-options>policy-statement# info<br>
>>>>>> ----------------------------------------------<br>>>>>>> entry 10<br>>>>>>> from<br>>>>>>> protocol direct<br>
>>>>>> exit<br>>>>>>> to<br>>>>>>> protocol bgp-vpn<br>>>>>>> exit<br>
>>>>>> exit<br>>>>>>> ----------------------------------------------<br>>>>>>> *A:PE101>config>router>policy-options>policy-statement# back<br>
>>>>>> *A:PE101>config>router>policy-options# comm<br>>>>>>> commit community<br>>>>>>> *A:PE101>config>router>policy-options# commit<br>
>>>>>> *A:PE101>config>router>policy-options#<br>>>>>>><br>>>>>>> Bye,<br>>>>>>> Stefano<br>>>>>>><br>>>>>>><br>
>>>>>> On Fri, Jul 25, 2008 at 3:27 PM, Dinesh Bhonsle <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dineshbs123@gmail.com" target="_blank">dineshbs123@gmail.com</a>><br>>>>>>> wrote:<br>
>>>>>>><br>>>>>>>> Stefano...ALu commits as soon as u configure...there is no seperate<br>>>>>>>> commit command that i ever used...if i am missing some thing please let me<br>
>>>>>>> know..<br>>>>>>>><br>>>>>>>><br>>>>>>>> On Fri, Jul 25, 2008 at 12:21 PM, Stefano Gridelli<br>>>>>>>> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sgridelli@gmail.com" target="_blank">sgridelli@gmail.com</a>> wrote:<br>
>>>>>>>><br>>>>>>>>> Did you commit the policy?<br>>>>>>>>><br>>>>>>>>> On Fri, Jul 25, 2008 at 2:57 PM, Dinesh Bhonsle<br>>>>>>>>> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dineshbs123@gmail.com" target="_blank">dineshbs123@gmail.com</a>> wrote:<br>
>>>>>>>>><br>>>>>>>>>> Hi,<br>>>>>>>>>> I am trying to export static and direct routers from a vprn into a<br>>>>>>>>>> mp-ibgp config on 7750.<br>
>>>>>>>>> But when i try to configure a policy..it thorws error "policy does<br>>>>>>>>>> not exists" though i have policy configured. Can some one tell how we export<br>
>>>>>>>>> direct/static routes from a vprn to remote PE ?.<br>>>>>>>>>><br>>>>>>>>>><br>>>>>>>>>> alu7750>config>router>policy-options# info<br>
>>>>>>>>> ----------------------------------------------<br>>>>>>>>>> policy-statement "foo"<br>>>>>>>>>> entry 1<br>
>>>>>>>>> from<br>>>>>>>>>> protocol direct<br>>>>>>>>>> exit<br>>>>>>>>>> to<br>
>>>>>>>>> protocol bgp-vpn<br>>>>>>>>>> exit<br>>>>>>>>>> action accept<br>>>>>>>>>> exit<br>
>>>>>>>>> exit<br>>>>>>>>>><br>>>>>>>>>> *B:NS072450653>config>service>vprn# info<br>>>>>>>>>> ----------------------------------------------<br>
>>>>>>>>> route-distinguisher 6500:1<br>>>>>>>>>> vrf-target target:1:1<br>>>>>>>>>> interface "to-ce1" create<br>
>>>>>>>>> address <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.1/24" target="_blank">81.5.1.1/24</a><br>>>>>>>>>> sap 2/1/1:3 create<br>
>>>>>>>>> exit<br>>>>>>>>>> exit<br>>>>>>>>>> static-route <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://5.3.1.1/32" target="_blank">5.3.1.1/32</a> next-hop <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://81.5.1.2/" target="_blank">81.5.1.2</a><br>
>>>>>>>>> no shutdown<br>>>>>>>>>> ----------------------------------------------<br>>>>>>>>>> *B:NS072450653>config>service>vprn#<br>
>>>>>>>>> *B:NS072450653>config>service>vprn# vrf-export foo <<<<<<<<<<<<<br>>>>>>>>>> WARNING: CLI Policy "foo" does not exist.<br>
>>>>>>>>> *B:NS072450653>config>service>vprn#<br>>>>>>>>>><br>>>>>>>>>> _______________________________________________<br>>>>>>>>>> alcatel-nsp mailing list<br>
>>>>>>>>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alcatel-nsp@puck.nether.net" target="_blank">alcatel-nsp@puck.nether.net</a><br>>>>>>>>>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://puck.nether.net/mailman/listinfo/alcatel-nsp" target="_blank">https://puck.nether.net/mailman/listinfo/alcatel-nsp</a><br>
>>>>>>>>><br>>>>>>>>><br>>>>>>>><br>>>>>>><br>>>>>><br>>>>><br>>>><br>>>> _______________________________________________<br>
>>> alcatel-nsp mailing list<br>>>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alcatel-nsp@puck.nether.net" target="_blank">alcatel-nsp@puck.nether.net</a><br>>>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://puck.nether.net/mailman/listinfo/alcatel-nsp" target="_blank">https://puck.nether.net/mailman/listinfo/alcatel-nsp</a><br>
>><br>>><br>><br></blockquote></div><br></span></div></div></blockquote></div><br>