×

Checking Network Connectivity and Troubleshooting

As a Network Engineer, you must know that how to check network connectivity and troubleshoot a network.

There are following commands are used in the network to check and troubleshoot the network connectivity –

1) ping Command

ping is the most commonly used network command. It is used to provide a basic connectivity test between the requesting host and a destination host. It uses the Internet Control Message Protocol (ICMP), which can send an echo packet to a destination host and a mechanism to listen to the response that occurred from the host.

How to use ping Command in packet tracer:

Step1: Open the Cisco Packet Tracer.

Step2: Drag and drop PC from the bottom of the interface into the middle of the working area.

Step3: Click on PC, go to Desktop then Command Prompt.

checking networking
  • At the command prompt, type ping followed by either the hostname or the IP address of the device that you want to test then press enter.

Example: Let’s consider the following topology in which PC wants to communicate with the router.

checking networking 2

To enable communication, first assign the IP address to router and PC. Then go to command prompt and type ping followed by IP address of Router R0, i.e., 192.168.10.1.

If you see the message, “Reply from” followed by the router’s ipaddress, means PC has started communication with the router R0. It is shown in the screenshot given below:

checking networking 3

If you do not see any “Reply” message, then there is a problem related to the connectivity. To troubleshoot this problem check all the interfaces port properly.

2) traceroute Command

traceroute command shows the path that a packet takes to reach a remote device. It uses TTL (Time To Live) and ICMP (Internet Control Message Protocol) protocols to show the error messages “ICMP PORT_UNREACHABLE” occurred through a path.

And if there is no any connectivity issue, then it sends packets to remote host through an internetwork.

How to use traceroute Command in Cisco packet tracer

Step1: Open the cisco packet tracer and create a simple topology as given below.

checking networking 4

Step2: Provide the IP address to the router and PC.

Step 3: Click on PC and go to Command prompt and type tracert followed by the IP address of the device that you want to trace.

In below screenshot, you can see the output of tracert command.

checking networking 5

3) Debug Command

Debug is a troubleshooting command that is available at the privileged exec mode. It is used to display information about the operations of the router. And also give information related to generated traffic or received by the router, with an error message.

To see information about the debug we use debug ? Command.

checking networking 6

We can also use debug all command, which generates more output as compared to debug? command. But it can decrease the router’s performance in some cases.

4) show processes Command

show processes command is used for determining the router’s CPU utilization. We use show processes command to see a list of active processes along with their corresponding process IDs, priority, status (PC Runtime), uSecs, number of times invoked, Stacks, and TTY process.

checking networking 7

Related Topics

Power on a Cisco device

Power on a Cisco device When you power on a new purchased Cisco device for the first time, it performs a power-on-self-test (POST) operation to identify the hardware components and to verify that all...

1 minute read.

Download and Install the Cisco Packet Tracer

Download and Install the Cisco Packet Tracer Step1: -Download Cisco Packet Tracer from the link given below: https://arief-jr.blogspot.com/2016/01/download-cisco-packet-tracer-62-for.html Here we will download Cisco packet tracer for Windows OS, so for Windows, go for...

1 minute read.

Cisco IOS Overview

Cisco IOS Overview Cisco Internetwork Operating System (IOS) is a multitasking operating system which controls all functions of Cisco routers and switches. Willaim Yeager wrote the first IOS in 1986.It is used to allocate resources and manages...

2 minutes read.

Configure IP address to Router and PC in Packet Tracer

Configure IP address to Router and PC in Packet Tracer As a Network Engineer, it is compulsory to know how to configure an IP Address on networking devices like Router, Switch, PC, and Server.Assigning...

3 minutes read.

Subnetting

Subnetting is the process of dividing a big network into many small networks. Suppose there is a company which has four departments like Development, HR, Marketing, and Testing. We don't want that all...

5 minutes read.

Configuring Catalyst Switches

When you power on a new purchased Switch for the first time, it runs a series of Power-On Self Tests (POSTs) operations. A  POST is designed to verify the basic operations of the...

3 minutes read.

Configuring IP Routing in Our Network

There are 3 types of IP routing that we can configure in our network. Default RoutingStatic RoutingDynamic Routing Default Routing Default Routing is used to configure unknown destination networks.It is used on stub networks. Stub networks are...

3 minutes read.

Variable Length Subnet Masks (VLSMs)

Variable Length Subnet Masks (VLSMs) A VLSM is a process of allocating IP addresses to the subnets according to the user’s need.VLSM is introduced to avoid the wastage of IP addresses.It allows you to...

3 minutes read.

VLAN Basics

VLAN stands for Virtual Local Area Network. It is a logical group of networking devices that allows a single extended LAN to be partitioned into several separate LANs. The important feature of...

4 minutes read.

Routing Basics

Routing is the process of delivering a message across one or more networks by choosing the most appropriate path.It is performed by many kinds of networks like telephone network (Circuit Switching), electronic data networks...

2 minutes read.

The OSI Reference Model

OSI Reference Model OSI stands for Open System Interconnection. OSI provides a framework for creating and implementing networking standards, devices, and internetworking schemes. The following devices operate at the OSI model: Network...

6 minutes read.

Configuring EIGRP

Consider the topology given below – The initial IP configuration table is given below: Devices Interface IP address Router1 ...

2 minutes read.

CCNA Tutorial

What is CCNA? CCNA stands for Cisco Certified Network Associate. It is a certification course offered by Cisco. CCNA improves your understanding of the internet working and how different network topologies work...

3 minutes read.

Getting familiar with the IOS modes

  There are following primary modes of operation in IOS. Setup ModeUser Exec ModePrivileged Exec ModeGlobal Configuration ModeInterface Configuration ModeRommon Mode Setup Mode In router or switches, all configurations are saved in NVRAM.If there is no...

3 minutes read.

Internetworking Basics

What is a Network? A network is a group of two or more devices connected by some transmission media, i.e., cables. The purpose of designing a network is to enable the sharing...

4 minutes read.

Types of Spanning Tree Protocol

There are the following types of Spanning Tree Protocol – 1. Common Spanning Tree (802.1D) A Common Spanning Tree (802.1D) standard is developed by IEEE which elects only one Root Bridge for the...

2 minutes read.

Saving, Erasing, and Verifying Configuration

Saving Configuration Cisco device store commands information into two configuration files: running configurationstartup configuration running configuration In the running configuration, you can manually save the data from RAM to NVRAM by typing the copy running-config startup-config command. When you...

3 minutes read.

Classes of IP Addresses

Classes of IP Addresses There are following five classes of IP Addresses: Class A – It is used for allocating an IP address.Class B - It is used for allocating an IP address.Class C – It...

6 minutes read.

Static Routing

Static Routing Static Routing is the process in which static routes are manually added to the routing table through the direct configuration. Static routing is configured in the global configuration mode using syntax: Router(config)#ip route...

3 minutes read.

EIGRP Basics

EIGRP stands for Enhanced Interior Gateway Routing Protocol. It is also called as the Hybrid routing protocol. It contains the features of both distance vector and link-state routing protocols. Characteristics of EIGRP There are the...

5 minutes read.