[alcatel-nsp] vrf-export policy

Dinesh Bhonsle dineshbs123 at gmail.com
Sat Jul 26 14:15:13 EDT 2008


>
>
>
> 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
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/alcatel-nsp/attachments/20080726/210d9fcd/attachment.html>


More information about the alcatel-nsp mailing list