麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 網(wǎng)管 > 網(wǎng)絡(luò)管理 > 正文

使用路由器作流量檢測的幾種方法

2024-09-12 21:53:33
字體:
供稿:網(wǎng)友
一、ip accounting

1、配置方法

router(config)#int s 0/0

router(config-if)#ip accounting output-packets

router#sh ip accounting output-packets

Source Destination Packets Bytes

192.1.1.110 192.1.1.97 5 500

172.17.246. 128 192.1.1.110 8 704

Accounting data age is 2d23h

或者

router(config)#int s 0/0

router(config-if)#ip accounting access-violations

router#sh ip accounting [checkpoint] access-violations

Source Destination Packets Bytes ACL

192.1.1.110 224.0.0.5 46 3128 19

Accounting data age is 7

2、說明

此方法如果在路由器負(fù)載特大的時候請謹(jǐn)慎使用,因其會使系統(tǒng)性能下降;基于地址對的字節(jié)數(shù)量及數(shù)據(jù)包數(shù)量統(tǒng)計;通常只支持outbound的數(shù)據(jù)包,及被ACL拒絕的數(shù)據(jù)包(支持IN 和 OUT方向的ACL);只統(tǒng)計穿越路由器的流量,源或目的是該路由器的數(shù)據(jù)包不做統(tǒng)計;支持所有的switching path,除了Autonomous Switching;可以通過SNMP來訪問統(tǒng)計值,MIB是OLD-CISCO-IP-MIB, lipAccountingTable;ip accounting還支持其他的監(jiān)測方式,如基于tos,mac-address等。

二、netflow

1、配置方法

router (config-if)#ip route-cache flow

router (config)#ip flow-export destination 172.17.246.225 9996

router (config)#ip flow-export version 5

Optional configuration

router (config)#ip flow-export source loopback 0

router (config)#ip flow-cache entries <1024-524288>

router (config)#ip flow-cache timeout

sh ip cache flow

IP packet size distribution (132429191 total packets):

1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480

.000 .191 .024 .009 .010 .006 .005 .008 .003 .005 .003 .003 .002 .001 .001

512 544 576 1024 1536 2048 2560 3072 3584 4096 4608

.001 .002 .107 .032 .578 .000 .000 .000 .000 .000 .000

IP Flow Switching Cache, 278544 bytes

33 active, 4063 inactive, 7975259 added

104834714 ager polls, 0 flow alloc failures

Active flows timeout in 30 minutes

Inactive flows timeout in 15 seconds

last clearing of statistics never

Protocol Total Flows Packets Bytes Packets Active(Sec) Idle(Sec)

-------- Flows /Sec /Flow /Pkt /Sec /Flow /Flow

TCP-Telnet 25378 0.0 12 652 0.0 22.9 15.2

TCP-FTP 432435 0.1 4 59 0.4 1.2 2.7

TCP-FTPD 28670 0.0 212 1397 1.4 8.2 1.6

TCP-WWW 4682530 1.0 15 927 16.4 2.4 4.6

2、說明

統(tǒng)計基于流(包括地址對、端口號、協(xié)議類型等)的數(shù)據(jù)量;只支持inbound的流量;只支持單播;只能在主端口配置;需要和cef或fast switching一起使用;對路由器性能有影響。

10,000 active flows: < 4% of additional CPU utilization
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 在线男人天堂 | 久草视频国产在线 | 欧美18一19sex性护士农村 | 成人免费观看在线 | 欧美ab | 亚洲尻逼视频 | 日韩a毛片免费观看 | 在线91视频 | 蜜桃视频在线观看免费 | 日本在线免费观看视频 | 日本在线观看中文字幕 | av91肉丝一区二区电影 | 久久久电影电视剧免费看 | www.91视频com| www.com香蕉 | 亚洲骚综合 | 精品在线视频观看 | 羞羞网站 | 黄色大片高清 | 黄色毛片一级视频 | 欧美日韩在线播放 | 国产成人精品二区 | www.91在线观看 | 人人看人人舔 | 久久国产成人午夜av浪潮 | 精品亚洲在线 | 色中射| 国产一区二区三区在线免费 | 黄色电影免费网址 | 高清国产在线 | 久久精品一二三区白丝高潮 | 深夜激情视频 | 亚洲精久| 久久精片| 午夜视频色 | 国产自在线 | 久久久久久中文字幕 | 91九色国产视频 | 成人福利免费在线观看 | 日韩欧美色综合 | 一级在线免费观看视频 |