华为路由器排错的一些小总结

华为AR2240默认没有密码。

忘记密码可以通过重启后按“ctrl+B”,输入密码“huawei”,进入bootrom,然后按“7”,再按“2”,再按“0”,再按“1”,完成密码清除,路由器自动重启。

路由器可以通过命令配置单向访问,只能内部访问外部,配置的命令可以通过超级终端登陆路由器查看。(见下面路由配置清单)

服务器连接在设置了只能内部访问外部的路由器上时,可以通过给服务器添加默认路由实现外部对内部的访问,命令如下“route add default gw 10.2.5.254”(可以通过“route”、“traceroute X.X.X.X”命令辅助)。

超级终端连接华为路由器,超级终端的com口(选择与“设备管理器”中同名的com口),“com”属性中“位/秒”选择“9600”,数据流控制选择“无”,点击确定即可,连接后空白面板敲“Enter”键,出现“Login authentication”“Password:”即说明连接成功了。

 

路由配置清单:

<R2200>dis cu
[V200R003C01SPC900]
#
 sysname R2200
#
 snmp-agent local-engineid 800007DB03AC4E91455CD5
 snmp-agent
#
 http timeout 3
#
 drop illegal-mac alarm
#
 wlan ac-global carrier id other ac id 0
#
dhcp enable
#
undo dhcp server bootp
#
pki realm default
 enrollment self-signed
#
#
acl number 2000
 rule 5 permit source 10.2.5.0 0.0.0.255
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password cipher %$%$=i~>Xp&aY+*2cEVcS-A23Uwe%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 64
#
interface GigabitEthernet0/0/0
 ip address 172.26.1.26 255.255.255.0
 nat outbound 2000
#
interface GigabitEthernet0/0/1
 ip address 10.2.5.254 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface Cellular0/0/0
 link-protocol ppp
#
interface Cellular0/0/1
 link-protocol ppp
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 172.26.1.254
#
user-interface con 0
 authentication-mode password
 set authentication password cipher %$%$r<:U2xb'q6HE4`K29]Z",.Rcj#$9YAQ7<4N"PrJJ
RN"L.Rf,%$%$
user-interface vty 0 4
#
wlan ac
#
voice
 #
 diagnose
#
return

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值