[j-nsp] question about policy-statement
Stacy W. Smith
stacy at acm.org
Thu Aug 27 00:35:16 EDT 2009
3,2,1
user at host> show configuration groups groupA
protocols {
bgp {
group <*> {
neighbor <*> {
import policy-1;
}
}
}
}
user at host> show configuration groups groupB
protocols {
bgp {
group <*> {
neighbor <*> {
import policy-2;
}
}
}
}
user at host> show configuration protocols bgp
group MyGroup {
apply-groups groupA;
neighbor 10.0.0.1 {
apply-groups groupB;
import policy-3;
peer-as 6500;
}
}
user at 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 juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list