Configure IP Address,deafult-gateway,console password,login banner,telnet,enable password on switch

Posted: 16 Dec 2020 in CCNA
Tags: , , ,

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

s1(config-if)#no shut


Configure Default-gateway on a Switch


s1(config)#ip default-gateway



Save Switch Configuration in startup:



Building configuration...



s1#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...



Configure Login Banner:


s1(config)#banner motd "Do not mess with us"


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)#line vty 0 4

s1(config-line)#login local




Configure Console Password on Switch:


s1(config)#line console 0

s1(config-line)#password redhat



IF you still have any doubt you guys are free to ask through comment section.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.