国产探花免费观看_亚洲丰满少妇自慰呻吟_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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 通河县| 祁东县| 鄂伦春自治旗| 交城县| 北安市| 达拉特旗| 建始县| 清涧县| 灵川县| 卢氏县| 奈曼旗| 榆林市| 苍山县| 抚松县| 安塞县| 台州市| 婺源县| 大悟县| 罗源县| 共和县| 东海县| 连云港市| 宜章县| 泸定县| 光泽县| 宕昌县| 灵宝市| 渝中区| 孙吴县| 沙坪坝区| 久治县| 锦州市| 香河县| 宜都市| 常宁市| 永顺县| 威信县| 开阳县| 西贡区| 襄汾县| 平果县|