Network Router User Manual
A-27
Cisco 7304 Router MIB Specifications Guide
OL-4925-02
Appendix A Using MIBs
Billing Customers for Traffic
Generating Traffic
The following set of ping commands generates traffic:
7304# ping
Protocol [ip]:
Target IP address: 10.0.0.18
Repeat count [5]: 99
Datagram size [100]: 1400
Timeout in seconds [2]: 1
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 1400-byte ICMP Echos to 10.0.0.18, timeout is 1 seconds:
.!!.!..!.!..!.!.!..!.!..!.!..!.!.!..!.!..!.!..!.!.!..!.!..!.!..!.!.!..
!.!..!.!..!.!.!..!.!..!.!..!.!
Success rate is 42 percent (42/100), round-trip min/avg/max = 1/1/1 ms
Packet Counts After the Service Policy Is Applied
After you generate traffic using the ping command, look at the number of packets that exceeded and
conformed to the committed access rate (CAR) set by the
police command:
• 42 packets conformed to the police rate and were transmitted
• 57 packets exceeded the police rate and were dropped
The following CLI and SNMP output show the counts on the interface after the service policy is applied.
(In the output, conformed and exceeded packet counts are shown in boldface.)
CLI Command Output
7304# show policy-map interface g6/0/0.10
FastEthernet6/0/0.10
Service-policy output: police-out
Class-map: BGPclass (match-all)
198 packets, 281556 bytes
30 second offered rate 31000 bps, drop rate 11000 bps
Match: access-group 101
Police:
8000 bps, 1000 limit, 2000 extended limit
conformed 42 packets, 59892 bytes; action: transmit
exceeded 57 packets, 81282 bytes; action: drop
Class-map: class-default (match-any)
15 packets, 1086 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: any
Output queue: 0/8192; 48/59940 packets/bytes output, 0 drops
SNMP Output
7304# getmany -v2c 10.86.0.63 public ciscoCBQosMIB
. . .
cbQosCMDropPkt.1143.1145 = 57
. . .
cbQosPoliceConformedPkt.1143.1151 = 42
. . .










