09Framerelay.docx

上传人:b****7 文档编号:10592352 上传时间:2023-02-21 格式:DOCX 页数:26 大小:53.24KB
下载 相关 举报
09Framerelay.docx_第1页
第1页 / 共26页
09Framerelay.docx_第2页
第2页 / 共26页
09Framerelay.docx_第3页
第3页 / 共26页
09Framerelay.docx_第4页
第4页 / 共26页
09Framerelay.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

09Framerelay.docx

《09Framerelay.docx》由会员分享,可在线阅读,更多相关《09Framerelay.docx(26页珍藏版)》请在冰豆网上搜索。

09Framerelay.docx

09Framerelay

实验九.帧中继实验

一.实验拓扑图

二.实验目的

1、实现帧中继协议的基本配置。

2、利用帧中继映射实现R5和R7通信。

三.实验配置

1、帧中继配置:

R1:

r1(config)#frame-relayswitching//启动帧中继交换功能

r1(config)#ints0/0

r1(config-if)#clockrate64000

r1(config-if)#encapsulationframe-relay//数据封装为帧中继格式

r1(config-if)#frame-relaylmi-typecisco//LMI类型为cisco

r1(config-if)#frame-relayintf-typedce//接口类型为dce

r1(config-if)#frame-relayroute101ints0/2201//配置帧中继路由

r1(config-if)#frame-relayroute102ints0/3202

r1(config-if)#noshut

r1(config)#ints0/2

r1(config-if)#clockrate64000

r1(config-if)#encapsulationframe-relay

r1(config-if)#frame-relaylmi-typecisco

r1(config-if)#frame-relayintf-typedce

r1(config-if)#frame-relayroute201ints0/0101

r1(config)#ints0/3

r1(config-if)#encapsulationframe-relay

r1(config-if)#frame-relaylmi-typecisco

r1(config-if)#frame-relayintf-typedce

r1(config-if)#clockrate64000

r1(config-if)#frame-relayroute202ints0/0102

 

R3:

r3(config)#ints0/0

r3(config-if)#encapsulationframe-relay

r3(config-if)#frame-relaylmi-typecisco

r3(config-if)#noshut

r3(config)#ints0/0.101point-to-point

r3(config-subif)#frame-relayinterface-dlci101//配置DLCI号为101

r3(config-fr-dlci)#exit

r3(config-subif)#ipaddress192.168.1.1255.255.255.252

r3(config-subif)#noshut

r3(config)#ints0/0.102point-to-point

r3(config-subif)#frame-relayinterface-dlci102

r3(config-fr-dlci)#exit

r3(config-subif)#ipaddress192.168.1.5255.255.255.252

r3(config-subif)#noshut

R5:

r5(config)#ints0/0

r5(config-if)#encapsulationframe-relay

r5(config-if)#frame-relaylmi-typecisco

r5(config-if)#frame-relayinterface-dlci201

r5(config-fr-dlci)#exit

r5(config-if)#ipaddress192.168.1.2255.255.255.252

r5(config-if)#noshut

R7:

r7(config)#ints0/0

r7(config-if)#encapsulationframe-relay

r7(config-if)#frame-relaylmi-typecisco

r7(config-if)#frame-relayinterface-dlci202

r7(config-fr-dlci)#exit

r7(config-if)#ipaddress192.168.1.6255.255.255.252

r7(config-if)#noshut

 

2、三层网络配置

R3:

r3(config)#inte3/0

r3(config-if)#ipaddress192.168.10.1255.255.255.0

r3(config-if)#nokeepalive

r3(config-if)#noshut

R5:

r5(config)#inte3/0

r5(config-if)#ipaddress192.168.18.1255.255.255.0

r5(config-if)#nokeepalive

r5(config-if)#noshut

R7:

r7(config)#inte3/0

r7(config-if)#ipaddress192.168.22.1255.255.255.0

r7(config-if)#nokeepalive

r7(config-if)#noshut

查看帧中继配置:

r1#showframe-relayroute

InputIntfInputDlciOutputIntfOutputDlciStatus

Serial0/0101Serial0/2201active

Serial0/0102Serial0/3202active

Serial0/2201Serial0/0101active

Serial0/3202Serial0/0102active

r1#showframe-relaypvc

DLCI=101,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0

DLCI=102,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0

DLCI=201,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial0/2

DLCI=202,DLCIUSAGE=SWITCHED,PVCSTATUS=ACTIVE,INTERFACE=Serial0/3

r3#showframe-relaypvc

DLCI=101,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0.101

DLCI=102,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0.102

r3#showframe-relaymap

Serial0/0.101(up):

point-to-pointdlci,dlci101(0x65,0x1850),broadcast

statusdefined,active

Serial0/0.102(up):

point-to-pointdlci,dlci102(0x66,0x1860),broadcast

statusdefined,active

r5#showframe-relaymap

Serial0/0(up):

ip192.168.1.1dlci201(0xC9,0x3090),dynamic,

broadcast,

CISCO,statusdefined,active

r5#showframe-relaypvc

DLCI=201,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0

r7#showframe-relaymap

Serial0/0(up):

ip192.168.1.5dlci202(0xCA,0x30A0),dynamic,

broadcast,,statusdefined,active

r7#showframe-relaypvc

DLCI=202,DLCIUSAGE=LOCAL,PVCSTATUS=ACTIVE,INTERFACE=Serial0/0

3、配置路由基本信息

R3:

r3(config)#iproute192.168.18.0255.255.255.0192.168.1.2

r3(config)#iproute192.168.22.0255.255.255.0192.168.1.6

R5:

r5(config)#iproute192.168.10.0255.255.255.0192.168.1.1

r5(config)#iproute192.168.22.0255.255.255.0192.168.1.1

R7:

r7(config)#iproute192.168.10.0255.255.255.0192.168.1.5

r7(config)#iproute192.168.18.0255.255.255.0192.168.1.5

测试业务网连通:

r3#ping192.168.22.1source192.168.10.1

Typeescapesequencetoabort.

Sending5,100-byteICMPEchosto192.168.22.1,timeoutis2seconds:

Packetsentwithasourceaddressof192.168.10.1

!

!

!

!

!

r5#ping192.168.22.1source192.168.18.1

Typeescapesequencetoabort.

Sending5,100-byteICMPEchosto192.168.22.1,timeoutis2seconds:

Packetsentwithasourceaddressof192.168.18.1

!

!

!

!

!

其他ping测试略

//业务网段连通,证明帧中继配置成功。

帧中继地址映射:

r5#ping192.168.22.1

Typeescapesequencetoabort.

Sending5,100-byteICMPEchosto192.168.22.1,timeoutis2seconds:

.....

Successrateis0percent(0/5)

//R5直接ping不通

r5(config)#ints0/0

r5(config-if)#frame-relaymapip192.168.1.6201//配置帧中继地址映射

r7(config)#ints0/0

r7(config-if)#frame-relaymapip192.168.1.2202

r5#ping192.168.22.1

Typeescapesequencetoabort.

Sending5,100-byteICMPEchosto192.168.22.1,timeoutis2seconds:

!

!

!

!

!

Successrateis100percent(5/5),round-tripmin/avg/max=16/52/84ms

3、实验配置查看

R1:

r1#showrun

Buildingconfiguration...

Currentconfiguration:

1330bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer1

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

!

resourcepolicy

!

memory-sizeiomem5

ipsubnet-zero

!

!

ipcef

noipdhcpusevrfconnected

!

!

noipdomainlookup

noftp-serverwrite-enable

frame-relayswitching

!

!

!

!

interfaceSerial0/0

noipaddress

encapsulationframe-relay

serialrestart-delay0

clockrate64000

nodce-terminal-timing-enable

frame-relaylmi-typecisco

frame-relayintf-typedce

frame-relayroute101interfaceSerial0/2201

frame-relayroute102interfaceSerial0/3202

!

interfaceSerial0/1

noipaddress

shutdown

serialrestart-delay0

nodce-terminal-timing-enable

!

interfaceSerial0/2

noipaddress

encapsulationframe-relay

serialrestart-delay0

clockrate64000

nodce-terminal-timing-enable

frame-relaylmi-typecisco

frame-relayintf-typedce

frame-relayroute201interfaceSerial0/0101

!

interfaceSerial0/3

noipaddress

encapsulationframe-relay

serialrestart-delay0

clockrate64000

nodce-terminal-timing-enable

frame-relaylmi-typecisco

frame-relayintf-typedce

frame-relayroute202interfaceSerial0/0102

!

iphttpserver

ipclassless

!

!

!

!

!

control-plane

!

!

linecon0

lineaux0

linevty04

!

end

R2:

r2#showrun

Buildingconfiguration...

Currentconfiguration:

1056bytes

!

version12.4

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer2

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

memory-sizeiomem5

!

!

ipcef

noipdomainlookup

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interfaceEthernet0/0

ipaddress10.33.5.1255.255.240.0

half-duplex

nokeepalive

!

interfaceEthernet0/1

ipaddress10.33.55.1255.255.240.0secondary

ipaddress192.168.83.244255.255.255.0

half-duplex

!

interfaceEthernet0/2

noipaddress

shutdown

half-duplex

!

interfaceEthernet0/3

noipaddress

shutdown

half-duplex

!

interfaceSerial1/0

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial1/1

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial1/2

noipaddress

shutdown

serialrestart-delay0

!

interfaceSerial1/3

noipaddress

shutdown

serialrestart-delay0

!

routerrip

network10.0.0.0

network192.168.83.0

!

iphttpserver

!

!

!

!

!

!

control-plane

!

!

!

!

!

!

!

!

!

linecon0

lineaux0

linevty04

!

!

end

R3:

r3#showrun

Buildingconfiguration...

Currentconfiguration:

1502bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer3

!

boot-start-marker

boot-end-marker

!

!

noaaanew-model

!

resourcepolicy

!

memory-sizeiomem5

ipsubnet-zero

!

!

ipcef

noipdhcpusevrfconnected

!

!

noipdomainlookup

noftp-serverwrite-enable

!

!

!

!

interfaceSerial0/0

noipaddress

encapsulationframe-relay

serialrestart-delay0

nodce-terminal-timing-enable

frame-relaylmi-typecisco

!

interfaceSerial0/0.101point-to-point

ipaddress192.168.1.1255.255.255.252

frame-relayinterface-dlci101

!

interfaceSerial0/0.102point-to-point

ipaddress192.168.1.5255.255.255.252

frame-relayinterface-dlci102

!

interfaceSerial0/1

noipaddress

shutdown

serialrestart-delay0

nodce-terminal-timing-enable

!

interfaceSerial0/2

noipaddress

shutdown

serialrestart-delay0

nodce-terminal-timing-enable

!

interfaceSerial0/3

noipaddress

shutdown

serialrestart-delay0

nodce-terminal-timing-enable

!

interfaceEthernet3/0

ipaddress192.168.10.1255.255.255.0

half-duplex

nokeepalive

!

interfaceEthernet3/1

noipaddress

shutdown

half-duplex

!

interfaceEthernet3/2

noipaddress

shutdown

half-duplex

!

interfaceEthernet3/3

noipaddress

shutdown

half-duplex

!

iphttpserver

ipclassless

iproute192.168.18.0255.255.255.0192.168.1.2

iproute192.168.22.0255.255.255.0192.168.1.6

!

!

!

!

!

control-plane

!

!

linecon0

lineaux0

linevty04

!

end

R5:

r5#showrun

Buildingconfiguration...

Currentconfiguration:

1349bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer5

!

boot-start-marker

boot-end-marker

!

!

noaaanew-

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1