经过参考网上的各咱配置版本,终于自己实现了PPPOE上网方式的配置。路由器配置如下:
[Quidway]dis cur
#
sysname Quidway
#
cpu-usage cycle 1min
#
dialer-rule 1 ip permit
#
radius scheme system
#
domain system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<1!!
service-type telnet terminal
level 3
service-type ftp
#
acl number 2000
rule 0 permit source 192.168.0.0 0.0.0.255
#
interface Aux0
async mode flow
#
interface Dialer1
link-protocol ppp
ppp pap local-user 053202315374 password simple 123456
ip address ppp-negotiate
dialer user 053202315374
dialer bundle 1
dialer-group 1
nat outbound 2000
#
interface Ethernet0/0
pppoe-client dial-bundle-number 1
ip address dhcp-alloc
#
interface Ethernet0/1
ip address 192.168.0.254 255.255.255.0
#
interface Ethernet1/0
ip address dhcp-alloc
#
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address dhcp-alloc
#
interface NULL0
#
FTP server enable
#
ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return