Check 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 aggregation(for cflowd version 8 flows only)show services accounting errorsshow services accounting (flow | flow-detail)show services accounting memoryshow services accounting packet-size-distributionshow services accounting statusshow services accounting usageThe following shows the output of the
showcommands used with the configuration example:user@router>show services accountingService Name:(default sampling)counter1t2user@router>show services accounting flow name t2Service Accounting interface: sp-2/0/0, Local interface index: 468Service name: t2Flow informationFlow packets: 56130820, Flow bytes: 3592372480Flow packets 10-second rate: 13024, Flow bytes 10-second rate: 833573Active flows: 600, Total flows: 600Flows exported: 28848, Flows packets exported: 960Flows inactive timed out: 0, Flows active timed out: 35400user@router>show services accounting aggregation protocol-port detail name t2Service Accounting interface: sp-2/0/0, Local interface index: 468Service name: t2Protocol: 6, Source port: 20, Destination port: 20Start time: 442794, End time: 6436260Flow count: 1, Packet count: 4294693925, Byte count: 4277471552user@router>show services accounting aggregation source-destination-prefix namet2 limit 10 order packetsService Accounting interface: sp-2/0/0, Local interface index: 542Service name: t2Source Destination Input SNMP Output SNMP Flow Packet BytePrefix Prefix Index Index count count count11.1.1.2/20 40.225.0.1/0 24 26 0 13 965011.1.1.2/20 44.143.80.1/0 24 26 0 13 1006111.1.1.2/20 44.59.176.1/0 24 26 0 13 1042611.1.1.2/20 38.5.32.1/0 24 26 0 13 1222511.1.1.2/20 40.36.16.1/0 24 26 0 13 911611.1.1.2/20 35.1.96.1/0 24 26 0 12 1105011.1.1.2/20 43.14.48.1/0 24 26 0 13 1081211.1.1.2/20 36.31.192.1/0 24 26 0 13 1147311.1.1.2/20 37.129.144.1/0 24 26 0 13 764711.1.1.2/20 35.188.160.1/0 24 26 0 13 10056user@router>show services accounting aggregation source-destination-prefix namet2 extensive limit 3Service Accounting interface: sp-2/0/0, Local interface index: 542Service name: t2Source address: 11.1.1.2, Source prefix length: 20Destination address: 44.200.176.1, Destination prefix length: 0Input SNMP interface index: 24, Output SNMP interface index: 26Source-AS: 69, Destination-AS: 69Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003Flow count: 0, Packet count: 6, Byte count: 5340Source address: 11.1.1.2, Source prefix length: 20Destination address: 45.243.160.1, Destination prefix length: 0Input SNMP interface index: 24, Output SNMP interface index: 26Source-AS: 69, Destination-AS: 69Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003Flow count: 0, Packet count: 6, Byte count: 5490Source address: 11.1.1.2, Source prefix length: 20Destination address: 45.162.160.1, Destination prefix length: 0Input SNMP interface index: 24, Output SNMP interface index: 26Source-AS: 69, Destination-AS: 69Start time: Fri Feb 21 14:16:57 2003, End time: Fri Feb 21 14:22:50 2003Flow count: 0, Packet count: 6, Byte count: 4079