Cisco switch initial configuration and setup IP

cisco-catalyst-switch

Here is initial configuration for Cisco switch, setup management IP and configure telnet

switch>enable
Password:
switch#

Enter to configuration mode:

switch#  conf t
switch(config)#

Configure  IP address:

switch(config)#interface vlan 1 (enter to VLAN 1 configuring interface mode)
switch(config-if)#ip address 10.1.1.1 255.255.255.0 (setup IP and netmask)
switch(config-if)#no shutdown (enable interface)
switch(config-if)exit
switch(config)#exit
switch#

Setup password for enable mode:

switch# conf t
switch(config)# enable secret your_password
switch(config)# exit
switch#

Save configuration:

switch# write mem
Building configuration
OK
switch#

 

Or you can edit text below copy and paste in terminal:

conf t
interface vlan 1
ip address 10.1.1.1 255.255.255.0
no shutdown
exit
enable secret password_for_enable_mode
line VTY 0 4
login
password your_pasword
exit
write mem
exit

arstech

Leave a Reply