While configuring switch for basic functionality, we should also assign a default gateway to the switch. To assign an IP address to the VLAN1 interface, we have to enter into interface configuration mode. We will also perform some basic configuration which will help us when configuring the device.
In this lab we will assign IP address to the Vlan1 interface and we will configure default gateway on the switch. For example, some specific commands are meant only for the switches while others for routers as per the device’s functionality. However, there is a difference in the commands that we use for each one of them. A good thing about the Cisco IOS is that it works quite similarly on both the routers as well as switches.