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

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

ISDN 與 AAA : 嘔心瀝血之作

2019-11-04 20:40:16
字體:
供稿:網(wǎng)友

  一臺3620上同時配置了8個口BRI和8個內(nèi)置MODEM用作拔入。因?yàn)閷?wù),安全性要求比較高,所以使用一臺NT 運(yùn)行 Cisco Secure 2.4 (ACS) 提供AAA服務(wù)(Authentication 認(rèn)證,Authorization 授權(quán),Accounting記帳)。
  
  PSTN 和AAA的集成沒有問題,很輕易就實(shí)現(xiàn)了。
  
  ISDN 拔號要實(shí)現(xiàn)授權(quán)不同于PSTN,根據(jù)CISCO的文檔,必須要用Per-User的AAA設(shè)置方法(不能通過Group設(shè)置用戶)和配置Virtual PRofile.
  
  由于沒有較好的范例可以借鑒,只能通過觀察debug ppp negotiation, debug authentication, debug aaa authorization 等命令的輸出來摸索配置方法,所以這個配置至少花掉我24個小時,可謂嘔心瀝血之作。
  
  曾經(jīng)在這發(fā)過貼子問,沒人回答,現(xiàn)在解決方法貼出來,供大家參考。
  
  本例中,當(dāng)用戶user1通過pstn/isdn拔入時,AAA服務(wù)器指示(授權(quán))NAS(拔號訪問服務(wù)器,即3620)對該用戶應(yīng)用access-list 101.
  
  ! 3620 配置 (摘要)
  
  aaa new-model
  aaa authentication login default group tacacs+ local
  aaa authentication login no_tacacs enable
  aaa authentication ppp default group tacacs+
  aaa authorization network default group tacacs+
  aaa accounting network default start-stop group tacacs+
  enable secret 5 $1$FdxlnA$pGA5cPuIqOOJwFT0iLWq0
  !
  username localuser passWord 0 _password
  ip subnet-zero
  !
  !
  no ip finger
  no ip domain-lookup
  !
  virtual-profile virtual-template 1
  virtual-profile aaa
  isdn switch-type basic-net3
  !
  !
  !
  interface FastEthernet0/0
  ip address 10.1.10.33 255.255.255.0
  duplex auto
  speed auto
  !
  interface BRI1/0
  ip unnumbered FastEthernet0/0
  encapsulation ppp
  no ip route-cache
  no ip mroute-cache
  no keepalive
  dialer-group 1
  isdn switch-type basic-net3
  peer default ip address pool ip_pool
  no fair-queue
  ppp authentication chap pap
  ppp multilink
  !
  interface BRI1/1
  ip unnumbered FastEthernet0/0
  encapsulation ppp
  no ip route-cache
  no ip mroute-cache
  no keepalive
  dialer-group 1
  isdn switch-type basic-net3
  peer default ip address pool ip_pool
  no fair-queue
  ppp authentication chap pap
  ppp multilink
  !
  ...
  interface Virtual-Template1
  ip unnumbered FastEthernet0/0
  peer default ip address pool ip_pool
  ppp authentication chap pap
  ppp multilink
  ppp timeout idle 300
  !
  interface Group-Async0
  ip unnumbered FastEthernet0/0
  encapsulation ppp
  ip tcp header-compression passive
  async dynamic routing
  async mode interactive
  peer default ip address pool ip_pool
  ppp authentication chap pap
  group-range 65 80
  !
  
  ip local pool ip_pool 10.1.10.1 10.1.10.32
  ip classless
  ip route 0.0.0.0 0.0.0.0 10.1.10.34
  no ip http server
  !
  access-list 101 deny icmp any host 10.1.11.1 log
  access-list 101 permit ip any any
  dialer-list 1 protocol ip permit
  tacacs-server host 10.1.10.36 single-connection
  tacacs-server key _key
  
  !
  line con 0
  login authentication no_tacacs
  transport input none
  line 65 80
  autoselect during-login
  autoselect ppp
  modem InOut
  modem autoconfigure discovery
  transport input all
  stopbits 1
  flowcontrol hardware
  
  ! ACS 配置 (用戶):
  設(shè)定密碼,指定IP分配方法;選中PPP IP, INACL設(shè)為101,選中MULTILINK,LCP.


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 涿州市| 蓬溪县| 澎湖县| 高台县| 福海县| 讷河市| 松滋市| 剑阁县| 秀山| 诸暨市| 宜阳县| 元阳县| 台南市| 莫力| 德令哈市| 苏尼特左旗| 和林格尔县| 吉林市| 宁夏| 水城县| 浪卡子县| 临湘市| 叶城县| 黔西县| 家居| 嘉善县| 达州市| 渑池县| 姚安县| 瑞丽市| 乌恰县| 广南县| 曲阳县| 景东| 丰都县| 安吉县| 菏泽市| 安康市| 宜春市| 黄陵县| 祁连县|