国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)管 > 路由交換 > 正文

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

2020-02-28 16:45:04
字體:
供稿:網(wǎng)友

無線路由器廣泛應(yīng)用于家庭和企業(yè)之中,它們既方便又便宜,無線路由器需要關(guān)閉很長一段時(shí)間才能保持其性能,其實(shí)互聯(lián)網(wǎng)接入可能是路由器的原因,這個(gè)時(shí)候重新啟動(dòng)會(huì)有所改善,那么路由器檢測流量的幾種方法大家都了解嗎?一起跟著武林技術(shù)頻道小編的步伐來了解一下吧!

一、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ù)載特大的時(shí)候請謹(jǐn)慎使用,因其會(huì)使系統(tǒng)性能下降;基于地址對的字節(jié)數(shù)量及數(shù)據(jù)包數(shù)量統(tǒng)計(jì);通常只支持outbound的數(shù)據(jù)包,及被ACL拒絕的數(shù)據(jù)包(支持IN 和 OUT方向的ACL);只統(tǒng)計(jì)穿越路由器的流量,源或目的是該路由器的數(shù)據(jù)包不做統(tǒng)計(jì);支持所有的switching path,除了Autonomous Switching;可以通過SNMP來訪問統(tǒng)計(jì)值,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)計(jì)基于流(包括地址對、端口號、協(xié)議類型等)的數(shù)據(jù)量;只支持inbound的流量;只支持單播;只能在主端口配置;需要和cef或fast switching一起使用;對路由器性能有影響。

10,000 active flows: < 4% of additional CPU utilization

45,000 active flows: <12% of additional CPU utilization

65,000 active flows: <16% of additional CPU utilization

以上是武林技術(shù)頻道小編為大家搜集的路由器檢測流量的幾種方法,希望對大家的學(xué)習(xí)有一定的幫助!

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 临汾市| 武强县| 康马县| 慈溪市| 青岛市| 满洲里市| 天门市| 白水县| 汽车| 中阳县| 永安市| 洛宁县| 怀远县| 明光市| 淮滨县| 铜鼓县| 曲阳县| 黔江区| 三河市| 石棉县| 丰县| 云安县| 双城市| 桑植县| 腾冲县| 车致| 万荣县| 莆田市| 康保县| 和田市| 墨竹工卡县| 甘泉县| 峡江县| 灵寿县| 崇礼县| 天长市| 中西区| 台安县| 临桂县| 新丰县| 镶黄旗|