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?


  1. Use a null modem cable connected from your PC's DB9 port to port 1 on the Xport AR's evaluation board.
  2. 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.
  3. Power down the Xport AR and power the unit up, enter "!" multiple times until one character appears on the screen.
  4. Type: "xyz" to enter command mode.
  5. Type: #enable". This will take you to the root level of the command line interface.
  6. Type: #config".
  7. Type: #if 1". This will take you to the 'if 1' level so that you may assign a static IP address to the device.
  8. 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
  9. 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"
  10. Firmware version 5.x or later:
    To disable DHCP type: "dhcp disable"

    Firmware version 4.x or earlier:

    To disable DHCP type: "no dhcp"
  11. To save your changes type: "write"
  12. 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.
  13. To reboot the device, first type: "exit" twice.
  14. At the (enable)# prompt, type: "reload" then "yes" to reboot the Xport AR.

Example for v5.x and later:

Image

Example for v4.x and earlier:



[Originally Published On: 08/07/2006 07:27 AM]