CONFIGURING  A ROUTER       TS, PHẠM VĂN TÍNH <ul><li>PART8 </li></ul>
<ul><li>Objective </li></ul><ul><li>Name a router  </li></ul><ul><li>Set passwords  </li></ul><ul><li>Examine show command...
<ul><li>Global Configuration Mode  </li></ul><ul><li>All command-line interface (CLI) configuration changes to a Cisco rou...
<ul><li>Overview of Router Modes </li></ul>
<ul><li>Configuring a router name </li></ul><ul><li>Router(config)# hostname  Tokyo </li></ul><ul><li>Tokyo(config)#   </l...
<ul><li>Configuring router passwords   </li></ul>enable secret  <password>
<ul><li>Examining the show commands   </li></ul><ul><li>show interfaces  – Displays all the statistics for all the interfa...
<ul><li>Examining the show commands   </li></ul><ul><li>show clock  – Shows the time set in the router  </li></ul><ul><li>...
<ul><li>Configuring a serial interface   </li></ul><ul><li>Enter global configuration mode  </li></ul><ul><li>Enter interf...
<ul><li>Interface Configuration Commands </li></ul>
<ul><li>Serial Interface Configuration Example </li></ul><ul><li>Router# configure  terminal </li></ul><ul><li>Router(conf...
<ul><li>Executing adds, moves, and changes   </li></ul>
<ul><li>Configuring an Ethernet interface   </li></ul><ul><li>Enter global configuration mode  </li></ul><ul><li>Enter int...
<ul><li>Configuring interface description   </li></ul><ul><li>Enter global configuration mode by entering the command  con...
<ul><li>Configuring interface description   </li></ul>
<ul><li>Configuring message-of-the-day (MOTD)   </li></ul><ul><li>Enter global configuration mode by using the command  co...
<ul><li>Configuring message-of-the-day (MOTD)   </li></ul>
<ul><li>Host name resolution   </li></ul><ul><li>to associate a host name with an IP address.  </li></ul><ul><li>A list of...
<ul><li>Configuring host tables   </li></ul><ul><li>Enter global configuration mode in the router.  </li></ul><ul><li>Ente...
<ul><li>Copying, editing, and pasting configurations   </li></ul><ul><li>A current copy of the configuration can be stored...
<ul><li>Store Configuration on a TFTP </li></ul>
<ul><li>Restore Configuration from a TFTP </li></ul>
<ul><li>Working with release 11.x </li></ul>
<ul><li>Working with pre-Release 11.0 </li></ul>
<ul><li>Summary   </li></ul><ul><li>The router has several modes:   </li></ul><ul><ul><li>User EXEC mode  </li></ul></ul><...
Upcoming SlideShare
Loading in …5
×

Chapter 04 - Router Conf

1,455 views

Published on

Published in: Education
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,455
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
135
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Chapter 04 - Router Conf

  1. 1. CONFIGURING A ROUTER TS, PHẠM VĂN TÍNH <ul><li>PART8 </li></ul>
  2. 2. <ul><li>Objective </li></ul><ul><li>Name a router </li></ul><ul><li>Set passwords </li></ul><ul><li>Examine show commands </li></ul><ul><li>Configure a serial interface </li></ul><ul><li>Configure an Ethernet interface </li></ul><ul><li>Execute changes to a router </li></ul><ul><li>Save changes to a router </li></ul><ul><li>Configure an interface description </li></ul><ul><li>Configure a message-of-the-day banner </li></ul><ul><li>Configure host tables </li></ul><ul><li>Understand the importance of backups and documentation </li></ul>
  3. 3. <ul><li>Global Configuration Mode </li></ul><ul><li>All command-line interface (CLI) configuration changes to a Cisco router are made from the global configuration mode. For Examples: </li></ul><ul><ul><li>Interface mode </li></ul></ul><ul><ul><li>Line mode </li></ul></ul><ul><ul><li>Router mode </li></ul></ul><ul><ul><li>Subinterface mode </li></ul></ul><ul><ul><li>Controller mode </li></ul></ul><ul><ul><li>Router# configure terminal </li></ul></ul><ul><ul><li>Router(config)# </li></ul></ul><ul><ul><li>exit : Returns the router to global configuration mode from one of these specific configuration modes </li></ul></ul><ul><ul><li>Ctrl-Z : Returns the router to privileged EXEC mode </li></ul></ul>
  4. 4. <ul><li>Overview of Router Modes </li></ul>
  5. 5. <ul><li>Configuring a router name </li></ul><ul><li>Router(config)# hostname Tokyo </li></ul><ul><li>Tokyo(config)# </li></ul>
  6. 6. <ul><li>Configuring router passwords </li></ul>enable secret <password>
  7. 7. <ul><li>Examining the show commands </li></ul><ul><li>show interfaces – Displays all the statistics for all the interfaces on the router. For example: Router#show interfaces serial 0/1 </li></ul><ul><li>show controllers serial – Displays information-specific to the interface hardware </li></ul><ul><li>show version – Displays information about the router and the IOS that is running in RAM </li></ul><ul><li>show protocol – Displays the global and interface specific status of any configured Layer 3 protocols </li></ul><ul><li>show startup-config – Displays the saved configuration located in NVRAM </li></ul><ul><li>show running-config – Displays the configuration currently running in RAM </li></ul>
  8. 8. <ul><li>Examining the show commands </li></ul><ul><li>show clock – Shows the time set in the router </li></ul><ul><li>show hosts – Displays a cached list of host names and addresses </li></ul><ul><li>show users – Displays all users who are connected to the router </li></ul><ul><li>show history – Displays a history of commands that have been entered </li></ul><ul><li>show flash – Displays information about flash memory and what IOS files are stored there </li></ul><ul><li>show ARP – Displays the ARP table of the router </li></ul>
  9. 9. <ul><li>Configuring a serial interface </li></ul><ul><li>Enter global configuration mode </li></ul><ul><li>Enter interface mode </li></ul><ul><li>Specify the interface address and subnet mask </li></ul><ul><li>Set clock rate if a DCE cable is connected. Skip this step if a DTE cable is connected. </li></ul><ul><li>Turn on the interface </li></ul><ul><li>Router(config)# interface serial 0/0 </li></ul><ul><li>Router(config-if)# ip address < ip address > < netmask > </li></ul><ul><li>Router(config-if)# clock rate < clock rates > </li></ul><ul><li>The available clock rates in bits per second are: 1200, 2400, 9600, 19200, 38400, 56000, 64000, 72000, 125000, 148000, 500000, 800000, 1000000, 1300000, 2000000, or 4000000. </li></ul>
  10. 10. <ul><li>Interface Configuration Commands </li></ul>
  11. 11. <ul><li>Serial Interface Configuration Example </li></ul><ul><li>Router# configure terminal </li></ul><ul><li>Router(config)# interface serial 0/0 </li></ul><ul><li>Router(config-if)# ip address 192.168.1.1 255.255.255.0 </li></ul><ul><li>Router(config-if)# clock rate 56000 </li></ul><ul><li>Router(config-if)# no shutdown </li></ul><ul><li>Router(config-if)# exit </li></ul>
  12. 12. <ul><li>Executing adds, moves, and changes </li></ul>
  13. 13. <ul><li>Configuring an Ethernet interface </li></ul><ul><li>Enter global configuration mode </li></ul><ul><li>Enter interface configuration mode </li></ul><ul><li>Specify the interface address and subnet mask </li></ul><ul><li>Enable the interface </li></ul><ul><li>Router# configure terminal </li></ul><ul><li>Router(config)# interface e0 </li></ul><ul><li>Router(config-if)# ip address 192.168.1.1 255.255.255.0 </li></ul><ul><li>Router(config-if)# no shutdown </li></ul><ul><li>Router(config-if)# exit </li></ul>
  14. 14. <ul><li>Configuring interface description </li></ul><ul><li>Enter global configuration mode by entering the command configure terminal . </li></ul><ul><li>Enter specific interface mode (for example interface Ethernet 0) interface ethernet 0 . </li></ul><ul><li>Enter the command description followed by the information that is to be displayed. For example, XYZ Network, Building 18 . </li></ul><ul><li>Exit interface mode back to privileged EXEC mode by using the command ctrl-Z . </li></ul><ul><li>Save the configuration changes to NVRAM by using the command copy running-config startup-config . </li></ul>
  15. 15. <ul><li>Configuring interface description </li></ul>
  16. 16. <ul><li>Configuring message-of-the-day (MOTD) </li></ul><ul><li>Enter global configuration mode by using the command configure terminal . </li></ul><ul><li>Enter the command banner motd # The message of the day goes here # . </li></ul><ul><li>Save changes by issuing the command copy running-config startup-config . </li></ul>
  17. 17. <ul><li>Configuring message-of-the-day (MOTD) </li></ul>
  18. 18. <ul><li>Host name resolution </li></ul><ul><li>to associate a host name with an IP address. </li></ul><ul><li>A list of host names and their associated IP addresses is called a host table. </li></ul><ul><li>Host names, unlike DNS names, are significant only on the router on which they are configured. </li></ul>
  19. 19. <ul><li>Configuring host tables </li></ul><ul><li>Enter global configuration mode in the router. </li></ul><ul><li>Enter the command ip host followed by the name of the router and all IP addresses associated with the interfaces on each router. </li></ul><ul><li>Continue entering until all routers in the network are entered. </li></ul><ul><li>Save the configuration to NVRAM. </li></ul>
  20. 20. <ul><li>Copying, editing, and pasting configurations </li></ul><ul><li>A current copy of the configuration can be stored on a TFTP server. The copy running-config tftp command: </li></ul><ul><li>Step 1 : Enter the copy running-config tftp command. </li></ul><ul><li>Step 2 : Enter the IP address of the host where the configuration file will be stored. </li></ul><ul><li>Step 3 : Enter the name to assign to the configuration file. </li></ul><ul><li>Step 4 : Confirm the choices by answering yes each time. </li></ul>
  21. 21. <ul><li>Store Configuration on a TFTP </li></ul>
  22. 22. <ul><li>Restore Configuration from a TFTP </li></ul>
  23. 23. <ul><li>Working with release 11.x </li></ul>
  24. 24. <ul><li>Working with pre-Release 11.0 </li></ul>
  25. 25. <ul><li>Summary </li></ul><ul><li>The router has several modes: </li></ul><ul><ul><li>User EXEC mode </li></ul></ul><ul><ul><li>Privileged EXEC mode </li></ul></ul><ul><ul><li>Global configuration mode </li></ul></ul><ul><ul><li>Other configuration modes </li></ul></ul><ul><li>The command-line interface may be used to make changes to the configuration: </li></ul><ul><ul><li>Setting the hostname </li></ul></ul><ul><ul><li>Setting passwords </li></ul></ul><ul><ul><li>Configuring interfaces </li></ul></ul><ul><ul><li>Modifying configurations </li></ul></ul><ul><ul><li>Showing configurations </li></ul></ul><ul><ul><li>Setting the Interface descriptions </li></ul></ul><ul><ul><li>Setting the Login banners and messages-of-the-day </li></ul></ul>

×