ADSL模块PPPOE拨号典型配置

发表于:2007-06-23来源:作者:点击数: 标签:
[Quidway]dis curr # sysname Quidway # tcp window 8 # nat address-group 1 X.X.X.X # dialer-rule 1 ip permit # undo multicast igmp-all-enable # interface Aux0 async mode flow link-protocol ppp # interface Dialer0 link-protocol ppp ppp pap lo

   
  [Quidway]dis curr
  #
  sysname Quidway
  #
  tcp window 8
  #
  nat address-group 1 X.X.X.X
  #
  dialer-rule 1 ip permit
  #
  undo multicast igmp-all-enable
  #

  interface Aux0
  async mode flow
  link-protocol ppp
  #
  interface Dialer0
  link-protocol ppp
  ppp pap local-user XXXX password simple XXXXX
  ip address ppp-negotiate
  dialer user XXXXXXX
  dialer-group 1
  dialer bundle 12
  nat outbound 1
  tcp mss 1024
  #
  interface Ethe.net0/0
  #
  interface Ethernet0/1
  #
  interface Ethernet1/0 
  tcp mss 1024
  ip address XXX
  #
  interface Atm2/0
  #
  interface Atm2/1
  pvc 0/35
   map bridge Virtual-Ethernet0
  tcp mss 1024
  #
  interface Virtual-Ethernet0
  pppoe-client dial-bundle-number 12
  mac-address 0011-0023-0023
  #
  interface NULL0
  #
  acl number 1
  rule 0 permit source XXX(内网网段+反掩码)
  rule 1 deny
  #
  ip route-static 0.0.0.0 0.0.0.0 dialer 0 preference 50
  #
  memory safety 5 limit 3
  #
  user-interface con 0
  user-interface aux 0
  user-interface vty 0 4
  #
  return
  [Quidway]quit
  <Quidway>save

原文转自:http://www.ltesting.net