您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 冶金工业 > 华为3928命令详解
sys/进入系统模式sysnameQJSY_150038001_3928/本机名字为了QJSY设备编号150038001交换机型号3928#superpasswordlevel3cipherhuawei/进入本机系统时的配置密码huawei(密码)#local-userhuawei/设置本机用户名passwordcipherhuawei/设置本机密码service-typetelnetlevel1/设置用用户名及密码为telnet方式,telnet连上后为查看模式#vlan20/创建vlan20namemanage/vlan名字是managevlan101/创建vlan101namepppoe_101/vlan名字是pppoe_101vlan102/同上namepppoe_102#...vlan652namepppoe_652#interfaceVlan-interface20/进入管理vlanipaddress10.16.198.65255.255.255.192/设置IP地址及子网##interfaceEthernet1/0/1/进入端口1/0/1speed10/速度为10Mbroadcast-suppression5/广播包抑制为5,就是只允许5%的通过portaccessvlan101/将端口1/0/1,打上vlan101#interfaceEthernet1/0/2/同上speed10broadcast-suppression5portaccessvlan102#interfaceEthernet1/0/3speed10broadcast-suppression5portaccessvlan103#interfaceEthernet1/0/4speed10broadcast-suppression5portaccessvlan104#interfaceEthernet1/0/5/进入端口1/0/5,声明本端口是一个级联口,/就是下挂一台或几台交换机,因此端口模式是trunkduplexfull/全双工speed100/速率100Mportlink-typetrunk/端口模式是trunk,就是允许多个vlan通过undoporttrunkpermitvlan1/本端口禁止VLAN1通过porttrunkpermitvlan20581to604/设置本端口,允许以上创建的VLAN581-604以及管理VLAN20通过descriptiondownlink_to_150038021_2403ei_25/端口描述下行交换机编号,型号,端口号#interfaceEthernet1/0/6/同上duplexfullspeed100portlink-typetrunkporttrunkpermitvlan120533to556broadcast-suppression5descriptiondownlink_to_150038019_u2_24#interfaceEthernet1/0/7duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20509to532descriptiondownlink_to_150038018_2403ei_25#interfaceEthernet1/0/8duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20485to508descriptiondownlink_to_150038017_u2024_24#interfaceEthernet1/0/9duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20461to484descriptiondownlink_to_150038016_u2_24#interfaceEthernet1/0/10duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20437to460descriptiondownlink_to_150038015_linksys_24#interfaceEthernet1/0/11duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20413to436descriptiondownlink_to_150038014_linksys_24#interfaceEthernet1/0/12duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20389to412descriptiondownlink_to_150038013_u2_24#interfaceEthernet1/0/13duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20365to388descriptiondownlink_to_150038012_u2_24#interfaceEthernet1/0/14duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20341to364629to652descriptiondownlink_to_150038011_u2_24#interfaceEthernet1/0/15duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20317to340605to628descriptiondownlink_to_150038010_u2_24#interfaceEthernet1/0/16duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20293to316descriptiondownlink_to_150038009_u2_24#interfaceEthernet1/0/17duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20269to292descriptiondownlink_to_150038008_u2_24#interfaceEthernet1/0/18duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20245to268descriptiondownlink_to_150038007_linksys_24#interfaceEthernet1/0/19duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20221to244descriptiondownlink_to_150038006_linksys_24#interfaceEthernet1/0/20duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20197to220descriptiondownlink_to_150038005_linksys_24#interfaceEthernet1/0/21duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20173to196557to580descriptiondownlink_to_150038004_U2_24#interfaceEthernet1/0/22duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20149to172descriptiondownlink_to_150038003_U2_24#interfaceEthernet1/0/23duplexfullspeed100portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20125to148descriptiondownlink_to_150038002_U2_24#interfaceEthernet1/0/24/总级联口,就是本小区的总出口duplexfull/全双工(就是发数据同时可以收数据)speed100/速率100Mportlink-typetrunk/端口模式为trunkundoporttrunkpermitvlan1/本端口禁止VLAN1通过porttrunkpermitvlan20101to652/允许VLAN20101-652通过descriptionuplink_to_JF_S8512_12_21/描述上行到哪里,设备及端口号#interfaceGigabitEthernet1/1/1/光纤接口#interfaceGigabitEthernet1/1/2#interfaceGigabitEthernet1/1/3#interfaceGigabitEthernet1/1/4##iproute-static0.0.0.00.0.0.010.16.198.126preference60#/设置本交换机,下一路由地址(即网关地址)#snmp-agent/配置网络管理协议snmp-agentlocal-engineid800007DB000FE23819796877snmp-agentcommunityreadpublicsnmp-agentsys-infolocationBeiJingChinasnmp-agentsys-infoversionall#user-interfacevty04/设置telnet登录方式authentication-modescheme/scheme用户名加密码none无password只有密码#return/返回save/保存
本文标题:华为3928命令详解
链接地址:https://www.777doc.com/doc-5210476 .html