1.配置GE2/0/6、2/0/7 接口的NetStream采樣功能,采樣比為5000
[SwitchA] interface
gigabitethernet 2/0/6
[SwitchA-GigabitEthernet1/0/6] ip netstream sampler
fix-packets 5000 inbound
[SwitchA-GigabitEthernet1/0/6] ip netstream sampler
fix-packets 5000 outbound
[SwitchA-GigabitEthernet1/0/6] quit
[SwitchA]
interface gigabitethernet 2/0/7
[SwitchA-GigabitEthernet1/0/7] ip netstream
sampler fix-packets 5000 inbound
[SwitchA-GigabitEthernet1/0/7] ip netstream
sampler fix-packets 5000 outbound
[SwitchA-GigabitEthernet1/0/7]
quit
2.配置不活躍流的老化時(shí)間為100秒,以及開(kāi)啟由TCP連接的FIN和RST報(bào)文觸發(fā)老化
[SwitchA] ip
netstream timeout inactive 200
[SwitchA] ip netstream tcp-flag
enable
3.配置NetStream聚合流統(tǒng)計(jì)信息輸出報(bào)文源地址為
106.3.32.30,目的地址為218.206.249.138,目的端口號(hào)為50040
[SwitchA] ip netstream
aggregation protocol-port
[SwitchA] ip netstream export source
106.3.32.30
[SwitchA] ip netstream export host 218.206.249.138
50040
[SwitchA] enable
4.配置輸出報(bào)文版本為V9。
[SwitchA] ip netstream export
version 9
5.使能GE2/0/6、2/0/7出、入接口的NetStream統(tǒng)計(jì)功能
[SwitchA] interface
gigabitethernet 2/0/6
[SwitchA-GigabitEthernet2/0/6] ip netstream
inbound
[SwitchA-GigabitEthernet2/0/6] ip netstream
outbound
[SwitchA-GigabitEthernet2/0/6] quit
[SwitchA] interface
gigabitethernet 2/0/7
[SwitchA-GigabitEthernet2/0/7] ip netstream
inbound
[SwitchA-GigabitEthernet2/0/7] ip netstream outbound
[SwitchA-GigabitEthernet2/0/7] quit
配置舉例:
河南億恩科技股份有限公司(1tcdy.com)始創(chuàng)于2000年,專注服務(wù)器托管租用,是國(guó)家工信部認(rèn)定的綜合電信服務(wù)運(yùn)營(yíng)商。億恩為近五十萬(wàn)的用戶提供服務(wù)器托管、服務(wù)器租用、機(jī)柜租用、云服務(wù)器、網(wǎng)站建設(shè)、網(wǎng)站托管等網(wǎng)絡(luò)基礎(chǔ)服務(wù),另有網(wǎng)總管、名片俠網(wǎng)絡(luò)推廣服務(wù),使得客戶不斷的獲得更大的收益。
服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:
0371-60135900
虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:
0371-55621053
網(wǎng)絡(luò)版權(quán)侵權(quán)舉報(bào)電話:
0371-60135995
服務(wù)熱線:
0371-60135900