cisco 2811 如何配置 ADSL 拨号 (PPPOE 拨号)的详细配置代码 (在什么模式输入什么代码)

其实我就是命令不熟悉啊 就是想学习这个配置的整个过程,谢谢
2024-12-02 03:23:46
推荐回答(3个)
回答1:

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
!
username cisco privilege 15 password 0 cisco
!
!
!
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 10 dial-on-demand
!
interface Serial0/2/0
no ip address
encapsulation frame-relay IETF
shutdown
frame-relay lmi-type ansi
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 10
dialer idle-timeout 300
dialer-group 1
ppp pap sent-username mdkt888 password 0 35142700
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
ip http authentication local
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input all
line vty 5 15
login local
transport input all
!
scheduler allocate 20000 1000
!
end

回答2:

#enable
#config
#ppp ?
#

对了要先做个用户认证的!

回答3:

我也懒得来写太麻烦了,借助文库里面的东西
http://wenku.baidu.com/view/35a96e01bed5b9f3f90f1cb1.html
这里面有详细的介绍,楼主自己看吧