最新工程设计收费标准:[求助]华为RT-2611 路由设置

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 12:19:27
VDSL 固定公网IP:220.194.26.41 掩码255.255.255.192 网关:220.194.26.1 DNS:211.94.69.34

求路由设置!谢谢!

第一次设置这个东西,好累。我怎么删除不了以前的静态路由设置呢,现在的代码好乱,发上去各位老鸟不要笑哟!
sysname huawei2611
dialer-rule 1 ip permit
firewall enable
aaa-enable
aaa accounting-scheme optional
!
acl 2000 match-order auto
rule normal permit source 192.168.1.0 0.0.0.255
rule normal permit source 192.168.1.1 0.0.0.255
rule normal deny source any
!
interface Aux0
async mode flow
link-protocol ppp
description TO_Internet
shutdown
!
interface Ethernet0
description TO_Internet
pppoe-client dial-bundle-number 1
ip address 220.194.26.41 255.255.255.192
shutdown
!
interface Ethernet1
description TO_LAN
tcp mss 1024
ip address 192.168.1.1 255.255.255.0
shutdown
!
interface Serial0
link-protocol ppp
shutdown
!
interface Dialer1
link-protocol ppp
tcp mss 1024
ppp pap local-user jw-10-0503-1 password simple 08120503
ip address ppp-negotiate
dialer bundle 1
nat outbound 2000 interface
!
quit
ip route-static 0.0.0.0 0.0.0.0 221.234.19.177 preference 60
ip route-static 0.0.0.0 0.0.0.0 220.194.26.1 preference 60
ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60
!
return
请问我如何删除错误的配置,全部都删除。我想重新配置路由!但删不了了。

你的关键是不知道如何删除以前的配置。答案:输入reset save回车执行后关闭电源重启路由,这样以前的配置就已经清空。

按照你提供的信息我给你配置的静态路由配置如下:
display Cur
Now create configuration...
Current configuration
!
version 1.74
local-user admin service-type administrator password cipher mima
firewall enable
aaa-enable
aaa accounting-scheme optional
!
acl 2000 match-order auto
rule normal permit source 192.168.1.0 0.0.0.255
rule normal deny source any
!
interface Aux0
async mode flow
link-protocol ppp
!
interface Ethernet0
description TO_Internet
ip address 220.194.26.41 255.255.255.192
nat outbound 2000 interface
!
interface Ethernet1
description TO_LAN
ip address 192.168.1.1 255.255.255.0
!
quit
ip route-static 0.0.0.0 0.0.0.0 220.194.26.1 preference 60
!
return

你可以直接将配置文件删除然后重新启动路由器就可以了,或者使用no命令删除不需要的已经设置的配置,如静态路由。我试过可以telnet到你的路由器上,应该广域网的连接已经没问题了。
还有以后尽量不要把你的详细真实的ip地址和用户名之类的信息公布到网络上了。