iloveqinqin 发表于 2007-1-22 19:05:45

华为HG520S开路由方法

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"啊!怎么回事?

roman 发表于 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(保存)

axiao0105 发表于 2007-1-24 22:15:51

华为HG520S开路由方法

楼主的命令看来和我出自同一产地,是51nb.com的论坛里的那个帖子吧?

wildman 发表于 2007-1-26 00:47:24

华为HG520S开路由方法

友情提示,目前华为的HG520s有两种,分别采用了TRENDCHIP芯片和conexant芯片。
此教程针对TRENDCHIP芯片的华为HG520S,对采用conexant芯片的HG520s无效。

michi2000 发表于 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   
telnet后输入上述命令可以设置成功,但是就是不自动拨号,Internet灯也不亮。
用该方法试验成功的是什么版本?

iloveqinqin 发表于 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

iloveqinqin 发表于 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   
romRasSize: 1311754
system up time:   2:13:28 (c385f ticks)
bootbase version: VTC1.12 | 2006/8/16

iloveqinqin 发表于 2007-1-30 09:50:44

华为HG520S开路由方法

下面引用由michi2000在 2007/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的问题,设置完了重启下试试

roman 发表于 2007-1-30 20:23:36

华为HG520S开路由方法

下面引用由michi2000在 2007/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灯也不亮。
...

最好设置完了以后重启一下你的猫
页: [1] 2
查看完整版本: 华为HG520S开路由方法