岁月联盟 · 中国技术网 本站主页 | 安全认证 | 用户服务 | 技术论坛
新闻快报 | 法律法规 | 新手学堂 | 黑客特区 | 操作系统 | 安全防范 | 程序语言 | 数 据 库 | 防 火 墙 | 交换路由 | 考试认证
系统集成 | 存储备份 | 协议分析 | 协议大全 | RFC专题 | FTP服务器 | 解决方案 | 问题解答 | 图库资料 | 软件下载 | 教程下载
  您现在的位置: 岁月联盟 >> 路由交换 >> 路由配置 >> 路由交换正文
Cisco 路由器Callback 配置示例
作者:未知 文章来源:本站整理 点击数: 更新时间:2007-1-8 10:03:16

服务器端
server#show run
Building configuration...

Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname server
!
enable secret 5 $1$erQc$CNwwb7jk94.u3UBNvnThO1
!
username cisco password 0 cisco
username user password 0 password
username client password 0 cisco
username server password 0 cisco
no ip domain-lookup
!
process-max-time 200
!
interface Ethernet0/0
no ip address
shutdown
!
interface Serial0/0
physical-layer async
ip address 10.0.0.2 255.0.0.0
encapsulation ppp
dialer in-band
dialer callback-secure
dialer idle-timeout 300
dialer wait-for-carrier-time 40
dialer map ip 10.0.0.1 name client class 1 63176516
dialer-group 1
autodetect encapsulation ppp
async mode dedicated
ppp callback accept
ppp authentication chap callin
!
interface Ethernet0/1
no ip address
shutdown
!
interface Serial0/1
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
!
!
map-class dialer 1
dialer callback-server username
dialer-list 1 protocol ip permit
!
line con 0
line 1
autoselect ppp
modem InOut
modem autoconfigure discovery
transport input all
callback forced-wait 5
stopbits 1
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password password
login
!
no scheduler allocate
end

server#

客户端
client#show run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname client
!
enable password cisco
!
username client password 0 cisco
username server password 0 cisco
memory-size iomem 25
ip subnet-zero
no ip domain-lookup
!

!
interface Serial0
physical-layer async
ip address 10.0.0.1 255.0.0.0
no ip directed-broadcast
encapsulation ppp
dialer in-band
dialer idle-timeout 30
dialer wait-for-carrier-time 40
dialer map ip 10.0.0.2 name server 63178062
dialer hold-queue 3 timeout 12
dialer-group 1
async mode dedicated
ppp callback request
ppp authentication chap callin
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
interface FastEthernet0
no ip address
no ip directed-broadcast
shutdown
!
ip classless
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line 1
autoselect ppp
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password password
login
!
no scheduler allocate
end

client#


  • 上一个路由交换:
  • 下一个路由交换:
  •  
     最新图文
     热门文章
     推荐文章
    关于我们 | 发展历程 | 网站地图 | 广告服务 | 招贤纳士 | 战略合作 | 友情链接 | 著作声明 | 联系我们
    Copyright © 2002-2006 SYUE All rights reserved.
    E_mail:WebSyue@163.Com 皖ICP备05004589号
    在此特别感谢 “中国·华夏新科技” 提供CDN技术支持,祝他们越办越好