Description:

This article describes how to configure a static IPv4 address on an XS-51xx series or GS-45xx series switch.


Requirements:

  • XS-51xx series switch or
  • GS-45xx series switch
  • Any web browser for accessing the webinterface
  • SSH client for accessing the CLI (e.g. PuTTY)


Procedure:

1) Configuring the static IPv4 address via the webinterface:

1.1) Connect to the webinterface of the switch and go to the menu System → Connectivity → IPv4.

1.2) Change the following parameters and click Submit:

  • Network Configuration Protocol: Select None in order for the DHCP client to be deactivated.
  • IP Address: Enter the IP address via which the device should be accessible.
  • Subnet Mask: Enter the Subnet Mask associated with the network.
  • Default Gateway: Enter the IP address of the Default Gateway.

1.3) Click Save Configuration in the upper right corner to save the configuration as Start Configuration.

The Start Configuration still persists after a reboot or power outage.

1.4) The configuration of the static IP parameters via the webinterface is now complete.



2) Configuring the static IPv4 address via the CLI:

2.1) Connect to the switch via an SSH client and enter the command enable to change to Privilege mode where configuration changes can be made.

2.2) Enter the command network protocol none and acknowledge the command via the <Enter button> to deacvtivate the DHCP client.

2.3) Enter the IP parameters for the switch via the command network parms in the following format:

network parms <IP-Adresse> <Subnetz-Maske> <Default-Gateway>

In this example the command is as follows:

network parms 192.168.10.22 255.255.255.0 192.168.10.1

2.4) Enter the command write memory to save the configuration as Start configuration.

The Start Configuration still persists after a reboot or power outage.

2.5) The configuration of the static IP parameters via the CLI is now complete.