a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 115|回复: 1

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

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

使用道具 举报

 楼主| 发表于 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:
7 U* }) a" O% B7 i$ k
* a' v: _! K6 ~# |% Irouter(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-5-14 22:07 , Processed in 0.522179 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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