Configure IP Address,deafult-gateway,console password,login banner,telnet,enable password on switch.
This tutorial is all about Switch configuration and we are going to Learn ip assignment method on switch.
Also we learn how to assign default gateway on cisco Switch. At the same time we learn BANNER Configuration on Cisco switch,How to setup Telnet Server on cisco switch For Remote Management of SWITCH.
We also look after the password management on switch Like enable password and enable secret password on Cisco switch.

Configure hostname on Switch.
Switch(config)#hostname s1
Configure IP Address on SWITCH:
s1(config)#int vlan 1
s1(config-if)#ip address 1.0.0.100 255.0.0.0
s1(config-if)#no shut
Configure Default-gateway on a Switch
s1(config)#ip default-gateway 1.0.0.1
s1(config)#exit
Save Switch Configuration in startup:
s1#write
Building configuration...
[OK]
s1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Configure Login Banner:
s1(config)#banner motd "Do not mess with us"
s1(config)#
s1(config)#enable password ccna
Configure Telnet on Switch With Username and Password:
s1(config)#username vipul password 123
s1(config)#username gaviesh password 456
s1(config)#
s1(config)#line vty 0 4
s1(config-line)#login local
s1(config-line)#exit
s1(config)#
Configure Console Password on Switch:
s1(config)#line console 0
s1(config-line)#password redhat
s1(config-line)#login
IF you still have any doubt you guys are free to ask through comment section.