欢迎来到天天文库
浏览记录
ID:1772486
大小:33.50 KB
页数:4页
时间:2017-11-13
《迈普交换机常用指令》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、查看POE状态 3026G:1.showpowerinline S3026G#showpowerinline PowerInlineStatus:On PowerAvailable:185W PowerUsed:0W PowerRemaining:185W MinVoltage:44V MaxVoltage:57V Police:Off Legacy:Off Disconnect:Ac Mode:Signal HWVersion:30 SWVersion:05.0.52.showpowerinlineinterface[e
2、thernet
3、] Switch#showpowerinlineinterfaceethernet1/1-6 InterfaceStatusOperPower(mW)Max(mW)Current(mA)Volt(V) PriorityClass ---------------------------------------------------- Ethernet1/1enableoff01540000high0 Ethernet1/2enableoff
4、01540000low0 Ethernet1/3enableoff01540000low0 Ethernet1/4enableoff01540000low0 Ethernet1/5enableoff01540000low0 Ethernet1/6enableoff01540000low0 3、switch#showpowerfact-power 显示结果描述与分析 SystemTotalPower:150.0W系统总功率 TotalPowerAllocated:0.1W当前已使用的功率 Availablepower:149
5、.9W剩余可用的功率 2.switch#showpowerpd-status0/3 Power-Over-Ethernetport0/3statusinformation: 显示结果描述与分析 Powereddevicecurrent:4.0mAPD的电流 Powereddevicevoltage:46.8VPD的电压 Powereddevicepower:0.1WPD的功率Powereddevicetemperature:45℃POE端口的温度 switch>? enable--EnablePrivilegedmode
6、exit--Exittelnetsession help--help show--Showrunningsysteminformation switch>1.对特权用户配置命令“showinterfaceethernet1”,只要输入“shine1”即可。配置enable密码: 在特权用户配置模式的一般配置模式下,配置: Switch(Config)#enablepassword? 3026G:enablepasswordleveladmin密码 配置相关用户: 在特权用户配置模式的一般配置模式下,配置: Switch(C
7、onfig)#usermaipupassword0maipu Switch(Config)#telnet-usermaipupassword0maipuSwitch(Config)#hostnameHNZZ--HHYBG10#--3026G--1 HNZZ--HHYBG10#--3026G—1(Config)#switchportmode{trunk
8、access} 功能:设置交换机的端口为access模式或者trunk模式。 参数:trunk表示端口允许通过多个VLAN的流量;access为端口只能属于一个VLAN。 命
9、令模式:端口配置模式 缺省情况:端口缺省为Access模式。 使用指南:工作在trunkmode下的端口称为Trunk端口,Trunk端口可以通过多个VLAN的流量,通过Trunk端口之间的互联,可以实现不同交换机上的相同VLAN的互通;工作在accessmode下的端口称为Access端口,Access端口可以分配给一个VLAN,并且同时只能分配给一个VLAN。 设置trunk端口举例:将端口5设置为trunk模式,端口8设置为access模式。 Switch(Config)#interfaceethernet1/5
10、Switch(Config-ethernet1/5)#switchportmodetrunk switchporttrunkallowedvlan{
11、all} noswitchporttrunkallowedvlan 功能:设置Trunk端口允许通过VLAN;本命令的no操作为恢复
此文档下载收益归作者所有