[j-nsp] Community Export/Import Configuration in MP-BGP
av srikant
srikant_av at hotmail.com
Thu Dec 23 05:34:50 EST 2004
Thanks ,
But why should i define these command in the routing-options ? What does
that mean
routing-options {
static {
route 172.20.1.0/24 {
next-hop 172.17.0.10;
passive;
}
Regards,
Srikant
>From: "Vladimir S. Blazhkun" <xeroform at internet2.ru>
>To: av srikant <srikant_av at hotmail.com>
>CC: juniper-nsp at puck.nether.net
>Subject: Re: [j-nsp] Community Export/Import Configuration in MP-BGP
>Date: Thu, 23 Dec 2004 12:59:12 +0300 (MSK)
>
>
>>Hi All,
>>
>>Can somebody tell me what is the equilant configuration in JuniperM40e
>>Router runing JunOS 6.2 for the below commands we use Cisco Routers w.r.t
>>MP-BGP and VRF Import and VRF-Export
>>
>>1) ip vrf test
>>route-target both 123:1
>
>routing-instances {
> test {
> instance-type vrf;
> route-distinguisher 123:1;
> vrf-import test-import;
> vrf-export test-export;
> routing-options {
> static {
> route 172.20.1.0/24 {
> next-hop 172.17.0.10;
> passive;
> }
> }
> }
>}
>
>policy-options {
> policy-statement test-export {
> term 1 {
> from protocol static;
> then {
> community add test;
> accept;
> }
> }
> term 2 {
> then reject;
> }
> }
> policy-statement test-import {
> term 1 {
> from {
> protocol bgp;
> community test;
> }
> then accept;
> }
> term 2 {
> then reject;
> }
> }
> community test members target:123:1;
>}
>
>>2) nei x.y.z.a activate
>> nei x.y.z.a send-community both
>
>community attribute will send as defined in export policy.
>
>>Regards,
>>Srikant
>
>--
>Vladimir S. Blazhkun,
>Lead IP NCC Specialist, OOO "PCS-Moscow",
>Work phone: +7 095 7847617.
_________________________________________________________________
Get jobs on the move by SMS. http://goindia.msnserver.com/IN/55253.asp Post
your CV on naukri.com today.
More information about the juniper-nsp
mailing list