配置帧中继交换机

本实验是配置普通路由器作为帧中继交换机使用,以便为本章的其他实验提供一个帧中继的实验环境 。
1.实验目的
通过本实验,读者可以把握以下技能:
●配置只有2个节点的帧中继环境;
●配置星型的帧中继环境;
●配置全网状的帧中继环境;
●熟悉相关的查看和监测命令 。
2.设备需求
本实验需要以下设备:
●具有3个以上串行接口的路由器1台;
●3条DCE类型串行电缆;
●1台带有超级终端程序的PC机,以及Console电缆及转接器 。
3.线缆连接及配置说明
本实验的线缆连接如图8.1所示,把PC机通过Console电缆连接到路由器的Console端口上,即完成了线缆的连接 。
图8-1也标出了配置有2节点的帧中继环境的DLCI值 。
4.实验配置及监测结果
第1步:配置有2个节点的帧中继环境
实验1的第1步是配置有2个节点的帧中继环境,它的配置较为简单,其配置见配置清单8-1 。
配置清单8-1 配置有2个节点的帧中继环境
第1段:配置有2个节点的帧中继环境
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname FR_S witch
ip subnet-zero
no ip domain-lookup
frame-relay switching
!
interface Serial0
 no ip address
 shutdown
!
interface Serial 1
 no Ip address
 encapsuSatlois frame-relay
 dockrate 64000
 frame-relay lmi-type dsco
 frame-relay Intf-type dee
 frame-relay route 102 Interface Serlal2 201
!
interface Serial2
 no ip address
 encapsulation frame-relay
 clockrate 64000
 frame-relay Imi-type cisco
 frame-relay intf-type dee
 frame-relay route 201 interface Seriall 102
!
interface Serial3
 no ip address
 shutdown
!
line con 0
line aux 0
 transport input all
line vty 0 4
 login
!
end
第2段:查看有关信息
FR_Switch#sh fr route
Input Intf Input Dici Output IntfOutput DiciStatus
Serial1102Serial2 201 inactive
Serial2201Serial1 102 inactive
FR_Switch#sh fr lmi
LMI Statistics for interface Serial1(Frame Relay DCE)LMI TYPE=CISCO
 Invalid Unnumbered info 0Invalid Prot Disc 0
 Invalid dummy Call Ref 0 Invalid Msg Type 0
 Invalid Status Message 0 Invalid Lock Shift 0
 Invalid Information ID 0 Invalid Report IE Len 0
 Invalid Report Request 0 Invalid Keep IE Len 0
 Num Status Enq. Rcvd 0Num Status msgs Sent 0
 Num Update Status Sent 0 Num St Enq. Timeouts 0
LMI Statistics for interface Serial2(Frame Relay DCE)LMI TYPE=CISCO
 Invalid Unnumbered info 0Invalid Prot Disc 0
 Invalid dummy Call Ref 0 Invalid Msg Type 0
 Invalid Status Message 0 Invalid Lock Shift 0
 Invalid Information ID 0 Invalid Report IE Len 0
 Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Rcvd 0 Num Status msgs Sent 0
 Num Update Status Sent 0 Num St Enq. Timeouts 154
FR_Switch#sh fr pvc
PVC Statistics for interface Serial1(Frame Relay DCE)
ActiveInactive DeletedStatic
Local 0 00 0
Switched 0 1 0 0
Unused0 0 00
DLCI=102,DLCI USAGE-SWITCHED,PVC STATUS=INACTIVE,INTERFACE=Serial1
 input pkts 0 output pkts 0 in bytes 0
 out bytes 0dropped pkts 0in FECN pkts 0
 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
 in DE pkts 0out DE pkts 0
 out beast pkts 0out beast bytes 0Num Pkts Switched 0
 pvc create time 00:39:51, last time pvc status changed 00:39:51
PVC Statistics for interface Serial2(Frame Relay DCE)

推荐阅读