1 / 25

Department of Information Technology

Department of Information Technology. ITEC588 – Network Device Configuration. Chapter 2: Basic Router Configuration. Presenter: Dr. Patrick D. Cerna Asst. Professor. : . Chapter 2 Objectives. Connecting to a Cisco Router Command Line Interface (CLI) Administrative functions Hostnames

edolie
Download Presentation

Department of Information Technology

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Department of Information Technology ITEC588 – Network Device Configuration Chapter 2: Basic Router Configuration Presenter: Dr. Patrick D. Cerna Asst. Professor :

  2. Chapter 2 Objectives • Connecting to a Cisco Router • Command Line Interface (CLI) • Administrative functions • Hostnames • Banners • Passwords • Interface descriptions • Verifying your configuration 2

  3. Router Access (Connecting to a Cisco Router - 173) Console port(console) Rollover cable (each end is a mirror-image o/t other) RJ-45 to DB-9 RJ-45 to DB-25 Auxiliary port (AUX) Can function like a console port Or, can accept modem commands, i.e., from sources outside the network (i.e., “out of band”) Virtual terminal (VTY) This is for telnet access This kind of access is from within the network (i.e., “in band”.

  4. Connecting To A Cisco Router Cisco 2811 Cisco 1841

  5. Setup Mode • Basic Management Setup • Extended Setup • Command-Line Interface

  6. Command-Line Interface (CLI) • More flexible than setup mode. • To use the CLI, just say “No” to entering the initial configuration dialog. • Initial prompt consists of two parts • Hostname • Greater than symbol (>) p. 179

  7. Overview of Router Modes • Global changes: • config terminal orconfig t • Changes made to running-config(DRAM) • To change the startup-config(NVRAM) • config memory or config mem • Note: Any configuration changes need to be placed into RAM. • Typing “config mem” or “config net” (from a TFTPhost) will append the current running-config p. 1

  8. Configuration Modes Global configuration mode Router(config)# Interface mode Router(config–if)# Line configuration mode Router(config-line)# Router configuration mode Router(config-router)#

  9. Configuration Modes

  10. Configuration • CLI Prompts • Interfaces • Sub-interfaces • Line Commands • Routing Protocol Configurations

  11. Administrative Functions The administrative functions that you can configure on a router and switch are • Hostnames • Banners • Passwords • Interface descriptions

  12. Hostnames & Descriptions • Hostnames Router(config)#hostname haramaya todd(config)# • Descriptions Atlanta(config)#int e0 Atlanta(config-if)#description cci_lan

  13. Banners • Purpose: welcome message • Types • exec: set EXEC process creation banner • incoming: set incoming terminal line banner • login: login banner • motd: set “Message of the Day” banner • Delimiting character

  14. Banners

  15. Setting the Passwords • 5 passwords: • 1st twoused to set your enable password • Used to secure privileged mode; • Router>enable • Or Router>en (because no other commands at privileged level. begin with “en” • Other three are used to configure a password in user mode via: • console port • auxiliary port • Telnet

  16. Passwords • Enable passwords • Router(config)#enable password cisco • Router(config)#enable secret cisco Note: the secret password supersedes the enable password, i.e., if you set both passwords, you will be asked for the secret password. • Auxiliary Password • Console Password • Telnet Password • Encrypting Your Password Router(config)#service password-encryption

  17. Passwords

  18. Passwords

  19. Passwords

  20. Passwords

  21. Passwords

  22. Interface Descriptions Setting descriptions on an interface is helpful to the administrator and, like the hostname, only locally significant. The description command is a helpful one because you can, for instance, use it to keep track of circuit numbers. Here’s an example: Atlanta(config)#int e0 Atlanta(config-if)#description Sales Lan Atlanta(config-if)#int s0 Atlanta(config-if)#desc Wan to Miami circuit:6fdda4321 You can view the description of an interface either with the show running-config command or the show interfacecommand.

  23. Router Interfaces • Bringing up an Interface no shutdown shutdown show interface • Configuring an IP Address on an Interface Router(config)#int e0 Router(config-if)#ip address 172.16.10.2 255.255.255.0 Router(config-if)#no shut • Serial Interface Commands clock rate & bandwidth (entered in kilobits)

  24. Viewing, & Saving Configurations • Viewing & Saving Configurations • running-config saved in DRAM • startup-config saved in NVRAM copy run start sh run sh start erase startup-config

  25. References: • Glen E. Clarke, CompTIA Network+, 4th ed., 2009 Mc Graw Hill • CCNA Exploration, 2006, Cisco Press • Todd Lammle, CCNA Study Guide, 7th Ed., 2009, Sybex 25

More Related