分类:
2008-10-28 09:50:40
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
!
!