国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

路由器接口管理命令

2019-11-05 00:57:38
字體:
供稿:網(wǎng)友

 1. clear port
清除接口統(tǒng)計(jì)信息。

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

【參數(shù)說明】

interface-type指接口類型,如Ethernet、Serial和Bri等。

interface-number指接口編號(hào)。

interface-name為接口名,為一字符串,內(nèi)容為接口類型+接口編號(hào)。

【缺省情況】

假如不指定相應(yīng)接口,則清除全部接口的統(tǒng)計(jì)信息。

【命令模式】

特權(quán)用戶模式

【使用指南】

在某些情況下,需要統(tǒng)計(jì)一定時(shí)間內(nèi)某接口的流量統(tǒng)計(jì),這時(shí)必須在統(tǒng)計(jì)開始前清除該接口原有的統(tǒng)計(jì)信息,使接口重新進(jìn)行統(tǒng)計(jì)。

【舉例】

清除接口Serial0的統(tǒng)計(jì)信息。

Quidway#clear port serial0

【相關(guān)命令】

show interface

2. shutdown
關(guān)閉或重新啟動(dòng)物理接口。

[ no ] shutdown

【缺省情況】

在路由器上電時(shí),初始化并啟動(dòng)各物理接口。

【命令模式】

接口配置模式

【使用指南】

慎重使用關(guān)閉和重啟接口命令,但在某些非凡情況下,如修改接口的工作參數(shù)時(shí),不能立即生效,需要關(guān)閉和重啟接口后,才能生效。

【舉例】

關(guān)閉接口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

【相關(guān)命令】

show interface

3. show interface
顯示接口當(dāng)前運(yùn)行狀態(tài)和接口統(tǒng)計(jì)信息。

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

【參數(shù)說明】

interface-type指接口類型,如Ethernet、Serial和Bri等。

interface-number指接口編號(hào)。

interface-name為接口名,為一字符串,內(nèi)容為接口類型+接口編號(hào)。

【命令模式】

特權(quán)用戶模式

【使用指南】

show interface命令顯示信息包括:

接口的物? 態(tài)和協(xié)議狀態(tài)
接口物理特性(同異步、DTE/DCE、時(shí)鐘選擇,外接電纜等)
接口IP地址
接口封裝的鏈路層協(xié)議以及鏈路層協(xié)議運(yùn)行狀態(tài)和統(tǒng)計(jì)信息等
接口的輸入輸出報(bào)文統(tǒng)計(jì)信息
用戶可以根據(jù)這些信息進(jìn)行流量統(tǒng)計(jì)和接口的故障診斷等。

【舉例】

查看接口Serial0(封裝PPP協(xié)議)的運(yùn)行狀態(tài)和統(tǒng)計(jì)信息。

#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



發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 乌兰浩特市| 大连市| 曲沃县| 深泽县| 滦平县| 博客| 会理县| 饶平县| 深水埗区| 锦州市| 荆州市| 徐闻县| 清新县| 夹江县| 马龙县| 城固县| 阳江市| 永兴县| 台安县| 张北县| 黄浦区| 浮山县| 罗平县| 江城| 胶南市| 麦盖提县| 鞍山市| 静安区| 三明市| 新沂市| 绥化市| 库伦旗| 祁门县| 即墨市| 晋中市| 新兴县| 中西区| 台安县| 苏州市| 肇州县| 淮阳县|