IP Commands

Sets the IP address of the SNMP Agent. If no IP address was previously set (as is the default factory configuration), the new value will be used immediately and saved into NVRAM. Otherwise the new value will only be stored in the NVRAM, and the user must execute a “warm-reset” to effect the change.

get-ip-cfg

This shows the complete current IP configuration - address, network mask and broadcast address.

--If an address has been previously defined: SYS_console> get-ip-cfg

The device IP address, netmask and broadcast are:

IP address : 149.035.200.032

IP netmask : 255.255.255.000

IP broadcast : 149.035.200.255

--If no address is defined: SYS_console> get-ip-cfg

The device has no IP Address defined.

SYS_console>

set-ip-cfg

set-ip-cfg <IPaddress> <netmask> <broadcast>

Sets IP address, network IP address and broadcast IP address. If no IP configuration was previously set (as is the default factory configuration), the new values will be used immediately and saved into NVRAM. If a previous IP configuration was being used, the new configuration will be saved in NVRAM for the next session. In order to use the newly defined values immediately, reset the system using the “warm-reset” command.

Note

If the IP configuration is not specified, the agent will not respond to any in-band requests, including ping messages.

-- If no IP Config. is defined:

5-2

Page 28
Image 28
Allied Telesis at-8116 manual Get-ip-cfg, Set-ip-cfg IPaddress netmask broadcast, If no IP Config. is defined