華為路由器介面管理命令有哪些

General 更新 2024年05月12日

  無線路由器是單純型AP與寬頻路由器的一種結合體,是帶有無線覆蓋功能的路由器,主要應用於使用者上網和無線覆蓋。那麼路由器的一些管理命令你又知道多少?下面是小編給大家整理的一些有關華為路由器介面管理命令彙總,希望對大家有幫助!

  華為路由器介面管理命令彙總

  2.4.1 clear port

  清除介面統計資訊。

  clear port [ interface-type interface-number | interface-name ]

  【引數說明】

  interface-type指介面型別,如Ethernet、Serial和Bri等。

  interface-number指介面編號。

  interface-name為介面名,為一字串,內容為介面型別+介面編號。

  【預設情況】

  如果不指定相應介面,則清除全部介面的統計資訊。

  【命令模式】

  特權使用者模式

  【使用指南】

  在某些情況下,需要統計一定時間內某介面的流量統計,這時必須在統計開始前清除該介面原有的統計資訊,使介面重新進行統計。

  【舉例】

  清除介面Serial0的統計資訊。

  Quidway#clear port serial0

  【相關命令】

  show interface

  2.4.2 shutdown

  關閉或重新啟動物理介面。

  [ no ] shutdown

  【預設情況】

  在路由器上電時,初始化並啟動各物理介面。

  介面配置模式

  【使用指南】

  慎重使用關閉和重啟介面命令,但在某些特殊情況下,如修改介面的工作引數時,不能立即生效,需要關閉和重啟介面後,才能生效。

  【舉例】

  關閉介面Serial0。

  Quidway***config-if-Serial0***#shutdown

  %Serial0 is shutdown

  %Interface Serial0 changed state to DOWN

  %Line protocol IP on interface Serial0 changed state to DOWN

  【相關命令】

  show interface

  2.4.3 show interface

  顯示介面當前執行狀態和介面統計資訊。

  show interface { interface-type interface-number | interface-name }

  【引數說明】

  interface-type指介面型別,如Ethernet、Serial和Bri等。

  interface-number指介面編號。

  interface-name為介面名,為一字串,內容為介面型別+介面編號。

  【命令模式】

  特權使用者模式

  【使用指南】

  show interface命令顯示資訊包括:

  介面的物? 態和協議狀態

  介面物理特性***同異步、DTE/DCE、時鐘選擇,外接電纜等***

  介面IP地址

  介面封裝的鏈路層協議以及鏈路層協議執行狀態和統計資訊等

  介面的輸入輸出報文統計資訊

  使用者可以根據這些資訊進行流量統計和介面的故障診斷等。

  【舉例】

  檢視介面Serial0***封裝PPP協議***的執行狀態和統計資訊。

  #show interface serial 0

  Serial0 is up, line protocol is up

  physical layer is synchronous

  interface is DTE, clock is DTECLK1, cable type is V35

  Internet address is 10.3.0.158 255.255.255.252

  Encapsulation is PPP

  LCP opened, IPCP opened, IPXCP disabled

  Output queue 30/0, 33081 drops; Input queue 30/1, 0 drops.

  5 minutes input rate 1288.14 bytes/sec, 4.97 packets/sec

  5 minutes output rate 3077.11 bytes/sec, 4.94 packets/sec

  997074 packets input, 485012871 bytes, 0 no buffers

  1825361 packets output, 542976191 bytes, 0 no buffers

  1171945 input errors, 437713 CRC, 504161 frame errors

 

華為手機怎麼調出硬體資訊
華為裝置單臂路由怎麼配置
相關知識
華為路由器介面管理命令有哪些
如何解決華為路由器忘記管理員密碼
華為路由器連線後電腦等有線裝置無法上網如何解決
路由器會宕機嗎原因有哪些
路由器主要的效能參有哪些
路由器提升網速辦法有哪些
磊科路由器主要效能特點有哪些
思科路由器基本輸入操作有哪些
無線路由器怎麼限制網速有哪些方法
華為路由器無法登陸管理員頁面