关于华为的ADSL拨号配置

3/1/2008来源:华为网络人气:3308

 
这是我研究出来的,感觉速度挺快,希望对学习有帮助[hzezgzb]disp curr
  Now create configuration...
  Current configuration
  !
    version 1.74
    local-user hzezgzb service-type ppp passWord cipher "A-
    local-user b service-type administrator password simple b
    sysname hzezgzb
    dialer-rule 1 ip permit
    info-center console
    info-center console debugging
    firewall enable
    aaa-enable
    aaa accounting-scheme optional
  !
  dhcp server ip-pool 1
network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.0.254
dns-list 202.99.192.66 202.99.192.68
domain-name client.com   acl 1 match-order auto
    rule normal permit source 192.168.0.0 192.168.0.255
  !
  acl 101 match-order auto
  !
  interface Aux0
    async mode flow
    link-PRotocol ppp
  !
  interface Ethernet0
    ip address 192.168.0.254 255.255.255.0
  !
  interface Ethernet1
    pppoe-client dial-bundle-number 1
    nat outbound 101 interface
  !
  interface Serial0
    link-protocol ppp
  !
  interface Serial1
    link-protocol ppp
  !
  interface Dialer1
    link-protocol ppp
mtu 1450
tcp mss 1024
    ppp pap local-user shkj password simple 123456
    ip address ppp-negotiate
    dialer bundle 1
    dialer-group 1
    dialer number 7024783
    nat outbound 1 interface
  !
  quit
  ospf enable
  !
  quit
  !
  quit
  ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60
  !
  return