a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 118|回复: 1

[综合] CISCO常用配置命令及参数1

[复制链接]
发表于 2012-8-3 20:03:30 | 显示全部楼层 |阅读模式
启动接口,分配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 ]
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:03:31 | 显示全部楼层

CISCO常用配置命令及参数1

router(config)# interface Type Port  router(config-if)# ip access-group Access-List-Number [ in | out ]  router(config-if)# ^z   配置命名ACL:
& J" M1 c' c3 T5 J( Q* C8 N/ Z
+ ~+ l1 F0 _+ l2 u5 ^  C: a: ?router(config)# ip access-list [ standard | extended ] ACL-Name  router(config [ std- | ext- ] nacl)# [ permit | deny ] [ IP-Access-List-Test-Conditions ]  router(config [ std- | ext- ] nacl)# no [ permit | deny ] [ IP-Access-List-Test-Conditions ]  router(config [ std- | ext- ] nacl)# ^z  router(config)# interface Type Port  router(config-if)# ip access-group [ACL-Name | 1~199 ] [ in | out ]  router(config-if)# ^z
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-6-7 19:23 , Processed in 0.718324 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表