導航:首頁 > 程序命令 > 辣條哥命令

辣條哥命令

發布時間:2023-02-23 19:46:16

① 華為交換機埠丟包命令

華為S5735S-S24T4S-A
VRP ® software, Version 5.170 (S5735 V200R019C10SPC500)

配置說明
1、先定義acl,匹配ping的源、目的IP地址:

acl number 3333
rule 5 permit icmp source 192.168.11.66 0 destination 192.168.12.1 0
rule 10 permit icmp source 192.168.12.1 0 destination 192.168.11.66 0

quit

2、再定義流分類、流行為

traffic classifier 3333
if-match acl 3333
quit

traffic behavior 3333
statistic enable
quit

traffic policy 3333
classifier 3333 behavior 3333
quit

3、然後在埠上應用流策略,inbound方向和outbound方向,進行統計。
如:

interface GigabitEthernet0/0/24
traffic-policy 3333 inbound
traffic-policy 3333 outbound
quit

save

4、進行ping操作,查看流量統計情況。
如:
display traffic policy statistics interface GigabitEthernet 0/0/24 inbound //做好了上面的配置再進行一下ping操作,最後在查看
display traffic policy statistics interface GigabitEthernet 0/0/24 outbound //做好了上面的配置再進行一下ping操作,最後在查看
如果outbound方向沒有統計計數,說明報文沒有發送出去;
如果inbound方向沒有統計計數,說明沒有收到應答報文;
統計計數清除命令參考:
reset traffic policy statistics interface GigabitEthernet 0/0/24 inbound
reset traffic policy statistics interface GigabitEthernet 0/0/24 outbound
————————————————
版權聲明:本文為CSDN博主「玩電腦的辣條哥」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/weixin_42672685/article/details/117740662

閱讀全文

與辣條哥命令相關的資料

熱點內容
微信小程序源碼轉成抖音 瀏覽:654
優省油app怎麼沒法下載 瀏覽:72
pdf格式轉換excel 瀏覽:625
高爾夫6壓縮機響 瀏覽:310
優盤文件夾自動恢復 瀏覽:76
有伺服器怎麼製作小程序 瀏覽:132
程序員怎麼避開外包公司 瀏覽:604
刺激戰場國際服體驗伺服器滿了怎麼辦 瀏覽:487
python的number是什麼意思 瀏覽:539
剪映app怎麼把視頻鏡像 瀏覽:464
python長連接消息提醒 瀏覽:767
山西省美術演算法 瀏覽:95
華為手機怎麼不給別人刪app 瀏覽:814
c51單片機程序實例 瀏覽:112
騰訊幻核加密貓 瀏覽:782
雅思聽力真經pdf 瀏覽:442
甘肅戴爾伺服器虛擬化設計雲主機 瀏覽:236
怎麼購買蓋世童書APP 瀏覽:248
軍校的程序員 瀏覽:447
程序員被女警察追 瀏覽:455