雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 11383|回复: 32

[讨论/求助] [推荐]经典CCNA配置,SPOTO学员注意

[复制链接]
发表于 2003-8-22 19:27:53 | 显示全部楼层 |阅读模式
chinamoon:<br>现在看不懂的话不要紧,长期资料保持,CCNA必须了解的配置命令<br><br>启动接口,分配IP地址: <br>router&gt; <br>router&gt;enable <br>router# <br>router#configure terminal <br>router(config)# <br>router(config)# interface Type Port <br>router(config-if)# no shutdown <br>router(config-if)# ip address IP-Address Subnet-Mask <br>router(config-if)# ^z <br>配置RIP路由协议:30秒更新一次 <br>router(config)# router rip <br>router(config-router)# network Network-Number  <br>router(config-router)# ^z <br><br>配置Novell IPX路由协议:Novell RIP 60秒更新一次 <br>router(config)# ipx routing [node address] <br>router(config)# ipx maximum-paths Paths  <br>router(config)# interface Type Port <br>router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary]  <br>router(config-if)# ^z <br><br>配置DDR: <br>router(config)# dialer-list Group-Number protocol Protocol-Type permit [list ACL-Number] <br>router(config)# interface bri 0 <br>router(config-if)# dialer-group Group-Number <br>router(config-if)# dialer map Protocol-Type Next-Hop-Address name Hostname Telphone-Number <br>router(config-if)# ^z <br><br>配置ISDN: <br>router(config)# isdn swith-type Swith-Type  <br>router(config-if)# ^z <br><br><br><br>配置Frame Relay: <br>router(config-if)# encapsulation frame-relay [cisco | ietf ] <br>router(config-if)# frame-relay lmi-type [ansi | cisco | q933a ] <br>router(config-if)# bandwidth kilobits <br>router(config-if)# frame-relay invers-arp [ Protocol ] [dlci ] <br>&lt;--配置静态Invers ARP表: <br>router(config)# frame-relay Protocol Protocol-Address DLCI [ Broadcast ] [ ietf | cisco ] [ payload-compress | packet-by-packet ] <br>--&gt; <br> <br>&lt;--子接口配置: <br>router(config-if)# interface Type Port.Subininterface-Number [ multipoint | point-to-point ] <br>router(config-subif)# ip unnumbered Interface <br>router(config-subif)# frame-lelay local-dlci Number <br>--&gt; <br>router(config-if)# ^z <br><br>配置标准ACL: <br>router(config)# access-list Access-List-Number [ permit | deny ] source [ source-mask ]  <br>router(config)# interface Type Port <br>router(config-if)# ip access-group Access-List-Number [ in | out ] <br>router(config-if)# ^z <br><br>配置扩展ACL: <br>router(config)# access-list Access-List-Number [ permit | deny ] [ Protocol | Protocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ] <br>router(config)# interface Type Port <br>router(config-if)# ip access-group Access-List-Number [ in | out ] <br>router(config-if)# ^z <br><br>配置命名ACL: <br>router(config)# ip access-list [ standard | extended ] ACL-Name <br>router(config [ std- | ext- ] nacl)# [ permit | deny ] [ IP-Access-List-Test-Conditions ] <br>router(config [ std- | ext- ] nacl)# no [ permit | deny ] [ IP-Access-List-Test-Conditions ] <br>router(config [ std- | ext- ] nacl)# ^z <br>router(config)# interface Type Port <br>router(config-if)# ip access-group [ACL-Name | 1~199 ] [ in | out ] <br>router(config-if)# ^z <br><br>配置DCE时钟: <br>router# show controllers Type Port  <br>router(config-if)# ppp outhentication [ chap | chap pap | pap chap | pap ]  <br>routerA# telnet IP-Address [ Router-Name ]  <br>routerB# [ exit | logout ]  <br>routerA# disconnect IP-Address [ Router-Name ]  <br>routerA# clear line [ 0 | 1 | 2 | 3 | 4 ]  <br>Protocol [ip]:[ Protocol-Type ]  <br>Repeat count [5]:  <br>Datagram size [100]:  <br>Timeout in seconds [2]:  <br>Extended commands [n]:y  <br>Sweep range of sizes [n]: <br><br>Tracke的使用: <br>router# trace IP-Address [ Host-Name ] <br><br>为Cisco 4000路由器指定媒体类型: <br>router(config-if)# media-type 10baset  enable <br>router# copy startup-config running-config <br>router# configure terminal <br>router(config)# enable secret New-Password <br>router(config)# config-register 0x2102 <br>router(config)# ^z <br>router# copy running-config startup-config <br>router# reload <br><br>配置名称-主机入口: <br>router(config)# ip host Set-Name [ TCP-Port-Number ] IP-Address [ IP-Address 2 ]... <br>router(config)# ^z <br><br>定义DNS主机: <br>router(config)# ip name-server Server-Address [ Server-Address 2 ]... <br>router(config)# ^z <br><br>禁用DNS: <br>router(config)# no ip domain-lookup <br>router(config)# ^z <br><br>配置水平分割: <br>router(config-if)# ip split-horizon <br>router(config-if)# no ip split-horizon <br>router(config-if)# ^z <br><br>配置静态路由: <br>router(config)# ip route IP-Address Subnet-Mask [ Next-Hop-Address | Local-Out-Port ] [Distace ] <br> <br>router(config)# ip route 0.0.0.0 0.0.0.0 [ Next-Hop-Address | Local-Out-Port ] [Distace ]  <br>router(config)# ^z <br><br>其它命令: <br>router# show version <br>router# show running-config <br>router# show startup-config <br>router# show flash <br>router# show interface [ Type Port ] <br>router# show buffers <br>router# show protocol <br>router# show mem <br>router# show stacks <br>router# show processes <br>router# show cdp entry [ Device-Name ]  <br>router# show ip router <br>router# show ipx router <br>router# show host <br>router# show ip protocol <br>router# show ip interface Type Port <br>router# show ipx interface Type Port <br>router# show ipx servers <br>router# show ipx traffic <br>router# show access-lists [ ACL-Number ] <br>router# show isdn status <br>router# show dialer  <br>router# show isdn active <br>router# show frame-relay pvc <br>router# show frame-relay map <br>router# show frame-relay lmi <br>router# erase startup-config <br>router# reload <br>router# setup <br>router# copy running-config startup-config <br>router# copy startup-config running-config <br>router# copy tftp running-config <br>router# copy running-config tftp <br>router# debug ipx routing activity <br>router# debug ipx sap <br>router# debug isdn q921 <br>router# debug isdn q931 <br>router# debug dialer <br>router# debug ip rip <br>router# clear interface bri [ 0 | 1 | 2 ]<br><br><br>[此帖子已被 chinamoon 在 2003-11-4 10:34:36 编辑过]
发表于 2004-1-10 15:40:41 | 显示全部楼层
谢谢
 楼主| 发表于 2003-11-4 10:36:43 | 显示全部楼层
已改好,cisco版正需要你这样认真负责的好版主。<br>奖励50思博币。
 楼主| 发表于 2003-11-4 10:39:02 | 显示全部楼层
大家看看还有没有什么可以补充的,比如说把各种交换机的配置和本帖缺乏的一些命令也整理出来。形成一个真正对大家非常有用的lab command guide。
发表于 2003-11-5 11:13:20 | 显示全部楼层
<BLOCKQUOTE><strong>引用</strong>:<HR Size=1>原文由 <b>cwav</b> 发表:<br>:)westwindyz真细心<br><HR SIZE=1></BLOCKQUOTE><br>承让
发表于 2003-11-5 11:14:07 | 显示全部楼层
<BLOCKQUOTE><strong>引用</strong>:<HR Size=1>原文由 <b>chinamoon</b> 发表:<br>已改好,cisco版正需要你这样认真负责的好版主。<br>奖励50思博币。<HR SIZE=1></BLOCKQUOTE><br>嘿嘿!<br>多谢了!
 楼主| 发表于 2003-10-26 20:21:51 | 显示全部楼层
其实不是很长,做配置的时候有问题可以来这里查查,简单明了的. :)
发表于 2003-10-26 15:12:39 | 显示全部楼层
确实精华。<br>又是确实的长。
发表于 2003-10-26 15:24:35 | 显示全部楼层
概括性很强<br>能省不少事呢!
发表于 2003-10-27 10:22:55 | 显示全部楼层
没错,比Boson模拟器里的那个命令词典全面概括多了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-5-4 09:08 , Processed in 0.091840 second(s), 18 queries , Gzip On.

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