国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 文登市| 赣榆县| 英德市| 涪陵区| 万年县| 沙河市| 雅江县| 鄂托克旗| 百色市| 辉县市| 昭平县| 育儿| 玛纳斯县| 京山县| 黄冈市| 镇宁| 扎鲁特旗| 丹江口市| 大洼县| 尚志市| 读书| 滦平县| 高密市| 丹寨县| 河东区| 抚州市| 郯城县| 丰都县| 合肥市| 绥阳县| 庄浪县| 额敏县| 象州县| 杭锦后旗| 宜章县| 邢台市| 绍兴县| 冷水江市| 平昌县| 镇远县| 泸州市|