日本好好热aⅴ|国产99视频精品免费观看|日本成人aV在线|久热香蕉国产在线

  • <cite id="ikgdy"><table id="ikgdy"></table></cite>
    1. 西西軟件園多重安全檢測下載網(wǎng)站、值得信賴的軟件下載站!
      軟件
      軟件
      文章
      搜索

      首頁認證考試思科認證 → CCNA試驗中一定要掌握的路由器配置、交換機實驗命令

      CCNA試驗中一定要掌握的路由器配置、交換機實驗命令

      相關軟件相關文章發(fā)表評論 來源:西西整理時間:2011/4/10 9:40:40字體大小:A-A+

      作者:西西點擊:227次評論:4次標簽: CCNA實驗

      • 類型:網(wǎng)絡認證大。379KB語言:中文 評分:5.0
      • 標簽:
      立即下載
      CCNA試驗中一定要掌握的命令

      路由器配置:
       
        router> enable          從用戶模式進入特權模式
        
        router# disable or exit     從特權模式退出到用戶模式
        
        router# show sessions      查看本機上的TELNET會話
        
        router# disconnect        關閉所有的TELNET會話
        
        router# show users        查看本機上的用戶
        
        router# erase startup-config   刪除NVRAM中的配置
        
        router# reload          重啟路由器
        
        router# config terminal     從用戶模式進入特權模式
        
        router(config)# hostname router1   配置用戶名為router1
        
        router(config)# #banner welcome#
      配置開機話語
        
        router# show controllers serial0

      查看串口0的DTE/DCE狀態(tài)
        
        router# show ip interface    查看端口的IP配置信息
        
        router# show hosts        查看主機表
        
        router#end or ctrl+z         從各種配置模式退到特權模式
        
        router (config)# no ip domain-lookup
      關閉動態(tài)域名解析
        
        router (config)# ip domain-lookup   打開動態(tài)域名解析
        
        router (config)# ip name-server 202.106.0.20 打開動態(tài)域名解析之后便可以指定DNS服務
        
        router (config)# interface serial 0  進入serial 0的接口配置模式
        
        router (config-if)# no shutdown    路由器出廠默認所有端口關閉,使用此命令使它們打開
        
        router (config-if)# encapsulation ppp
      封裝ppp
        
        router (config-if)# clockrate 64000  如果是DCE使需要設置時鐘速率; 如果是DTE就不必設置
        
        router (config-if)# bandwidth 64   設置端口帶寬為64K
        
        router (config-if)# ctrl+c or ctrl+z
      快捷鍵退出到特權模式


      router# show interface serial 0   查看s0信息,如果看到serial和line protocol都顯示up,說明鏈路兩端都設置成功
        注意:如果出現(xiàn)serial down, line down 可能對方的端口沒有打開;no shutdown 或者電纜沒有插好;如果出現(xiàn)serial up, line down 可能是DCE端沒有設置clock rate, 也可能是封裝格式不對
        
        router # show cdp neighbors     查看CDP鄰居信息
        
        router (config-if)# ip add 10.0.0.1 255.255.255.0 配置相應接口的IP地址
        
        router # ping 10.0.0.2        使用ping命令查看連通性
        
        router # show ip route        查看路由表,可以看到以C打頭的路由信息,這是直連的路由信息;可以看到R開頭的路由信息,是從rip學來的路由信息;可看到以I開頭的路由信息取代了以R開頭的路由信息,這是因為igrp的管理距離是100,小于rip的120
        
        router (config-if)# router rip    啟動RIP路由協(xié)議
        
        router (config-router)# network 10.0.0.0 宣告網(wǎng)段。注意network后面是接的直連主類網(wǎng)絡號,而不是IP地址

        router # show ip protocol       查看配置的路由協(xié)議
        
        router (config)# router igrp 100   一定要注意在IGRP后面加自治系統(tǒng)號;考試的時候題目會告訴你AS NUMBER,照敲就是
        
        router (config)# line vty 0 4     進入虛擬線程配置模式,在這個模式里可對telnet功能進行配置
        
        router (config-line)# login
        
        router (config-line)# password cisco  配置telnet密碼,默認的網(wǎng)絡設備telnet的功能是關閉的,配了密碼之后會自動打開
        
        router (config)# enable password cisco 配置進入enable模式的密碼為cisco, 區(qū)分大小寫
        
        router (config)# enable secret ciscocisco 配置進入enable模式的密碼,是加密的密碼,show run是看不見的
        
        router (config)# line console 0
        
        router (config-line)# login
        
        router (config-line)# password cisco 配置進入用戶模式的密碼
        
        router (config-line)# logging synchronous 輸入同步
        
        router (config-line)# exec-timeout 0 0  禁止因為一段時間沒有輸入而跳出
        
        router # copy running-config startup-config 保存配置,考試的時候注意題目的要求,如果題目里要求你保存配置就一定不能少了這一項
        
        router # copy tftp flash 將文件從TFTP主機復制到閃存
        
      router # copy running-config tftp 將running-config文件復制到TFTP主機


      交換機實驗:
        
        switch(config)# ip address 192.168.0.1 255.255.255.0 與路由器在接口上的配置IP不同,交換機是在全局配置模式配置
        
        switch(config)# ip default-gateway 192.168.0.1 給交換機配置一個缺省網(wǎng)關,請注意,不用寫掩碼
        
        switch(config)# vlan2 name cisco  配置一個vlan2并且指定名字叫CISCO
        
        switch# show interfaces     查看端口狀態(tài)
        
        switch(config)# interface e0/10  進入端口e0/10
        
        switch(config-if)# vlan-membership static 2 將端口放進vlan2里面
        
        switch(config)# interface f0/26  進入快速以太網(wǎng)端口f0/26
        
        switch(config-if)# trunk on   啟用trunk,注意:只能在百兆以上端口啟用trunk
        
        switch(config-if)# notrunk-vlan 51 52 在主干上關閉VLAN51、52的傳輸

        相關評論

        閱讀本文后您有什么感想? 已有人給出評價!

        • 8 喜歡喜歡
        • 3 頂
        • 1 難過難過
        • 5 囧
        • 3 圍觀圍觀
        • 2 無聊無聊

        熱門評論

        最新評論

        發(fā)表評論 查看所有評論(4)

        昵稱:
        表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
        字數(shù): 0/500 (您的評論需要經(jīng)過審核才能顯示)