打印本文 打印本文  关闭窗口 关闭窗口  
Cisco路由器上配置pppoe拨号
作者:佚名  文章来源:不详  点击数2237  更新时间:2007-5-18 3:15:47  文章录入:啊祖  责任编辑:啊祖

>  Router#show run

  Building configuration...

  Current configuration : 1115 bytes

  !

  version 12.2

  service timestamps debug uptime

  service timestamps log uptime

  no service password-encryption

  hostname Router

  !

  no logging on

  enable secret 5 $1$oyeO$b.DP73YbQiLqnqSUV/WmX1

  !

  ip subnet-zero

  !

  !

  !

  vpdn enable

  !

  vpdn-group 1

  request-dialin-----request-dialin是做client用

  protocol pppoe

  !

  !

  !

  !

  !

  !

  !

  !

  !

  !

  no voice hpi capture buffer

  no voice hpi capture destination

  !

  !

  mta receive maximum-recipients 0

  !

  !

  !

  !

  interface FastEthernet0/0

  no ip address

  shutdown

  duplex auto

  speed auto

  !

  interface FastEthernet0/1

  no ip address

  duplex auto

  speed auto

  pppoe enable

  pppoe-client dial-pool-number 1

  no cdp enable

  !

  interface Dialer1

  mtu 1492

  ip address negotiated

  encapsulation ppp

  dialer pool 1

  dialer-group 1

  ppp authentication pap chap callin

  ppp chap hostname tttt

  ppp chap password 0 123456

  ppp pap sent-username tttt password 0 123456

  !

  ip http server

  ip classless

  ip route 0.0.0.0 0.0.0.0 Dialer1

  !

  !

  !

  no logging trap

  !

  call rsvp-sync

  !

  !

  mgcp profile default

  !

  !

  !

  dial-peer cor custom

  !

  !

  !

  !

  line con 0

  line aux 0

  line vty 0 4

  password cisco

  login

  !

  !

打印本文 打印本文  关闭窗口 关闭窗口