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

ISDN Configuration Example

2019-11-04 20:40:30
字体:
来源:转载
供稿:网友

  ISDN Configuration Example - IP
  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.


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