设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1905|回复: 0
收起左侧

FR 背靠背实验配置

[复制链接]
发表于 2010-8-25 08:23:34 | 显示全部楼层 |阅读模式
  1======= LMI========
  
  DCE:
  
  Router#sho run
  Building configuration...
  
  Current configuration:
  !
  version 11.3
  no service password-encryption
  !
  hostname Router
  !
  !
  frame-relay switching
  !
  !
  interface Ethernet0/0
   no ip address
   shutdown
  !
  interface Serial0/0
   ip address 192.168.1.2 255.255.255.0
   encapsulation frame-relay
   no ip mroute-cache
   no fair-queue
   clockrate 64000
   frame-relay map ip 192.168.1.2 100 //不MAP自己,无法ping通自己
   frame-relay map ip 192.168.1.3 100 //broadcast此处可要可不要
   frame-relay interface-dlci 100
   frame-relay intf-type dce
  !
  interface Serial0/1
   no ip address
   shutdown
  !
  ip classless
  !
  line con 0
  line aux 0
   password cisco
   login
  line vty 0 4
   password cisco
   login
  !
  end
  
  Router#
  
  Router#ping 192.168.1.3
  
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
  !!!!!
  Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
  
  
  
  DTE:
  cisco2503#sh run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  service udp-small-servers
  service tcp-small-servers
  !
  hostname cisco2503
  !
  enable secret 5 $1$51Yo$OsPssTui6Lh1tBuzbpA4d.
  enable password router
  !
  ip subnet-zero
  no ip domain-lookup
  !
  !
  !
  interface Ethernet0
   no ip address
   no ip directed-broadcast
   no ip mroute-cache
   shutdown
  !
  interface Serial0
   ip address 192.168.1.3 255.255.255.0
   no ip directed-broadcast
   encapsulation frame-relay
   no ip mroute-cache
   logging event subif-link-status
   logging event dlci-status-change
   frame-relay map ip 192.168.1.2 100
   frame-relay map ip 192.168.1.3 100
   frame-relay interface-dlci 100
  !
  interface Serial1
   no ip address
   no ip directed-broadcast
   encapsulation ppp
   no ip mroute-cache
   shutdown
  !
  interface BRI0
   no ip address
   no ip directed-broadcast
   no ip mroute-cache
   shutdown
  !
  ip classless
  !
  !
  line con 0
   transport input none
  line aux 0
   transport input all
  line vty 0 4
   password cisco
   login
  !
  end
  
  cisco2503#
  
  2.=======disabled lmi=======
  
  DCE:
  Router#show run
  Building configuration...
  
  Current configuration:
  !
  version 11.3
  no service password-encryption
  !
  hostname Router
  !
  !
  frame-relay switching
  !
  !
  interface Ethernet0/0
   no ip address
   shutdown
  !
  interface Serial0/0
   no ip address
   encapsulation frame-relay
   no ip mroute-cache
   no keepalive
   no fair-queue
   clockrate 64000
  !
  interface Serial0/0.1 point-to-point
   ip address 192.168.1.2 255.255.255.0
   frame-relay interface-dlci 100
  !
  interface Serial0/1
   no ip address
   shutdown
  !
  ip classless
  !
  line con 0
  line aux 0
   password cisco
   login
  line vty 0 4
   password cisco
   login
  !
  end
  
  Router#
  
  
  DTE:
  cisco2503#show run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  service udp-small-servers
  service tcp-small-servers
  !
  hostname cisco2503
  !
  enable secret 5 $1$51Yo$OsPssTui6Lh1tBuzbpA4d.
  enable password router
  !
  ip subnet-zero
  no ip domain-lookup
  !
  !
  !
  interface Ethernet0
   no ip address
   no ip directed-broadcast
   no ip mroute-cache
   shutdown
  !
  interface Serial0
   no ip address
   no ip directed-broadcast
   encapsulation frame-relay
   no ip mroute-cache
   logging event subif-link-status
   logging event dlci-status-change
   no keepalive
  !
  interface Serial0.1 point-to-point
   ip address 192.168.1.3 255.255.255.0
   no ip directed-broadcast
   frame-relay interface-dlci 100
  !
  interface Serial1
   no ip address
   no ip directed-broadcast
   encapsulation ppp
   no ip mroute-cache
   shutdown
  !
  interface BRI0
   no ip address
   no ip directed-broadcast
   no ip mroute-cache
   shutdown
  !
  ip classless
  !
  !
  line con 0
   transport input none
  line aux 0
   transport input all
  line vty 0 4
   password cisco
   login
  !
  end
  
  cisco2503#
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-5-12 09:02 , Processed in 0.055565 second(s), 8 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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