Creating a text file to adjust IP settings on a switch
Updated:April 26, 2019
In this document, you will be provided the steps to create a text file with some commands that will help change
your dynamic IP address to a static IP address of your choice. Then you will learn how to upload the text file
using the file operations of the switch.
Is your switch not allowing you to convert a dynamically assigned IP address to a static IP
address? If you are having difficulty assigning a static IP address to a switch, due to a bug or another issue,
this document can help. This document introduces an alternative to
performing interaction in the Graphical User Interface (GUI). It is possible to load commands using the file
operations through a text file that can help automate some of the steps required.
Note: For additional information on the respective devices, see the below links to the command
Step 3. In the File
Operations page, select the following operations.
·Update File – Operation Type field.
Configuration – Destination File
·HTTP/HTTPS – Copy Method field.
Note: Any configurations
that are in the Running Configuration file is volatile which means that it is
not retained between reboots. To retain the configuration between the device
reboots, copy the Running Configuration file to the Startup Configuration file
after you have completed all your changes.
Step 4. In the File Name,
click Browse… to select a file
that you want to upload.
Step 5. A File Upload
window will appear. Navigate to where your text file is located and select the
file. Click Open.
Step 6. Click Apply
to update the file to the running configuration.
Step 7. A Processing Data
bar will appear. This occurs when the switch uploads the text file to the running configuration. Please wait
a few minutes before proceeding onto step 8.
Note: There won’t be any
indication that tells you that the file is uploaded.
Step 8. After waiting a couple of minutes, the switch should
have loaded the new configuration file to the running configuration of the
switch. Open a new browser and enter the IP address of the switch in the URL to
which it was assigned in your text file.
In this example, 192.168.1.99
was used. You may need to include https://
in front of the IP address. If it is successful, your page will load into a Warning: Potential Security Risk Ahead
page. Click Advanced… and then Accept the
Risk and Continue.This will bring you to the web
configuration page of the switch.
Note: The screenshot that
was taken was used in a Firefox browser, you should get a similar page if you
are using a different browser.
Step 9. Log in to the web configuration page of the switch.
Step 10. Navigate to IP
Configuration > IPv4 Interface.
Step 11. The IPv4
Interface Table will display the new static IP address assigned to
the switch. In this example, we can see that our IP address is
192.168.1.99 with the IP Address Type of Static.
You should now have successfully assigned a static IPv4
address on the VLAN interface through the web-based utility of the switch using
a text file.