VLAN间的路由配置实验报告Word下载.docx

上传人:b****5 文档编号:21014210 上传时间:2023-01-26 格式:DOCX 页数:18 大小:179.59KB
下载 相关 举报
VLAN间的路由配置实验报告Word下载.docx_第1页
第1页 / 共18页
VLAN间的路由配置实验报告Word下载.docx_第2页
第2页 / 共18页
VLAN间的路由配置实验报告Word下载.docx_第3页
第3页 / 共18页
VLAN间的路由配置实验报告Word下载.docx_第4页
第4页 / 共18页
VLAN间的路由配置实验报告Word下载.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

VLAN间的路由配置实验报告Word下载.docx

《VLAN间的路由配置实验报告Word下载.docx》由会员分享,可在线阅读,更多相关《VLAN间的路由配置实验报告Word下载.docx(18页珍藏版)》请在冰豆网上搜索。

VLAN间的路由配置实验报告Word下载.docx

(遇到的问题、解决方法、收获和体会,可以另附页)

实验器材、

验收同学:

实验责任人:

实验记录人:

报告执笔人:

实验完成时间:

实验小组成员签名:

指导教师签名:

成绩:

 

一、VLAN之间的路由配置

Switch>

enable

Switch#configt

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

Switch(config)#hostnamec3750

c3750(config)#exit

c3750#

00:

01:

19:

%SYS-5-CONFIG_I:

Configuredfromconsolebyconsole

c3750#vlanb

25:

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceVlan1,changedstatet

oup

c3750#vlanbasedata

^

%Invalidinputdetectedat'

^'

marker.

c3750#vlandatabase

%Warning:

ItisrecommendedtoconfigureVLANfromconfigmode,

asVLANdatabasemodeisbeingdeprecated.Pleaseconsultuser

documentationforconfiguringVTP/VLANinconfigmode.

c3750(vlan)#vlan2namemarket

VLAN2modified:

Name:

market

c3750(vlan)#vlan3namedevelop

VLAN3modified:

develop

c3750(vlan)#end

c3750(vlan)#exit

APPLYcompleted.

Exiting....

c3750#configt

c3750(config)#interrangef0/1-4

c3750(config)#interrangef1/1-4

c3750(config)#interrangefa1/1-4

c3750(config)#interfacerangefa1/0/1-4

c3750(config-if-range)#switchportaccessvlan2

c3750(config-if-range)#interfacerangefa1/0/5-8

c3750(config-if-range)#switchportaccessvlan3

c3750(config-if-range)#exit

c3750(config)#interfa1/0/24

c3750(config-if)#switchporttrunkencapdot1q

c3750(config-if)#switchportmodetrunk

c3750(config-if)#interfacefa1/0/23

c3750(config-if)#switchporttunkencapdot1q

c3750(config-if)#e

07:

57:

LineprotocolonInterfaceFastEthernet1/0/23,ch

angedstatetodown

c3750(config-if)#exit

c3750(config)#

08:

angedstatetoup

%Pleaseanswer'

yes'

or'

no'

.

Wouldyouliketoentertheinitialconfigurationdialog?

[yes/no]:

no

PressRETURNtogetstarted!

Router>

Router#configt

Router(config)#interf0/0

Router(config-if)#noshutdown

Router(config-if)#

*May1503:

16:

07.219:

%LINK-3-UPDOWN:

InterfaceFastEthernet0/0,changedstatet

10.219:

LineprotocolonInterfaceFastEthern

et0/0,changedstatetoup

Router(config-if)#interff0/0.2

Router(config-subif)#encapdot1q2

Router(config-subif)#ipaddress

%Incompletecommand.

Router(config-subif)#ipaddress192.168.2.1255.255.255.0

Router(config-subif)#noshutdown

Router(config-subif)#interf0/0.3

Router(config-subif)#encapdot1q3

Router(config-subif)#ipaddress192.168..3.1255.255.255.0

Router(config-subif)#ipaddress192.168.3.1255.255.255.0

Router(config-subif)#exit

Router(config)#interf0/0.3

Router(config-subif)#end

Router#

17.519:

n

13:

51:

%LINK-5-CHANGED:

InterfaceVlan1,changedstatetoadministrativelydo

wn

52:

odowne

%Ambiguouscommand:

"

e"

Switch(config)#hostnamec2950

c2950(config)#exit

c2950#v

14:

18:

Configuredfromconsolebyconsole]

%Unknowncommandorcomputername,orunabletofindcomputeraddress

c2950#vlandatabase

c2950(vlan)#vlan2namemarket

c2950(vlan)#vlan3namedevelop

c2950(vlan)#vtpclient

DevicemodealreadyVTPCLIENT.

c2950(vlan)#exit

InCLIENTstate,noapplyattempted.

c2950#configt

c2950(config)#interrangefa0/1-4

c2950(config-if-range)#switchportaccessvlan2

c2950(config-if-range)#interrangefa0/0/5-8

c2950(config)#interrangefa0/5-8

c2950(config-if-range)#switchportaccessvlan3

c2950(config-if-range)#interfacef0/24

c2950(config-if)#switchportmodetrunk

c2950(config-if)#exit

c2950(config)#end

c2950#

36:

二、路由访问控制列表配置

未添加acl之前

R1的配置

Router#configt

Router(config)#hostnameri

ri(config)#interf0/0

ri(config-if)#ipaddress192.168.1.1255.255.255.0

ri(config-if)#noshutdown

%LINK-5-CHANGED:

InterfaceFastEthernet0/0,changedstatetoup

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceFastEthernet0/0,changedstatetoup

ri(config-if)#inters0/0/0

ri(config-if)#exit

ri(config)#inters0/0/0

ri(config)#inters0/0/1

ri(config)#inters0/0

ri(config-if)#

ri(config)#interfaceSerial0/0

ri(config)#interfaceSerial0/1

ri(config-if)#ipaddress192.168.12.1255.255.255.0

ri(config-if)#encapppp

ri(config-if)#clockrate64000

InterfaceSerial0/0,changedstatetodown

ri(config)#exit

%SYS-5-CONFIG_I:

ri#configt

ri(config)#routerrip

ri(config-router)#network192.168.1.0

ri(config-router)#network192.168.12.0

ri(config-router)#end

ri#showiproute

Codes:

C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP

D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP

i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea

*-candidatedefault,U-per-userstaticroute,o-ODR

P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

C192.168.1.0/24isdirectlyconnected,FastEthernet0/0

ri#

InterfaceSerial0/0,changedstatetoup

ri#configureterminal

ri(config)#

ri(config-router)#

ri#ping192.168.12.1

Typeescapesequencetoabort.

Sending5,100-byteICMPEchosto192.168.12.1,timeoutis2seconds:

.....

Successrateis0percent(0/5)

ri#showinter

FastEthernet0/0isup,lineprotocolisup(connected)

HardwareisLance,addressis00e0.f9aa.eb23(bia00e0.f9aa.eb23)

Internetaddressis192.168.1.1/24

MTU1500bytes,BW100000Kbit,DLY100usec,

reliability255/255,txload1/255,rxload1/255

EncapsulationARPA,loopbacknotset

ARPtype:

ARPA,ARPTimeout04:

00,

Lastinput00:

08,output00:

05,outputhangnever

Lastclearingof"

showinterface"

countersnever

Inputqueue:

0/75/0(size/max/drops);

Totaloutputdrops:

0

Queueingstrategy:

fifo

Outputqueue:

0/40(size/max)

5minuteinputrate0bits/sec,0packets/sec

5minuteoutputrate0bits/sec,0packets/sec

0packetsinput,0bytes,0nobuffer

Received0broadcasts,0runts,0giants,0throttles

0inputerrors,0CRC,0frame,0overrun,0ignored,0abort

0inputpacketswithdribbleconditiondetected

1packetsoutput,52bytes,0underruns

0outputerrors,0collisions,1interfaceresets

0babbles,0latecollision,0deferred

0lostcarrier,0nocarrier

counters

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

当前位置:首页 > PPT模板 > 图表模板

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

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