首页 > 学院 > 网络通信 > 正文

Cisco 827 连接ADSL线路配置

2019-11-04 23:19:33
字体:
来源:转载
供稿:网友

  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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表