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

熱點內容
新聞網站源碼下載 瀏覽:319
安卓系統如何截圖快捷鍵 瀏覽:54
菜鳥教程演算法 瀏覽:231
以太坊編譯運行 瀏覽:100
王者榮耀怎麼看哪個伺服器有賬號 瀏覽:642
dac0832單片機 瀏覽:938
幻塔官服是什麼伺服器 瀏覽:185
如何製作餐廳app 瀏覽:653
單片機pi控制 瀏覽:50
720伺服器f2軟碟機怎麼關閉 瀏覽:56
學生伺服器能搭建什麼 瀏覽:874
win7安裝java環境 瀏覽:453
中國電信wifi路由器加密 瀏覽:297
ggplot2數據分析與圖形藝術pdf 瀏覽:929
給編譯起畫畫 瀏覽:253
現安卓的發展趨勢怎麼樣 瀏覽:186
我的世界伺服器滿了如何清理 瀏覽:727
恆智天成資料軟體加密狗怎麼安裝 瀏覽:876
智慧島應用如何下載app 瀏覽:438
java讀取property 瀏覽:552