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

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:35:13


  北京配置:
  show run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Beijing
  !
  !
  username beijing password 0 cisco
  ip subnet-zero
  isdn switch-type basic-net3
  !
  !
  !
  interface Loopback0
  ip address 2.2.2.2 255.0.0.0
  no ip directed-broadcast
  !
  interface Loopback1
  no ip address
  no ip directed-broadcast
  !
  interface Ethernet0
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial0
  backup interface Dialer1
  ip address 192.168.10.1 255.255.255.0
  no ip directed-broadcast
  no ip mroute-cache
  no fair-queue
  !
  interface Serial1
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial2
  no ip address
  no ip directed-broadcast
  shutdown
  --More--  !
  interface Serial3
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial4
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial5
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial6
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial7
  no ip address
  --More--   no ip directed-broadcast
  shutdown
  !
  interface Serial8
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial9
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface BRI0
  no ip address
  no ip directed-broadcast
  encapsulation ppp
  dialer pool-member 1
  isdn switch-type basic-net3
  !
  interface Dialer1
  ip address 192.168.11.1 255.255.255.0
  no ip directed-broadcast
  encapsulation ppp
  dialer remote-name Shanghai
  dialer string 12
  dialer pool 1
  dialer-group 1
  ppp authentication chap
  ppp chap password 7 13061E010803
  !
  ip nat translation timeout never
  ip nat translation tcp-timeout never
  ip nat translation udp-timeout never
  ip nat translation finrst-timeout never
  ip nat translation syn-timeout never
  ip nat translation dns-timeout never
  ip nat translation icmp-timeout never
  ip classless
  ip route 1.0.0.0 255.0.0.0 Serial0
  ip route 1.0.0.0 255.0.0.0 Dialer1 200
  ip route 192.168.11.0 255.255.255.0 Serial0
  ip route 192.168.11.0 255.255.255.0 Dialer1 200
  !
  access-list 101 permit icmp any any
  dialer-list 1 protocol ip list 101
  --More--  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  login
  !
  end
  
  
  上海配置:
  
  Shanghai>en
  Password:
  Shanghai#show run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Shanghai
  !
  enable password cisco
  !
  username shanghai password 0 cisco
  username name
  username cisco
  ip subnet-zero
  isdn switch-type basic-net3
  !
  !
  !
  interface Loopback0
  ip address 1.1.1.1 255.0.0.0
  no ip directed-broadcast
  --More--  !
  interface Ethernet0
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface Serial0
  no ip address
  no ip directed-broadcast
  no ip mroute-cache
  shutdown
  no fair-queue
  !
  interface Serial1
  backup interface Dialer1
  backup load 60 5
  ip address 192.168.10.2 255.255.255.0
  no ip directed-broadcast
  clockrate 64000
  !
  interface BRI0
  no ip address
  no ip directed-broadcast
  --More--   encapsulation ppp
  dialer pool-member 1
  isdn switch-type basic-net3
  !
  interface Dialer0
  no ip address
  no ip directed-broadcast
  no cdp enable
  !
  interface Dialer1
  ip address 192.168.11.2 255.255.255.0
  no ip directed-broadcast
  encapsulation ppp
  dialer remote-name Beijing
  dialer string 11
  dialer pool 1
  dialer-group 1
  ppp authentication chap
  ppp chap hostname Beijing
  ppp chap password 7 14141B180F0B
  !
  ip classless
  ip route 2.0.0.0 255.0.0.0 Serial1
  --More--  
  ip route 2.0.0.0 255.0.0.0 Dialer1 200
  ip route 192.168.11.0 255.255.255.0 Serial1
  ip route 192.168.11.0 255.255.255.0 Dialer1 200
  !
  access-list 101 permit tcp any any
  access-list 101 permit icmp any any
  dialer-list 1 protocol ip list 101
  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  password cisco
  login
  !
  end
  
  Shanghai#
【责编:admin】

--------------------next---------------------

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