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

Cisco2511拨入配置实例

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

  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

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