- 论坛徽章:
- 0
|
进公司快一个月了,每天都在培训中,每天也就有作业做。今天我就发一篇我培训时期做的作业。是偶们的老大给我布置的作业,交上去老大看了也没说对还是不对。
在这里就贴出来看广大的网友们评定下偶做的对不对。
题目如下:
1。在设备A上做点对点子接口,通过两条PVC和下端RB、RC互连互通,IP地址自由指定,是否采用静态地址映射自由选择。通过静态路由配置使PCA能与PCB(没有两台PC的可以使用路由器代替)通信。
RA主要配置:
interface serial0
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
exit
interface serial0.1 point-to-point
frame-relay interface-dlci 19
ip address 192.168.0.1 255.255.255.0
exit
interface serial0.2 point-to-point
frame-relay interface-dlci 20
ip address 192.168.1.1 255.255.255.0
exit
RB主要配置:
interface serial0/0
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 19
exit
frame-relay map ip 192.168.0.1 19 broadcast
ip address 192.168.0.2 255.255.255.0
exit
RC的主要配置:
interface serial1
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 20
frame-relay map ip 192.168.1.1 20 broadcast
ip address 192.168.1.2 255.255.255.0
exit
RD(FR-SW)主要配置:
frame-relay switching
interface serial1/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 19 interface serial2/0 19
frame-relay route 20 interface serial3/0 20
exit
interface serial2/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 19 interface serial1/0 19
exit
interface serial3/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 20 interface serial1/0 20
exit
2。在设备A上通过两条PVC和下端RB、RC互连互通,要求RA、B、C均为同一网段地址,是否采用静态地址映射自由选择。通过静态路由配置使PCA能与PCB(没有两台PC的可以使用路由器代替)通信。
RA主要配置:
interface serial0
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 19
frame-relay interface-dlci 20
frame-relay map ip 192.168.0.2 19 broadcast
frame-relay map ip 192.168.0.3 20 broadcast
ip address 192.168.0.1 255.255.255.0
exit
RB主要配置:
interface serial0/0
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 19
frame-relay map ip 192.168.0.1 19 broadcast
ip address 192.168.0.2 255.255.255.0
exit
RC主要配置:
interface serial1
physical-layer sync
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 20
frame-relay map ip 192.168.0.1 20 broadcast
ip address 192.168.0.3 255.255.255.0
exit
RD(FR-SW)主要配置:
frame-relay switching
interface serial1/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 19 interface serial2/0 19
frame-relay route 20 interface serial3/0 20
exit
interface serial2/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 19 interface serial1/0 19
exit
interface serial3/0
physical-layer sync
clock rate 2000000
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 20 interface serial1/0 20
exit
以下是帧中继协议中LMI的相关DEBUG信息说明:
R1#debug frame-relay lmi
0x8d6700 (tFr_s1): (out): Status, length: 17, myseq 83, yourseen 1, DCE down //S1接口发送的报文长度17,发送的序列号为83,接收到的序列号为1,DCE设备,协议DOWN
03 08 00 7d 95 01 01 00 03 02 53 01 07 03 01 a0 82 //该报文的具体数据
0x8d6700 (tFr_s1): pvc 20 INACTIVE //PVC需电路的DLCI号为20 状态有问题
router#0x8d6700 (tFr_s1): (in) StEnq, myseq: 83 //S1接口接收到的报文序号为83
0x8d6700 (tFr_s1): RT IE 1, Length 1, type 1 //链路完整性报告类型信息单元,长度为1,类型为1
0x8d6700 (tFr_s1): KA IE 3, length 2, yourseq 2, myseq 83 //链路完整性证实信息单元,长度为2,发送序号为2,接收序号为83
0x8d6700 (tFr_s1): (out): Status, length: 17, myseq 84, yourseen 2, DCE down
03 08 00 7d 95 01 01 00 03 02 54 02 07 03 01 a0 80
0x8d6700 (tFr_s1): (in) StEnq, myseq: 84
0x8d6700 (tFr_s1): RT IE 1, Length 1, type 1
0x8d6700 (tFr_s1): KA IE 3, length 2, yourseq 3, myseq 84
<span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #333399; FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8393/showart_43718.html |
|