路由器基本配置培训教材Word下载.docx

上传人:b****1 文档编号:1567477 上传时间:2023-05-01 格式:DOCX 页数:22 大小:905.12KB
下载 相关 举报
路由器基本配置培训教材Word下载.docx_第1页
第1页 / 共22页
路由器基本配置培训教材Word下载.docx_第2页
第2页 / 共22页
路由器基本配置培训教材Word下载.docx_第3页
第3页 / 共22页
路由器基本配置培训教材Word下载.docx_第4页
第4页 / 共22页
路由器基本配置培训教材Word下载.docx_第5页
第5页 / 共22页
路由器基本配置培训教材Word下载.docx_第6页
第6页 / 共22页
路由器基本配置培训教材Word下载.docx_第7页
第7页 / 共22页
路由器基本配置培训教材Word下载.docx_第8页
第8页 / 共22页
路由器基本配置培训教材Word下载.docx_第9页
第9页 / 共22页
路由器基本配置培训教材Word下载.docx_第10页
第10页 / 共22页
路由器基本配置培训教材Word下载.docx_第11页
第11页 / 共22页
路由器基本配置培训教材Word下载.docx_第12页
第12页 / 共22页
路由器基本配置培训教材Word下载.docx_第13页
第13页 / 共22页
路由器基本配置培训教材Word下载.docx_第14页
第14页 / 共22页
路由器基本配置培训教材Word下载.docx_第15页
第15页 / 共22页
路由器基本配置培训教材Word下载.docx_第16页
第16页 / 共22页
路由器基本配置培训教材Word下载.docx_第17页
第17页 / 共22页
路由器基本配置培训教材Word下载.docx_第18页
第18页 / 共22页
路由器基本配置培训教材Word下载.docx_第19页
第19页 / 共22页
路由器基本配置培训教材Word下载.docx_第20页
第20页 / 共22页
亲,该文档总共22页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

路由器基本配置培训教材Word下载.docx

《路由器基本配置培训教材Word下载.docx》由会员分享,可在线阅读,更多相关《路由器基本配置培训教材Word下载.docx(22页珍藏版)》请在冰点文库上搜索。

路由器基本配置培训教材Word下载.docx

192.168.2.1PC机IP地址:

192.168.2.2

六、实验步骤

1、CONSOLE管理

第一步:

将配置线的一端与路由器的CONSOLE口相连,另一端与PC机的

串口相连,如上图所示。

第二步:

在PC机上运行终端仿真程序,同时设置终端的硬件参数。

(1)打开超级终端

(2)设置连接名称

(3)选择连接的接口,一般情况下为COM1

(4)点击“还原默认值”设置端口属性,点击“确定”进入超级终端。

第三步:

路由器加电,超级终端会显示路由器的自检信息,自检结束出现命

令提示“PressRETURNtogetstarted”

SystemBootstrap,Version0.4.4

Serialnum:

8IRTC24,IDnum:

501926

Copyright2006byDigitalChinaNetworks(BeiJing)Limited

DCR-2626Series2626

LoadingDCR26V1.3.3C.bin......

StartDecompressDCR26V1.3.3C.bin

############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

Decompress4850012byte,Pleasewaitsystemup..

DigitalchinaInternetworkOperatingSystemSoftware

DCR-2626SeriesSoftware,Version1.3.3C,RELEASESOFTWARE

SystemstartupOK

Routerconsole0isnowavailable

PressRETURNtogetstarted

Jan100:

00:

07RouterSystemstarted--

16LineonInterfaceSerial0/1,changedtodown

16LineonInterfaceSerial0/2,changedtodown

第四步:

按回车键进入用户配置模式。

DCR-2626路由器出厂时没有设置密

码,输入enable,按回车键进入特权模式。

需要帮助可以随时键入“?

”查看命令。

WelcometoDCRMulti-Protocol2626Series

Router>

ena-----进入特权模式

Router#Jan100:

09:

19Unknownuserenterprivilegemodefromconsole0,level=15

Router#?

-----查看可用命令

cd--Changedirectory

chinese--HelpmessageinChinese

chmem--Changememoryofsystem

chram--Changememory

clear--Clearsomething

config--Enterconfigurativemode

connect--Openaoutgoingconnection

copy--Copyconfigurationorimagedata

debug--Debuggingfunctions

delete--Deleteafile

dir--Listfilesinflashmemory

disconnect--Disconnectanexistingoutgoingnetworkconnection

download--DownloadwithZMODEM

enable--Turnonprivilegedcommands

english--HelpmessageinEnglish

enter--Turnonprivilegedcommands

exec-script--Executeascriptonaportorline

exit--Exit/quit

format--Formatfilesystem

help--Descriptionoftheinteractivehelpsystem

history--Lookuphistory

keepalive--Keepaliveprobe

look--Displaymemory

md--Createdirectory

more--Displaythecontentsofafile

no--Negateconfiguration

pad--LogintoremotenodeusingX.29

ping--Testnetworkstatus

pwd--Displaycurrentdirectory

rd--Deleteadirectory

reboot--Restartrouter

rename--Renameafile

resume--Resumeanactiveoutgoingnetworkconnection

rlogin--Openarloginconnection

show--Showconfigurationandstatus

telnet--Openatelnetconnection

terminal--Setterminallineparameters

traceroute--Traceroutetodestination

upload--UploadwithZMODEM

where--Displayalloutgoingtelnetconnection

write--Savecurrentconfiguration

Router#

Router#Chinese-----设置中文帮助

-----再次查看可用命令

cd--改变当前目录

chinese--中文帮助信息

chmem--修改系统存数据

chram--修改存数据

clear--清除

config--进入配置态

connect--打开一个向外的连接

copy--拷贝配置方案或存映像

debug--分析功能

delete--删除一个文件

dir--显示闪存中的文件

disconnect--断开活跃的网络连接

download--通过ZMODEM协议下载文件

enable--进入特权方式

english--英文帮助信息

enter--进入特权方式

exec-script--在指定端口运行指定的脚本

exit--退回或退出

format--格式化文件系统

help--交互式帮助系统描述

history--查看历史

keepalive--保活探测

look--显示存数据

md--创建目录

more--显示某个文件的容

no--取消配置

pad--通过X.29注册到远程节点

ping--测试网络状态

pwd--显示当前目录

rd--删除一个目录

reboot--重启动路由器

rename--改变文件名

resume--恢复活跃的网络连接

rlogin--远程登录

show--显示配置和状态

telnet--打开一个telnet连接

terminal--设置终端参数

traceroute--跟踪到目的地的路由

upload--通过ZMODEM协议上载文件

where--显示所有向外的telnet连接

write--保存当前配置

2、通过telnet方式管理路由器

设置路由器以太网接口地址并验证。

Router#shrun

正在收集配置...

当前配置:

!

version1.3.3C

servicetimestampslogdate

servicetimestampsdebugdate

noservicepassword-encryption

interfaceFastEthernet0/0------查看TP0接口信息

noipaddress

noipdirected-broadcast

interfaceFastEthernet0/3

--More--Jan100:

16:

41Configuredfromconsole0byUNKNOWN

interfaceSerial0/1

interfaceSerial0/2

interfaceAsync0/0

iphttpset-wan-count1

Router#config-----进入全局配置模式

Router_config#interfacefastEthernet0/0----进入接口模式

Router_config_f0/0#ipaddress192.168.2.1255.255.255.0----设置IP地址

Router_config_f0/0#noshutdown

Router_config_f0/0#exit

Router_config#exit

Router#shinterfacef0/0----验证

FastEthernet0/0isup,lineprotocolisup----接口和协议都必须UP

addressis00e0.0f9c.1e19

MTU1500bytes,BW100000kbit,DLY10usec

Interfaceaddressis192.168.2.1/24

EncapsulationARPA,loopbacknotset

Keepalivenotset

ARPtype:

ARPA,ARPtimeout00:

03:

00

60secondinputrate0bits/sec,0packets/sec!

60secondoutputrate0bits/sec,0packets/sec!

Full-duplex,100Mb/s,100BaseTX,11ii,1oi

13packetsinput,1500bytes,200rx_freebuf

Received0unicasts,0lowmark,11ri,0inputerrors

0overrun,0CRC,0framing,0busy,0long,0discard,0throttles

1packetsoutput,46bytes,50tx_freebd,0outputerrors

0underrun,0collisions,0latecollisions,0deferred,0reTxexpired

0resets,0lostcarrier,0nocarrier0gracestop0buserror

0outputbufferfailures,0outputbuffersswappedout0txerrors

设置PC机的IP地址并测试连通性

配置telnet的用户名和密码,以及enable密码

Router_config#aaaauthenticationlogindefaultlocal

Router_config#aaaauthenticationenabledefaultenable

Router_config#usernameadminpassword0admin

Router_config#enablepassword0admin

在PC机telnet到路由器

(1)运行telnet192.168.2.1,出现如下结果:

七、保存配置

Router_config#write

正在保存当前配置...

OK!

Router_config#

八、注意事项

1、在超级终端中的配置是对路由器的操作,这时PC机只是输入输出设备。

2、在telnet管理时,先测试连通性。

实验二:

NAT地址转换的配置

1、掌握地址转换配置

2、掌握私有地址访问internet的配置方法

1、学校部使用私有地址的主机需要访问internet。

2、PC机二台

3、CONSOLE线缆一条,网线二条

TP3

PC1

PC2

PC1模拟学校部主机;

PC2模拟外网网络设备。

192.168.2.1/24PC1机IP地址:

192.168.2.2/24

TP3IP地址:

222.159.80.1/24PC2机IP地址:

222.159.80.2/24

配置效果:

PC1可以PING通PC2

1、配置网接口TP0

Router_config#interfacefastEthernet0/0---进入连接部局域网的接口-网口

Router_config_f0/0#ipaddress192.168.2.1255.255.255.0----定义网口IP地址

Router_config_f0/0#ipnatinside----定义此端口为网口

2、配置外网接口TP3

Router_config#interfacefastEthernet0/3---进入连接外部网络的接口-外网口

Router_config_f0/3#ipadd222.159.80.1255.255.255.0----定义外网口IP地址

Router_config_f0/3#ipnatoutside---定义此端口为外网口

Router_config_f0/3#exit

3、配置NAT访问控制列表

Router_config#ipaccess-listextendedtest

---创建一个判断是否符合NAT处理的控制列表

Router_config_ext_nacl#permitip192.168.2.0255.255.255.0any

---允许192.168.2.0/24网段可以访问出去

Router_config_ext_nacl#exit

4、配置地址翻译

Router_config#ipnatinsidesourcelisttestinterfacefastEthernet0/3

---定义符合test的数据流的源地址在访问外网时翻译成外网口f0/3的IP地址。

5、配置静态路由

Router_config#iproutedefault222.159.80.2

---设置一条默认路由允许部网段可以访问出去。

八、测试

C:

\DocumentsandSettings\huangwei>

ping222.159.80.2

Pinging222.159.80.2with32bytesofdata:

Replyfrom222.159.80.2:

bytes=32time<

1msTTL=255

Pingstatisticsfor222.159.80.2:

Packets:

Sent=4,Received=4,Lost=0(0%loss),

Approximateroundtriptimesinmilli-seconds:

Minimum=0ms,Maximum=0ms,Average=0ms

C:

实验三:

路由器其他常用配置

1、掌握路由器常用配置命令,提高日常维护的能力。

1、删除telnet用户和密码

删除telnet用户和密码有三种方式:

(1)Router_config#nousername123(原用户名)------回车就可以删除原有用户名和密码

(2)Router_config#noaaaauthenticationlogindefault

(3)若无法通过Console监控路由器,则只能通过Console进入监控模式,通过more

startup-config查找明文方式配置下的密码,若非明文,只能保存有效配置,删除startup-config文件,重新配置。

测试:

可以自行设置telnet的用户和密码,通过以上三种方法删除用户和密码。

看是否有效果。

2、enable密码删除

重启路由器,按住ctrl+break键,通过Console进入监控模式

WelcometoDCRMulti-Protocol2626SeriesRouter

monitor#?

boot--rebootrouter

cd--changedirectory

chinese--helpmessageinChinese

chram--changememory

copy--Copyfileintotherouter

date--setsystemdate

delete--deleteafile

dir--listfilesinflashmemory

download--downloadwithZMODEM

english--helpmessageinEnglish

exit--exit/quit

format--formatfilesystem

ip--IPconfigurationcommands

md--createdirectory

more--Displaythecontentsofafile

nopasswd--removeenablepassword

ping--Testnetworkstatus

pwd--displaycurrentdirectory

quit

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

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2