Chinaunix首页 | 论坛 | 博客
  • 博客访问: 674325
  • 博文数量: 779
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5000
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 13:28
文章分类

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:29:14


  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  service password-encryption
  service udp-small-servers
  service tcp-small-servers
  !
  hostname dialin_2511_radius
  !
  aaa new-model
  aaa authentication login default radius
  aaa authentication login no_radius local
  aaa authentication login admin none
  aaa authentication enable default enable
  aaa authentication ppp default if-needed radius
  aaa authorization exec default radius if-authenticated
  aaa authorization network default radius
  aaa accounting suppress null-username
  aaa accounting network default start-stop radius
  enable secret 5 XXXXXXXXXXXXXXXXXXXXXXXXX
  enable password 7 YYYYYYYYYYYYYY
  !
  username admin password 7 ZZZZZZZZZZZZZ
  ip subnet-zero
  ip address-pool local
  async-bootp dns-server 192.168.2.4
  chat-script factory-default "" "AT&F1&W"
  chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT \T" TIMEOUT 3
  0 \c CONNECT \c
  chat-script usr-courier-veverything "" "AT&FS0=1&C1&D2&H1&R2&N14&B1&W"
  
  !
  interface Ethernet0
  ip address 192.168.2.30 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Group-Async1
  ip unnumbered Ethernet0
  no ip directed-broadcast
  encapsulation ppp
  no ip route-cache
  no ip mroute-cache
  async mode interactive
  peer default ip address pool default
  no cdp enable
  ppp authentication pap chap
  group-range 1 16
  !
  ip local pool default 192.168.2.64 192.168.2.79
  ip classless
  ip route 0.0.0.0 0.0.0.0 192.168.2.1
  !
  radius-server host 192.168.2.99 auth-port 1645 acct-port 1646
  radius-server key Testing_radius
  !
  line con 0
  session-timeout 10
  exec-timeout 0 0
  login authentication no_radius
  transport preferred none
  transport input none
  line 1 16
  autoselect ppp
  modem InOut
  transport input all
  speed 57600
  flowcontrol hardware
  line aux 0
  transport input all
  line vty 0 4
  exec-timeout 30 0
  login authentication no_radius
  !
  end
  
  
  
  
  
【责编:admin】
--------------------next---------------------

阅读(373) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~