找回密码
 注册

QQ登录

只需一步,快速开始

查看: 13626|回复: 17

华为HG520S开路由方法

[复制链接]
发表于 2007-1-22 19:05:45 | 显示全部楼层 |阅读模式
TELNET进去,然后输入以下内容,注意带*号的地方,分别输入帐号及密码
sys bridge off
sys routeip on
set cpe bridge off
set cpe iproute on
wan atm vcpool clear
set wan clear 0
set wan clear 1
set wan clear 2
set wan clear 3
set wan clear 4
set wan clear 5
set wan clear 6
set wan clear 7
set wan node 0 ADSL
set wan disable
set wan encap ppp
set wan mux llc
set wan vpi 8
set wan vci 35
set wan iproute
set wan sua on
set wan multicast none
set wan wanip dynamic
set wan rip none
set wan ppp username ****
set wan ppp password ****
set wan ppp auth both
set wan enable
set wan save
wan node index 1
wan node disable
wan node encap pppoe
wan node ispname ADSL
wan node service SZTELECOM
wan node nat sua
wan node qos ubr
wan node pcr 0
wan node mbs 0
wan node ppp username ****
wan node ppp password ****
wan node ppp authen both
wan node ppp idletime 0
wan node callsch 0 0 0 0
wan node nailedup on
wan node enable
wan node save
lan index 1
lan ipaddr 192.168.1.1 255.255.255.0
lan rip none rip2b
lan multicast none
lan save


发表于 2007-1-22 21:34:41 | 显示全部楼层

华为HG520S开路由方法

老大,不行啊!登陆HG520s后,按上面输进去的都是"Unrecognized command"啊!怎么回事?
发表于 2007-1-22 23:33:24 | 显示全部楼层

华为HG520S开路由方法

谢谢楼主分享啊
补充一下端口映射的方法:
使用以下这一组命令就可以端口映射:
ip nat server load 1(载入第1个配置)
ip nat server edit 2(编辑第2个规则)
ip nat server edit 2 rulename emule(给规则起名叫emule)
ip nat server edit 2 active yes(规则激活)
ip nat server edit 2 svrport 1234 1236(映射端口到1234-1236)
ip nat server edit 2 forwardip 192.168.1.3(映射到内网的IP)
ip nat server save(保存)
发表于 2007-1-24 22:15:51 | 显示全部楼层

华为HG520S开路由方法

楼主的命令看来和我出自同一产地,是51nb.com的论坛里的那个帖子吧?
发表于 2007-1-26 00:47:24 | 显示全部楼层

华为HG520S开路由方法

友情提示,目前华为的HG520s有两种,分别采用了TRENDCHIP芯片和conexant芯片。
此教程针对TRENDCHIP芯片的华为HG520S,对采用conexant芯片的HG520s无效。
发表于 2007-1-30 09:40:17 | 显示全部楼层

华为HG520S开路由方法

我是南京的,版本信息是:
RAS version: V100R001B013 CTB         2006/12/18
System   ID: 2.7.2.42.11(RUE0.C2)3.5.19.9     [Dec 18 2006 12:41:08]
telnet后输入上述命令可以设置成功,但是就是不自动拨号,Internet灯也不亮。
用该方法试验成功的是什么版本?
 楼主| 发表于 2007-1-30 09:46:13 | 显示全部楼层

华为HG520S开路由方法

项目  描述  
产品名称  EchoLife HG520s  
MAC地址  00:16:e3:ac:ae:3d  
软件版本  V100R001B013 CTB  
固件版本  3.5.19.9-1.0.7.0
批次编号 RTC10P3  
发布日期  2006/12/11  
 楼主| 发表于 2007-1-30 09:48:44 | 显示全部楼层

华为HG520S开路由方法

RAS version: V100R001B013 CTB         2006/12/11
System   ID: 2.7.2.42.11(RUE0.C2)3.5.19.9     [Dec 08 2006 19:44:48]
romRasSize: 1311754
system up time:     2:13:28 (c385f ticks)
bootbase version: VTC1.12 | 2006/8/16
 楼主| 发表于 2007-1-30 09:50:44 | 显示全部楼层

华为HG520S开路由方法

下面引用由michi20002007/01/30 09:40am 发表的内容:
我是南京的,版本信息是:
RAS version: V100R001B013 CTB         2006/12/18
System   ID: 2.7.2.42.11(RUE0.C2)3.5.19.9   
telnet后输入上述命令可以设置成功,但是就是不自动拨号,Internet灯也不亮。
...
你看下是不是VPI VCI的问题,设置完了重启下试试
发表于 2007-1-30 20:23:36 | 显示全部楼层

华为HG520S开路由方法

下面引用由michi20002007/01/30 09:40am 发表的内容:
我是南京的,版本信息是:
RAS version: V100R001B013 CTB         2006/12/18
System   ID: 2.7.2.42.11(RUE0.C2)3.5.19.9   
telnet后输入上述命令可以设置成功,但是就是不自动拨号,Internet灯也不亮。
...
最好设置完了以后重启一下你的猫
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-18 16:14 , Processed in 0.037003 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表