资源描述:
《以太网端口配置命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、一以太网端口配置命令1.1.1 displayinterface【命令】displayinterface[interface_type
2、interface_typeinterface_num
3、interface_name]【视图】所有视图【参数】interface_type:端口类型。interface_num:端口号。interface_name:端口名,表示方法为interface_name=interface_typeinterface_num。参数的具体说明请参见interface命令中的参数说明。【描述】d
4、isplayinterface命令用来显示端口的配置信息。在显示端口信息时,如果不指定端口类型和端口号,则显示交换机上所有的端口信息;如果仅指定端口类型,则显示该类型端口的所有端口信息;如果同时指定端口类型和端口号,则显示指定的端口信息。【举例】#显示以太网端口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以太网端口当前开启或关闭状态IPSendingFrames'Format以太网帧格式Hardware
9、address端口硬件地址Description端口描述字符串TheMaximumTransmitUnit最大传输单元Mediatype介质类型loopbacknotset端口环回测试状态Porthardwaretype端口硬件类型100Mbps-speedmode,full-duplexmodeLinkspeedtypeisautonegotiation,linkduplextypeisautonegotiation端口的双工状态和速率均设置为自协商状态,与对端协商的实际结果是100Mbit/s速率和全双工模式Fl
10、ow-controlisnotsupported端口流控状态TheMaximumFrameLength端口允许通过的最大以太网帧长度BroadcastMAX-ratio端口广播风暴抑制比PVID端口缺省VLANIDMditype网线类型Portlink-type端口链路类型Tagged VLANID标识在该端口有哪些VLAN的报文需要打Tag