天下网吧 >> 网吧方案 >> 方案实例 >> 正文

有关帧中继的配置实例(图)


  网络的拓扑结构:
  
   
  
  A市华为2631的配置为:
  jstzfgjj-jgzx#show run
  Now create configuration...
  Current configuration
  !
  version 1.65
  enable password $X']'IR12]Q;`*OM0,DFDQ!!
  hostname jstzfgjj-jgzx
  !
  interface Aux0
  async mode interactive
  encapsulation ppp
  !
  interface Ethernet0
  speed auto
  duplex auto
  no loopback
  ip address 10.10.1.10 255.255.255.0
  !
  interface Ethernet1
  speed auto
  duplex auto
  no loopback
  ip address 10.10.2.10 255.255.255.0
  !
  interface Serial0
  clock-select DTECLK1
  encapsulation frame-relay
  frame-relay lmi-type ansi
  !
  interface Serial0.1 Point-to-Point
  description to_city_a
  frame-relay interface-dlci 351
  ip address 192.168.5.1 255.255.255.0
  !
  interface Serial1
  encapsulation frame-relay
  description this port have many problerm
  frame-relay lmi-type ansi
  !
  interface Serial2
  clock-select DTECLK1
  encapsulation ppp
  ip address 192.168.7.1 255.255.255.0
  !
  interface Serial3
  clock-select DTECLK1
  encapsulation frame-relay
  frame-relay lmi-type ansi
  !
  interface Serial3.1 Point-to-Point
  description to_city_b
  frame-relay interface-dlci 352
  ip address 192.168.6.1 255.255.255.0
  !
  interface Bri0
  encapsulation ppp
  dialer in-band
  !
  router rip
  network 192.168.0.0
  network 10.0.0.0
  !
  ip route 0.0.0.0 0.0.0.0 192.168.5.2 preference 60 //可以去掉
  ip route 0.0.0.0 0.0.0.0 192.168.6.2 preference 60 //可以去掉
  ip route 10.71.214.0 255.255.255.0 192.168.6.2 preference 60
  ip route 192.168.0.0 255.255.255.0 192.168.5.2 preference 60
  !
  end
  
  B 市CISCO3661配置为:
  cisco3661#show run
  Building configuration...
  
  Current configuration : 3711 bytes
  !
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname cisco3661
  !
  boot system tftp c3660-is-mz.121-2.T.bin 192.168.0.253
  boot system tftp c3660-is-mz.121-2.T.bin 192.168.0.1
  logging buffered 4096 debugging
  enable secret 5 $1$lQKy$ykKXubcemLYX9jRTosKVt/
  !
  username ****** password 0 ******
  !
  !
  !
  !
  ip subnet-zero
  no ip domain-lookup
  !
  partition flash 2 8 8
  !
  !
  !
  voice-port 4/0/0
  cptone JP
  !
  voice-port 4/0/1
  cptone JP
  !
  voice-port 4/1/0
  cptone CN
  !
  voice-port 4/1/1
  cptone CN
  !
  !
  dial-peer voice 11 pots
  destination-pattern 80001
  port 4/0/0
  !
  dial-peer voice 12 pots
  destination-pattern 80002
  port 4/0/1
  !
  dial-peer voice 13 pots
  destination-pattern 80003
  port 4/1/0
  !
  dial-peer voice 14 pots
  destination-pattern 80004
  port 4/1/1
  !
  dial-peer voice 30 voip
  destination-pattern 83...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.10
  !
  dial-peer voice 90 voip
  destination-pattern 89...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.6
  !
  dial-peer voice 80 voip
  destination-pattern 88...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.14
  !
  dial-peer voice 60 voip
  destination-pattern 86...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.18
  !
  dial-peer voice 70 voip
  destination-pattern 87...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.22
  !
  dial-peer voice 50 voip
  destination-pattern 85...
  req-qos guaranteed-delay
  session target ipv4:192.1.1.26
  !
  !
  !
  interface FastEthernet0/0
  ip address 82.192.59.254 255.255.255.0 secondary
  ip address 192.168.0.254 255.255.255.0
  duplex auto
  speed auto
  !
  interface Serial1/0
  ip address 152.1.1.2 255.255.255.252
  encapsulation ppp
  no ip mroute-cache
  no fair-queue
  serial restart-delay 0
  !
  interface Serial1/1
  description CBCE
  ip address 192.1.1.25 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial1/2
  description GONGLIU
  ip address 192.1.1.5 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial1/3
  description HUOCHENG
  ip address 192.1.1.9 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial2/0
  description XINYUAN
  ip address 192.1.1.13 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial2/1
  description ZHAOSU
  ip address 192.1.1.17 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial2/2
  description TEKESI
  ip address 192.1.1.21 255.255.255.252
  no ip mroute-cache
  fair-queue 64 256 36
  serial restart-delay 0
  ip rsvp bandwidth 48 48
  !
  interface Serial2/3
  no ip address
  encapsulation frame-relay IETF
  serial restart-delay 0
  frame-relay lmi-type ansi
  !
  interface Serial2/3.1 point-to-point
  description to_jstzfgjj-jgzx
  ip address 192.168.5.2 255.255.255.0
  frame-relay interface-dlci 351
  !
  interface Group-Async1
  ip unnumbered FastEthernet0/0
  encapsulation ppp
  async dynamic address
  async mode interactive
  peer default ip address pool dialin
  ppp authentication chap pap callin
  !
  router rip
  version 2
  network 10.0.0.0
  network 82.0.0.0
  network 192.1.1.0
  network 192.168.0.0
  !
  ip local pool dialin 192.168.0.246 192.168.0.253
  no ip classless
  ip route 10.10.1.0 255.255.255.0 192.168.5.1
  ip route 10.10.2.0 255.255.255.0 192.168.5.1
  ip route 82.0.0.0 255.0.0.0 Serial1/0
  ip route 82.192.187.0 255.255.255.0 152.1.1.1
  ip route 192.168.0.0 255.255.255.0 192.168.5.1
  no ip http server
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  password cisco
  login
  !
  end
  
  C市CISCO2500路由器配置:
  USER#show run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname USER
  !
  enable secret 5 $1$0//s$rojmQGT3vVJ/ZUq1tvq32.
  !
  username ***** password ******
  !
  interface Ethernet0
  ip address 10.71.214.50 255.255.255.0
  !
  interface Serial0
  description to_jstzfgjj-jgzx
  no ip address
  encapsulation frame-relay IETF
  bandwidth 256 //可以不设
  frame-relay lmi-type ansi
  !
  interface Serial0.2 point-to-point
  ip address 192.168.6.2 255.255.255.0
  frame-relay interface-dlci 352!
  interface Serial1
  no ip address
  shutdown<

本文来源:天下网吧 作者:网吧方案

相关文章
没有相关文章
声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下