启动接口,分配IP地址:4 t3 R( x: Y7 ?# \
- `) H$ e4 w8 Q; s) h( f, V5 g+ C
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秒更新一次$ J' _1 q1 ~2 W
- b6 p7 I$ d' S/ A5 x/ B
router(config)# router rip router(config-if)# network Network-Number router(config-if)# ^z 配置IGRP路由协议:90秒更新一次' h0 B% Q' Z/ `1 f& H
* B* P Z8 j+ ?9 v5 |3 {
router(config)# router igrp AS-Number router(config-if)# network Network-Number router(config-if)# ^z 配置Novell IPX路由协议:) U/ s# ?, ?8 ^9 I" d+ I1 @* d9 W( ?
+ a$ E! a! I; A5 g; rNovell 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:( |3 p& S6 e9 M H
! l4 U$ ?. R: c. @! x; i( erouter(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:4 I8 q w# C( j' M- U7 y$ D
, a7 m6 ^3 O% Q* S0 Arouter(config)# isdn swith-type Swith-Type router(config-if)# ^z 配置Frame Relay:
9 w$ ~6 p% P& ^( j+ R
( X% j% ~4 c1 G4 ]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:
+ b& J* }3 i. B
" k( u0 O+ u' v+ Prouter(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:1 z c3 Z4 x d5 \; w, J; K
- Q8 m6 S5 v6 t r" L% Irouter(config)# access-list Access-List-Number [ permit | deny ] [ Protocol | Protocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ] |