1 / 16

CNAP: Semester 2 ver. 2.1

CNAP: Semester 2 ver. 2.1. Introduction to Router Configurations Or, “What The Heck Does That Line Do?” Bob Meyers, CCNA, CCAI Youngstown State University Sept. 2000. Semester 2 Objectives. Configure all routers and PC’s given the teacher topology.

silas
Download Presentation

CNAP: Semester 2 ver. 2.1

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. CNAP: Semester 2 ver. 2.1 Introduction to Router Configurations Or, “What The Heck Does That Line Do?” Bob Meyers, CCNA, CCAI Youngstown State University Sept. 2000

  2. Semester 2 Objectives • Configure all routers and PC’s given the teacher topology. • Build and configure a complete network given an IP addressing space and a topology. • Troubleshoot connectivity problems in both topologies. RE Meyers, CCNA, CCAI

  3. Learning Problem • It’s hard to accomplish the objectives if you do not understand what each line of a running configuration means to network connectivity. RE Meyers, CCNA, CCAI

  4. Learning Problem Solution • Look at each line of a properly configured CNAP Teaching Topology. • Determine how each line contributes to the complete connectivity of the working Teacher Topology. • Examine what IOS programming commands enable the running configuration results. RE Meyers, CCNA, CCAI

  5. Teaching Topology • Don’t even think about starting a project without a clean copy of the topology and interface charts! • Unless you enjoy getting totally lost ... RE Meyers, CCNA, CCAI

  6. How to use the presentation • Each slide lists lines of the configuration, with an explanation next to it in black font. • Some of the configuration commands listed are not covered in the CCNA. • Those lines will be highlighted inblue, and canbe ignored for now. • A brief description will be given of those lines for the curious. • The “notes view” of each slide has the configuration listed and line numbered. • Line numbering does not occur when programming or viewing the configuration. It is done here for convenience! RE Meyers, CCNA, CCAI

  7. ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Lab-A ! enable secret 5 $1$qBZW$2VeiHaAEdG89KRwYu3LEF1 ! no ip subnet-zero Line separator/comments The Cisco IOS version in use. Timestamps debugging messages Time since system reboot. Stops encryption of ALL passwords. Line separator; comments Name given to the router. Separator Encrypted enable mode password. Separator Disables ability to recover addresses lost when sub netting. Configuration for Router Lab-A RE Meyers, CCNA, CCAI

  8. ip host Lab-B 201.100.11.2 219.17.100.1 199.6.13.1 ip host Lab-C 199.6.13.2 223.8.151.1 204.204.7.1 ip host Lab-D 204.204.7.2 210.93.105.1 ip host Lab-E 210.93.105.2 ip host Lab-A 192.5.5.1 205.7.5.1 201.100.11.1 ! 12–16. “DNS” resolution. Resolves the router name to the IP addresses that are configured on that router’s interfaces. Allows you to just type in the name of the router when using telnet. The router compares the name to this table and routes the telnet session according to the IP’s listed here. 17. Separator Lab-A Configuration (cont.) RE Meyers, CCNA, CCAI

  9. ! ! interface Ethernet0 ip address 192.5.5.1 255.255.255.0 no ip directed-broadcast no shutdown ! interface Ethernet1 ip address 205.7.5.1 255.255.255.0 no ip directed-broadcast no shutdown ! Separator Separator Configure the first Ethernet port, E0 Assign IP and subnet mask to Ethernet port E0 All IP directed broadcasts are dropped Forces the port to stay open/up. Separator Configure the second Ethernet port, E1 Assigns IP and Subnet mask to Ethernet port E1 All IP directed broadcasts are dropped Forces the port to stay open/up. Separator Lab-A Configuration (cont.) RE Meyers, CCNA, CCAI

  10. interface Serial0 ip address 201.100.11.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 no shutdown ! interface Serial1 no ip address no ip directed-broadcast shutdown ! Configure first serial port S0 Assigns an IP and subnet mask to serial port S0 All IP directed broadcasts are dropped. Disables IP multicast fast switching. Disables S0 traffic priority management. Sets S0 clock rate at 56KBps Keeps S0 up. Prevents shutdown. Separator Configure second serial interface S1. No layer 3 address is assigned. All IP directed broadcasts are dropped. S1 is administratively forced to shutdown. Separator Lab-A Configuration (cont.) RE Meyers, CCNA, CCAI

  11. router rip network 192.5.5.0 network 201.100.11.0 network 205.7.5.0 ! no ip classless ! Starts RIP routing protocol 44 – 46. Tells the router to send and accept RIP updates to and from the IP networks listed. Separator Discards packets for a subnet that fall within its subnetwork addressing scheme if there is no such subnet number in the routing table and there is no network default route. Separator Lab-A Configuration (cont.) RE Meyers, CCNA, CCAI

  12. ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! end Line separator Configure the console port. Create the password “cisco” Assign it to the console login VTY sessions only on this port. Configure the first aux port. Allow 5 simultaneous telnet sessions. Create the password “cisco” Assign it to Telnet login sessions. Separator End of configuration. Lab-A Configuration (cont.) RE Meyers, CCNA, CCAI

  13. Separator Cisco IOS version currently in use. Put a time on each debug message. Start a timer to show how long the router’s been running. Don’t encrypt all the passwords, just do the ones I select as secret. Separator The name given to the router. Separator (again) The privileged mode password after it’s been encrypted for secrecy. Pay attention – this is a line separator. Subnet the way we learned it, and lose the first and last subnets. These are the IP addresses that are used by a router named Lab-B These are the IP’s used by the router named Lab –C Guess who uses these IP addresses? Guess again. Guess one more time. I’m not telling you again about the “separator.” I mean it. I really mean it! Time to configure the first Ethernet port, E0. Here’s the IP and the subnet for the port. Stop all IP broadcasts right here! Please don’t let E0 shutdown make me crazy wondering why I can’t connect. “Plain English” Line by Line Explanation. RE Meyers, CCNA, CCAI

  14. I refuse to answer. Get the second ethernet port, E1, ready for configuration. Give E1 this IP and subnet address. Stop all IP broadcasts from entering this port from the LAN. Don’t shutdown this port. Please? See 24. Get the first serial port, S0, ready for configuration. Assign this IP and subnet mask to S0. Stop those @##$* IP broadcast messages! Do not allow fast switching – whatever the heck it is anyway. Don’t use the fancy packet management system on this interface, ‘cause I don’t know how it works – yet. S0 is DCE connection, so it needs to provide the clock rate. 56,000 Bps sounds like a good number. If this interface shuts down I’ll lose my link to all the other routers. So don’t. See 29. Let’s configure the second serial interface, S1. Hey if it’s second, why is it labeled S1? I’m not using it so don’t give it an IP. Stop those pesky IP broadcasts again. Even though I’m still not using this port. Not using it you say? Then shut it down. “Plain English” Line by Line Explanation. RE Meyers, CCNA, CCAI

  15. You talking to me? This router will now use RIP as the routing protocol. Accept, and send routing updates, to and from this network address. Do it on this network address, too. Ditto. Still means what it did 5 slides ago! There’s a way to recover the 2 lost addresses when sub netting, but don’t use it till we learn it. Running out of clever retorts for this sucker. Ask one more time and I’m outta here. Configure the console port. Make “cisco” a password. Take the password “cisco” and make it the login challenge when anybody connects to the console port. There are other ways to use the console port, but let’s make a terminal program the only thing the port will recognize. Open the AUX port for configuration. But don’t do anything to it.(?) Configure all incoming Telnet sessions, and limit them to 5 simultaneous connections (0, 1, 2, 3, 4). Create the password “cisco.” You can use any other alphanumeric string if you want. Use “cisco” as the password for all incoming Telnet login challenges. I warned you, didn’t I? Outta here. “Plain English” Line by Line Explanation. RE Meyers, CCNA, CCAI

  16. The other router configurations can be analyzed the exact same way. Try it for yourself! RE Meyers, CCNA, CCAI END

More Related