设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1145|回复: 0
收起左侧

Cisco Router之间CallBack典型配置

[复制链接]
发表于 2010-8-25 08:26:20 | 显示全部楼层 |阅读模式
  CallBack Server-------------------------------------
  version 11.3
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname server
  !
  enable password cisco
  !
  username client password 0 cisco
  chat-script cb "" "ATDT\T" TIMEOUT 60 CONNECT
  !
  !
  interface Ethernet0
  ip address 192.168.1.201 255.255.255.0
  no keepalive
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Async8
  ip address 10.1.1.2 255.255.255.0
  encapsulation ppp
  dialer in-band
  dialer map ip 10.1.1.1 name client class cb 228
  dialer-group 1
  async mode dedicated
  no peer default ip address
  no cdp enable
  ppp callback accept
  ppp authentication chap
  !
  
  !
  no ip classless
  ip route 160.4.1.0 255.255.255.0 10.1.1.1
  !
  !
  map-class dialer cb
  dialer callback-server username
  dialer-list 1 protocol ip permit
  !
  line con 0
  line 1 8
  script dialer cb
  login local
  modem InOut
  transport input all
  flowcontrol hardware
  line aux 0
  line vty 0 4
  password cisco
  login
  !
  end
  
  CallBack Client--------------------------------------
  version 11.2
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname client
  !
  enable secret 5 $1$agg8$blP5tNZMOq0xYXvsO/hGG0
  enable password admin
  !
  username server password 0 cisco
  chat-script cb "" "ATDT\T" TIMEOUT 60 CONNECT
  !
  interface Ethernet0
  ip address 160.4.1.98 255.255.255.224
  no keepalive
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Async1
  ip address 10.1.1.1 255.255.255.0
  encapsulation ppp
  async mode dedicated
  dialer in-band
  dialer map ip 10.1.1.2 name server 391
  dialer-group 1
  no cdp enable
  ppp callback request
  ppp authentication chap
  !
  no ip classless
  ip route 192.168.1.0 255.255.255.0 10.1.1.2
  !
  dialer-list 1 protocol ip permit
  !
  line con 0
  line aux 0
  script dialer cb
  login local
  modem InOut
  transport input all
  flowcontrol hardware
  line vty 0 4
  password cisco
  login
  !
  end
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-5-19 19:06 , Processed in 0.066603 second(s), 9 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表