cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
818
Views
0
Helpful
1
Replies

IP Precedence Accounting

mohammed hashim
Level 1
Level 1

Hi,

when we configure this

interface Serial 0/0/0

 ip accounting precedence input

 ip accounting precedence output

the traffic is only accounted if it is destined to one of the router’s IP (and should pass through this interface). If the traffic is destined through this router to other device, it will not be.

but it often happens a traffic pass through this router to other device, so how to account the traffic this way ?

1 Reply 1

Mohammed, 

I think you are wrong,  see the usage guide lines below, 

Usage Guidelines

To display IP precedence accounting information, use the show interface precedence EXEC command.

The precedence accounting feature provides accounting information for IP traffic, summarized by IP precedence values. This feature calculates the total packet and byte counts for an interface that receives or sends IP packets and sorts the results based on IP precedence. This feature is supported on all interfaces and subinterfaces and supports Cisco Express Forwarding (CEF), dCEF, flow, and optimum switching.

I also checked out my 3945 running 15-3 IOS and seems to count all packets on the interface

see below, I Only ran this for a minute on my WAN interface but can see many packet counts, the only one destined for the router itself would be prec. 6 which is the routing protocol.

sh interface precedence

Precedence 0: 43332 packets, 22307106 bytes
Precedence 1: 795 packets, 153622 bytes
Precedence 2: 4117 packets, 779315 bytes
Precedence 3: 629 packets, 49098 bytes
Precedence 4: 52 packets, 23987 bytes
Precedence 5: 4187 packets, 309838 bytes
Precedence 6: 12 packets, 883 bytes

regards

Richard