Configuring, Modifying, and Monitoring the Unit
24
Setting an IP address
set-ip
The set-ip command sets the IP address of the SNMP Agent. If no IP address was previously
set (as is the factory default configuration), the new value is used immediately and saved into
NVRAM. Otherwise the new value is only stored in the NVRAM, and the user must execute a
warm-reset
to effect the change.
set-ip <IP address>
set-ip-cfg
The set-ip-cfg command sets the IP address, network IP mask, and broadcast IP address. If
no IP configuration was previously set (as is the default factory configuration), the new values
are used immediately and saved into NVRAM. If a previous IP configuration was being used,
the new configuration is saved in NVRAM. In order to use the newly defined values
immediately, reset the system using the
warm-reset
command.
set-ip-cfg <IP address> <netmask> <broadcast>
NOTE: If the IP configuration is not specified, the agent does not respond to any in-band
requests, including ping messages. The following are examples with no IP configuration and an
IP configuration defined.
No IP Configuration defined:
SYS_console>set-ip-cfg 194.90.136.187 255 255.255.0 255.255.255.255
Device IP Address set for this session
Device IP Address change in the NVRAM OK
The device NVRAM IP configuration will be:
IP address : 194.090.136.187
IP netmask : 255.255.255.000
IP broadcast : 255.255.255.255
SYS_console>
IP Configuration defined:
SYS_console>set-ip-cfg 194.90.136.187 255.255.255.0 255.255.255.255
Device IP address unchanged for this session
Device IP Address change in the NVRAM OK
The device NVRAM IP configuration will be:
IP address : 194.090.136.187
IP netmask : 255.255.255.000
IP broadcast : 255.255.255.255
SYS_console>
Perform a
warm-reset
to use the newly defined parameters.