1. router >
2. router > enable
3. router#
4. router# configure terminal
5. router(config)#
6. router(config)# interface Type Port
7. router(config-if)# no shutdown
8. router(config-if)# ip address IP-Address Subnet-Mask
9. router(config-if)# ^z
配置RIP路由协议:30秒更新一次
1. router(config)# router rip
2. router(config-if)# network Network-Number < -- 通告标准A,B,C类网-- >
3. router(config-if)# ^z
配置IGRP路由协议:90秒更新一次
1. router(config)# router igrp AS-Number < -- AS-Number范围1~65535-- >
2. router(config-if)# network Network-Number < -- 通告标准A,B,C类网-- >
3. router(config-if)# ^z
配置Novell IPX路由协议:
1. Novell RIP 60秒更新一次
2. router(config)# ipx routing [node address]
3. router(config)# ipx maximum-paths Paths < -- 设置负载平衡,范围1~512-- >
4. router(config)# interface Type Port
5. router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary] < -- 通告标准A,B,C类网-- >
6. router(config-if)# ^z
配置DDR:
1. router(config)# dialer-list Group-Number protocol Protocol-Type permit [list ACL-Number]
2. router(config)# interface bri 0
3. router(config-if)# dialer-group Group-Number
4. router(config-if)# dialer map Protocol-Type Next-Hop-Address name Hostname Telphone-Number
5. router(config-if)# ^z
配置ISDN:
1. router(config)# isdn swith-type Swith-Type < -- 配置ISDN交换机类型,中国使用basic-net3-- >
2. router(config-if)# ^z
配置Frame Relay:
1. router(config-if)# encapsulation frame-relay [cisco | ietf ]
2. router(config-if)# frame-relay lmi-type [ansi | cisco | q933a ]
3. router(config-if)# bandwidth kilobits
4. router(config-if)# frame-relay invers-arp [ Protocol ] [dlci ]
5. < -- 配置静态Invers ARP表:
6. router(config)# frame-relay Protocol Protocol-Address DLCI [ Broadcast ] [ ietf | cisco ] [ payload-compress | packet-by-packet ]
7. -- >
8. < -- 设置Keepalive间隔:
9. router(config-if)# keepalive Number
10. -- >
11. < -- 为本地接口指定DLCI:
12. router(config-if)# frame-lelay local-dlci Number
13. -- >
14. < -- 子接口配置:
15. router(config-if)# interface Type Port.Subininterface-Number [ multipoint | point-to-point ]
16. router(config-subif)# ip unnumbered Interface
17. router(config-subif)# frame-lelay local-dlci Number
18. -- >
19. router(config-if)# ^z
配置标准ACL:
1. router(config)# access-list Access-List-Number [ permit | deny ] source [ source-mask ] < -- Access-List-Number 范围:1~99标准ACL;100~199扩展ACL;800~899标准IPX ACL;900~999扩展IPX ACL;1000~1099 IPX SAP ACL;600~699Apple Talk ACL-- >
2. router(config)# interface Type Port
3. router(config-if)# ip access-group Access-List-Number [ in | out ]
4. router(config-if)# ^z
5.
配置扩展ACL:
1. router(config)# access-list Access-List-Number [ permit | deny ] [ Protocol | Protocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ]
2. router(config)# interface Type Port
3. router(config-if)# ip access-group Access-List-Number [ in | out ]
4. router(config-if)# ^z
5.
配置命名ACL:
1.router(config)# ip access-list [ standard | extended ] ACL-Name
2.router(config [ std- | ext- ] nacl)# [ permit | deny ] [ IP-Access-List-Test-Conditions ]
3.router(config [ std- | ext- ] nacl)# no [ permit | deny ] [ IP-Access-List-Test-Conditions ]
4.router(config [ std- | ext- ] nacl)# ^z
5.router(config)# interface Type Port
6.router(config-if)# ip access-group [ACL-Name | 1~199 ] [ in | out ]
7.router(config-if)# ^z





