Assign a static IP to an Evolution based device server from the command line interface
How do I assign a static IP address to a Xport AR using the serial connection from a PC running Hyper Terminal?
- Use a null modem cable connected from your PC's DB9 port to port 1 on the Xport AR's evaluation board.
- Configure a HyperTerminal session for the Com port you connected the cable to for 9600bps, 8 bit characters, No parity and 1 stop bit. Make sure the HyperTerminal window is the active window on your screen.
- Power down the Xport AR and power the unit up, enter "!" multiple times until one character appears on the screen.
- Type: "xyz" to enter command mode.
- Type: #enable". This will take you to the root level of the command line interface.
- Type: #config".
- Type: #if 1". This will take you to the 'if 1' level so that you may assign a static IP address to the device.
- Firmware version 5.x or later:
To assign a static IP address and a subnet mask type: "ip address x.x.x.x/nn" where x.x.x.x is the IP address and nn is the number of bits in the network part of the IP address.
Firmware version 4.x or earlier:
To assign a static IP address and a subnet mask type: "ip address x.x.x.x 255.y.y.y" where x.x.x.x is the IP address and 255.y.y.y is the netmask
- Firmware version 5.x or later:
To assign a default gateway type: "default gateway x.x.x.x"
Firmware version 4.x or earlier:
To assign a default gateway type: "ip default-gateway x.x.x.x"
- Firmware version 5.x or later:
To disable DHCP type: "dhcp disable"
Firmware version 4.x or earlier:
To disable DHCP type: "no dhcp"
- To save your changes type: "write"
- The Xport AR is now set to use the static IP, subnet mask and default gateway. The changes will take effect after the device is restarted.
- To reboot the device, first type: "exit" twice.
- At the (enable)# prompt, type: "reload" then "yes" to reboot the Xport AR.
Example for v5.x and later:
Example for v4.x and earlier:
[Originally Published On: 08/07/2006 07:27 AM]