When the switch boots, its management interface's address is set to 0. If required, a Cisco router running the DHCP. However, to perform switch management over the network or use protocols such as SNMP, the switch will need to have an IP address. The IP address is configured under a logical interface, known as the management domain or VLAN. Usually, the default VLAN 1 acts like the switch's own NIC for connecting. Determining the IP address of a Cisco switch is a fundamental network administration task, crucial for accessing the switch's management interface, configuring VLANs, troubleshooting connectivity issues, and performing various network management operations. While Cisco switches operate at Layer 2. A switch by default doesn't need an IP address to forward the frame between ports as its default configuration setting is that way that makes a Cisco Switch a plug-n-play device. All the devices in VLAN 1 can communicate.
[PDF Version]