Stacy, Tomohiko and Sridhar,

Thank you for the help.

Li

On Thu, Aug 27, 2009 at 12:35 AM, Stacy W. Smith <[email protected]> wrote:

> 3,2,1
>
> u...@host> show configuration groups groupA
> protocols {
>    bgp {
>        group <*> {
>            neighbor <*> {
>                import policy-1;
>            }
>        }
>    }
> }
>
> u...@host> show configuration groups groupB
> protocols {
>    bgp {
>        group <*> {
>            neighbor <*> {
>                import policy-2;
>            }
>        }
>    }
> }
>
> u...@host> show configuration protocols bgp
> group MyGroup {
>    apply-groups groupA;
>    neighbor 10.0.0.1 {
>        apply-groups groupB;
>        import policy-3;
>        peer-as 6500;
>    }
> }
>
> u...@host> show configuration protocols bgp | display inheritance
> group MyGroup {
>    neighbor 10.0.0.1 {
>        ##
>        ## 'policy-2' was inherited from group 'groupB'
>        ## 'policy-1' was inherited from group 'groupA'
>        ##
>        import [ policy-3 policy-2 policy-1 ];
>        peer-as 6500;
>    }
> }
>
> --Stacy
>
>
>
> On Aug 26, 2009, at 10:18 PM, Li Zhu wrote:
>
>  All,
>>
>> In configuration below, groupA and groupB import policy-statement 1 and 2,
>> respectively. So, what is the sequence of import policy neighbor 10.0.0.1
>> should go through? Should it be
>> 1. policy-statement-3, then 2, then 1? or
>> 2. policy-statement-3 only? or
>> 3 something else?
>>
>> group MyGroup {
>>  apply-groups [groupA];
>>  neighbor 10.0.0.1 {
>>  apply-groups groupB;
>>  import policy-statement-3;
>>  }
>> }
>>
>> Thanks,
>>
>> Li
>> _______________________________________________
>> juniper-nsp mailing list [email protected]
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>
>
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to