-->
🏠 🔍
SHAREOLITE

Cisco switch Set IP address command line

A simple step by step procedure to enable IP address for a cisco switch or router. 


Many switches nowadays come with a preloaded IP address . In some cases when there is no IP configured or IP has to be modified , below procedure may be followed


Switch1#
Switch1#en
Switch1#config t
Switch1(config)#int vlan 1
Switch1(config-if)#ip address 192.168.10.1 255.255.255.0
Switch1(config-if)#no shutdown

This would set the switch IP to 192.168.10.1 . Connect any LAN cable to any of the switch port to your device , assign a IP of the same subnet say 192.168.10.20 with default gateway as switch IP 192.168.10.1.

Verify the reach-ability by pinging to Switch IP from your device console. Hope this helps to Cisco Switch beginners.
Comments

–>