华为交换机,密码忘记解决方法,华为S2300
- 格式:doc
- 大小:194.50 KB
- 文档页数:4
华为S2300交换机开局配置一、设置用户登录口令,登录方式,设备名称进入配置模式sys设置名称sysname huawei设置Console登录密码user-interface con 0authentication-mode passwordset authentication password cipher huawei配置用于AAA方式登录的用户名和密码aaalocal-user hw password simple hwlocal-user hw privilege level 15配置系统为AAA方式登录user-interface vty 0 4authentication-mode aaa二、设置管理VLAN,设备IP地址,默认网关假设设备管理VLAN为99假设设备管理地址为172.16.0.5,掩码为255.255.255.0假设设备默认网关为172.16.0.1假设设备上行接口为第1个千兆GE光口,如:interface GigabitEthernet0/0/1配置管理VLANvlan batch 99配置管理地址interface Vlanif99ip address 172.16.0.5 255.255.255.0配置默认网关ip route-static 0.0.0.0 0.0.0.0 172.16.0.1配置管理VLAN的上行口interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 99三、业务开通,配置业务VLAN的上行接口和下行接口配置业务VLAN,假设分配的业务VLAN为VLAN 2501 to 2524 vlan batch 2501 to 2524配置业务VLAN的上行口interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 2501 to 2524配置业务VLAN的下行口,若直接接用户,则为ACCESS模式配置业务VLAN 2501 to 2524到端口1-4interface Ethernet0/0/1port link-type accessport default vlan 2501#interface Ethernet0/0/2port link-type accessport default vlan 2502#interface Ethernet0/0/3port link-type accessport default vlan 2503#interface Ethernet0/0/4port link-type accessport default vlan 2504四、保存配置并验证业务是否正确配置退出配置模式quit保存配置save以下为可选操作:重启设备,可以验证设备断电后是否丢失数据重启之前请确认数据是否已正确配置和保存reboot。
一、配置学习:●如果要删除原先技术人员配置的数据:【1】reset save (删除配置文件vrpcfg)【2】reboot ●进入系统视图模式命令:system-view 、简打sys .●为设备重命名:sysname .●当前配置情况:display current-configuration 、简打dis cu .●进入以太网端口视图:interface Ethernet 1/0/1 简打int e1/0/1●设置端口访问模式:port link-type Access|Trunk|Hybrid●打开以太网端口:undo shutdown●关闭以太网端口:shutdown●退出当前视图模式:quit●查看当前配置文件:dis startup●设置管理telnet端口:【1】interface Vlan-interface 1 【2】ip address 10.10.10.80 255.255.255.0 ●配置telnet用户名和密码:【1】进入:user-interface vty 0 4 【2】设置登陆密码:set authenticationpassword simple(明文)或cipher(密文)*** 【3】配置telnet时候管理IP地址必须在路由器IP段中.【4】user privilege level 3 设置权限(最高3)或user privilege level 15 【5】idle-timeout5 设置登陆超时时间。
●启用系统防攻击功能:system-guard enable●设置上传限制为64kb/秒:line-rate inbound 512●设置下载限制为100kb/秒:line-rate outbound 1024●取消上传限制:ine-rate inbound●取消下载限制:undo line-rate outbound●创建VLAN 1:vlan 1●IP地址的DHCP分配:ip address dhcp-alloc●撤消启用HTTP服务:undo http server enable●增加端口到Vlan组:port GigabitEthernet 1/0/1 to 1/0/8●[switch-vlan2] port Ethernet 0/10 to Ethernet 0/12●查看vlan 1信息:dis vlan 1●隔离端口:port isolate●查看隔离组的信息:display isolate port●设置端口双工属性为自协商:duplux auto●设置以太网端口的速率:speed (10或100)●设置以太网端口的双工状态:duplex (full或half)注解:full –表示全双工.half –表示半双工状态..●显示交换机端口的详细配置信息:display ndp●显示版本信息:display version●修改特权用户密码:super password simple <password>二、端口和MAC地址绑定:●max mac 0●interface ethernet1/0/1●mac-address static 0000-0000-0001 interface e0/1 vlan 1●quit●save三、解除绑定●undo max mac 0●interface ethernet1/0/1●undo mac-address static 0000-0000-0001 interface e0/1 vlan 1。
华为交换机忘记console口密码以及清空交换机配置的方法
在工作过程中,我们有时会用到之前使用过的交换机,因为此交换机不在现网使用,我们无法远程登陆,无法得知它的用户名密码,甚至不知道是谁配置的,也无从得知它的console口密码,就是这台交换机我现在需要使用,但是我进不去配置页面,此时呢,我们需要重启交换机,待它显示有“Ctrl+B”的语句时,我们按下“Ctrl+B”,然后会提示输入密码,此时输入BOOTROM默认密码:****************,然后会进入它的“BOOTROM'界面,交换机重启时就要准备按Ctrl+B
BOOTROM菜单
此时,输入数字“7 清除console口用户密码”,回车,它会提示你【清除console口用户密码 yes or no】,此时输入 Y 之后又会进入到BOOTROM MENU 界面,此时,输入【1 以默认模式启动】,然后交换机会重新启动。
重新启动后,可能会直接进入命令配置界面,也就是<> 模式下;有可能会让设置新密码;
进入命令配置界面后,我们要重新设置console口密码,配置命令如下:
此时console口密码就重新设置好了,之后对交换机进行配置时就可以通过console口进入进行配置了。
清空交换机配置:
有时拿到一台交换机,上面是有很多配置的,但是不适用于你将要使用的情景,一条一条命令删改是比较麻烦的,不如清空配置进行重置省时省力,配置命令如下:
清空交换机
reset saved-configuration
y 回车
输入reboot
N 回车
Y 回车
重新设置密码
命令要在尖括号下输入。
这几个没用过,记下来吧清除配置的命令:<switch>reset save 清除配置文件<switch>reboot 重启或者直接断电给vlan设置ip:此ip在一般情况下就是此vlan机器的网关1. 进入vlan1视图[SwitchA]interface vlan 12. 配置接口ip,并启用接口[SwitchA-vlanif1]ip add 192.168.1.2 255.255.255.0[SwitchA-vlanif1]undo shutdown交换机远程TELNET登录命令1. 进入用户界面视图[SwitchA]user-interface vty 0 42. 指定用户权限级别[SwitchA-ui-vty0-4]user privilege level * 从VTY用户界面登录后可已访问的级别3. 设置密码[SwitchA-ui-vty0-4]set authentication password simple *** 设置明文密码[SwitchA-ui-vty0-4]set authentication password cipher *** 设置密文密码华为交换机常用命令2008-10-07 15:45dis vlan 显示vlanname text 指定当前vlan的名称undo name 取消[h3c] vlan 2[h3c-vlan2]name test vlandis users 显示用户dis startup 显示启动配置文件的信息dis user-interface 显示用户界面的相关信息dis web users 显示web用户的相关信息。
header login 配置登陆验证是显示信息header shellundo headerlock 锁住当前用户界面acl 访问控制列表acl number inbound/outbound[h3c]user-interface vty 0 4[h3c-vty0-4] acl 2000 inboundshutdown:关闭vlan接口undo shutdown 打开vlan接口关闭vlan1 接口[h3c] interface vlan-interface 1[h3c-vlan-interface] shutdownvlan vlan-id 定义vlanundo valn vlan-iddisplay ip routing-tabledisplay ip routing-table protocol staticdisplay ip routing-table statisticsdisplay ip routing-table verbose 查看路由表的全部详细信息interface vlan-interface vlan-id 进入valnmanagement-vlan vlan-id 定义管理vlan号reset ip routing-table statistics protocol all 清除所有路由协议的路由信息.display garp statistics interface GigabitEthernet 1/0/1 显示以太网端口上的garp统计信息display voice vlan status 查看语音vlan状态[h3c-GigabitEthernet1/0/1] broadcast-suppression 20 允许接受的最大广播流量为该端口传输能力的20%.超出部分丢弃.[h3c-GigabitEthernet1/0/1] broadcast-suppression pps 1000 每秒允许接受的最大广播数据包为1000传输能力的20%.超出部分丢弃.display interface GigabitEthernet1/0/1 查看端口信息display brief interface GigabitEthernet1/0/1 查看端口简要配置信息display loopback-detection 用来测试环路测试是否开启display transceiver-information interface GigabitEthernet1/0/50 显示光口相关信息duplex auto/full/half[h3c]interface GigabitEthernet1/0/1[h3c-GigabitEthernet1/0/1]duplux auto 设置端口双工属性为自协商port link-type access/hybrid/trunk 默认为accessport trunk permit vlan all 将trunk扣加入所有vlan中reset counters interface GigabitEthernet1/0/1 清楚端口的统计信息speed auto 10/100/1000display port-security 查看端口安全配置信息am user-bind mac-addr 00e0-fc00-5101 ip-addr 10.153.1.2 interface GigabitEthernet1/0/1 端口ip绑定display arp 显示arpdisplay am user-bind 显示端口绑定的配置信息display mac-address 显示交换机学习到的mac地址display stp 显示生成树状态与统计信息[h3c-GigabitEthernet1/0/1]stp instance 0 cost 200 设置生成树实例0上路径开销为200stp cost 设置当前端口在指定生成树实例上路径开销。
华为S2300交换机调试教程1,用串口线将华为交换机(Console口)与电脑(USB)连接,然后双击该驱动(已安装过驱动的电脑可忽略)2:安装完驱动后,进入设备管理器,可看到该串口。
3:进入属性。
才4:注意红框的内容与图中一致,然后确定。
5:注意红框的内容与图中一致,然后确定。
6:单击超级终端。
7:名字随便取,然后确定。
8: 注意红框的内容与图中一致,然后确定。
9:注意红框的内容与图中一致,然后确定。
黄色背景是要求输入的内容(123是我假设的vlan,请输入每个站点实际的vlan )SYEnter system view, return user view with Ctrl+Z.[Quidway]vlan batch 123Info: This operation may take a few seconds. Please wait for a moment...done.[Quidway]interface Ethernet0/0/1 (上行端口设置)[Quidway-Ethernet0/0/1]port link-type trunk[Quidway-Ethernet0/0/1]port trunk allow-pass vlan 123[Quidway-Ethernet0/0/1]q[Quidway]interface Ethernet0/0/2 (下行端口设置)[Quidway-Ethernet0/0/2]port link-type access[Quidway-Ethernet0/0/2]port default vlan 123[Quidway-Ethernet0/0/2]q………………(中间过程省略,有多少个端口就要设置多少次)[Quidway]interface Ethernet0/0/8 (下行端口设置)[Quidway-Ethernet0/0/8]port link-type access[Quidway-Ethernet0/0/8]port default vlan 123[Quidway-Ethernet0/0/8]q[Quidway]qsaveThe current configuration will be written to the device.Are you sure to continue?[Y/N]YInfo: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:123.zip Now saving the current configuration to the slot 0 .Info: Save the configuration successfully.OK。
如何解决华为路由器忘记加密密码华为是世界上知名的通讯行业大品牌,你知道如何解决华为路由器忘记加密密码吗?下面是店铺整理的一些关于如何解决华为路由器忘记加密密码的相关资料,供你参考。
解决华为路由器忘记加密密码的方法:当您忘记无线加密密钥时,可以采取以下两种方式处理:1.将网关恢复到出厂设置,恢复出厂设置有两种方法:●用尖头物件按住网关的Reset键保持6秒钟左右。
●登录网关Web界面后,进入维护à设备à复位,点击恢复出厂设置。
2.用网线连接网关与PC(有线连接),登陆网关维护界面“基本配置”à“WLAN设置”界面中,更改无线加密密钥即可。
华为路由器简介:支持多种集群模式:NE5000E采用先进的无阻塞交换网络架构,单框端口容量双向可达1.28Tbps,未来端口容量可从1.28T平滑扩展到80T,支持每槽位40Gbps容量,转发能力高达1600Mpps;多种集群模式,如背靠背集群、2+4集群、2+8集群等,最多可达16+64集群系统。
支持按需灵活选择:NE5000E同时支持40G白光接口和彩光接口,华为整合了40G IP和光的领先优势,支持白光/OTN全场景40G 方案,同时具备彩光的40G能力。
电信级可靠性:NE5000E采用无源背板设计,所有关键组件支持热插拔与热备份,并且实现了基于状态的热切换和不间断的路由转发,同时提供热补丁技术及软件平滑升级;满足99.999%的电信级可靠性要求,有效保证网络的高速可靠。
绿色集群:NE5000E关键芯片设计采用65nm工艺,集成度提高,降低功耗30%;在散热方面,采用循环风散热技术,大大提高了散热效率,降低散热功耗50%;采用新型材质和紧凑设计,体积小、重量轻,可放置于标准的19英寸机柜中,对地面承重无特殊要求,既可快速部署,又节省了机房改造工作量。
NetEngine80E核心路由器是华为推出的高端网络产品,主要应用在IP骨干网、IP城域网以及其他各种大型IP网络的边缘位置,与NE5000E、NE40E路由器产品配合组网,形成结构完整、层次清晰的IP网络解决方案。
华为交换机密码忘记解决方法Console口设置为密码验证,不知道密码
解决方法:
直接交换启动时ctrl+b,选择7.Clear password for console user
可以直接重新启动
Console口设置了aaa验证模式,不知道密码以上方法就不奏效了。
1、做一份空配置的配置文件
vrpcfg1.zip
2、传输空配置文件到设备中
交换启动时ctrl+b,选择
2.Enter serial submenu
3.Modify serial interface parameter修改波特率为9600 1: 9600(default)
3、Download file to Flash through serial interface
------------利用serial口来传输文件
屏幕会提示选择文件,如下图
3、修改启动文件为刚才传入的新配置文件
返回主菜单,选择3.Enter startup submenu
再选择2.Modify startup configuration
在Saved-configuration file这一项时、选择刚才传入文件名字vrpcfg1.zip,其它保持不变
最后返回主菜单,reboot搞定!!!。
交换机密码重置、修改交换机的缺省密码都是什么呢忘记密码了怎么办呢?一、首先了解交换机的几种登录方式和密码认证方式1、哪些方式可以登录交换机呢?我们可以通过 Console 口、Telnet 或者 Web 等最常用的方式登录交换机。
2、那如何连接交换机的 Console 口呢?3、登录交换机时又有哪些验证方式呢?(1)AAA 验证方式:使用用户名+密码方式登录(2)Password 验证方式:只使用密码登录。
(3)None 验证方式:不需要用户名也不需要密码登录4、交换机的缺省密码都是什么呢?登录交换机时看下当前交换机是哪个版本,用什么方式登录。
版本不一样或者登录方式不一样缺省密码可能是有差别滴。
对于 Telnet 方式登录交换机,缺省情况下设备上没有配置 Telnet 用户,需要自己配置。
要是用 Console 口登录交换机可是没有缺省密码值的哦。
V1R3C00V1R5C01V1R6C00 - V1R6C05无无无V1R3C00admin admin0 V1R5C01admin admin0 V1R6C00admin admin0 V1R6C05admin admin@0 V2R1C00 - V2R2C00admin admin0 V2R3C00 - V2R6C00admin admin@0V1R3C00无9300无V1R5C01无Huawei无V1R6C00无框式:9300盒式:huawei无V1R6C05无Admin@无V2R1C00 - V2R6C00无Admin@无二、忘记密码怎么办呢?1、如果没有更改交换机的缺省密码,密码忘记了用上面的缺省密码就可直接登录2、如果更改了缺省密码,还有就是没有缺省密码情况下,可以通过恢复密码的方式来解决,不过要注意,不同登录方式下恢复密码的方法不一样。
(1)恢复 Console 口登录密码方法一:通过 Telnet 登录交换机修改 Console 口密码。
Product SpecificationsS2300-EI S2300-SIItem S2309TP S2309TP-PWRS2318TPS2326TPS2326TP-PWRS2352PS2309TPS2318TPS2326TPForwarding capacity 2.7Mpps2.7Mpps5.4Mpps6.6Mpps6.6Mpps13.2Mpps2.7Mpps5.4Mpps6.6MppsInterface switching capacity 3.6Gbps3.6Gbps7.2Gbps8.8Gbps8.8Gbps17.6Gbps3.6Gbps7.2Gbps8.8GbpsInterface description S2309TP-EI/SI/PWR-EI:eight 10/100Base-TX interfaces, one Combo interface (10/100/1000Base-Tor 100/1000Base-X)S2318TP-EI/SI:sixteen 10/100Base-TX interfaces, two Combo interfaces (10/100/1000Base-T or 100/1000Base-X)S2326TP-EI/SI/PWR-EI:twenty-four 10/100Base-TX interfaces, two Combo interfaces (10/100/1000Base-T or 100/1000Base-X)S2352P-EI:forty-eight 10/100Base-TX interfaces, two 100/1000Base-X SFP interfaces, and two 1000Base-X SFP interfacesSupports the 8K MAC address tableAdds or removes a MAC address entry manuallySets the aging time of MAC addressesSupports the limit to MAC address learning on an interfaceSupports blackhole MAC addresses NAMAC address tableDisables MAC address learning on an interface or in an aggregation group Disables MAC address learning on an interfaceSupports a maximum of 4K VLANs defined in IEEE 802.1Q Supports interface-based VLANsVLAN features Supports MAC address-based VLANsSupports basic QinQSupports 1:1 VLAN switchingSupports N:1 VLAN switchingN/ASupports four queues with different priorities on each interface Supports the algorithms of SP, WRR, and SP+WRRSupports packet queuing based on the 802.1p priority of packetsQoS Supports the interface limit and flow limitSupports traffic classification based on the source MAC address, destination MAC address,source IP address, destination IP address, Layer 4 interface,IP protocol type, VLAN, Ethernet protocol type, and CoS Supports the marking and redirection of packets based on flowsN/AS2300-EI S2300-SIItem S2309TP S2309TP-PWRS2318TPS2326TPS2326TP-PWRS2352PS2309TPS2318TPS2326TPMulticast Supports IGMPv1/v2/v3 snoopingSupports multicast load balancing on trunk interfacesLimits the rate of multicast packets and collects traffic statistics on interfaces Supports IPv6 hostsConfigures static routesIPv6 featuresSupports IPv6 ACLsSupports MLD snoopingNA Supports 1:1 mirroring or N:1 interface mirroringInterfacemirroring Supports flow mirroring N/A Supports IEEE 802.1x and limits the maximum number ofusers on each portSupports dynamic ARP inspectionSupports IP source guardN/ANetwork security Supports AAA authentication such as RADIUS authentication and HWTACACS+ authenticationSupports the binding of the IP address, MAC address, and interfaceSupports the interface limitSupports interface isolation and securitySupports packet filteringSupports MAC address filteringSupports suppression of multicast, broadcast, and unknown unicast packetsLimits the number of learnt MAC addressesSupports CPU protectionLightning protection All service interfaces support 6 KV lightning protection or even 15 KV lightning protection if additional lightning arresters are installedManagement Supports the automatic configuration Configures command lines Supports the configuration of Telnet Supports SNMPv1/v2/v3 Supports RMONSupports HGMPv2Supports SSHv2Support WEB NMSEnvironmentalrequirementsTemperature: 0°C to 50°C Relative humidity: 10% to 90% (non-condensing)Power supply AC:Rated voltage: 100 V to 240 V AC; 50/60 Hz Maximum voltage: 90 V to 264 V AC; 50/60 HzS2300-EIS2300-SI ItemS2309TPS2309TP-PW RS2318TPS2326TPS2326TP-PW RS2352PS2309TPS2318TPS2326TPDC:Rated voltage: –48 V to –60 V DC Maximum voltage: –36 V to –72 V DCN/ADimensions (width x depth x height))S2309TP-EI/SI :250×180×43.6 S2309TP-PWR-EI :320x220x43.6S2318TP-EI/SI,S2326TP-EI/SI :442×220×43.6 S2326TP-PWR-EI :442×420 ×43.6 S2352P-EI :442×220×43.6Weight<1.4kg <2.5kg <2.4kg <2.4kg <4kg (exclusi ve of thepower supply module )<3kg <1.4kg <2.4kg <2.4kgPowerconsumption>7.5W 154W Output PoE power supply: 124W >8.2W >8.6W 160W Output PoEpower supply:124W>20W >7.5W >9W >7.8W。
华为交换机密码忘记解决方法Console口设置为密码验证,不知道密码
解决方法:
直接交换启动时ctrl+b,选择 password for console user
可以直接重新启动
Console口设置了aaa验证模式,不知道密码以上方法就不奏效了。
1、做一份空配置的配置文件
vrpcfg1.zip
2、传输空配置文件到设备中
交换启动时ctrl+b,选择
serial submenu
serial interface parameter修改波特率为9600
1: 9600(default)
3、Download file to Flash through serial interface ------------利用serial口来传输文件
屏幕会提示选择文件 ,如下图
3、修改启动文件为刚才传入的新配置文件
返回主菜单,选择 startup submenu
再选择 startup configuration
在Saved-configuration file这一项时、选择刚才传入文件名字,其它保持不变
最后返回主菜单,reboot搞定!!!。