By default, the switch enables an IP interface (a VLAN or brouter port) after you configure the primary IP address. You can administratively disable, and then reenable, an IPv4 interface after you create it. For example, if you want to change the routing protocol configuration on the interface.
You can also instruct the switch to create the IP interface in a disabled state when you initially configure the primary IP address. For more information, see Assign an IP address to a Port or Configure a Primary IP Address for a VLAN.
enable
configure terminal
interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>
Note
If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.
no ip interface enable
ip interface enable