Answer: 1.

(w/ 9.6R1.13)
|[edit protocols bgp group E]
|# show
|apply-groups g1;
|neighbor 10.0.0.1 {
|    apply-groups g2;
|    import p03;
|    peer-as 102;
|}
|
|[edit protocols bgp group E]
|# show | display inheritance
|neighbor 10.0.0.1 {
|    ##
|    ## 'p02' was inherited from group 'g2'
|    ## 'p01' was inherited from group 'g1'
|    ##
|    import [ p03 p02 p01 ];     <<<<<
|    peer-as 102;
|}
|
|[edit protocols bgp group E]
|# run show bgp neighbor 10.0.0.1 | match Import:
|  Import: [ p03 p02 p01 ]       <<<<<

-- 
Tomohiko Kurahashi <[email protected]>


From: [email protected]
Date: Thu Aug 27 2009 13:18:49 JST
>
> 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

Reply via email to