Video 10 µÚÆßÕ ²Ù×÷ÓëÅäÖÃCisco IOS
2007-06-29 00:35:53
Óû§Ä£Ê½ ÌØÈ¨Ä£Ê½ ÅäÖÃģʽ ģʽһ Óû§Ä£Ê½ Ö÷»úÃû>
ģʽ¶þ ÌØÈ¨Ä£Ê½£¨Ò²ÊÇ×î³£ÓõÄģʽ£©Ö÷»úÃû# ½»»»»ú³õʼÆô¶¯¹ý³Ì
Óû§Ä£Ê½ ½øÈëÌØÈ¨Ä£Ê½ ÊäÈëÃüÁî enable
ÌØÈ¨Ä£Ê½ ½øÈëÓû§Ä£Ê½ disable ºÍ quit
ÏÔʾ½»»»»ú³õʼÆô¶¯µÄ״̬
show version
show running-config
show interfaces ʹÓÃÔöÇ¿µÄ±à¼ÃüÁî
Ctrl+A ¹â±êÒÆ¶¯µ½ÃüÁîÐеĿªÊ¼Î»Öà Ctrl+E ¹â±êÒÆ¶¯µ½ÃüÁîÐеĽáÊøÎ»Öà Esc-B »ØÒÆÒ»¸öµ¥´Ê Ctrl+F ÏÂÒÆÒ»¸ö×Ö·û Ctrl+B »ØÒÆÒ»¸ö×Ö·û Esc+F ÏÂÒÆÒ»¸öµ¥´Ê Ctrl+D ɾ³ýµ±Ç°×Ö·û Ctrl+P or Up arrow µ÷³ö×î½ü£¨Ç°Ò»£©Ê¹ÓùýµÄÃüÁî Ctrl+N or Down arrow Ìô³ö¸ü½üʹÓùýµÄÃüÁî Router> show history ÏÔʾÃüÁî±£´æÇøÄÚÈÝ Router> terminal history size lines ÉèÖÃÃüÁî±£´æÇø´óС ·ÓÉÆ÷ģʽһÀÀ Óû§Ä£Ê½ Router>enable ÌØÈ¨Ä£Ê½ Router>config term È«¾ÖÅäÖÃģʽ Router(config)# Exit Ctrl+Z ·µ»ØÌØÈ¨Ä£Ê½ ±£´æÅäÖà COPY RUNNING-CONFIG STARTUP-CONFIG ·ÓÉÆ÷Ãû Router(config)#hostname xxxxx ¿ª»úʱµÄ¹Ì¶¨ÏÔʾÐÅÏ¢ xxxxxx(config)#banner motd# ¶Ë¿ÚÃèÊö xxxxxx(config)#interface ethernet 0 xxxxxxx(config-if)#description Engineering LAN, Bldg, 18 ·ÓÉÆ÷ÃÜÂëÅäÖà ¿ØÖÆÌ¨ÃÜÂë Router(config)# line console 0 Router(config-line)#login Router(config-line)#password cisco ÐéÄâÖÕ¶ËÃÜÂë Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password sanjose ÌØÈ¨Ä£Ê½Ã÷ÎÄÃÜÂë Router(config)#enable password cisco ÌØÈ¨Ä£Ê½¼ÓÃÜÃÜÂë Router(config)#enable secret sanfran Èç¹ûÌØÈ¨Ã÷ÎÄÃÜÂëºÍÌØÈ¨Ä£Ê½¼ÓÃÜÃÜÂë¶¼ÉèÖõϰ£¬ÄÇôÒÔ¼ÓÃÜÃÜÂëΪ׼ ÆäËû¿ØÖÆÌ¨ÃüÁî Router(config)#line console 0 Router(config-line)#exec-timeout 0 0 Éè³É 0 0 ±íʾ½ûÖ¹¿ØÖÆÌ¨»æ»Í˳ö ÖØÏÔ±»´òÂҵĿØÖÆÌ¨ÊäÈë Router(config)#line console 0 Router(config-line)#logging synchronous ¶Ë¿ÚÅäÖà Router(config)#interface type number Router(config-if)# type °üÀ¨ serial, ethernet, token ring, fddi, hssi loopback, dialer, null, async, atm ,bri, and tunnel number ÓÃÀ´±íʾ¾ßÌåµÄµ¥¸ö¶Ë¿Ú Router(config)#interface type slot/port Router(config-if)# Ä£¿é»¯¶Ë¿Ú±íʾ·¨ Router(config-if)#exit ´Óµ±Ç°¶Ë¿ÚÅäÖÃģʽÍ˳ö ÅäÖô®¿Ú 1.½øÈëÈ«¾ÖÅäÖÃģʽ Router#configure term Router(config)# 2.Ö¸¶¨Ä³¸ö¶Ë¿Ú Router(config)#interface serial 0 Router(config-if)# 3.É趨ʱÖÓÆµÂÊ Router(config-if)# clock rate 64000 (Ö»ÓÐÔÚDCE¶Ë£© Router(config-if)# È·ÈϲÎÊýÐÞ¸Ä×´¿ö Router#show interface serial 0 ¿ªÆô»ò¹Ø±Õ¶Ë¿Ú È˹¤¹Ø±Õ¶Ë¿Ú configure term interface serial 0 shutdown ¿ªÆôÒѾ¹Ø±ÕµÄ¶Ë¿Ú cinfigure term interface serial 0 no shutdown ½â¶Á¶Ë¿Ú״̬ show interfaces serial 1 ÏÔʾ´®¿ÚÏßµÄÏßÀÂÀàÐÍ DTE or DCE show controller±¾Îijö×Ô 51CTO.COM¼¼Êõ²©¿Í |


tommy5
²©¿Íͳ¼ÆÐÅÏ¢
ÈÈÃÅÎÄÕÂ
×îÐÂÆÀÂÛ
ÓÑÇéÁ´½Ó
