Cisco827连接ADSL线路配置

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

version 12.1

no service single-slot-reload-enable

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

no service dhcp

!

hostname scw-gw

!

logging buffered 4096 debugging

logging rate-limit console 10 except errors

enable secret YOURPASSWORD

!

ip subnet-zero

no ip finger

no ip domain-lookup

!

no ip dhcp-client network-discovery

!

interface Ethernet0

ip address YOURIP YOURNETMASK

ip nat inside

!

interface ATM0

no ip address

no atm ilmi-keepalive

pvc 0/38

encapsulation aal5mux ppp dialer

dialer pool-member 1

!

bundle-enable

dsl operating-mode auto

!

interface Dialer0

ip address negotiated

ip nat outside

encapsulation ppp

dialer pool 1

ppp reliable-link

ppp authentication chap callin

ppp chap hostname YOURUSERNAME@altohiway.com

ppp chap password YOURPASSWORD

!

ip classless

ip route 0.0.0.0 0.0.0.0 Dialer0

ip http server

!

ip nat inside source list 1 interface Dialer0 overload

access-list 1 permit YOURNETWORK 0.0.0.255

access-list 10 permit 195.12.1.35

access-list 10 permit YOURNETWORK 0.0.0.255

!

line con 0

transport input none

stopbits 1

line vty 0 4

access-class 10 in

password YOURTELNETPASSWORD

login

!

scheduler max-task-time 5000

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航