案例二路由器的基本配置Word文档下载推荐.docx
- 文档编号:6359286
- 上传时间:2023-05-06
- 格式:DOCX
- 页数:14
- 大小:26.10KB
案例二路由器的基本配置Word文档下载推荐.docx
《案例二路由器的基本配置Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《案例二路由器的基本配置Word文档下载推荐.docx(14页珍藏版)》请在冰点文库上搜索。
步骤1路由器命令行操作模式的进入。
Red-Giant>
enable!
进入特权模式
Red-Giant#configureterminal!
进入全局模式
Red-Giant(config>
#interfacefastEthernet0!
进入路由器F0的接口模式DXDiTa9E3d
Red-Giant(config-if>
#exit!
退回到上一级操作模式
#end!
直接退回到特权模式
步骤2路由器命令行基本功能
?
!
显示当前模式下所有可执行的命令
Execcommands:
exitExitfromtheEXEC
quit
access-enableCreateatemporaryAccess-ListentryRTCrpUDGiT
connectOpenaterminalconnection
disableTurnoffprivilegedcommands
disconnectDisconnectanexistingnetworkconnection5PCzVD7HxA
enableTurnonprivilegedcommands
helpDescriptionoftheinteractivehelpsystemjLBHrnAILg
lockLocktheterminal
loginLoginasaparticularuser
logoutExitfromtheEXEC
mrinfoRequestneighborandversioninformationfromamulticastxHAQX74J0X
router
mstatShowstatisticsaftermultiplemulticasttraceroutesLDAYtRyKfE
mtraceTracereversemulticastpathfromdestinationtosourceZzz6ZB2Ltk
name-connectionNameanexistingnetworkconnectiondvzfvkwMI1
padOpenaX.29PADconnection
pingSendechomessages
pppStartIETFPoint-to-PointProtocol(PPP>
rqyn14ZNXI
resumeResumeanactivenetworkconnectionEmxvxOtOco
rloginOpenanrloginconnection
showShowrunningsysteminformation
slipStartSerial-lineIP(SLIP>
systatDisplayinformationaboutterminallinesSixE2yXPq5
telnetOpenatelnetconnection
terminalSetterminallineparameters
tracerouteTraceroutetodestination
x3SetX.3parametersonPAD
Red-Giant#co?
!
显示当前模式下所有以co开头的命令
configureconnectcopy
Red-Giant#copy?
显示copy命令后可执行的参数
running-configCopyfromcurrentsystemconfiguration6ewMyirQFL
startup-configCopyfromstartupconfiguration
tftpCopyfromaTFTPserver
命令的简写
Red-Giant#confter!
路由器命令支持的简写,该命令代表configureterminalkavU42VRUs
命令的自动补齐
Red-Giant#conf!
路由器支持命令的自动补齐
Red-Giant#configure
Configuringfromterminal,memory,ornetwork[terminal]?
y6v3ALoS89
#interfacefastEthernet0
#^Z!
ctrl+Z退回到特权模式M2ub6vSTnP
Red-Giant#
Red-Giant#ping1.1.1.1
一个ping不存在的地址,显示如下,有的显示可能不是这种形式
%Unrecognizedhostoraddress,orprotocolnotrunning.0YujCfmUCw
这儿显示的是一个错误的地址,有的时候发现找不到所要ping的地址找不到的时候显示的是超时的结果.
步骤3路由器设备名称的配置
en
enable
Red-Giant#configureterminal
#hostnameRouterA!
配置路由器设备名称为RouterAeUts8ZQVRd
步骤4路由器每日提示信息的配置.
RouterA(config>
#bannermotd&
welcometorouterA,ifyouareadmin,youcanconfigit,ifyouarenotadmin,pleaseexit&
配置每日提示信息&
为终止符sQsAEJkW5T
步骤5路由器A的端口基本配置
Router>
Router#configuret
Router(config>
#hostnameRa
Ra(config>
#interfaceserial0!
进入S0的端口模式
Ra(config-if>
#ipaddress1.1.1.1255.255.255.0!
配置端口的IP地址GMsIasNXkA
#bandwidth512!
配置端口的带宽为512KB
#noshutdown!
开启端口,使端口转发数据
#
步骤6路由器B的端口配置
#hostnameRb
Rb(config>
进入S0端口模式
Rb(config-if>
#ipaddress1.1.1.2255.255.255.0!
配置端口的IP地址TIrRGchYzg
#clockrate64000!
在DCE接口上配置时钟频率为640007EqZcWLZNX
#bandwidth512!
配置端口的带宽为512KB
开启端口
步骤7查看路由器端口的配置参数
Ra#showinterfacesserial0!
查看Raserial0接口的状态
Serial0isup,lineprotocolisup!
接口的状态是否为uplzq7IGf02E
HardwareisHDLC4530A
Internetaddressis1.1.1.1/24!
接口的IP地址zvpgeqJ1hk
MTU1500bytes,BW512Kbit,DLY20000usec,rely255/255,load1/255NrpoJac3v1
EncapsulationHDLC,loopbacknotset,keepaliveset(10sec>
1nowfTG4KI
Lastinput00:
00:
04,output00:
09,outputhangneverfjnFLDa5Zo
Lastclearingof"
showinterface"
countersnever
Inputqueue:
0/75/0(size/max/drops>
。
Totaloutputdrops:
0tfnNhnE6e5
Queueingstrategy:
weightedfair
Outputqueue:
0/64/0(size/threshold/drops>
Conversations0/1(active/maxactive>
ReservedConversations0/0(allocated/maxallocated>
HbmVN777sL
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
936packetsinput,132112bytes,0nobuffer
Received936broadcasts
0inputerrors,0CRC,0frame,0overrun,0ignored,0abortV7l4jRB8Hs
286packetsoutput,6864bytes,0underruns
0outputerrors,0collisions,20interfaceresets
0outputbufferfailures,0outputbuffersswappedout83lcPA59W9
0carriertransitions
DCD=upDSR=upDTR=upRTS=upCTS=up
Ra#showipinterfaceserial0!
查看端口的IP相关属性
物理端口为up,协议为upmZkklkzaaP
端口的IP地址
Broadcastaddressis255.255.255.255
Addressdeterminedbysetupcommand
MTUis1500bytes
Helperaddressisnotset
Directedbroadcastforwardingisdisabled
Outgoingaccesslistisnotset
Inboundaccesslistisnotset
ProxyARPisenabled
Securitylevelisdefault
Splithorizonisenabled
ICMPredirectsarealwayssent
ICMPunreachablesarealwayssent
ICMPmaskrepliesareneversent
IPfastswitchingisenabled
IPfastswitchingonthesameinterfaceisenabled
IPmulticastfastswitchingisenabled
RouterDiscoveryisdisabled
IPoutputpacketaccountingisdisabled
IPaccessviolationaccountingisdisabled
TCP/IPheadercompressionisdisabled
Policyroutingisdisabled
Rb#showinterfacesserial0!
查看路由器Rb的serial0接口的状态
Serial0isup,lineprotocolisup
Internetaddressis1.1.1.2/24
MTU1500bytes,BW512Kbit,DLY20000usec,rely255/255,load1/255AVktR43bpw
ORjBnOwcEd
01,output00:
05,outputhangnever2MiJTy0dTT
0gIiSpiue7A
64631/64/0(size/threshold/drops>
Conversations0/2(active/maxactive>
uEh0U1Yfmh
302packetsinput,7648bytes,0nobuffer
Received297broadcasts
0inputerrors,0CRC,0frame,0overrun,0ignored,0abortIAg9qLsgBX
1282packetsoutput,177692bytes,0underruns
0outputerrors,0collisions,158interfaceresetsWwghWvVhPE
0outputbufferfailures,0outputbuffersswappedoutasfpsfpi4k
Rb#
Rb#showipinterfaces0!
查看该端口的IP相关属性
步骤8验证测试
Ra#pi
Ra#ping1.1.1.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchoesto1.1.1.2,timeoutis2seconds:
ooeyYZTjj1
Successrateis100percent(5/5>
round-tripmin/avg/max=28/28/32msBkeGuInkxI
步骤9路由器端口的基本配置
PgdO0sRlMo
#hostnameRouterA
#INterfacefastEthernet0
RouterA(config-if>
#ipaddress192.168.1.1255.255.255.03cdXwckm15
#noshutdown
RouterA#showversion!
查看路由器的版本信息
Red-GiantOperatingSystemSoftware
RGNOS(tm>
RELEASESOFTWARE,Version6.14(9coll>
操作系统版本号h8c52WOngM
Copyright(c>
1999-2005byStartNetworkTechnolgyco.,Ltd.v4bdyGious
Compiled2005-03-1615:
36
ROM:
StartBOOTROMV1.8build8
RouterAuptimeis5minutes
StartRed-GiantR2600seriesR2624
Samsung4530(ARM7TDMI>
processorwith26624K/6144Kbytesofmemory.J0bm4qMpJ9
ProcessorboardID00000063,withhardwarerevision00000003XVauA9grYP
Red-GiantSC4530(ARM7TDMI>
R2624platform.
Controllers/Modulercardslist:
Samsung453010/100Methernetcontroller.
M2602AScardinslot0
cpu:
0186hwver:
0300swver:
0300
Samsung4530HDLCscontroller.
-----------------------------------------------
4FastEthernet/IEEE802.3interfaces.
4Serialnetworkinterfaces.
32Kbytesofnon-volatileconfigurationmemory.
8192KbytesofprocessorboardSystemflash(Read/Write>
bR9C6TJscw
RouterA#showiproute
Codes:
C-connected,S-static,R-RIP
O-OSPF,IA-OSPFinterarea
E1-OSPFexternaltype1,E2-OSPFexternaltype2pN9LBDdtrd
Gatewayoflastresortisnotset
C192.168.1.0/24isdirectlyconnected,FastEthernet0DJ8T7nHuGT
RouterA#showrunning-config!
查看路由器当前生效的配置信息
Buildingconfiguration...
Currentconfiguration:
version6.14(9coll>
hostname"
RouterA"
主机名
ipsubnet-zero
interfaceFastEthernet0
ipaddress192.168.1.1255.255.255.0!
F0接口的ip地址QF81D7bvUA
interfaceFastEthernet1
noipaddress
shutdown
interfaceFastEthernet2
interfaceFastEthernet3
interfaceSerial0
interfaceSerial1
interfaceSerial2
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 案例 路由器 基本 配置