设为首页 收藏本站
查看: 952|回复: 0

[经验分享] Cisco CCNP 帧中继网络教程

[复制链接]

尚未签到

发表于 2018-7-15 15:21:05 | 显示全部楼层 |阅读模式

  •   CCNP帧中继拓扑图
DSC0000.png

  2.实验设备:5台GNS3 3600路由器(R1 R2 R3R4 R5)中间的R5模拟帧中继交换机,通过S1/0、S1/1、S1/2 、S1/3 串行连接R1/ R2/ R3/ R4 .
  实验要求
  配置帧中继网络的静态映射及点到点子接口和点到多点的帧中继网络。
  实验配置:
  配置帧中继交换机:
  --------------------------------------------R5帧中继-----------------------------------------------------------------------
  boot-start-marker
  boot-end-marker
  !
  !
  no aaa new-model
  memory-size iomem 5
  no ip icmp rate-limit unreachable
  !
  !
  ip cef
  no ip domain lookup
  !
  !
  ip auth-proxy max-nodata-conns 3
  ip admission max-nodata-conns 3
  !
  multilink bundle-name authenticated
  (config)#frame-relay switching   //将路由器模拟为帧中继交换机
  archive
  logconfig
  hidekeys
  !
  !
  !
  !
  ip tcp synwait-time 5
  (config)#inter S1/0           //进入S1/0接口
  (config-if)#no shout          //开启接口
  (config-if)#encapsulation frame-relayIETF  //为接口封装帧中继
  (config-if)#serial restart-delay 0
  (config-if)#frame-relay lmi-type ansi
  (config-if)#frame-relay local-dlci 103
  (config-if)#frame intf-type dce   //声明帧中继接口电缆类
  (config-if)#frame-relay route 102 interfaceSerial1/1 201
  //配置帧中继路由,102 为进入接口的 DLCI 号,从 S1/1 的 DLCI 201 发出去。
  (config-if)#frame-relay route 103 interfaceSerial1/2 301
  //配置帧中继路由,103 为进入接口的 DLCI 号,从 S1/2 的 DLCI 301 发出去。
  (config-if)#frame-relay route 104 interfaceSerial1/3 401
  //配置帧中继路由,104 为进入接口的 DLCI 号,从 S1/3 的 DLCI 401 发出去。
  interface S1/1   //进入S1/1接口
  noshout     //开启接口
  encapsulation frame-relay IETF   //为接口封装帧中继
  serial restart-delay 0
  frame-relay lmi-type ansi
  frame-relay intf-type dce       //声明帧中继接口电缆类
  frame-relay route 201 interface Serial1/0 102
  //配置帧中继路由,201为进入接口的 DLCI 号,从 S1/0 的 DLCI 102 发出去。
  showframe-relay route //查看帧中继交换机上的路由
DSC0001.png

  !
  interface Serial1/2
  noshout
  encapsulation frame-relay IETF
  serialrestart-delay 0
  frame-relay lmi-type ansi
  frame-relay intf-type dce
  frame-relay route 301 interface Serial1/0 103
  //配置帧中继路由,301为进入接口的 DLCI 号,从 S1/0 的 DLCI 103 发出去。
  !
  interface S1/3
  noshout
  encapsulation frame-relay IETF
  serial restart-delay 0
  frame-relaylmi-type ansi
  frame-relay intf-type dce
  frame-relay route 401 interface Serial1/0 104
  //配置帧中继路由,401为进入接口的 DLCI 号,从 S1/0 的 DLCI 104 发出去。
  !
  no ip http server
  no ip http secure-server
  ip forward-protocol nd
  !
  line con 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line aux 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line vty 0 4
  login
  !
  点到点帧中继的静态映射:
  ------------------------------------------------R1路由器----------------------------------------------------------------
  boot-start-marker
  boot-end-marker
  !
  no aaa new-model
  memory-size iomem 5
  no ip icmp rate-limit unreachable
  !
  ip cef
  no ip domain lookup
  !
  ip auth-proxy max-nodata-conns 3
  ip admission max-nodata-conns 3
  !
  multilink bundle-name authenticated
  !
  archive
  logconfig
  hidekeys
  !
  ip tcp synwait-time 5
  !
  interface Lo0
  ipaddress 1.1.1.1 255.255.255.0
  !
  interface S1/0
  noshout
  encapsulation frame-relay IETF
  serial restart-delay 0
  noframe-relay inverse-arp        //关闭反向 ARP 解析(默认打开)
  frame-relay lmi-type ansi
  !
  interface S1/0.12 point-to-point
  ipaddress 11.11.11.1 255.255.255.252
  snmptrap link-status
  frame-relay interface-dlci 102
  !
  interface S1/0.134 multipoint
  ipaddress 12.12.12.1 255.255.255.0
  noip split-horizon
  snmptrap link-status
  frame-relay map ip 12.12.12.2 103broadcast
  //手动配置一条到 R3 的帧中继映射,使用目的 IP 及本端 DLCI。
  frame-relay map ip 12.12.12.3 104 broadcast
  //手动配置一条到 R4的帧中继映射,使用目的IP 及本端 DLCI。
  !
  router rip//配置版本2的RIP路由协议
  version 2
  net1.0.0.0
  net11.0.0.0
  net12.0.0.0
  noauto-summary//关闭自动汇总
  !
  no ip http server
  no ip http secure-server
  ip forward-protocol nd
  !
  line con 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line aux 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line vty 0 4
  login
  !
  sh frame-relay map
DSC0002.png

  //解析到 dynamic(动态)的 DLCI 映射,活动状态为static(关闭)
  ------------------R2路由器--------------
  boot-start-marker
  boot-end-marker
  !
  no aaa new-model
  memory-size iomem 5
  no ip icmp rate-limit unreachable
  !
  ip cef
  no ip domain lookup
  !
  ip auth-proxy max-nodata-conns 3
  ip admission max-nodata-conns 3
  !
  multilink bundle-name authenticated
  !
  archive
  logconfig
  hidekeys
  !
  ip tcp synwait-time 5
  !
  interface Lo0
  ipaddress 2.2.2.2 255.255.255.0
  !
  interface S1/1
  ipaddress 11.11.11.2 255.255.255.252
  encapsulation frame-relay IETF
  serial restart-delay 0
  frame-relay map ip 11.11.11.1 201 broadcast
  //手动配置一条到 R1 的帧中继映射,使用目的 IP 及本端 DLCI。
  frame-relay lmi-type ansi
  !
  router rip//配置版本2的RIP路由协议    
  version 2
  net2.0.0.0
  net11.0.0.0
  noauto-summary
  !
  no ip http server
  no ip http secure-server
  ip forward-protocol nd
  !
  line con 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line aux 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line vty 0 4
  login
  !
  --------------R3路由器--------------
配置使用子接口的帧中继网络:
  boot-start-marker
  boot-end-marker
  !
  !
  no aaa new-model
  memory-size iomem 5
  no ip icmp rate-limit unreachable
  !
  !
  ip cef
  no ip domain lookup
  !
  !
  ip auth-proxy max-nodata-conns 3
  ip admission max-nodata-conns 3
  !
  multilink bundle-name authenticated
  !
  archive
  logconfig
  hidekeys
  !
  !
  !
  !
  ip tcp synwait-time 5
  !
  interface Lo0
  ipaddress 3.3.3.3 255.255.255.0
  !
  interface S1/2
  ipaddress 12.12.12.2 255.255.255.0
  encapsulation frame-relay IETF
  serial restart-delay 0
  frame-relay map ip 12.12.12.1 301 broadcast
  //手动配置一条到 R1 的帧中继映射,使用目的 IP 及本端 DLCI。
  frame-relay map ip 12.12.12.3 301 broadcast
  //手动配置一条到 R4 的帧中继映射,使用目的 IP 及本端 DLCI。
  noframe-relay inverse-arp //关闭反向 ARP 解析(默认打开)
  frame-relay lmi-type ansi
  !
  router rip//配置版本2的RIP路由协议  
  version 2
  net3.0.0.0
  net12.0.0.0
  noauto-summary//关闭自动汇总
  !
  no ip http server
  no ip http secure-server
  ip forward-protocol nd
  !
  line con 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line aux 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line vty 0 4
  login
  !
  #sh frame-relay map
DSC0003.png

  #sh frame-relay pvc //显示路由器所定义帧中继PVC 的统
DSC0004.png

  ------------------------------------------------------------R4路由器-------------------------------------------------------
  boot-start-marker
  boot-end-marker
  !
  no aaa new-model
  memory-size iomem 5
  no ip icmp rate-limit unreachable
  !
  ip cef
  no ip domain lookup
  !
  ip auth-proxy max-nodata-conns 3
  ip admission max-nodata-conns 3
  !
  multilink bundle-name authenticated
  !
  archive
  logconfig
  hidekeys
  !
  ip tcp synwait-time 5
  !
  interface Lo0
  ipaddress 4.4.4.4 255.255.255.0
  !
  interface S1/3
  ipaddress 12.12.12.3 255.255.255.0
  encapsulation frame-relay IETF
  serial restart-delay 0
  frame-relay map ip 12.12.12.1 401 broadcast
  //手动配置一条到 R1 的帧中继映射,使用目的 IP 及本端 DLCI。
  frame-relay map ip 12.12.12.2 401 broadcast
  //手动配置一条到 R3 的帧中继映射,使用目的IP 及本端 DLCI。
  noframe-relay inverse-arp    //关闭反向 ARP 解析(默认打开)
  frame-relay lmi-type ansi
  !
  router rip             //配置版本2的RIP路由协议
  version 2
  net4.0.0.0
  net12.0.0.0
  noauto-summary//关闭自动汇总
  !
  no ip http server
  no ip http secure-server
  ip forward-protocol nd
  !
  line con 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line aux 0
  exec-timeout 0 0
  privilege level 15
  logging synchronous
  line vty 0 4
  login
  !
  #sh frame-relay map
DSC0005.png

  #sh frame-relay pvc //显示路由器所定义帧中继PVC 的统
DSC0006.png

  #sh   iprouter     //查看所有路由器的路由表
DSC0007.png

测试互联互通:
DSC0008.png

  实验总结:注意帧中继的不同配置情况,每个接口必须都正确封装帧中继并启用端口,手
  动配置时必须关掉反向 ARP 解析并清除动态的映射;当存在不同子网的连接时必须配置子
  接口,子接口需要指定连接类型以及子接口的 DLCI 号。PVC 的状态必须全部为活动时才
  能进行帧中继映射。
  
  吴迪
  2017.11.2

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-537445-1-1.html 上篇帖子: cisco 2960-24 配置(生产环境) 下篇帖子: Cisco ASA SSL*** NPS Radius Domain
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表