[alcatel-nsp] vrf-export policy
COULTER John
John.Coulter at alcatel-lucent.com
Mon Jul 28 13:26:52 EDT 2008
Dinesh,
Your policy is to import direct. You would need to add a section in your
export policy for static. like follows:
entry 20
from
protocol static
exit
to
protocol bgp-vpn
exit
action accept
exit
exit
Thanks,
John
________________________________
From: alcatel-nsp-bounces at puck.nether.net
[mailto:alcatel-nsp-bounces at puck.nether.net] On Behalf Of Dinesh Bhonsle
Sent: Monday, July 28, 2008 1:19 PM
To: Dan Snyder
Cc: alcatel-nsp at puck.nether.net
Subject: Re: [alcatel-nsp] vrf-export policy
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.
vrf-export "foo"
route-distinguisher 6500:1
auto-bind ldp
vrf-target target:1:1
interface "to-ce1" create
address 81.5.1.1/24
sap 2/1/1:3 create
exit
exit
static-route 5.3.1.1/32 next-hop 81.5.1.2
On 7/28/08, Dan Snyder <sliplever at gmail.com> wrote:
So did it work?
On Sun, Jul 27, 2008 at 11:47 PM, Dan Snyder
<sliplever at gmail.com> wrote:
> well since you dont appear to be using SDP... I would enter
the
> command "configure service vprn # auto-bind ldp" on both
nodes...that
> should make it work for you...let me know
>
> hth,
> dan
>
>
> On Sun, Jul 27, 2008 at 1:18 PM, Dinesh Bhonsle
<dineshbs123 at gmail.com> wrote:
>> I am using ldp and lsp lsp from both PE's are up.
>>
>> On Sat, Jul 26, 2008 at 9:02 PM, Dan Snyder
<sliplever at gmail.com> wrote:
>>>
>>> Do you have sdp setup? Or ldp auto bind?
>>>
>>>
>>>
>>> On Jul 26, 2008, at 2:15 PM, "Dinesh Bhonsle"
<dineshbs123 at gmail.com>
>>> wrote:
>>>
>>>
>>>>
>>>>
>>>>
>>>>> also kind of stuck here..do u have a sample vprn config.
some how the
>>>>> alcatel box is not sending out its directly connected
network and static
>>>>> routes in vprn to remote PE (my policy has static/direct
into bgp-vpn).
>>>>> 7750 has proper lsp path to remote PE.
>>>>> vprn 1
>>>>> vrf-export "foo"
>>>>> route-distinguisher 6500:1
>>>>> vrf-target target:1:1
>>>>> interface "to-ce1" create
>>>>> address 81.5.1.1/24
>>>>> sap 2/1/1:3 create
>>>>> exit
>>>>> exit
>>>>> static-route 5.3.1.1/32 next-hop 81.5.1.2
>>>>> no shutdown
>>>>> ----------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 25, 2008 at 12:40 PM, Stefano Gridelli
<sgridelli at gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> In the version we are running (TiMOS-B-5.0.R5) we have to
commit the
>>>>>> policy before being able to use it:
>>>>>>
>>>>>> *A:PE101>config>router>policy-options# begin
>>>>>> *A:PE101>config>router>policy-options# policy-statement
foo
>>>>>> *A:PE101>config>router>policy-options>policy-statement#
info
>>>>>> ----------------------------------------------
>>>>>> entry 10
>>>>>> from
>>>>>> protocol direct
>>>>>> exit
>>>>>> to
>>>>>> protocol bgp-vpn
>>>>>> exit
>>>>>> exit
>>>>>> ----------------------------------------------
>>>>>> *A:PE101>config>router>policy-options>policy-statement#
back
>>>>>> *A:PE101>config>router>policy-options# comm
>>>>>> commit community
>>>>>> *A:PE101>config>router>policy-options# commit
>>>>>> *A:PE101>config>router>policy-options#
>>>>>>
>>>>>> Bye,
>>>>>> Stefano
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 25, 2008 at 3:27 PM, Dinesh Bhonsle
<dineshbs123 at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Stefano...ALu commits as soon as u configure...there is
no seperate
>>>>>>> commit command that i ever used...if i am missing some
thing please let me
>>>>>>> know..
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 25, 2008 at 12:21 PM, Stefano Gridelli
>>>>>>> <sgridelli at gmail.com> wrote:
>>>>>>>>
>>>>>>>> Did you commit the policy?
>>>>>>>>
>>>>>>>> On Fri, Jul 25, 2008 at 2:57 PM, Dinesh Bhonsle
>>>>>>>> <dineshbs123 at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>> I am trying to export static and direct routers from a
vprn into a
>>>>>>>>> mp-ibgp config on 7750.
>>>>>>>>> But when i try to configure a policy..it thorws error
"policy does
>>>>>>>>> not exists" though i have policy configured. Can some
one tell how we export
>>>>>>>>> direct/static routes from a vprn to remote PE ?.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> alu7750>config>router>policy-options# info
>>>>>>>>> ----------------------------------------------
>>>>>>>>> policy-statement "foo"
>>>>>>>>> entry 1
>>>>>>>>> from
>>>>>>>>> protocol direct
>>>>>>>>> exit
>>>>>>>>> to
>>>>>>>>> protocol bgp-vpn
>>>>>>>>> exit
>>>>>>>>> action accept
>>>>>>>>> exit
>>>>>>>>> exit
>>>>>>>>>
>>>>>>>>> *B:NS072450653>config>service>vprn# info
>>>>>>>>> ----------------------------------------------
>>>>>>>>> route-distinguisher 6500:1
>>>>>>>>> vrf-target target:1:1
>>>>>>>>> interface "to-ce1" create
>>>>>>>>> address 81.5.1.1/24
>>>>>>>>> sap 2/1/1:3 create
>>>>>>>>> exit
>>>>>>>>> exit
>>>>>>>>> static-route 5.3.1.1/32 next-hop 81.5.1.2
>>>>>>>>> no shutdown
>>>>>>>>> ----------------------------------------------
>>>>>>>>> *B:NS072450653>config>service>vprn#
>>>>>>>>> *B:NS072450653>config>service>vprn# vrf-export foo
<<<<<<<<<<<<
>>>>>>>>> WARNING: CLI Policy "foo" does not exist.
>>>>>>>>> *B:NS072450653>config>service>vprn#
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> alcatel-nsp mailing list
>>>>>>>>> alcatel-nsp at puck.nether.net
>>>>>>>>> https://puck.nether.net/mailman/listinfo/alcatel-nsp
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> alcatel-nsp mailing list
>>> alcatel-nsp at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/alcatel-nsp
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/alcatel-nsp/attachments/20080728/4a730113/attachment.html>
More information about the alcatel-nsp
mailing list