当前位置:主页   - 电脑 - 认证考试 - Cisco
CCNA实验配置指导
来源:linux宝库,设计前沿收集   作者:未知   更新时间:2008-12-04
收藏此页】    【字号    】    【打印】    【关闭
  Logging In
  
  1. Press ENTER to connect to your router. This will bring you in User mode.
  2. At the router> prompt, type in a question mark (?) This will list all the User mode
   commands. Feel free to play with all the available commands. You are in a safe zone.
   Nothing will be damaged.
  3. Press the Enter key to the view the commands line by line.
  4. Press the SPACEBAR to view the commands a full screen at a time.
  5. Type enable or en, the press ENTER. This will put you in Privileged mode, where you
   can change and view the router configuration.
  6. At the router# prompt, type a question mark (?) This will list all available commands in
   the Router Global configuration mode. Use these commands with cautions.
  7. Type config and ENTER.
  8. Press ENTER to configure your router using your terminal.
  9. At the router(config)# prompt, type another question mark (?) This will list all
   commands available in router configuration mode. Use these commands with cautions.
  10. Press the CONTROL key and the letter Z at the same time. Notice how the take you out
   of Configuration mode and brings you back in Privileged mode.
  11. Type disable. This will put you into where you begin - the User mode.
  12. Type exit, which will log you out of the router.
  
  Viewing and Saving Configuration
  
  1. Log in the router and go to Privileged mode by typing en or enable, then pre ENTER.
  2. View the configuration running in DRAM, known as running-config, by typing sh run,
   show running, or show running-config. Press any key to continue.
  3. To see the configuration stored in NVRAM, which is known as startup-config, type sh
   start or show startup-config. If no configuration has been save, you will get an error
   message. Please press any key to continue.
  4. To save a configuration from DRAM to NURAM, copy the running-config to startup-config:
   copy run start and press ENTER; or copy running and press Tab; Type start, Press the
   Tab key, and the ENTER; or copy running-config startup-config and press ENTER. or,
   you may use the wr mem command (write memory).
  5. Type sh start, the press the Tab key, the ENTER. Press any key to continue.
  6. Type sh run, the press the Tab key, the ENTER. Press and key to continue.
  7. Type erase start, the press the Tab key, the ENTER. This command will erase all
   startup-config settings.
  8. Type sh start, the press the Tab key, the ENTER. You should get this error message:
   "%% Non-volatile configuration memory has not been setup or has bad checksum"
  9. Type reload, then press ENTER. Acknowledge the reload by pressing ENTER. Wait for the
   router to reload to complete and the Press Enter to continue. You have just cleared all
   previous Router settings. You should now have a clean router to start with.
  
  Static IP Routing Running-config
  
  RouterA#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterA
  !
  !
  !
  interface Ethernet0
  ip address 172.16.10.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.20.1 255.255.255.0
  no fair-queue
  !
  interface Serial1
  no ip address
  shutdown
  !
  !
  no ip classless
  ip route 172.16.30.0 255.255.255.0 172.16.20.2
  ip route 172.16.40.0 255.255.255.0 172.16.20.2
  ip route 172.16.50.0 255.255.255.0 172.16.20.2
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login
  !
  end
  
  
  
  RouterB#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterB
  !
  !
  !
  interface Ethernet0
  ip address 172.16.30.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.20.2 255.255.255.0
  clockrate 56000
  !
  interface Serial1
  ip address 172.16.40.1 255.255.255.0
  clockrate 56000
  !
  no ip classless
  ip route 172.16.10.0 255.255.255.0 172.16.20.1
  ip route 172.16.50.0 255.255.255.0 172.16.40.2
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login
  !
  end
  
  
  RouterC#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterC
  !
  !
  !
  interface Ethernet0
  ip address 172.16.50.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.40.2 255.255.255.0
  no fair-queue
  !
  interface Serial1
  no ip address
  shutdown
  !
  !
  no ip classless
  ip route 172.16.10.0 255.255.255.0 172.16.40.1
  ip route 172.16.20.0 255.255.255.0 172.16.40.1
  ip route 172.16.30.0 255.255.255.0 172.16.40.1
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login
  !
  end
  
  Default IP Routing Running-config
  
  RouterA#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterA
  !
  !
  !
  interface Ethernet0
  ip address 172.16.10.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.20.1 255.255.255.0
  no fair-queue
  !
  interface Serial1
  no ip address
  shutdown
  !
  
  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 172.16.20.2
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login
  !
  end
  
  RouterB#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterB
  !
  !
  !
  interface Ethernet0
  ip address 172.16.30.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.20.2 255.255.255.0
  clockrate 56000
  !
  interface Serial1
  ip address 172.16.40.1 255.255.255.0
  clockrate 56000
  !
  no ip classless
  ip route 172.16.10.0 255.255.255.0 172.16.20.1
  ip route 172.16.50.0 255.255.255.0 172.16.40.2
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login
  !
  end
  
  RouterC#sh run
  Building configuration...
  
  Current configuration:
  !
  version 11.2
  no service password-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname RouterC
  !
  !
  !
  interface Ethernet0
  ip address 172.16.50.1 255.255.255.0
  !
  interface Serial0
  ip address 172.16.40.2 255.255.255.0
  no fair-queue
  !
  interface Serial1
  no ip address
  shutdown
  !
  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 172.16.40.1
  !
  !
  line c
其它资源
来源声明

版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明