導航:首頁 > 程序命令 > juniper交換機命令

juniper交換機命令

發布時間:2025-03-21 00:50:00

Ⅰ juniper 交換機配置完後,保存配置的命令是什麼

junos系統 提交配置命令 commit
NS系統 保存配置命令 save

Ⅱ juniper EX3200交換機 怎麼查看埠實時的流量

查看埠流量的方法 :
下面的腳本是一個查看埠流量的小腳本,分別可以查看進入和出去的,代碼如下: #this is a scripts of the port's stream #cat stream #!/bin/bash
typeset in_olddif_in dif_in1 typeset out_olddif_out dif_out1
in_old=$(cat /proc/net/dev | grep eth0 | sed 's/^.*://' | awk '{ print $1 }' ) out_old=$(cat /proc/net/dev | grep eth0 | sed 's/^.*://' | awk '{ print $9 }') while true do
sleep 3
dif_in=$((in_old))
dif_in1=$((dif_in * 8 / 1024 / 1024 )) dif_out=$((out_old))
dif_out1=$((dif_out * 8 / 1024 / 1024 ))
echo " INstream: ${dif_in} bytes OUTstream: ${dif_out} bytes " echo "INstream: ${dif_in1} mbps OUTstream: ${dif_out1} mbps" echo "" done

typeset 命令用於定義局部變數
sleep 用於延遲一段時間再執行命令,這個腳本不用sleep也可以,只是為了多顯示幾次而已
執行情況如下:./stream
INstream: 3846795578 bytes OUTstream: 4172318801 bytes INstream: 29348 mbps OUTstream: 31832 mbps
INstream: 3846795578 bytes OUTstream: 4172318801 bytes INstream: 29348 mbps OUTstream: 31832 mbps
直到手動結束這個腳本(ctrl+c)。

閱讀全文

與juniper交換機命令相關的資料

熱點內容
雅思807詞彙pdf 瀏覽:603
取名用安卓是什麼意思 瀏覽:546
安卓手機怎麼樣恢復初期設置 瀏覽:670
python中如何將輸入的數據初始化 瀏覽:780
蘋果掃安卓怎麼使用瀏覽器掃一掃 瀏覽:136
工資查詢功能編程 瀏覽:244
15萬貸款怎麼演算法 瀏覽:376
起點中文網app在哪裡可以下載 瀏覽:33
解壓需要改後綴名mp3 瀏覽:635
民宿在哪個app訂 瀏覽:6
php刪除指定數組 瀏覽:55
沒人玩了伺服器還有什麼手游 瀏覽:536
pdf文檔能列印嗎 瀏覽:166
什麼是單片機發生器 瀏覽:262
單片機不同進制除法運算 瀏覽:776
資料如何上傳伺服器 瀏覽:563
蘋果iosoa源碼 瀏覽:341
ansible命令詳解 瀏覽:918
安卓怎麼確認設備管理 瀏覽:915
梁加密筋示意圖 瀏覽:332