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

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:35:12


  
  C2503
  
  C2503
  C2503#wr t
  ######
  Current configuration:
  !
  version 10.2
  !
  hostname C2503
  !
  enable password test
  !
  username C4000 password cisco
  !--- See username explanation in the following section.
  isdn switch-type basic-dms100
  !
  interface Ethernet0
  ip address 172.16.10.1 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface BRI0
  ip address 172.16.20.1 255.255.255.0
  encapsulation ppp
  bandwidth 56
  dialer idle-timeout 300
  dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155551234
  dialer map ip 172.16.20.2 name C4000 speed 56 broadcast 14155556789
  dialer hold-queue 5
  dialer load-threshold 100
  dialer-group 1
  isdn spid1 408555432101 5554321
  isdn spid2 408555987601 5559876
  ppp authentication chap
  !
  router igrp 1
  network 172.16.0.0
  !
  ip route 192.168.24.0 255.255.255.0 172.16.20.2
  access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.0
  access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
  !
  !
  dialer-list 1 list 100
  !
  line con 0
  line aux 0
  line vty 0 4
  password test
  login
  !
  end
  C4000
  C4000
  C4000#wr t
  ######
  Current configuration:
  !
  version 10.2
  !
  hostname C4000
  !
  enable password test
  !
  username C2503 password cisco
  !--- See username explanation in the following section.
  isdn switch-type basic-dms100
  !
  interface Ethernet0
  ip address 192.168.24.65 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface BRI0
  ip address 172.16.20.2 255.255.255.0
  encapsulation ppp
  bandwidth 56
  dialer idle-timeout 300
  dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085554321
  dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085559876
  dialer hold-queue 5
  dialer load-threshold 100
  dialer-group 1
  isdn spid1 415555123401 5551234
  isdn spid2 415555678901 5556789
  ppp authentication chap
  !
  router igrp 1
  network 172.16.0.0
  network 192.168.24.0
  !
  ip route 172.16.10.0 255.255.255.0 172.16.20.1
  access-list 100 deny ip 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.0
  access-list 100 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
  !
  !
  dialer-list 1 list 100
  !
  line con 0
  line aux 0
  line vty 0 4
  password test
  login
  !
  end
  相关说明
  dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085554321
  dialer map ip 172.16.20.1 name C2503 speed 56 broadcast 14085559876
  
  
  The dialer map command is used with CHAP authentication to place the initial call to the remote router when interesting traffic is forwarded to the BRI interface. After the connection is active, the dialer idle-timeout command determines how long it will remain active. A dialer map statement is required for each ISDN phone number that will be called. Be aware though, that two dialer map statements pointing to the same location might activate both B channels when you may only want to use one channel.
  Note: The command parameters for this example are:
  
  172.16.20.1 = the IP address of the remote router's BRI interface. To determine this address, type show interface bri 0 at the remote router's console prompt.
  
  name C2503 = the hostname of the remote router. The name is case sensitive and should match the name configured for the username command above.
  
  speed 56 = sets the dialer speed to 56k for ISDN circuits that are not 64k end-to-end, and should be included in both routers' dialer map statements. Most installations in North America must be configured for 56K.
  
  broadcast = allows the forwarding of broadcast packets. Unless broadcast packets are specified as interesting packets by the dialer-list command, they will only be forwarded when the ISDN link is active.
  
  14085554321
  14085559876 = the remote router's ISDN telephone numbers.
  
  
  
  
  
【责编:admin】

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

阅读(301) | 评论(0) | 转发(0) |
0

上一篇:根本的isdn笔记

下一篇:PPPoA配置说明

给主人留下些什么吧!~~