Configure an IP address from the command-line interface
The set network command configures an IP address from the command line. Include the following
parameters:
index=(1-4) : Ethernet interface index number
ip_v4=device ip: The IP v4 address for the device.
gateway_v4=gateway: The network gateway IP v4 address.
submask_v4=device submask: The device subnet mask for IP v4 address.
mode_v4=(none|static|dhcp): The configuration mode of IP v4 address.
ip_v6=device ip: The IP v6 address for the device.
gateway_v6=gateway: The network gateway IP v6 address.
submask_v6=device submask: The device subnet mask for IP v6 address.
mode_v6=(none|static|dhcp): The configuration mode of IP v6 address.
For example:
set network index=1 ip_v4=10.0.0.100 gateway_v4=10.0.0.1
submask_v4=255.255.255.0 mode_v4=static
Test the IP address configuration
Once the IP address is assigned, test the IP address configuration to be sure it works as configured.
This procedure assumes that the ConnectPort LTS product has an IP address.
1. Access the command line of a PC or other networked device.
2. Issue the following command:
ping ip address
where ip address is the address assigned to the ConnectPort LTS product. For example:
ping 192.168.2.2
40