首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >需要帮助复制在路由器上的框架中继配置教程的结果。我需要更改/添加什么?

需要帮助复制在路由器上的框架中继配置教程的结果。我需要更改/添加什么?
EN

Network Engineering用户
提问于 2018-12-24 11:15:24
回答 1查看 80关注 0票数 2

我很难获得03:14显示在这里的输出:凯文·华莱士的帧中继配置

我的网络是3个路由器,每个路由器通过串行2/0接口连接到帧中继交换机,没有其他任何东西。我正试图建立一个轮毂和轮辐的拓扑,R1作为集线器,R2和R3作为辐条。所使用的帧中继开关是GNS3中默认的帧中继交换机应用程序。

更新:原来的问题解决了。第二个问题需要帮助:

最初的问题是由于配置错误的帧中继开关。然而,在每个路由器上,帧中继LMI已经更改为ANSI,以匹配帧中继.为什么帧中继的LMI类型仍然是错误的?也就是说,为什么它是CISCO而不是ANSI

我的3台路由器的配置如下:

代码语言:javascript
复制
R1#sh run | s Serial2/0
interface Serial2/0
 description Conn to FR
 ip address 10.1.1.1 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi

R2(config)#do sh run | s Serial2/0
interface Serial2/0
 description Conn to R1
 ip address 10.1.1.2 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi

R3#sh run | s Serial2/0
interface Serial2/0
 description Conn to R1
 ip address 10.1.1.3 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi

据我所知,我的路由器配置方式和凯文完全一样。但是,当我使用show frame-relay pvc命令或show frame-relay map命令时,我只获得有关第一个PVC/D8映射的信息:

代码语言:javascript
复制
R1#sh frame pvc

PVC Statistics for interface Serial2/0 (Frame Relay DTE)

              Active     Inactive      Deleted       Static
  Local          1            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0

DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2/0

  input pkts 1             output pkts 1            in bytes 34        
  out bytes 34             dropped pkts 0           in pkts dropped 0         
  out pkts dropped 0                out bytes dropped 0         
  in FECN pkts 0           in BECN pkts 0           out FECN pkts 0         
  out BECN pkts 0          in DE pkts 0             out DE pkts 0         
  out bcast pkts 1         out bcast bytes 34        
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  pvc create time 00:51:48, last time pvc status changed 00:51:48

R2#sh frame pvc     

PVC Statistics for interface Serial2/0 (Frame Relay DTE)

              Active     Inactive      Deleted       Static
  Local          2            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0

DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2/0

  input pkts 5             output pkts 5            in bytes 170       
  out bytes 170            dropped pkts 0           in pkts dropped 0         
  out pkts dropped 0                out bytes dropped 0         
  in FECN pkts 0           in BECN pkts 0           out FECN pkts 0         
  out BECN pkts 0          in DE pkts 0             out DE pkts 0         
  out bcast pkts 5         out bcast bytes 170       
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  pvc create time 00:52:39, last time pvc status changed 00:52:39

DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2/0

  input pkts 11            output pkts 10           in bytes 724       
  out bytes 690            dropped pkts 0           in pkts dropped 0         
  out pkts dropped 0                out bytes dropped 0         
  in FECN pkts 0           in BECN pkts 0           out FECN pkts 0         
  out BECN pkts 0          in DE pkts 0             out DE pkts 0         
  out bcast pkts 5         out bcast bytes 170       
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  pvc create time 00:52:39, last time pvc status changed 00:52:39

R3#sh frame pvc

PVC Statistics for interface Serial2/0 (Frame Relay DTE)

              Active     Inactive      Deleted       Static
  Local          1            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0

DLCI = 301, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial2/0

  input pkts 5             output pkts 2            in bytes 170       
  out bytes 68             dropped pkts 0           in pkts dropped 0         
  out pkts dropped 0                out bytes dropped 0         
  in FECN pkts 0           in BECN pkts 0           out FECN pkts 0         
  out BECN pkts 0          in DE pkts 0             out DE pkts 0         
  out bcast pkts 2         out bcast bytes 68        
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  pvc create time 00:52:18, last time pvc status changed 00:52:18

在本教程的输出中,R1显示PVCs 102和103,R2显示201,R3显示301。

此外,在帧中继地图方面:

代码语言:javascript
复制
R1#sh frame map
Serial2/0 (up): ip 10.1.1.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,
              CISCO, status defined, active

R2#sh frame map
Serial2/0 (up): ip 10.1.1.3 dlci 103(0x67,0x1870), dynamic,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ip 10.1.1.1 dlci 201(0xC9,0x3090), dynamic,
              broadcast,
              CISCO, status defined, active

R3#sh frame map
Serial2/0 (up): ip 10.1.1.2 dlci 301(0x12D,0x48D0), dynamic,
              broadcast,, status defined, active

为甚麽结果有差距呢?我刚开始使用帧中继,因此不知道我应该做什么。基本上,我和教程有什么不同?

Config转储

R1:

代码语言:javascript
复制
R1#sh run
Building configuration...

Current configuration : 2055 bytes
!
! Last configuration change at 10:50:17 UTC Mon Dec 24 2018
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
!         
!
!
!
!


!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
cts logging verbose
!
!
!
redundancy
!
!
ip tcp synwait-time 5
! 
!
!
!
!         
!
!
!
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown 
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 description Conn to FR
 ip address 10.1.1.1 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown 
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 network 10.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
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
 transport input none
!
!
end

R2:

代码语言:javascript
复制
R2#sh run
Building configuration...

Current configuration : 2055 bytes
!
! Last configuration change at 10:59:24 UTC Mon Dec 24 2018
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
!         
!
!
!
!


!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
cts logging verbose
!
!
!
redundancy
!
!
ip tcp synwait-time 5
! 
!
!
!
!         
!
!
!
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown 
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 description Conn to R1
 ip address 10.1.1.2 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown 
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 network 10.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
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
 transport input none
!
!
end

R3:

代码语言:javascript
复制
R3#sh run
Building configuration...

Current configuration : 2055 bytes
!
! Last configuration change at 10:28:04 UTC Mon Dec 24 2018
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
!         
!
!
!
!


!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
cts logging verbose
!
!
!
redundancy
!
!
ip tcp synwait-time 5
! 
!
!
!
!         
!
!
!
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
!
interface Ethernet0/1
 no ip address
 shutdown
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
interface Ethernet1/0
 no ip address
 shutdown
!
interface Ethernet1/1
 no ip address
 shutdown
!
interface Ethernet1/2
 no ip address
 shutdown 
!
interface Ethernet1/3
 no ip address
 shutdown
!
interface Serial2/0
 description Conn to R1
 ip address 10.1.1.3 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay lmi-type ansi
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/1
 no ip address
 shutdown 
 serial restart-delay 0
!
interface Serial3/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial3/3
 no ip address
 shutdown
 serial restart-delay 0
!
router ospf 1
 network 10.0.0.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
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
 transport input none
!
!
end

P.S.每个路由器都是运行L3的GNS3中的IOU I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.5(2)T设备

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2018-12-24 19:14:25

帧中继LMI是本地链路,这是在您的路由器和帧中继交换机之间。显然,您的帧中继开关配置为frame-relay lmi-type cisco

Cisco支持用于帧中继的三种不同的本地管理接口( LMI )类型: Cisco、ANSI附件D和Q 933- A附件A。从Cisco IOS软件发布11.2开始,LMI自动识别功能允许帧中继接口自动检测直接连接的帧中继交换机支持的LMI类型。在从帧中继交换机接收到的<#>Based状态消息上,路由器会自动配置其帧中继接口,其支持的LMI类型由帧中继交换机确认。

票数 2
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/55646

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档