以太網(wǎng)口配置命令 2.1.1 description 設(shè)置以太網(wǎng)口描述 。 description ethernet-description no description 【參數(shù)說明】 ethernet-description為路由器以太網(wǎng)接口的描述。路由器以太網(wǎng)口配置命令。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

路由器以太網(wǎng)口配置命令

【路由器以太網(wǎng)口配置命令】strong>以太網(wǎng)口配置命令
2.1.1 description
設(shè)置以太網(wǎng)口描述 。
description ethernet-description
no description
【參數(shù)說明】
ethernet-description為路由器以太網(wǎng)接口的描述字符串 。
【缺省情況】
缺省描述為Quidway RSeries Router, ethernet interface
【命令模式】
以太網(wǎng)接口配置模式
【使用指南】
description設(shè)置以太網(wǎng)口描述,no description恢復(fù)以太網(wǎng)口缺省描述 。
【舉例】
設(shè)置以太網(wǎng)接口描述為QuidwayR2501 ethernet interface 。
Quidway(config-if-Ethernet0)#description QuidwayR2501 ethernet interface
【相關(guān)命令】
show interface
2.1.2 duplex
設(shè)置以太網(wǎng)口工作方式是半雙工或全雙工模式 。
[ no ] duplex
【缺省情況】
缺省情況下為半雙工模式
【命令模式】
以太網(wǎng)接口配置模式
【使用指南】
duplex 設(shè)置以太網(wǎng)口工作于全雙工模式,no duplex 恢復(fù)以太網(wǎng)口缺省工作模式 。當(dāng)路由器以太網(wǎng)口與共享式Hub相連時,應(yīng)工作于半雙工方式,當(dāng)路由器以太網(wǎng)口與交換式Lan Switch相連,而且Lan Switch設(shè)置了全雙工方式時,應(yīng)工作于全雙工方式 。
【舉例】
設(shè)置以太網(wǎng)接口描述為全雙工模式 。
Quidway(config-if-Ethernet0)#duplex
【相關(guān)命令】
show interface
2.1.3 loopback
答應(yīng)或禁止以太網(wǎng)口對內(nèi)自環(huán)和對外回波 。
[ no ] loopback
【缺省情況】
禁止以太網(wǎng)口對內(nèi)自環(huán)和對外回波 。
【命令模式】
以太網(wǎng)口接口配置模式
【使用指南】
只有在進行某些非凡功能測試時,才將以太網(wǎng)口設(shè)為對內(nèi)自環(huán)和對外回波 。
【舉例】
答應(yīng)以太網(wǎng)口對內(nèi)自環(huán)和對外回波 。
Quidway(config-if-Ethernet0)#loopback
2.1.4 mtu
設(shè)置以太網(wǎng)口最大傳輸單元 。
mtu ethernet-mtu
no mtu
【參數(shù)說明】
ethernet-m 設(shè)置MTU值 Default為:1500 。
【缺省情況】
以太網(wǎng)口缺省的最大傳輸單元為:
采用Ethernet_II幀格式為1500
采用Ethernet_SNAP幀格式為1492
【命令模式】
以太網(wǎng)接口配置模式
【使用指南】
以太網(wǎng)接口的最大傳輸單元只影響IP在以太網(wǎng)接口的組包和拆包,采用Ethernet_II幀格式時最大傳輸單元可達到1500,采用Ethernet_SNAP幀格式時最大傳輸單元可達到1492 。
用no mtu命令恢復(fù)缺省的最大傳輸單元 。
【舉例】
設(shè)置以太網(wǎng)口的最大傳輸單元為1492 。
Quidway(config-if-Ethernet0)#mtu 1492
【相關(guān)命令】
send-frame-type,show interface
2.1.5 send-frame-type
設(shè)置以太網(wǎng)口IP報文發(fā)送幀格式 。
send-frame-type { Ethernet_IIEthernet_SNAP }
no send-frame-type
【缺省情況】
以太網(wǎng)口缺省的IP報文發(fā)送幀格式為Ethernet_II 。
【命令模式】
以太網(wǎng)接口配置模式
【使用指南】
Quidway(R) 系列路由器的以太網(wǎng)口支持四種幀格式:
Ethernet_II(ARPA)
Ethernet_SNAP
802.2
802.3
其中Ethernet_II和Ethernet_SNAP用于支持IP協(xié)議,802.2和802.3 用于支持IPX協(xié)議 。以太網(wǎng)口對接收到的幀能夠自動識別其格式,因此可以同時接收多種格式的幀,但在同一時間只能發(fā)送一種幀格式 。
no send-frame-type 命令恢復(fù)缺省的IP報文發(fā)送幀格式 。
【舉例】
設(shè)置以太網(wǎng)口發(fā)送幀格式為Ethernet_SNAP 。
Quidway(config-if-Ethernet0)#send-frame-type Ethernet_SNAP
【相關(guān)命令】
mtu,show interface

    推薦閱讀