Checking Your Work
To verify that your configuration is correct, use the following commands on the monitoring station that is configured for active flow monitoring:
show services accounting errorsshow services accounting (flow | flow-detail)show services accounting memoryshow services accounting packet-size-distributionshow services accounting statusshow services accounting usage
The following shows the output of the
showcommands used with the configuration example:user@router>show services accounting errorsService Accounting interface: sp-2/0/0, Local interface index: 542Service name: (default sampling)Error informationPackets dropped (no memory): 0, Packets dropped (not IP): 0Packets dropped (not IPv4): 0, Packets dropped (header too small): 0Memory allocation failures: 0, Memory free failures: 0Memory free list failures: 0Memory overload: No, PPS overload: No, BPS overload: Yesuser@router>show services accounting flow-detail limit 10Service Accounting interface: sp-2/0/0, Local interface index: 468Service name: (default sampling)Protocol Source Source Destination Destination Packet ByteAddress Port Address Port count countudp(17) 10.1.1.2 53 10.0.0.1 53 4329 3386035ip(0) 10.1.1.2 0 10.0.0.2 0 4785 3719654ip(0) 10.1.1.2 0 10.0.1.2 0 4530 3518769udp(17) 10.1.1.2 0 10.0.7.1 0 5011 3916767tcp(6) 10.1.1.2 20 10.3.0.1 20 1 1494tcp(6) 10.1.1.2 20 10.168.80.1 20 1 677tcp(6) 10.1.1.2 20 10.69.192.1 20 1 446tcp(6) 10.1.1.2 20 10.239.240.1 20 1 1426tcp(6) 10.1.1.2 20 10.126.160.1 20 1 889tcp(6) 10.1.1.2 20 10.71.224.1 20 1 1046user@router>show services accounting memoryService Accounting interface: sp-2/0/0, Local interface index: 468Service name: (default sampling)Memory utilizationAllocation count: 437340, Free count: 430681, Maximum allocated: 6782Allocations per second: 3366, Frees per second: 6412Total memory used (in bytes): 133416928, Total memory free (in bytes): 133961744user@router>show services accounting packet-size-distributionService Accounting interface: sp-2/0/0, Local interface index: 468Service name: (default sampling)Range start Range end Number of packets Percentage packets64 96 1705156 100user@router>show services accounting statusService Accounting interface: sp-2/0/0, Local interface index: 468Service name: (default sampling)Interface state: MonitoringGroup index: 0Export interval: 60 secs, Export format: cflowd v5Protocol: IPv4, Engine type: 55, Engine ID: 5Route record count: 13, IFL to SNMP index count: 30, AS count: 1Time set: Yes, Configuration set: YesRoute record set: Yes, IFL SNMP map set: Yesuser@router>show services accounting usageService Accounting interface: sp-2/0/0, Local interface index: 468Service name: (default sampling)CPU utilizationUptime: 4790345 milliseconds, Interrupt time: 1668537848 microsecondsLoad (5 second): 71%, Load (1 minute): 63%