You are on page 1of 42

www.youtube.

com/shahinazelkasrawy

Chapter #15
Volume #1

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Operating Cisco Routers

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

In This Chapter

▪ 1.0 Network Fundamentals


▪ 1.1 Explain the role and function of network components
▪ 1.1.a Routers
▪ 1.2 Describe characteristics of network topology architectures
▪ 1.2.e Small office/home office (SOHO)
▪ 1.6 Configure and verify IPv4 addressing and subnetting

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Model 4321 Cisco Integrated Services Router (ISR)

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Accessing the Router CLI

• Accessing a router’s command-line interface (CLI) works much


like a switch. In fact, it works so much like accessing a Cisco
switch CLI that this book relies on Chapter 4 instead of repeating
the same details here.

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Highlights

• ■ User and Enable (privileged) mode

• ■ Entering and exiting configuration mode, using the configure terminal, end, and exit commands and the Ctrl+Z key
sequence

• ■ Configuration of console, Telnet (vty), and enable secret passwords

• ■ Configuration of Secure Shell (SSH) encryption keys and username/password login credentials

• ■ Configuration of the hostname and interface description

• ■ Configuration of Ethernet interfaces that can negotiate speed using the speed and duplex Commands

• ■ Configuration of an interface to be administratively disabled (shutdown) and administratively enabled (no shutdown)

• ■ Navigation through different configuration mode contexts using commands like line console 0 and interface type
number

• ■ CLI help, command editing, and command recall features


6
• ■ The meaning and use of the startup-config (in NVRAM), running-config (in RAM), and external servers (like TFTP),
www.facebook.com/eng.shahinaz
along with how to use the copy command to copy the configuration files and IOS images
www.youtube.com/shahinazelkasrawy

Router Interfaces

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Listing the Interfaces in a Router

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Typical Combinations of Interface Status Codes

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Router Interface IP Addresses

• ■ Most Cisco router interfaces default to a disabled (shutdown)


state and should be enabled with the no shutdown interface
subcommand.
• ■ Cisco routers do not route IP packets in or out an interface until
an IP address and mask have been configured; by default, no
interfaces have an IP address and mask.
• ■ Cisco routers attempt to route IP packets for any interfaces that
are in an up/up state and that have an IP address/mask assigned.
10

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Configuring IP Addresses on Cisco Routers

11

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

12

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Verifying IP Addresses on Cisco Routers

13

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Bandwidth and Clock Rate on Serial Interfaces

• Cisco has included serial WAN topics in the CCNA exam topic
list since its inception in 1998 until the CCNA 200-301 release in
the year 2019. Because the CCNA 200-301 exam is the first to
not mention serial technologies at all, this book includes some
examples that show serial links.

14

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Chapter #16
Volume #1

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Configuring IPv4 Addresses and Static Routes

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

In This Chapter

▪ 1.0 Network Fundamentals 3.1.f Metric


3.1.g Gateway of last resort
▪ 1.6 Configure and verify IPv4 3.2 Determine how a router makes a
addressing and subnetting forwarding decision by default
▪ 3.0 IP Connectivity 3.2.a Longest match
▪ 3.1 Interpret the components 3.2.b Administrative distance
of routing table 3.3 Configure and verify IPv4 and
IPv6 static routing
▪ 3.1.a Routing protocol code 3.3.a Default route
▪ 3.1.b Prefix 3.3.b Network route
▪ 3.1.c Network mask 3.3.c Host route
3.3.d Floating static
▪ 3.1.d Next hop 17
▪ 3.1.e Administrative distance
www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

IP Routing

• IP routing delivers IP packets from the sending host to the


destination host.
• The complete end-to-end routing process relies on network layer
logic on hosts and on routers.
• The process requires Layer 3 logic on the routers as well, by
which the routers compare the destination address in the packet to
their routing tables, to decide where to forward the IP packet
next.
18

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

IPv4 Routing Process Reference

• Step 1. If the destination is local, send directly:


▫ A. Find the destination host’s MAC address. Use the already-known Address
Resolution Protocol (ARP) table entry, or use ARP messages to learn the
information.
▫ B. Encapsulate the IP packet in a data-link frame, with the destination
data-link address of the destination host.
• Step 2. If the destination is not local, send to the default gateway:
▫ A. Find the default gateway’s MAC address. Use the already-known
Address Resolution Protocol (ARP) table entry, or use ARP messages to
learn the information.
▫ B. Encapsulate the IP packet in a data-link frame, with the destination
data-link address of the default gateway. 19

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Router Routing Logic Summary

20

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

An Example of IP Routing

21

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Host A Sends Packet to Host B

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Routing Step 1, on Router R1: Checking FCS and Destination MAC

23

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Routing Step 2 on Router R1: De-encapsulating the Packet

24

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Routing Step 3 on Router R1: Matching the Routing Table

25

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Routing Step 4 on Router R1: Encapsulating the Packet

26

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Routing Step 4 on Router R1 with a LAN Outgoing Interface

27

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Configuring IP Addresses and Connected Routes

• Connected routes: Added because of the configuration of the ip


address interface subcommand on the local router
• Static routes: Added because of the configuration of the ip route
global command on the local router
• Routing protocols: Added as a function by configuration on all
routers, resulting in a process by which routers dynamically tell
each other about the network so that they all learn routes

28

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

The ip address Command

29

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Connected and Local Routes on Router R1

30

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

The ARP Table on a Cisco Router

31

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Configuring Static Routes

32

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Static Network Routes

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Static Host Routes

An engineer might use host routes to direct packets sent to one hos
over one path, with all other traffic to that host’s subnet over some other
path. For instance, you could define these two static routes for subnet
10.1.1.0/24 and host 10.1.1.9, with two different next-hop addresses

34

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Floating Static Routes

• subnet. In these cases, the router must first decide which routing
source has the better administrative distance, with lower being
better, and then use the route learned from the better source.
• For example, the ip route 172.16.2.0 255.255.255.0 172.16.5.3
130

35

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Static Default Routes

36

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Adding a Static Default Route on R2

37

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Troubleshooting Static Routes

• ■ The route is in the routing table but is incorrect.


• ■ The route is not in the routing table.
• ■ The route is in the routing table and is correct, but the packets
do not arrive at the destination host.

38

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Using show ip route to Find the Best Route

39

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Descriptions of the show ip route Command Output

40

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Descriptions of the show ip route Command Output

41

www.facebook.com/eng.shahinaz
www.youtube.com/shahinazelkasrawy

Good Luck ☺
Eng. Shahinaz Elkasrawy

www.facebook.com/eng.shahinaz

You might also like