扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
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 natinside
!
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-list1 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
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。