Configuring and Testing your Network
On the previous chapter we plan for our network, we decide to the devices to be use even the cables that are going to connect to the network also we assign the appropriate addresses in each work stations. Now, we are going to configure and test the network. The CISCO IOS or Internetwork Operating System is the system software in CISCO device that is very much useful in the configuration it is used for LAN switches, routers, and other devices. This provides: basic routing and switching functions, reliable and secure access to networked resources, and network scalability. To access the CLI environment the most common methods are: console, telnet or SSH, AUX port. The console port provides out-of-bound access to a router and it often access the device even when the network services of that device have not been started or have failed. The Telnet and SSH, the Telnet is considered as the method for remotely accessing a CLI session and it requires active networking services on the device. The SSH or Secure Shell is the protocol that is more secure in terms of remote device access and it provides a stronger password authentication through the use of encryption. AUX port or Auxiliary port is almost similar to console port since they have both direct connection to the computer running terminal, but the AUX port can only be useful by the time the console port has problem like unknown parameter.
A CISCO network device in terms of configuration contains two types: startup configuration file and running configuration file. During the current operation of the device the running configuration is used, when setting a backup of the configuration you had made and loading it as the device started the startup configuration is used. As mentioned that the CISCO IOS is a modal operating system, modal to the point that it contains different modes: user executive mode, privileged executive mode, global configuration mode, and other modes. Each mode has a particular task in the configuration since it determines whether what nodes you are in, during the configuration. The mode that we call as user executive mode is the first mode that prompt before the other, and its argument always ends with greater than “>” like for example router>, that means your privilege as a user is that you can only view the configuration of the router or switch. The privilege mode which is next to the executive mode in the modal structure is the mode that has an argument ends with number sign “#” for example router#, and when you entered the privilege it means that you have all the privilege in changing the configuration of the router or switch, especially if you reach the global configuration mode. When we talks about Global Configuration Mode in your configuration it look like this Router(config)#, and it means that you are on your way to your configuration. There is also what we call as Specific Mode contains: interface mode, line mode, and router mode. Several commands will then follow, for examinations purposes the show command is use and many other commands especially on setting the passwords in each ports, the clock rates, interfaces configuration, renaming the router, banner motd or message of the day and many others. And when the entire configuration had done it is important to save it to the startup configuration or NVRAM for the purpose of backup in case of problem.
Testing your network after several set ups and configurations is needed to insure that your connections or configurations are correct. The most common commands to determine your network connectivity are the ping and the tracert. The ping command will try to communicate to the target host using its IP address the clear illustrations may look like as follows:
C:\>ping 10.0.0.5
A successful reply would resemble:
Reply from 10.0.0.5: bytes=32 time<1ms TTL=128
Reply from 10.0.0.5: bytes=32 time<1ms TTL=128
Reply from 10.0.0.5: bytes=32 time<1ms TTL=128
Reply from 10.0.0.5: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.0.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
The above ping shows that the certain host is connected to the host that has an IP 10.0.0.5, since there is a reply from it and base from the result there is no packet lost. In tracing a ping or connection the tracert command is useful, the example of it is shown below:
C:\>tracert 192.168.11.1
Tracing route to 192.168.11.1 over a maximum of 30 hops
1 * * * Request timed out.
2 * * * Request timed out.
3 ^C
The above traceroute result shows the default gateway responds, indicating that there is communication between Host1 and the gateway. On the other hand, the gateway does not appear to be responding to traceroute.
Key terms
1. IOS – known as Internetwork Operating System. This is the Operating System used by the CISCO devices.
2. Global Configuration Mode- where we can configure global parameters or enter other configuration submodes.
3. Aux port – also known as Auxiliary port, that is used for out-of-bound connectivity with the router.
4. Console port – port that which we can connect a computer with a terminal emulator to the device in order to configure the device.
5. traceroute – or tracert in the CLI, is a tool or command that shows the path in a real-time from the path to the destination device.