Setting the Management IP Address Using the Command-Line Interface

To configure the management IP address on a 200 Series switch using the command-line interface, follow these steps:
  1. Log on to the switch.
  2. In Privileged EXEC mode, enter the command network protocol none.
    The system prompts you for confirmation:
    Changing protocol mode will reset ip configuration.
    Are you sure you want to continue? (y/n)
  3. Enter y in response to the prompt.
  4. Define the IPv4 network connectivity by entering the command network parms ipaddr netmask gateway.
    • ipaddr is the IP address of the interface.
    • netmask is the subnet mask for the interface.
    • gateway is the default gateway for the interface.
  5. Define the management VLAN by entering the command network management_vlan vlan_id.
    Where vlan_id is the VLAN identifier – a number between 1 and 4093.
The switch's management IP address is set.