启动接口,分配IP地址:
) ~0 f& s+ I: h4 D, I* u9 ]3 s: D1 [" l8 Y6 r8 j5 N
router> router> enable router# router# configure terminal router(config)# router(config)# interface Type Port router(config-if)# no shutdown router(config-if)# ip address IP-Address Subnet-Mask router(config-if)# ^z 配置RIP路由协议:30秒更新一次
+ ]6 ]0 g4 E7 P7 t
* C) S6 K) Q& G! g Y+ Rrouter(config)# router rip router(config-if)# network Network-Number router(config-if)# ^z 配置IGRP路由协议:90秒更新一次* m, N# a5 f# C5 T' y* n
0 S8 k/ c3 K7 z$ S' _+ T
router(config)# router igrp AS-Number router(config-if)# network Network-Number router(config-if)# ^z 配置Novell IPX路由协议:
+ C2 {& X; i6 N3 |) T! l1 c
+ e6 H M! q1 t$ X4 I D& t2 j3 ENovell RIP 60秒更新一次 router(config)# ipx routing [node address] router(config)# ipx maximum-paths Paths router(config)# interface Type Port router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary] router(config-if)# ^z 配置DDR:
1 [% N7 q- o5 S: P) K6 O3 R
, O6 y" w' y+ @7 ~" y; j% prouter(config)# dialer-list Group-Number protocol Protocol-Type permit [list ACL-Number] router(config)# interface bri 0 router(config-if)# dialer-group Group-Number router(config-if)# dialer map Protocol-Type Next-Hop-Address name Hostname Telphone-Number router(config-if)# ^z 配置ISDN:
& M8 X5 n3 `. v0 g
1 O* L+ ^: _, d3 krouter(config)# isdn swith-type Swith-Type router(config-if)# ^z 配置Frame Relay:
0 O! R4 p6 K/ O8 G9 ]. K! ?! B( f
router(config-if)# encapsulation frame-relay [cisco | ietf ] router(config-if)# frame-relay lmi-type [ansi | cisco | q933a ] router(config-if)# bandwidth kilobits router(config-if)# frame-relay invers-arp [ Protocol ] [dlci ] router(config-if)# ^z 配置标准ACL:
2 q1 h a" y& m3 ?: g' I
, v+ k9 n4 Q4 |router(config)# access-list Access-List-Number [ permit | deny ] source [ source-mask ] router(config)# interface Type Port router(config-if)# ip access-group Access-List-Number [ in | out ] router(config-if)# ^z 配置扩展ACL:: K! r$ i) }7 E
% q U5 q0 x5 w
router(config)# access-list Access-List-Number [ permit | deny ] [ Protocol | Protocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ] |