chinamoon 发表于 2003-8-22 19:27:53

[推荐]经典CCNA配置,SPOTO学员注意

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 <br>router(config)# ipx maximum-paths Paths<br>router(config)# interface Type Port <br>router(config-if)# ipx network Network-Number <br>router(config-if)# ^z <br><br>配置DDR: <br>router(config)# dialer-list Group-Number protocol Protocol-Type permit <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 <br>router(config-if)# frame-relay lmi-type <br>router(config-if)# bandwidth kilobits <br>router(config-if)# frame-relay invers-arp [ Protocol ] <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 [ 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 :[ Protocol-Type ]<br>Repeat count :<br>Datagram size :<br>Timeout in seconds :<br>Extended commands :y<br>Sweep range of sizes : <br><br>Tracke的使用: <br>router# trace IP-Address [ Host-Name ] <br><br>为Cisco 4000路由器指定媒体类型: <br>router(config-if)# media-type 10basetenable <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 ] <br> <br>router(config)# ip route 0.0.0.0 0.0.0.0 [ Next-Hop-Address | Local-Out-Port ] <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

谢谢

chinamoon 发表于 2003-11-4 10:36:43

已改好,cisco版正需要你这样认真负责的好版主。<br>奖励50思博币。

chinamoon 发表于 2003-11-4 10:39:02

大家看看还有没有什么可以补充的,比如说把各种交换机的配置和本帖缺乏的一些命令也整理出来。形成一个真正对大家非常有用的lab command guide。

westwindy 发表于 2003-11-5 11:13:20

<BLOCKQUOTE><strong>引用</strong>:<HR Size=1>原文由 <b>cwav</b> 发表:<br>:)westwindyz真细心<br><HR SIZE=1></BLOCKQUOTE><br>承让

westwindy 发表于 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>多谢了!

chinamoon 发表于 2003-10-26 20:21:51

其实不是很长,做配置的时候有问题可以来这里查查,简单明了的. :)

kiss163me 发表于 2003-10-26 15:12:39

确实精华。<br>又是确实的长。

westwindy 发表于 2003-10-26 15:24:35

概括性很强<br>能省不少事呢!

westwindy 发表于 2003-10-27 10:22:55

没错,比Boson模拟器里的那个命令词典全面概括多了
页: [1] 2 3 4
查看完整版本: [推荐]经典CCNA配置,SPOTO学员注意