Vro/vswitch flow debugging command
Netflow Verification
Show ip flow interface
Show ip flow export
Show ip cache flow
Show ip cache verbose flow
Clear ip flow stats
Debug ip flow export
Www.2cto.com
Show ip cache flow
Router # show ip cache flow
Percentage of packages of different sizes in the current cache
IP packet size distribution (12718 M total packets ):
1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480
. 000. 554. 042. 017. 015. 009. 009. 009. 013. 030. 006. 007. 005. 004. 004
It can be seen that the 64-byte packet rate is very large, nearly 55.4%
512 544 576 1024 1536 2048 2560 3072 3584 4096 4608
. 003. 007. 139. 019. 098. 000. 000. 000. 000. 000. 000. 000
Apparently, all of them are IP packets, until 1536.
IP Flow Switching Cache, 4456448 bytes (flow cache, 4.45M bytes)
This number is dead, that is, 4 M cache-size
65509 active, 27 inactive, 820628747 added 60 thousand active flows, 27 inactive
955454490 ager polls, 0 flow alloc failures
Exporting flows to 1.1.15.1 (2057)
820563238 flows exported in 34485239 udp datagrams, 0 failed
Last clearing of statistics 00:00:03
Www.2cto.com
Protocol Total Flows Packets Bytes Packets Active (Sec) Idle (Sec)
Flows/Sec/Flow/Pkt/Sec/Flow
TCP-Telnet 2656855 4.3 86 78 372.3 49.6 27.6
TCP-FTP 5900082 9.5 9 71 86.8 11.4 33.1
TCP-FTPD 3200453 5.1 193 461 1006.3 45.8
TCP-WWW 546778274 887.3 12 325 11170.8 8.0 32.3
TCP-SMTP 25536863 41.4 21 283 876.5 10.9 31.3
TCP-X 116391 0.1 231 269 43.8 68.2
TCP-BGP 24520 0.0 28 216 1.1 26.2 39.0
TCP-Frag 56847 0.0 24 952 2.2 13.1
TCP-other 49148540 79.7 47 338 3752.6 30.7
TCP-other is the port other than the knowning port,
UDP-DNS 117240379 190.2 3 112 570.8 7.5 34.7
UDP-NTP 9378269 15.2 1 76 16.2 2.2 38.7
UDP-TFTP 8077 0.0 3 62 0.0 9.7 33.2
UDP-Frag 51161 0.0 14 322 1.2 11.0
UDP-other 45502422 73.8 30 174 2272.7 8.5 37.8
ICMP 14837957 24.0 5 224 125.8 12.1
IGMP 40916 0.0 170 207 11.3 197.3
IPINIP 3988 0.0 48713 393 315.2 644.2
GRE 3838 0.0 79 101 0.4 47.3 25.9
IP-other 77406 0.1 47 259 5.9 52.4 27.0
Www.2cto.com
Total: 820563238 1331.7 15 304 20633.0 9.8 33.0
This is the flow/sec, bytes/pkt of all streams.
Summary by application type (tcp/udp port number)
Flow/sec: flow Rate of each protocol, flow/s
Packets/flow: Average number of packets per stream for each protocol
Bytes/pkt: average package size (size) of each Protocol)
Packet/sec: pps OF EACH PROTOCOL
Active (Sec)/FLOW: the active duration of each stream of each Protocol
Idle (Sec)/Flow: The idel duration of each stream for each protocol
SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts B/Pk Active
Fd0/0 80.0.0.3 Hs1/0 200.1.9.1 06 0621 0052 7 87 5.9
Fd0/0 80.0.0.3 Hs1/0 200.1.8.1 06 0620 0052 7 87 1.8
Hs1/0 200.0.0.3 Fd0/0 80.1.10.1 06 0052 0621 6 58 1.8
Hs1/0 200.0.0.3 Fd0/0 80.1.1.1 06 0052 0620 5 62 5.9
Fd0/0 80.0.0.3 Hs1/0 200.1.3.1 06 0723 0052 16 68 0.3
HS1/0 200.0.0.3 Fd0/0 80.1.2.1 06 0052 0726 6 58 11.8
Fd0/0 80.0.0.3 Hs1/0 200.1.5.1 06 0726 0052 6 96 0.3
Hs1/0 200.0.0.3 Fd0/0 80.1.4.1 06 0052 0442 3 76 0.3
Hs1/0 200.0.0.3 Fd0/0 80.1.7.1 06 0052 D381 11 1171 0.6
Active flow in the current cache
Source Interface source address destination interface Destination Address Protocol Number destination port number of source port per packet average size active duration show ip cache verbose flow
The only difference between Show ip cache flow and show ip cache verbose flow is that active flow has several additional domains:
SrcIF SrcIPaddress DstIf DstIPaddress Pr TOS Flgs Pkts
Port Msk AS Port Msk AS NextHop B/Pk Active
Se0/1 193.1.1.3 Se0/0 172.17.246.228 11 00 10 5
00A1/24 193 C628/0 0 0.0.0.0 84 39.7
Clear ip flow stat ----------- clear the neflow cache so that the cumulative values in show ip cache flow are cleared by 0.
Ptr # clear ip flow stat
Ptr # sh ip cache flow
IP packet size distribution (0 total packets ):
1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480
. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000 512 544 576 1024 1536 2048 2560 3072 3584 4096 4608
. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000. 000
Www.2cto.com
IP Flow Switching Cache, 0 bytes
0 active, 0 inactive, 0 added
0 ager polls, 0 flow alloc failures
Active flows timeout in 30 minutes
Inactive flows timeout in 15 seconds
Last clearing of statistics 00:00:02
Protocol Total Flows Packets Bytes Packets Active (Sec) Idle (Sec)
-------- Flows/Sec/Flow/Pkt/Sec/Flow/FlowSrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts
Debug ip flow export
Router # debug ip flow export
IP Flow export mechanic debugging is on
* Mar 6 22:56:21. 627: IPFLOW: Sending export pak to 2001: FFFE/64 port 9999
* Mar 6 22:56:21. 627: IPFLOW: Error sending export packet: Adjacency failure