CISCO常用配置命令及参数 (1)
0 `2 M! n; O# p! m* ^启动接口,分配IP地址: . A: |$ D3 K/ X/ I0 j
router>
' l, R3 s4 b! g" ?) @6 X4 W router> enable 2 m- r3 ~2 u ^- {3 ]1 o, ?
router# - b+ i; \2 d0 N! R& O3 w
router# configure terminal
* s4 a. Y% f% [4 F; O router(config)# # q3 J w* ~( _' z p9 L
router(config)# interface Type Port
& G7 W% o4 e& [+ N* j4 T$ `+ m router(config-if)# no shutdown
! P X, D; D7 a. y) | router (config-if)# ip address IP-Address Subnet-Mask 1 L/ S# |; @' q
router(config-if)# ^z / M' m' B* Q3 Y% _3 g
/ C6 J' ^. p2 a5 S0 c+ P
配置RIP路由协议:30秒更新一次 2 o |, n- e. G3 a( ^7 G( x
router(config)# router rip / _/ ~/ Z6 Y b0 ?, m8 G' T! n* t
router(config-if)# network Network-Number , R& Q# }; F R4 ~. f
router(config-if)# ^z
7 g3 ]$ V H9 S7 `6 }# |) @+ Y
0 l! L# g Y) T# _# g. |7 z+ D) {9 L6 y 配置IGRP路由协议:90秒更新一次
% ?5 j8 }3 W2 Y3 w router(config)# router igrp AS-Number
8 _$ I; `% c3 x4 Z) B router(config-if)# network Network-Number
) l0 O) w- g0 C5 S' _6 t' L- l router(config-if)# ^z
( r7 m2 g7 s, n9 T4 A. G
" s. c3 X! A1 P+ L% [ 配置Novell IPX路由协议:Novell RIP 60秒更新一次 6 h( M- h5 ~- X2 J& R& A
router(config)# ipx routing [node address] ! `: x2 y. w- Z( j3 ^' j
router(config)# ipx maximum-paths Paths : c$ Q, a& ^0 v
router(config)# interface Type Port
& z4 y9 m; t5 w router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary] ) ~1 B% m$ E9 c/ ^6 X4 v
router(config-if)# ^z |