国产宅男网站在线|亚洲A级性爱免费视频|亚洲中精品级在线|午夜福利AA毛

  • <dd id="gf5jf"><th id="gf5jf"></th></dd>

    <cite id="gf5jf"><label id="gf5jf"></label></cite>
  • <div id="gf5jf"><listing id="gf5jf"></listing></div>
    學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識>路由器>路由器設(shè)置>cisco思科>

    cisco路由器flow調(diào)試指令

    時間: 權(quán)威724 分享

      思科制造的路由器、交換機(jī)和其他設(shè)備承載了全球80%的互聯(lián)網(wǎng)通信,成為硅谷中新經(jīng)濟(jì)的傳奇,那么你知道cisco路由器flow調(diào)試指令嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于cisco路由器flow調(diào)試指令的相關(guān)資料,供你參考。

      cisco路由器flow調(diào)試指令:

      Netflow 校驗

      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

      Show ip cache flow

    Router# show ip cache flow
    當(dāng)前cache下的 不同尺寸包所占的百分比
    IP packet size distribution (12718M 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
    可見64字節(jié)的包占的比率非常大,將近55.4%
    512 544 576 1024 1536 2048 2560 3072 3584 4096 4608
    .003 .007 .139 .019 .098 .000 .000 .000 .000 .000 .000
     
                       顯然都是IP包,到1536為止了
    IP Flow Switching Cache, 4456448 bytes     flow cache ,4.45M字節(jié))
              這個數(shù)是死的,即4M cache -size
    65509 active, 27 inactive, 820628747 added   6萬個活動flow,27個非活動的
    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
     
    Protocol Total Flows Packets Bytes Packets Active(Sec) Idle(Sec)
                   Flows /Sec  /Flow      /Pkt   /Sec       /Flow          /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 33.4
    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 27.3
    TCP-BGP 24520 0.0 28 216 1.1 26.2 39.0
    TCP-Frag 56847 0.0 24 952 2.2 13.1 33.2
    TCP-other 49148540 79.7 47 338 3752.6 30.7 32.2
              TCP-other,就是除knowning port以外的其他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 39.4
    UDP-other 45502422 73.8 30 174 2272.7 8.5 37.8
    ICMP 14837957 24.0 5 224 125.8 12.1 34.3
    IGMP 40916 0.0 170 207 11.3 197.3 13.5
    IPINIP 3988 0.0 48713 393 315.2 644.2 19.6
    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
     
    Total: 820563238 1331.7 15 304 20633.0 9.8 33.0
    這是所有流的flow/sec, bytes/pkt
     
    按應(yīng)用類型(tcp/udp口號summary
    flow/sec   每個協(xié)議的流速,flow/s
    packets/flow:每個協(xié)議的每流平均包數(shù)
    bytes/pkt  每個協(xié)議的包平均大小(size)
    packet/sec:  每個協(xié)議的pps
    Active(Sec)/FLOW: 每個協(xié)議的每流active 時長
    Idle(Sec)/Flow:每個協(xié)議的每流idel 時長
     
    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
     
    當(dāng)前cache中的active flow
    源接口 源地址 目的接口 目的地址 協(xié)議號 源端口 目的端口 包數(shù) 每包平均大小 active時長

      show ip cache verbose flow

      Show ip cache flow 與show ip cache verbose flow唯一的不同,就是active flow多了幾個域:

     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-----------清除neflow cache,使show ip cache flow里的各項累計值清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

    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    /Flow

    SrcIf         SrcIPaddress    DstIf         DstIPaddress    Pr SrcP DstP  Pkts

      debug ip flow export

      Router# debug ip flow export

      IP Flow export mechanism 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

     

     

      看過文章“cisco路由器flow調(diào)試指令"的人還看了:

      1.思科路由器基本配置教程

      2.思科路由器怎么進(jìn)入 思科路由器怎么設(shè)置

      3.如何查看Cisco路由器的配置信息

      4.如何利用腳本配置思科路由器

      5.cisco思科路由器設(shè)置

      6.教你如何設(shè)置Cisco路由器安全

      7.CISCO路由器配置命令狀態(tài)

      8.思科Cisco路由器的基礎(chǔ)配置知識

      9.Cisco路由器配置命令全攻略

      10.利用腳本配置思科路由器教程

    554757