資源描述:
《以太網(wǎng)端口配置命令》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、一以太網(wǎng)端口配置命令1.1.1?displayinterface【命令】displayinterface[interface_type
2、interface_typeinterface_num
3、interface_name]【視圖】所有視圖【參數(shù)】interface_type:端口類型。interface_num:端口號(hào)。interface_name:端口名,表示方法為interface_name=interface_typeinterface_num。參數(shù)的具體說明請(qǐng)參見interface命令中的參數(shù)說明?!久枋觥縟
4、isplayinterface命令用來(lái)顯示端口的配置信息。在顯示端口信息時(shí),如果不指定端口類型和端口號(hào),則顯示交換機(jī)上所有的端口信息;如果僅指定端口類型,則顯示該類型端口的所有端口信息;如果同時(shí)指定端口類型和端口號(hào),則顯示指定的端口信息?!九e例】#顯示以太網(wǎng)端口Ethernet0/1的配置信息。displayinterfaceethernet0/1Ethernet0/1currentstate:UPIPSendingFrames'FormatisPKTFMT_ETHNT_2,Hardwareaddr
5、essis00e0-fc00-0010Description:aaaTheMaximumTransmitUnitis1500Mediatypeistwistedpair,loopbacknotsetPorthardwaretypeis100_BASE_TX100Mbps-speedmode,full-duplexmodeLinkspeedtypeisautonegotiation,linkduplextypeisautonegotiationFlow-controlisnotsupportedTheMaximumFr
6、ameLengthis1536BroadcastMAX-ratio:100%PVID:1Mditype:autoPortlink-type:access?Tagged??VLANID:none?UntaggedVLANID:1Last5minutesinput:?0packets/sec0bytes/secLast5minutesoutput:?0packets/sec0bytes/secinput(total):?0packets,0bytes????????0broadcasts,0multicastsinput
7、(normal):?-packets,-bytes????????-broadcasts,-multicastsinput:?0inputerrors,0runts,0giants,?-throttles,0CRC????????0frame,?-overruns,0aborts,0ignored,-parityerrorsOutput(total):0packets,0bytes????????0broadcasts,0multicasts,0pausesOutput(normal):-packets,-bytes
8、????????-broadcasts,-multicasts,-pausesOutput:0outputerrors,?0underruns,-bufferfailures????????-aborts,0deferred,0collisions,0latecollisions????????-lostcarrier,-nocarrier表1-1端口配置信息描述表域名描述Ethernet0/1currentstate以太網(wǎng)端口當(dāng)前開啟或關(guān)閉狀態(tài)IPSendingFrames'Format以太網(wǎng)幀格式Hardware
9、address端口硬件地址Description端口描述字符串TheMaximumTransmitUnit最大傳輸單元Mediatype介質(zhì)類型loopbacknotset端口環(huán)回測(cè)試狀態(tài)Porthardwaretype端口硬件類型100Mbps-speedmode,full-duplexmodeLinkspeedtypeisautonegotiation,linkduplextypeisautonegotiation端口的雙工狀態(tài)和速率均設(shè)置為自協(xié)商狀態(tài),與對(duì)端協(xié)商的實(shí)際結(jié)果是100Mbit/s速率和全雙工模式Fl
10、ow-controlisnotsupported端口流控狀態(tài)TheMaximumFrameLength端口允許通過的最大以太網(wǎng)幀長(zhǎng)度BroadcastMAX-ratio端口廣播風(fēng)暴抑制比PVID端口缺省VLANIDMditype網(wǎng)線類型Portlink-type端口鏈路類型Tagged??VLANID標(biāo)識(shí)在該端口有哪些VLAN的報(bào)文需要打Tag