Management Interface
The Management IP, is the IP address you will use to connect to the switch via network-based protocols such as SSH. Typically this IP address is assigned to either a dedicated physical port or a VLAN used to manage your network devices.
Select the type of port you’d like to configure.
To configure a physical port (aka. interface), typically one specifically designed for the purpose of managing the switch, run the following commands.
Switch (config)# interface FastEthernet0
Switch (config)# ip address 172.16.128.0.5 255.255.255.0
Ensure you specify a default gateway so you can reach the switch across layer three boundaries.
Switch (config)# ip default-gateway 172.16.128.0.1
If no management interface is available or you’d prefer not to use a dedicated port, run the following commands to configure the IP onto a VLAN of your choosing.
Switch (config)# interface vlan 100
Switch (config)# ip address 172.16.128.0.5 255.255.255.0
Ensure you specify a default gateway so you can reach the switch across layer three boundaries.
Switch (config)# ip default-gateway 172.16.128.0.1