设为首页收藏本站language 语言切换
查看: 1918|回复: 1
收起左侧

CCNA 实验配置指导

[复制链接]
发表于 2010-8-25 08:17:26 | 显示全部楼层 |阅读模式
  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
发表于 2012-6-12 15:40:19 | 显示全部楼层
沙发 2012-6-12 15:40:19 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 21:56 , Processed in 0.051810 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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