[j-nsp] destination-class accounting

brad dreisbach bradd at eng.verio.net
Wed Jun 2 13:04:52 EDT 2004


On Wed, Jun 02, 2004 at 01:08:23PM -0400, Phil Rosenthal wrote:
> 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.

126 SCU and 126 DCU

http://www.juniper.net/techpubs/software/junos/junos63/feature-guide-63/html/fg-scu8.html

> 
> 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.
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list