On Wed, Jul 29, 2009 at 09:12:26PM +0530, Nalkhande Tarique Abbas wrote: > > What platform & Junos? AFAIK, DCU filters wont work on output on > T-series, M120, & M320 routing platforms b'cos the source class and > destination classes are not carried across the platform fabric. M10i with 9.5
It seems I've found an error in configuration. I've deleted accounting source-class-usage output from upstreams' interfaces and it began to count. > > > Thanks & Regards, > Tarique A. Nalkhande > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Alexander > Shikoff > Sent: Wednesday, July 29, 2009 8:47 PM > To: [email protected] > Subject: [j-nsp] Zero counters for destination-class > > Hello, > > I have a problem with configuring DCU for my customer's interface. > We split all traffic from/to customer into two classes: > > [email protected]> show configuration policy-options policy-statement > Mark-FT > term World { > from interface [ ge-0/0/0.403 ge-0/0/0.1252 ]; > then { > destination-class to-World; > source-class from-World; > accept; > } > } > term UA-IX { > from interface [ ge-0/0/0.401 ge-0/0/0.1012 ]; > then { > destination-class to-UAIX; > source-class from-UAIX; > accept; > } > } > term default { > then accept; > } > > [email protected]> show configuration routing-options forwarding-table > > export Mark-FT; > > All prefixes in forwarding table is marked properly with classes : > > [email protected]> show route 3.0.0.0/8 extensive | match class: > Destination class: to-World > Source class: from-World > > On all interfaces faced to our upstreams accounting is configured as > follows: > [email protected]> show configuration interfaces ge-0/0/0 unit 401 > family inet accounting > source-class-usage { > input; > output; > } > > On customer's interface accounting is configured as follows: > [email protected]> show configuration interfaces ge-0/0/0 unit 404 > family inet accounting > source-class-usage { > output; > } > destination-class-usage; > > But counters for DCU on customer's interface are zeros: > [email protected]> show interfaces ge-0/0/0.404 statistics > > Logical interface ge-0/0/0.404 (Index 72) (SNMP ifIndex 208) > [...] > Flags: No-Redirects, DCU, SCU-out > Packets > Bytes > Destination class (packet-per-second) > (bits-per-second) > > to-UAIX 0 > 0 > ( 0) ( > 0) > to-World 0 > 0 > ( 0) ( > 0) > Packets > Bytes > Source class (packet-per-second) > (bits-per-second) > > from-UAIX 172488 > 22956232 > ( 102) ( > 103505) > from-World 559708 > 212043472 > ( 566) ( > 2138642) > > [...] > > Any help will be appreciated! Thanks. > > -- > MINO-RIPE > _______________________________________________ > 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 -- MINO-RIPE _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

