[j-nsp] destination-class accounting
Phil Rosenthal
pr at isprime.com
Wed Jun 2 13:08:23 EDT 2004
Thanks to some off-the-list help, I've got this working, the trick is,
it needs to be in the forwarding policy.
Next question though, what is the limit on DCU's? It seems as of 4.4
it was 16, but I can't find a limit anymore on any current
documentation.
On Jun 1, 2004, at 10:51 PM, Phil Rosenthal wrote:
> Hello,
>
> I'm trying to use destination-class to track how much traffic a
> certain flow has, but i'm having problems doing it.
>
> Here's what the relevant config snippets look like:
>
> policy-options {
> policy-statement mypolicy {
> term gar1-local {
> from {
> as-path myaspath1;
> }
> then {
> metric 19;
> local-preference 500;
> destination-class destclass1;
> accept;
> }
> }
> }
> }
> interfaces {
> ge-3/0/0 {
> unit 0 {
> family inet {
> accounting {
> destination-class-usage;
> }
> }
> }
> }
> }
> firewall {
> filter sample-all {
> term destclass1 {
> from {
> destination-class destclass1;
> }
> then count destclass1;
> }
> }
> }
>
> The interface is using sample-all as it's outbound filter, and the bgp
> session is using mypolicy on it's import. Am I missing something?
> --Phil Rosenthal
> ISPrime, Inc.
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
--Phil Rosenthal
ISPrime, Inc.
More information about the juniper-nsp
mailing list