Performing Initial Configurations On Your Cisco Switch

Cisco switches are the most popular devices used to provide Local Area Network (LAN) connectivity due to their excellent switching speeds. A switch provides a dedicated wired connection to the end user device which automatically enables constant bandwidth to flow in the LAN.

By Shingie Levison Muringi

It is also a common practice that Network Engineers must provide a physical network document that will be used as reference during the configuration process. Also remember that after setting up a network, a clearly designed document must be kept so that anyone who maybe tasked to administrate the network can be able to trace the initial configurations.

 

Fibre-Internet
Switch Interconnection in a complex environment.

Below is a structured configuration process that you can perform on a newly purchased Cisco Switch. The Console Access Method is used in this case since the switch will be an out-of-band device that is directly accessible to you.
You must install a Terminal Emulation Program like PuTTY, Tera Term, SecureCRT, HyperTerminal or OS x Terminal. These emulation programs are there to give you a direct interface with your Cisco Switch after connecting your device to the computer via a Console cable.

ethernet-cables-plugged-into-an-internet-switch
Ethernet Connections on a fully functional switch

Switch>enable

This command will immediately direct you to the Privileged Exec-Mode below:
Switch#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.

This command will immediately direct you into the Global-Config Mode
Switch(config)#hostname CHELSEA

The command hostname will allow you to assign CHELSEA as your hostname. Note that your device name will immediately change from Switch to CHELSEA. 
CHELSEA(config)#enable secret cisco

The above command will set cisco as your Privileged Exec-Mode password. Note that more complex passwords are required to make your system secure.
CHELSEA(config)#banner motd #SECURE SYSTEM. NO UNAUTHORISED ENTRY!!#

The above command  will set your banner message of the day. Mainly to give warning to system intruders.
CHELSEA(config)#line console 0
CHELSEA(config-line)#password class

CHELSEA(config-line)#exec-timeout 0 5 (Will set your login time to 5 seconds after entering your password)
CHELSEA(config-line)#login
CHELSEA(config-line)#exit

The above configurations will allow you to specifically enter your console parameters as demonstrated.
CHELSEA(config)#line vty 0 15
CHELSEA(config-line)#password switch
CHELSEA(config-line)#login
CHELSEA(config-line)#exit

The above configurations will enable you to set your virtual line terminals as demonstrated.
CHELSEA(config)#service password-encryption 

The above command will automatically encrypt all your configured passwords.
CHELSEA(config)#interface VLAN 1
CHELSEA(config-if)#ip address 192.168.10.1 255.255.255.0
CHELSEA(config-if)#no shutdown

CHELSEA(config-if)#…..
%LINK-5-CHANGED: Interface Vlan1, changed state to up

CHELSEA(config-if)#description MANAGEMENT VLAN

The above configurations enable you to assign a VLAN that will allow your switch to be reached over a network. Specifically it is this VLAN config that will allow you to use SSH, AUX and Telnet in the future to remotely manage your device. The shutdown command will administratively power up your VLAN.

CHELSEA(config-if)#exit
CHELSEA(config)#exit
CHELSEA#
%SYS-5-CONFIG_I: Configured from console by console

The below command will save your configurations to the startup-config file which is stored in the Non-Volatile RAM.

CHELSEA#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
CHELSEA#

The topic to be continued………….

Leave a Reply

%d bloggers like this: