国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

3640撥號訪問服務器配置(帶注釋)

2019-11-04 23:51:07
字體:
來源:轉載
供稿:網友

  XXX#sh run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname XXXX
  !
  enable secret 5 $1$Y5WW$j4QQGpuNW.OKeGNfvKNeg. // enable secret 口令為Cisco
  !
  username user1 password 0 user1
  username user2 password 0 user2
  username user3 password 0 user3
  username user4 password 0 user4 // 建立用戶名和各自的口令
  ip subnet-zero
  !
  async-bootp dns-server 10.14.128.29 // 為撥號用戶提供DNS的地址
  !
  !
  !
  interface Loopback0 // 定義一個虛端口,用于撥號配置
  ip address 10.14.144.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Ethernet0/0
  ip address 10.14.128.49 255.255.255.192 // 定義該訪問服務器在Vlan1中的Interface的IP 地址
  no ip directed-broadcast
  no ip route-cache
  no ip mroute-cache
  !
  interface Group-Async1 // 定義異步撥號端口組,interface 為Group-async1
  ip unnumbered Loopback0 // 指明ip unnumbered 端口為上面設置的loopback 0
  no ip directed-broadcast
  encapsulation ppp
  ip tcp header-comPRession passive
  async mode dedicated //定義異步撥號為dedicated方式
  peer default ip address pool address_pool-1 //為撥號用戶指定地址池,地址池名為address_pool-1
  no cdp enable
  ppp authentication chap // ppp進行chap認證,結合前面定義的username和password
  group-range 33 48 // Group-async1 對應line 33 - line 48
  !
  interface Group-Async2 // 定義異步撥號端口組,interface 為Group-async2
  ip unnumbered Loopback0 // 指明ip unnumbered 端口為上面設置的loopback 0
  no ip directed-broadcast
  encapsulation ppp
  ip tcp header-compression passive
  async mode dedicated //定義異步撥號為dedicated方式
  peer default ip address pool address_pool-1 //為撥號用戶指定地址池,地址池名為address_pool-1
  no cdp enable
  ppp authentication chap // ppp進行chap認證,結合前面定義的username和password
  group-range 65 80 // Group-async1 對應line 65 - line 80
  !
  ip local pool address_pool-1 10.14.144.1 10.14.144.32 // 定義地址池 address_pool-1的地址范圍
  ip classless
  ip route 0.0.0.0 0.0.0.0 10.14.128.51 // 設置缺省路由,下一跳為當地中心路由器的Vlan1端口IP地址
  no ip http server
  !
  snmp-server community public RO // 定義網管用 Read-Only權限 的community 為public
  snmp-server community private RW // 定義網管用 Read&Write權限的community 為private
  snmp-server host 10.14.128.25 private // 定義網管機的IP地址和權限
  !
  line con 0
  exec-timeout 0 0
  transport input none
  line 33 48 // 定義 line 33 - 48
  autoselect during-login
  autoselect ppp
  login local
  modem InOut
  modem autoconfigure discovery
  transport input all
  stopbits 1
  flowcontrol hardware
  line 65 80 // 定義 line 65 - 80
  autoselect during-login
  autoselect ppp
  login local
  modem InOut
  modem autoconfigure discovery
  transport input all
  stopbits 1
  flowcontrol hardware
  line aux 0
  line vty 0 4
  password cisco // 定義telnet的口令為cisco
  login
  !
  end


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 泗水县| 那曲县| 泸溪县| 肃宁县| 东平县| 康平县| 宜兰市| 团风县| 合作市| 舒兰市| 富民县| 神木县| 海伦市| 晋中市| 伊通| 获嘉县| 兰坪| 西安市| 潮安县| 常熟市| 得荣县| 屯留县| 垫江县| 临泽县| 文化| 邳州市| 榆树市| 塔河县| 大化| 常州市| 改则县| 桐梓县| 大悟县| 景谷| 邵武市| 红河县| 东源县| 南皮县| 桦甸市| 循化| 罗平县|