How to find out using NX-OS, which physical port or which SVI makes a lot of traffic, ad-hoc? Right now? At the current moment?
The command presented below is especially useful in that particular case, if there is no access to any SNMP graphs, and no access to any historical data regarding the amount of traffic, and you work f.e work for Cisco's TAC, or you do any network operation oriented work, and your customer says something about "...much bandwidth...where does this traffic come from...". This is using NX-OS, version 8.4(5).
There is this top-talker term, which is often used in addition to netflow, at least in the cisco networking jargon. There might be also other vendors or applications too, using this term in the context of ad-hoc IP bandwidth monitoring or troubleshooting.
drop Show interface top-talker drop traffic Show interface top-talker traffic
Specific top-talker command output with traffic sorted by the amount of send and received traffic and the available interface bandwidth . The full-blown output for the TX/RX side and for the BUM traffic (Broadcast, Unicast, Multicast):
Following statistics are based on number of packets. The percent column is the relative percentage between all interfaces based on the class being sorted. ------------- ------- ---------- -------- -------- -------- -------- -------- Port Percent Ucast_Rx Ucast_Tx Mcast_Rx Mcast_Tx Bcast_Rx Bcast_Tx ------------- ------- ---------- -------- -------- -------- -------- -------- Ethernet4/24 43.76 42041324081 24511003033 17135833 1294743 3 2 Ethernet4/20 17.11 16438014980 25028073825 27879149 20487545 22995398 433019162 Vlan3 7.84 7534458800 17133652774 0 0 0 0 Vlan881 4.44 4261631902 1420058469 2114 0 0 0 Ethernet3/9 3.47 3329920689 3611586071 6396476 216128274 8596286 439917167 Vlan382 3.29 3165328885 7887439765 23941 0 0 0 Ethernet3/30 0.94 899735074 1570158941 5522949 17677687 9135419 31264966 Vlan907 0.74 715056132 780913304 199029 0 0 0 Ethernet6/1 0.66 636148642 463673257 300442 51870 3 2 Ethernet3/21 0.64 618170588 1888976291 1073007 18641869 414086 31441528 Ethernet4/19 0.61 581986963 513054997 1910500 16098368 894997 34750601 Vlan169 0.54 514734461 418356107 75687 0 0 0 port-channel102 0.48 462388881 898190150 276009 21727472 821241 50122179 Vlan420 0.46 437708084 283884368 11773 0 0 0 Ethernet3/25 0.45 432682334 1009666264 2426696 19706859 852650 32748666 Vlan397 0.43 417531059 679936296 4772 0 0 0 Vlan5 0.39 377683332 945306879 81642 14217256 0 0 port-channel15 0.35 335621938 550915032 675449 5287672 835083 16258868 Ethernet4/15 0.34 327230004 531255003 652579 4515483 818410 15450278 Vlan469 0.34 324618247 688739399 12827 0 0 0 Vlan45 0.31 302435534 503837782 32484 0 0 0 port-channel8 0.27 262355144 312099529 261287 5805677 188483 15573590 Ethernet4/8 0.27 259920727 296929394 247612 4920650 177190 14117378 Vlan242 0.27 256791362 285186896 1967 0 0 0 port-channel2 0.26 253488115 476608015 958220 5532676 1001459 16227596 port-channel100 0.26 249448706 534299518 855134 19998287 290883 45008898 Vlan694 0.26 248841167 374471808 73217 0 0 0 Ethernet4/2 0.26 248766352 390072376 812674 4647137 961320 14376395 Ethernet3/33 0.26 248665566 579150696 121743 16998464 144215 34247895 port-channel5 0.22 214846178 358489448 386670 5217975 694167 14614536 Ethernet4/18 0.22 213820308 451067538 6193568 20636486 3054661 46965522 Ethernet3/4 0.22 213723315 319039454 154266 4728887 677020 15874086 Ethernet4/5 0.22 207401360 346695272 371709 4495321 674852 13664537 port-channel101 0.21 200852296 558007372 921023 13576620 326938 28596499 Vlan729 0.2 191404477 339604271 29346 0 0 0 port-channel3 0.2 187778466 529101989 405982 5489314 848676 15784314 Vlan37 0.19 185881919 255398514 107426 0 0 0 Vlan617 0.19 184196507 242761059 39410 0 0 0 Ethernet4/3 0.19 182259356 524125232 381690 4664869 827965 14086376 Ethernet3/32 0.18 171665384 279088910 464526 10294417 198014 23260202 Ethernet4/17 0.18 170502498 395433914 1151761 20048601 1408962 32956709 port-channel4 0.18 168620149 297397339 656088 5019350 818913 15094652 Vlan550 0.18 168327547 176584748 1561808 0 0 0 Vlan609 0.17 167881540 218627725 27644 0 0 0 Vlan44 0.17 165096484 203588264 26478 0 0 0 Ethernet4/4 0.17 162142077 279068688 619550 4403218 762454 13708432 Vlan425 0.16 155749838 87913362 63618 0 0 0 Ethernet3/24 0.16 152748401 198900605 338586 4913465 99705 13913156 Ethernet3/13 0.16 150347068 430693796 196233 14185710 378224 27938475 Vlan620 0.15 140014296 120702390 53789 0 0 0 Vlan491 0.14 135396785 251250387 6371 0 0 0 Ethernet3/27 0.14 133921607 260949350 64666 10804682 114857 14621644 Vlan322 0.14 132422886 209365279 37323 0 0 0 Vlan1 0.13 125469339 119949964 0 0 0 0 Vlan502 0.12 118798511 157685340 17587 0 0 0 port-channel6 0.12 115747100 205461834 364305 5314600 176386 16921573 Vlan38 0.12 110517315 143639037 26276 0 0 0 Ethernet4/6 0.11 106409166 190446127 350675 4544130 167721 15889347 Vlan343 0.11 104455890 92582624 13648 0 0 0
The command and the output shown needs a bit of time until the statistics are visible in the command line. Patience.