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

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 2527|回复: 8
收起左侧

[已解决] 锐捷路由器做帧中继出现的问题

[复制链接]
发表于 2013-4-8 11:19:35 | 显示全部楼层 |阅读模式
     这个实验我做了三遍了,就是没有做成功,哎,麻烦各位大神指点一下我实验中的问题,拜托了!
下面展示的是这个实验上的配置。
R1路由器基本配置的情况
R1#show running-config
Building configuration...
Current configuration : 771 bytes
!
version 8.52 (building 6)
hostname R1
!
!
!
!
!
!
frame-relay switching
!
!
!
no service password-encryption
!
!
!
!
!
!
!
interface serial 1/2
encapsulation frame-relay ietf
frame-relay interface-dlci 21
frame-relay map ip 1.1.1.2 21
frame-relay lmi-type ansi
ip address 1.1.1.1 255.255.255.0
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet 1/1
duplex auto
speed auto
!
interface Null 0
!
!
router ospf
router-id 1.1.1.1
redistribute rip subnets
network 1.1.1.0 0.0.0.255 area 0.0.0.0
network 192.168.1.0 0.0.0.255 area 0.0.0.0
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
******************************************************************************
R1上的路由表条目
R1#  show ip route
Codes:  C - connected, S - static,  R - RIP
        O - OSPF, IA - OSPF inter area
        N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
        E1 - OSPF external type 1, E2 - OSPF external type 2
        * - candidate default
Gateway of last resort is no set
C    1.1.1.0/24 is directly connected, serial 1/2
C    1.1.1.1/32 is local host.
C    192.168.1.0/24 is directly connected, FastEthernet 1/0
C    192.168.1.1/32 is local host.
*********************************************************************************
R1上的虚电路
R1#show frame-relay pvc
PVC Statistics for interface serial 1/2 (Frame Relay DTE)
DLCI = 21, DLCI USAGE = LOCAL, PVC STATUS = DELETED , INTERFACE = serial 1/2
  input pkts 0    output pkts 7    in bytes 0
  out bytes 924    dropped pkts 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
DLCI = 22, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE , INTERFACE = serial 1/2
  input pkts 72    output pkts 65    in bytes 3912
  out bytes 3276    dropped pkts 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
R1#
===========================================================================
R2上的基本配置
R2#show running-config
Building configuration...
Current configuration : 893 bytes
!
version 8.52 (building 6)
hostname R2
!
!
!
!
!
!
frame-relay switching
!
!
!
no service password-encryption
!
!
!
!
!
!
!
interface serial 1/2
encapsulation frame-relay ietf
frame-relay interface-dlci 22
frame-relay map ip 1.1.1.1 22
frame-relay intf-type dce
frame-relay lmi-type ansi
ip address 1.1.1.2 255.255.255.0
clock rate 64000
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
duplex auto
speed auto
!
interface FastEthernet 1/1
ip address 2.2.2.1 255.255.255.0
duplex auto
speed auto
!
interface Null 0
!
!
router ospf
router-id 2.2.2.2
network 1.1.1.0 0.0.0.255 area 0.0.0.0
!
!
router rip
redistribute ospf match internal external 1 external 2 nssa-external 1 nssa-ext
ernal 2
no auto-summary
version 2
network 2.0.0.0
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
*******************************************************************************
R2上的路由条目
R2#show ip route
Codes:  C - connected, S - static,  R - RIP
        O - OSPF, IA - OSPF inter area
        N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
        E1 - OSPF external type 1, E2 - OSPF external type 2
        * - candidate default
Gateway of last resort is no set
C    1.1.1.0/24 is directly connected, serial 1/2
C    1.1.1.2/32 is local host.
C    2.2.2.0/24 is directly connected, FastEthernet 1/1
C    2.2.2.1/32 is local host.
R    192.168.2.0/24 [120/1] via 2.2.2.2, 00:00:24, FastEthernet 1/1
R2#
*************************************************************************
R2上的虚电路
R2#show frame-relay pvc serial 1/2
PVC Statistics for interface serial 1/2 (Frame Relay DCE)
DLCI = 22, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE , INTERFACE = serial 1/2
  input pkts 62    output pkts 20    in bytes 2938
  out bytes 2640    dropped pkts 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
R2#
============================================================================
R3上基本配置
R3#show running-config
Building configuration...
Current configuration : 662 bytes
!
version 8.52 (building 6)
hostname R3
!
!
!
!
!
!
!
!
!
no service password-encryption
!
!
!
!
!
!
!
interface serial 1/2
clock rate 64000
!
interface serial 1/3
clock rate 64000
!
interface FastEthernet 1/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet 1/1
ip address 2.2.2.2 255.255.255.0
duplex auto
speed auto
!
interface Null 0
!
!
router rip
redistribute ospf match internal external 1 external 2 nssa-external 1 nssa-ext
ernal 2
no auto-summary
version 2
network 2.0.0.0
network 192.168.2.0
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
R3#
*************************************************************************
R3上的路由条目
R3#  show ip route
Codes:  C - connected, S - static,  R - RIP
        O - OSPF, IA - OSPF inter area
        N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
        E1 - OSPF external type 1, E2 - OSPF external type 2
        * - candidate default
Gateway of last resort is no set
C    2.2.2.0/24 is directly connected, FastEthernet 1/1
C    2.2.2.2/32 is local host.
C    192.168.2.0/24 is directly connected, FastEthernet 1/0
C    192.168.2.1/32 is local host.
R3#
===========================================================================
下面展示的是操作系统串口下的命令
R2(config)#INterface Serial 1/2
R2(config-if)#?
Interface configuration commands:
  backup                  Modify dial-backup parameters
  bandwidth               Set bandwidth informational parameter
  carrier-delay           Specify delay for interface transitions
  clock                   Set serial DCE clock rate
  crypto                  apply crypto command
  custom-queue-list       Assign a custom queue list to an interface
  default                 Set a command to its defaults
  description             Interface specific description
  dialer                  Dial-on-demand routing (DDR) commands
  dialer-group            Assign interface to dialer-list
  encapsulation           Set encapsulation type for an interface
  end                     Exit from interface configuration mode
  exit                    Exit from interface configuration mode
  fair-queue              Enable Fair Queuing on an Interface
  h323-gateway            h323-gateway
  help                    Description of the interactive help system
  hold-queue              Set hold queue depth
  ignore-dcd              Set serial line ignore dcd mode
  invert                  Invert serial DCE/DTE clock
  ip                      Interface Internet Protocol config commands
  keepalive               Enable keepalive
  load-interval           Specify interval for load calculation for an
                          interface
  loopback                Configure internal loopback on an interface
  max-reserved-bandwidth  Maximum Reservable Bandwidth on an Interface
  mtu                     Set the interface Maximum Transmission Unit (MTU)
  no                      Negate a command or set its defaults
  nrzi-encoding           Set serial line nrzi encoding
  ppp                     Point-to-point protocol
  priority-group          Assign a priority group to an interface
  rate-limit              Rate Limit
  service-policy          Configure QoS Service Policy
  show                    Show running system information
  shutdown                Shutdown the selected interface
  traffic-shape           Enable Traffic Shaping on an Interface or
                          Sub-Interface
********************************************************************
操作系统的帧中继命令展示
R2(config-if)# frame-relay ?
  interface-dlci  Define a DLCI on an interface/subinterface
  intf-type       Configure a FR DTE/DCE interface
  inverse-arp     Enable/disable inverse ARP on a DLCI
  lmi-n391dte     set full status polling counter
  lmi-n392dce     LMI error threshold
  lmi-n392dte     LMI error threshold
  lmi-n393dce     set LMI monitored event count
  lmi-n393dte     set LMI monitored event count
  lmi-t392dce     set DCE polling verification timer
  lmi-type        Use CISCO-ANSI-CCITT type LMI
  local-dlci      Set source DLCI when LMI is not supported
  map             Map a protocol address to a DLCI address
===========================================================================
看完后的大神们给点建议吧,请赐教啊!谢谢你的回答。
拓扑.jpg
发表于 2013-4-8 12:50:34 | 显示全部楼层
frame-relay interface-dlci 22/21
frame-relay map ip 1.1.1.1 22/21
R1和R2上的这两句就看的我晕了,怎么一个是点到点子接口的手工映射,而另一句又不是;

好像是帧中继交换机没配好,是我的话就这么配着:
R2:
(config)#frame-relay switching
(config)#interface s1/2
(config-if)#encapsulation frame-relay ietf
#frame-relay intf-type dce
#frame-relay lmi-type ansi
#frame-relay route 21 interface f1/1 12
#clock rate 64000
沙发 2013-4-8 12:50:34 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-8 13:04:59 | 显示全部楼层
本帖最后由 GFP618 于 2013-4-8 13:48 编辑

好吧我试试你这个配法,出现问题我会及时贴出来,谢谢你.
这个是锐捷的路由器,是手动的添加ponit-to-ponit的映射,我也不知道怎么映射,
R2(config-if)#frame-relay ?
  interface-dlci  Define a DLCI on an interface/subinterface
  intf-type       Configure a FR DTE/DCE interface
  inverse-arp     Enable/disable inverse ARP on a DLCI
  lmi-n391dte     set full status polling counter
  lmi-n392dce     LMI error threshold
  lmi-n392dte     LMI error threshold
  lmi-n393dce     set LMI monitored event count
  lmi-n393dte     set LMI monitored event count
  lmi-t392dce     set DCE polling verification timer
  lmi-type        Use CISCO-ANSI-CCITT type LMI
  local-dlci      Set source DLCI when LMI is not supported
  map             Map a protocol address to a DLCI address
R2(config-if)#frame-relay interface-dlci ?
<16-1007>  Define a locally terminated DLCI
R2(config-if)#frame-relay interface-dlci 21/22
                                           ^
% Invalid input detected at '^' marker.

R2(config-if)#frame-relay interface-dlci 21,22
                                           ^
% Invalid input detected at '^' marker.

R2(config-if)#frame-relay interface-dlci 21 22
                                            ^
% Invalid input detected at '^' marker.

R2(config-if)#
我试了下上面三种方法都不可以啊,那这个映射怎么写啊。
”#frame-relay route 21 interface f1/1 12“
这条命令也打不上去,求教下,这句是什么意思。

板凳 2013-4-8 13:04:59 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-8 14:07:35 | 显示全部楼层
frame-relay route 21 interface f1/1 12   这句话的意思是说:来自21这个DLCI号 是送给 12这号的出口是 F1/1 就是这个意思  这个是思科的pvc建立的时候写的
求楼主给分
地板 2013-4-8 14:07:35 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-8 15:14:59 | 显示全部楼层

回帖奖励 +10 个鸿鹄币

5# 2013-4-8 15:14:59 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-8 15:16:53 | 显示全部楼层
6# 2013-4-8 15:16:53 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-8 15:50:01 | 显示全部楼层
frame-relay route 21 interface f1/1 12

这句是在帧中继交换机上某个接口上配置的帧中继交换表,意思是说从这个接口接收到DLCI号为21的二层帧中继帧,就从本帧中继交换机的 f1/1将帧发送出去,并把该帧的DLCI号改为12,做完后可以查看show frame-relay route查看,


R2(config-if)#frame-relay interface-dlci 21/22  这个我用/是简写,当然只能一次配一个啦,楼主还是好好的去看看NA中介绍帧中继的内容,似乎楼主没弄懂自动映射、手工映射等内容,我也正好在学FR,建议可以看看闫辉CCNA的第16集,话说怎么锐捷的命令跟思科的一样啊,原谅我的无知
7# 2013-4-8 15:50:01 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-12-30 12:00:10 | 显示全部楼层
可比仔 发表于 2013-4-8 15:50
frame-relay route 21 interface f1/1 12

这句是在帧中继交换机上某个接口上配置的帧中继交换表,意思是 ...

谢谢
8# 2013-12-30 12:00:10 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

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

GMT+8, 2024-5-6 04:08 , Processed in 0.174910 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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