为Cisco 4000路由器指定媒体类型:
1 [/ C" {6 ]' k( h7 @ j7 M4 [5 Y4 _4 O p5 h0 S% T- D
router(config-if)# media-type 10baset router(config-if)# ^z 更改路由器启动顺序:www.Examw.com
# `3 W2 Z$ w$ E: R! v; c: j) E3 l% Q y. {+ c
router(config)# boot system flash IOS-FileName router(config)# boot system tftp IOS-FileName TFTP-IP-Address router(config)# boot system rom router(config)# ^z 修改寄存器数值:1 e' j, c# d: x8 f6 q
$ }$ e9 p* v* U- ^
router(config)# config-register Value 在ROM监视器中更改寄存器数值:
: P; g6 y! S8 i2 b! ]; d# ~" i2 k! U
> o/r Value 路由器密码的恢复:
( _) }6 X; Q" A/ o0 Y, l. j冷关机,然后再开机并在60秒内按< Ctrl>+ 进入ROM监视器模式
2 Z {. F4 j+ [1 h$ l' \) J9 N
/ o0 ~3 J" p4 Z" P& o+ m& c> o/r 0x2142 或 > confreg 0x2142 router> I router> n router> enable router# copy startup-config running-config router# configure terminal router(config)# enable secret New-Password router(config)# config-register 0x2102 router(config)# ^z router# copy running-config startup-config router# reload 配置名称-主机入口:
& k* R' T& g# u5 p# p
6 t& N& B" _4 @% M' _% Z& W5 grouter(config)# ip host Set-Name [ TCP-Port-Number ] IP-Address [ IP-Address 2 ]... router(config)# ^z 定义DNS主机:' K! O" G, G# F7 @( H1 u# {
; ~/ y! j' N* s9 G2 f4 c/ |9 W- ^2 Orouter(config)# ip name-server Server-Address [ Server-Address 2 ]... router(config)# ^z 禁用DNS:, G# [. c; C. i: X
/ \2 C$ q9 W" m4 `) g# z6 `router(config)# no ip domain-lookup router(config)# ^z 配置水平分割:& c m6 D+ d+ k" U: Z" j7 s' D
, j8 Z6 x, W, k/ o9 x3 q; ?6 t1 l
router(config-if)# ip split-horizon router(config-if)# no ip split-horizon router(config-if)# ^z 配置静态路由:
% W" ?; F4 u" Z4 b7 {5 M% ?2 l- K* H! |
router(config)# ip route IP-Address Subnet-Mask [ Next-Hop-Address | Local-Out-Port ] [Distace ] router(config)# ^z 配置缺省路由:
* L: H2 i& c0 I- \0 T' n) H& u, a1 `. p) h; ?
router(config)# ip defoult-network IP-Address router(config)# ip route 0.0.0.0 0.0.0.0 [ Next-Hop-Address | Local-Out-Port ] [Distace ] router(config)# ^z |