accounting is an optional parameter that displays the number of packets of each protocol type that has been sent through the interface. The syntax for this command is as follows:
Router#show interfaces ethernet 0 accounting
EthernetO
Protocol |
Pkts In |
Chars |
In |
Pkts Out |
Chars Out |
IP |
15613 |
346 |
578 |
231435 |
533413 |
DEC MOP |
0 |
0 |
2 |
154 | |
ARP |
3 |
180 |
0 |
0 | |
CDP |
14 |
704 |
9 |
2388 | |
IPX |
72715 |
1315 |
681 |
15134 |
45116 |
To determine the protocol distribution percentage, divide the packets (input, output, or total) for the protocol in question by the same parameter from the show interfaces port number output. For example, examine the distribution for IP traffic using the previous output from a show interfaces ethernet 0 accounting, combined with the earlier output from a show interfaces ethernet 0, shown here:
2295197 packets input, 305539992 bytes, 0 no buffer Received 1925500 broadcasts, 0 runts, 0 giants
3 input errors, 34215 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 3594664 packets output, 436549843 bytes, 0 underruns
The information in the following sections can be determined by using the embedded formula.
Was this article helpful?
Post a comment