Using show cdp neighbors Command in Cisco Network Device

In this article, there is another command which is important to be looked out for. It is the command which is executed in the command prompt of Cisco’s network device generally. It can be classified as generally Cisco-based command since it is using CDP (Cisco Discovery Protocol).

CDP itself is a propietary protocol designed by Cisco Systems. For detail information specified in Wikipedia site, CDP or The Cisco Discovery Protocol (CDP) is a proprietary Data Link Layer protocol developed by Cisco Systems. It is used to share information about other directly connected Cisco equipment, such as the operating system version and IP address. CDP can also be used for On-Demand Routing, which is a method of including routing information in CDP announcements so that dynamic routing protocols do not need to be used in simple networks.

For further information about CDP, please refer to this link in Wikipedia or in the Cisco official page. One of the command specifically using the CDP (Cisco Discovery Protocol) is the command below :

Continue reading “Using show cdp neighbors Command in Cisco Network Device”

Show MAC Address in Cisco via Command

In this article, there will be an information delivered on how to check MAC Address in Cisco Network Devices in the Command Line.

Cisco Network Devices such as Routers, Switches maintains static MAC address entries that are saved in its startup configuration across reboots and flushes the dynamic entries.

So, in order to display that information about the MAC address entries which is displayed in the form of a table, use the show mac address-table command and type it in the command prompt provided in the CLI (Command Line Interface) within  the privilege command mode.

To enable a privilege command mode in a router, read the following article title ‘Enabling Cisco Network Device to Permit Privilege Command’ in this link. After enabling privilege command mode has already done successfully, type the ‘show mac address-table’ command in it as shown below :

Continue reading “Show MAC Address in Cisco via Command”

Enabling Cisco Network Device to Permit Privilege Command

This is series of articles used to describe on how to perform several functions on Cisco-based Network Device. Generally, if those devices such as Router or Switch doesn’t exist or it is very difficult to manage ourselves for getting our own hands on it, Cisco has given an option to be able to just simulate the functions executed in order to configure those devices further.

Cisco has provided an utility which can be used to simulate several commands which can be run similar with the one performed in real devices. The program or app is called Packet Tracer. By using this tool called Packet Tracer, it is quite convenient since it can be installed in local PC. In general, most of the functions available on Cisco’s networking devices can be performed in this simulator.

Packet Tracer itself is explained in Cisco’s official website located in this link, where Cisco Packet Tracer is a powerful network simulation program that allows students to experiment with network behavior and ask “what if” questions. As an integral part of the Networking Academy comprehensive learning experience, Packet Tracer provides simulation, visualization, authoring, assessment, and collaboration capabilities and facilitates the teaching and learning of complex technology concepts.

Basically, it is quite innovative to provide network simulation and visualization tool and helps practicing configuration skills in the desktop or mobile device without having to own the real networking device at all. Below is the step performing how to enable or turn on privilege command mode :

Continue reading “Enabling Cisco Network Device to Permit Privilege Command”

Stop Gitlab via Command Line

In this article, stopping Gitlab’s service will be an action which is an important information to be recognized. Especially if there is a conflict for port usage with another service or application running since the port configuration will have to change Gitlab’s configuration file and going further, the service itself needs to be restarted or to be stop before the service is finally executed to start again.

The command which is used to stop Gitlab’s service is easy and it is actually comprise of short command as shown below :

gitlab-ctl stop

If the command is successfully executed, the output of the above command can be shown as follows :

Continue reading “Stop Gitlab via Command Line”

Check Gitlab Status via Command Line

To be able to check the status of Gitlab, off course the important thing is to have gitlab itself installed. The installation process can be read in the following article after titled ‘Install Gitlab on CentOS 7 via Command Line’ in this link. Another important reference which can be used in an article titled ‘Install Gitlab on Ubuntu via Command Line in the following link.

After installing Gitlab, to be able to run it perfectly, just read the following article which is explaining on how to run Gitlab’s service in the following article titled ‘Start Gitlab via Command Line’. The article can be visited in the following link.

So, the command to view the current status of Gitlab’s service is shown below :

gitlab-ctl status

The output of the above executed command is actually viewed as follows :

Continue reading “Check Gitlab Status via Command Line”

Start Gitlab via Command Line

In this article, starting or running Gitlab is going to be explained so that Gitlab itself can be prepared to receive incoming requests in order to access all Gitlab’s features.

Before accessing Gitlab which is done after Gitlab service has started, the most important thing is having Gitlab itself installed in host, laptop, server or any machine provided for the purpose on running the Gitlab itself. Read the following article titled ‘Install Gitlab on CentOS 7 via Command Line’ for further reference on installing Gitlab in this link. Another article which can be found important as a reference is the article titled ‘Install Gitlab on Ubuntu via Command Line’ in the following link.

The command which is needed to be executed by typing it in the command line or terminal so that Gitlab’s service can be started and running properly is the following one :

Continue reading “Start Gitlab via Command Line”

Install Gitlab in Ubuntu via Command Line

In this article, there will be a full description on how to install Gitlab in Ubuntu using terminal or bash prompt as a Command Line Interface (CLI) as follows :

1. First of all, don’t forget to update the operating system before directly installing  Gitlab. Just type the following command :

apt-get update

The output of the above command’s execution :

root@hostname:~# apt-get update
Ign:1 stable InRelease
Hit:2 stable Release
Hit:4 xenial InRelease
Hit:5 xenial InRelease
Hit:6 xenial InRelease
Hit:7 xenial InRelease
Ign:8 dist InRelease
Get:9 xenial-updates InRelease [102 kB]
Hit:10 xenial InRelease
Hit:11 dist Release
Hit:13 xenial InRelease
Hit:14 xenial InRelease
Fetched 102 kB in 2s (44,8 kB/s)
Reading package lists... Done
W: Signature by key 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 uses weak digest algorithm (SHA1)

2. As root account, execute the following command :

Continue reading “Install Gitlab in Ubuntu via Command Line”