導航:首頁 > 程序命令 > 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交換機命令相關的資料

熱點內容
h3c伺服器怎麼看功率 瀏覽:117
前端錄制文件如何上傳伺服器 瀏覽:536
雅黑pdf 瀏覽:456
python使用領域 瀏覽:879
買蘭博基尼用什麼app 瀏覽:137
android關閉後台運行 瀏覽:505
python輸出路徑為超鏈接 瀏覽:532
caxa為什麼沒有加密鎖 瀏覽:792
伺服器怎麼設置才能用IP訪問 瀏覽:663
郵件附件加密後打開能顯示嗎 瀏覽:724
榮耀x10拍照演算法 瀏覽:569
androidgradle配置簽名 瀏覽:96
文件夾左邊的空心三角符號是什麼 瀏覽:287
app英語音頻試卷掃碼怎麼聽 瀏覽:613
字元串編譯預處理 瀏覽:704
蘋果手機怎麼會顯示多個App 瀏覽:241
不去互聯網程序員 瀏覽:553
電腦qq郵箱解壓的圖片保存在哪裡 瀏覽:548
嵌入命令行 瀏覽:94
檔案為什麼被加密 瀏覽:487