我有一台H3C ER8300G2路由器 之前的人没有把配置文件给我 现在要切换外网 如何查看及修改登录密码 这个路由下面还接啦一台三层交换机S5120V2 划分啦多个VLAN 所以不好恢复出厂设置 输入sys 命令报错 期待各位大侠指导 谢谢
(0)
配置只能登录WEB界面看
=======================
ER/ERG2路由器忘记密码有以下几种方式来解决:
1、通过console口登录设备,有关console口登录设备的方法,可以参考:https://zhiliao.h3c.com/theme/details/46988
console口登录之后,可以输入password,根据提示输入新密码,然后在输入一次确认密码后,就可以以新密码登录了
2、先观察自己的路由器上有没有reset按键,如果有reset按键的话,长按10秒钟,可以将路由器恢复出厂设置,出厂的默认密码是:admin/admin
ER/ERG2路由器恢复出厂设置有4种方法,如下:
1、web页面在设备管理-->基本管理-->配置管理中点击回复到出厂设置,之后路由器会重启,重启后就恢复到出厂设置了。
2、如果登录密码忘记了,可以通过命令行恢复,进入到命令行界面方法可参考:https://zhiliao.h3c.com/Theme/details/46988
进入命令行之后,输入restore default,按照提示输入Y,之后设备会自动重启,重启后,就恢复出厂设置了。
3、部分ER款型带有USB接口,这部分设备可以通过USB恢复出厂设置
新建文件,如ER8300G2_restore.txt(ER8300G2为设备型号,根据自己型号来定义的),在文件第一行输入restore default,将该文件放到U盘的根目录,将U盘查到USB接口,之后设备会自动恢复出厂设置,并自动删除U盘里的ER8300G2_restore.txt文件。
4、部分款型带有RESET按键,这部分款型直接按住RESET按键10秒左右,之后可以看到diag诊断指示灯快速闪烁,取消按针后,设备会重启,之后就恢复到出厂设置了
(0)
H3C>sys System View: return to User View with Ctrl+Z. [H3C]dis cu # version 7.1.070, Release 6126P20 # sysname H3C # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # lldp global enable # password-recovery enable # vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 40 # vlan 50 # vlan 100 # stp global enable # dhcp server ip-pool 10 gateway-list 192.168.10.1 network 192.168.10.0 mask 255.255.255.0 dns-list 8.8.8.8 114.114.114.114 # dhcp server ip-pool 20 gateway-list 192.168.20.1 network 192.168.20.0 mask 255.255.255.0 dns-list 8.8.8.8 114.114.114.114 # dhcp server ip-pool 30 gateway-list 192.168.30.1 network 192.168.30.0 mask 255.255.255.0 dns-list 8.8.8.8 114.114.114.114 # dhcp server ip-pool 40 gateway-list 192.168.40.1 network 192.168.40.0 mask 255.255.255.0 dns-list 8.8.8.8 114.114.114.114 # dhcp server ip-pool 50 gateway-list 192.168.50.1 network 192.168.50.0 mask 255.255.255.0 dns-list 8.8.8.8 114.114.114.114 # interface NULL0 # interface Vlan-interface10 ip address 192.168.10.1 255.255.255.0 # interface Vlan-interface20 ip address 192.168.20.1 255.255.255.0 # interface Vlan-interface30 ip address 192.168.30.1 255.255.255.0 # interface Vlan-interface40 ip address 192.168.40.1 255.255.255.0 # interface Vlan-interface50 ip address 192.168.50.1 255.255.255.0 # interface Vlan-interface100 ip address 172.16.1.1 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 10 # interface GigabitEthernet1/0/2 port access vlan 10 # interface GigabitEthernet1/0/3 port access vlan 10 # interface GigabitEthernet1/0/4 port access vlan 10 # interface GigabitEthernet1/0/5 port access vlan 20 # interface GigabitEthernet1/0/6 port access vlan 20 # interface GigabitEthernet1/0/7 port access vlan 20 # interface GigabitEthernet1/0/8 port access vlan 20 # interface GigabitEthernet1/0/9 port access vlan 30 # interface GigabitEthernet1/0/10 port access vlan 30 # interface GigabitEthernet1/0/11 port access vlan 30 # interface GigabitEthernet1/0/12 port access vlan 30 # interface GigabitEthernet1/0/13 port access vlan 30 # interface GigabitEthernet1/0/14 port access vlan 30 # interface GigabitEthernet1/0/15 port access vlan 30 # interface GigabitEthernet1/0/16 port access vlan 40 # interface GigabitEthernet1/0/17 port access vlan 40 # interface GigabitEthernet1/0/18 port access vlan 40 # interface GigabitEthernet1/0/19 port access vlan 40 # interface GigabitEthernet1/0/20 port access vlan 50 # interface GigabitEthernet1/0/21 port access vlan 50 # interface GigabitEthernet1/0/22 port access vlan 50 # interface GigabitEthernet1/0/23 port access vlan 50 # interface GigabitEthernet1/0/24 port access vlan 100 # interface GigabitEthernet1/0/25 # interface GigabitEthernet1/0/26 # interface GigabitEthernet1/0/27 # interface GigabitEthernet1/0/28 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 63 user-role network-operator # ip route-static 0.0.0.0 0 172.16.1.2 # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # 这个是我交换机的配置 那我路由需要怎么设置呢?
参考官方文档:https://www.h3c.com/cn/Service/Document_Software/Document_Center/Routers/Catalog/H3C_ER_G2/ER8300G2/#%E9%85%8D%E7%BD%AE
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
参考官方文档:https://www.h3c.com/cn/Service/Document_Software/Document_Center/Routers/Catalog/H3C_ER_G2/ER8300G2/#%E9%85%8D%E7%BD%AE