-
路由器最基本的配置命令
DZYQN-LBLGAZJ-MY-KUDSBZen
able
从非
特权式模进特入模权
co
式
fn
t
进全入局配模置
ho
式
sntae RX
配
m
置个路一器由的名字
n
o pi dmoian-lokup
去
o
消名解域
禁析用
NSD
查
找
pi clssaesl
s
持支变可子长网码长度掩
ips
uneb-ztre o
支零持子
i
网
n ta2/f
配接口
0i padress 201d0.0.. 125.2555.55.0
IP
地
2
址
n ohstuodwn
活激
e
n d
回返权模特
s
式
ho wip
interfceabri e f
示显接的口况
状
对由路应器启用脚动本前之需要,
对某些令进命编辑行或添加些命令。其中一
些更改包一括:
为正在
用使
的
astFEthrnete
接口串行和口添加接
n souhtodn
w
令。命
将
nabeles ecre
t
令命的中加文密本替换成确的口正令。从接
口中除
清
ma-acdresd
命令。
s
清除
i pcasslless
令命
。除清使不的用接。口
路由器基配置命本令法语
路由为器命令
oRtur(eocfing#)hstnaoe
m'amen
设
b5E2RGbCAP
口令置
Rotuer(oncfg)i#naebel screet
'pasword <
/p>
设置
s
进特权入行模执的加密式口令
p>
p1EanqFDPw
ouRter(oncig)#Linf eocnosl 0e
进
控制入台路的线路配置模式线
R
otue(crofngi-lien#p)aswords
'pasworsd
设控制台置口令
R
uotre(onfci-glie)#Lngin
o
要求来登录时入口令输
Routreco(nifg#)lne vty i 4
进
0
入所有条虚拟五端终线路线的配置模式路
oRtue(rcofig-lnien)#asswprd
opasswo'd r
设
vty
口置令
oRter(confuig-
lni)#eoglin
来要
求登时输录口令入
按
tCl+r
退
z
出置配模式输。命入令
opy rucnnignconfig s-tarup-
tconigf
,更改将存保
到
VNR
MA
出。提示现,时
按
nEet
r
认目确标文件名配置登
DXDiTa9E3d
录示文提
字
Rou
er(ctofing#b)naen mrodt 'messa#eg
RTCrpUDGiT
#
置配接口
Routre(ocnigf)in#etracf ety'p
enmbure
5PCzVD7HxA
oRutr(eocnifgif)#-ip addrss 'aedrdse
sasm k
ouRet(rcnofig-f)i#dscreptiion'd
escrpiitno
Ruoet(rcnfiogi-)f#n oshudotn
w
保路由器存更改
Rou et#rcpyor unnig-nconfi
sgtartpuc-
onif g
使用
co yp unnrin-
confgig tartsp-ucnofig
命令保存
Ruote
配
r
置检查
sh
jLBHrnAILg
ow
令命的出
输
Rouert#shwor
nuinn-gcnfoig
显
示
当运前
行置配件文的容内
Ro
xHAQ
X74J0X
uetr#sho
wpir uoet
Ro
tue#shrwo ip nteirfce arbefi
ouRetrsh#w oinerftces
a
路由器第一启次时动会入进设模式置以便,户执用行基本路器
由置配
P
。
cakt
erTcar e
仅支基本持的管理置,因此设只能配您一置个
接来口接连到管系统理
从,而通过系统该行执余配其置。
LDA
YtRyKfE
清所除现有有置
:
配
R
ouetr>enblae
Routerera#e stasrut-cponif
g
重启新动路器:由
Route>eranbel
Rotuer#erolad
输入
y s
确
e
使用配认置对话框
Co
tinneu iwh ctonfiguartio nialdog?
ye[/son]:yes
onfcgiuartin
:
no
配
置
.
结构;;形外
d
aiol
:
ng
.
话
对;会话键
Zzz6ZB2Ltk
入
esy
便输入以基本管理置
W
设
oludy oulik e toe tenr
basic
mangeaentm etspu ?[es/noy]:y
e
dvzfvkwMI1
输
s
入
lasc
s
为使能加密作令
口
nterE nabeles ecrte: class
输
入
iscc
o
作为能使令口
Enetrenable
apswsor:d iscoc
输入
ci co
s
为虚作拟端口令终
nEet
vrirutalterminal apswosd:
rcicso
rqyn14ZNXI
输
F
入
sattheEnert/0
作
为用来
0
接到管理网络连的接
E
口
ner intetrafe
ncma eused to connectto t
he
EmxvxOtOco
maagenmet networn kfomrthe abvo
eiterfnace summray
:aFstEthrenet/00
接
SixE2yXPq5
默受认置设以此配将置保到存
nv ar
并退
m
出
S
aevth i csofnguiatirno ot
nvra amnde
xti
6ewMyirQFL
入输令命
nabele screet lcas
,设置进
s
特权执入模式的行密加令。口输入
p>
令命
inel con 0
入控进
制台路线线的路置模式。注意提示配符生发改了
变。
输命令入
asswoprd cicos
设置
制台控令。输口入令
lo
命
gn
来要求
< br>i
录登
时入输口。令入输令
e
命
it
返回全局配
x
模式置。
kavU42VRUs
输命入令
lin vety 0
进
4
所有五
入虚条终端线拟路的线路置模配。式入命
令
p
输
sawosdr iccs
o
置
v
设
t
口令
y
。入命令
login
输来求要登录时输口
入。令
< br>y6v3ALoS89
按
Ctr+lz
退
配出模式。输置入令
命
coyp unnirngc-onig sftratp-
uoncif
,
g
将改更存保到
NVRMA
。出现提时示,按
nEtre
确
认标文件目。名
M2ub6vSTnP
验配校:置
howsr
nniun-gocfign
显示当前运行配置
文的内件
sh
容
w sotratp-
uocnif g
显示
动启配置
s
ho iwpr oue
tsohw iterfanecs
显示所接有口的计信息
sho
统
wip in
tefrcaebr ief
显示每接口的使个情况信息摘要用
sho vwerisn o
示显关有前加当载件软本版的信,以及息件和设备硬信
息
由器路创路建由表会首时先加添身接口自上配置
的
P I
地址所在网的。这些
网络是与该络路器由直相连的网接络。当所有
0YujCfmUCw
的接均口配置有正已的地确,但接
口状态为址
hsutodwn
,是不是在活激这接
些口是需不在
pia dredss i
mpas
?
k
eUts8ZQVRd
静态
路由由络网理管员配,置包括远程
络网的络网址和地子网码掩以,下一及路跳
由器
I
的
P
地址本地路或器的送由出口接
。路由器能够通
sQsAEJkW5T
静态路由过或动路由获知远态网络程。
ouRtr>enabeleR
uote#srho wi
pruto
eRoutr#coefingrue etmrianl
Roteu(cronfi)#igpr otu
1e92.6811.0. 52.2555.5520
1.9.2681.31
GMsIasNXkA
(nofgi)#edn
静
态由路是网由络管员配理置,的它包:
括
网络地址。
??
远
程络的子网网掩。码
?
下一
跳路器的
由
I
P
址地或地路由本的器送接出口。
动态路协由可议让由路器从它其路器那由里自动知获程网远络
通。过路由议获
协知的络网及到达每以网个的最络佳径会自路动入加路表中。
TIrRGchYzg
由
一、用模式
Ro
户
uert>
二、特权式模
Rout
re>eanbel
paswsrdo
:
ouRert
三
#
p>
、置模式设
四、全局配模置
R
< br>式
utoe#confirguret rmenail
nEterc nfoiurgtaon
iommandcs
,
ne peorl
nei
,
nEd wit
hNCTL/Z
7EqZcWLZNX
Rotue
(
rocfing#
)
五其、它配模式
置、
1
口接配置式模
Ro
utre(cofnig#i)n tf/102
Ruoertco(nfg-iif#
)
、虚拟
2
端终置配式
模
oRuterconfi(g)#lneivt 01y
5Router
(onfig-cilne#)
3
、
RI
路
P
协议配置模式
Ro
由<
/p>
tur(coenfgi)#ortue rrpi
Roture(cofni-grouert#)
六
R
、
p>
BXOOT
模式
设
置统时钟系
Ruoertc#laneadr est10:2 4:0 20 m2rach
2070
保存配置
oRuterw#riet emormy
oRuet#rwrtein tewrktotpf
除删配
Router#write
置
ears
e
络的网本基测命令检
1
、
tlent
Roeteurte>lnet pairsR
uoter
>2
、
ipn
goutRr>eping182
1.0.150.1103Ty
epes acepseq eun ct abootr.
Senidn 5g,100b-te IyMCPEc
hs to o821.0151.30.11,0timeotuis 2
ecosns:d!
lzq7IGf02E
!!!!
uScesc srta es
i10 0ercpent5(5/),ronu-dtipr
mniav//gax
=m/44/m4s
zvpgeqJ1hk
、
tr3cea
Roterutr>ca 1e3.781.191.37
Rou
etrt>raecroutew
、
4hoswa
、查看
lafhs
:
Routresh>wo lfah sSys
tem
fash dlrictero:y
iFell netgh
Namestat/us
.....
b.
、看系查时钟统
R
uoer>tsho cwlcko*
3:36:09.2641UT CT h Aupr 141 994
Roteu>rc
查、路由看器软、硬版件
本
Roteur>sowh
vresion
Ciso
icnetnretork OpweatrignSys etmSo twaref
................
.
p>
、
d
查看路器配置
由
Route#shro wcnfogiruation
Uinsg 6097 ou ot f32726by ets!....
........
e
、
.
查路由表看
R
uoer#thsow i poutre
f
、
看查
P
路
I
由协议的详细信:息
R
ouer#stow iph rpooctlso
Ruotin gProocoltis
..........
接口配置
、配
1
置口接述描息信
R
otue(crofnig#)it gn/06
Rutor(ceofngi-i)#dfscrepiton Toi-eBijin
Rorgegi nStudeisUn
veisrtiy
NrpoJac3v1
ouRterco(nfg-
iif#)
注(:述信描说息该接口明连到北京接外语国学)大
、配置接口带宽
2Ro
uterc(nofig)in#etracfePO
3S/0
Roteru(cofignif-)#abndiwdht 5200000
(
置设口接宽为带
)Router(
1
nowfTG4KI
ocfnig-if)#
、
3
配接口置的
P<
/p>
地址
IRuotr(econig)#inftrfecaef2 /
Ro3teu(ronfcgi-i)f#p aiddres
2s021.1.272.9
25542.55.255.225
fjnFLDa5Zo
ouRte(crnofigi-f#
)4
接、口的启开关与
Ro
闭<
/p>
tur(eonfig)c#nietrfce a2/f
R3utero(cnfog-ii)fshu#dtwon
(
关闭接口
) R
utoe(ronfcg-iif)#
Rotue(cronig-if)fno#s uhtdwn o
(
开接启口
)Ruter(ocnoifg-fi)#
域局网接口置配
1
、置配准标以网太接口
Ro
ter(confiug)#itenfacerE thenet0rR
outerc(nfoi-
igf)d#escirpion toTH ubaiDeQuWiAGN
oRter(cunfoigif-i) addperss 02.211.274
.552.25.525.05
tfnNhnE6e5
oRturecon(ig-iff#)bndwadth 1i0000
Routr(coefignif)#n- osutdowh
Rnuotre(cnfio-ig)#efxt
Roiteurc(ofngi)ex#ti
oRture#
、配
2
置速以太快网口接
Rouetrc(onif)ginterf#ac f2/1
Reuoertc(nfig-ofi#)edcsirtpin Too-
XiaDaniuKanYu-naXioa
HbmVN777sL
Ruotrecon(ig-if)fip# dadesrs
022112.4.11.45
55.2552.255.240Rout
V7l4jRB8Hs
er(ocfngi-fi)ba#dwinthd1 0000
0oRutrec(nofi-
igf)du#ple fxullR
oteur(cnfig-oif#)o ipn idretecdb-
ordaastc
Routr(ecnofigif-)#oni p rpxyo-ar
pR
uteor(onfcigif)-no
shu#dtwonRo
teu(rcnfiog-i)fe#ixt
Roture(conigf)#xiteR
ouert#
3
、置配兆以千网接口
太
outerRco(nifg#i)nerftcae
0/g
1oRuetr(cofng-iif)des#ricptionTo-
eBiingJWiGauYouaDueX
83lcPA59W9
ouRertco(nig-
iff)ip# ddarsse2 2011.2.144.
925.555.25
25.522Rou
mZkklkzaaP
ert(ocnfgi-f)iba#nwiddt
h0000001
ouRer(ctnoifgif-#d)pluxefu llRoute
(ronfcg-
ifi)#noip dirceted-boardcsta
Roteruc(noif-igf)n#o i
pporyx-rap
Routrecon(fg-ii)#fn oshutdwn
Roouer(cotnif-ifg)exi#
tRoutr(coenfi)ge#xti
oRteur#
广域网接口配
置
、
1
配异置
步串接口行