How do I change the IP address of my D-Link Managed Switch through the CLI?

Follow the directions below to change the IP address of your D-LinkManaged Switch using CLI.

Step 1. Connect to the switch using Telnet(Standard Port 23) or HyperTerminal (Port speed is listed beneaththe console port on the front panel of the switch). Enter yourusername and password (default is blank for both). Press Enter toaccess the Command Line Interface (CLI).

Step 2. Enter the following command for changingthe default IP address (10.90.90.90).

Syntax:
config ipif System ipaddress x.x.x.x/x.x.x.x or x.x.x.x/x

Note: All commands are case-sensitive. Pleaseverify the syntax of the interface name before changing the IPaddress. You can view the interface settings by typing showswitch.

  • x.x.x.x = ip address
  • /x = Subnet Mask

Example:
config ipif System ipaddress 192.168.10.115/24



Step 3. Press Enter to initialize IP addresschange.

Step 4. After performing the IP address change,connect back into the switch via Telnet using the new IP address.If you are using HyperTerminal, run show switch toverify the IP address on your switch.

Note: All changes take effect immediately, butwill NOT be saved to N/V RAM until you type theSAVE command.

Rank: 1.5