[ENG] 2.6. [DKSF 54.3 IU] How to Reboot a Device?
A device NetPing 4/PWR-220 v4/SMS can be rebooted using three ways:
1. By clicking a button «Reboot» on a home page of a device web interface.
After, a system displays an information notification confirming rebooting a device.
When clicking a button «Reboot», LEDs near CPU at Ethernet ports will blink. A device will reboot. The uptime of a device will be reset to 0d 0h 0m 0s.
2. Using an SNMP v1 protocol through setting OID values using a command Set:
OID | Name | Type | Access | Description |
---|---|---|---|---|
.1.3.6.1.4.1.25728.911.1.0 | npSoftReboot | Integer | READ/WRITE | Software reboot of a device when writing the value «1» (an analog of rebooting a device through a web interface). |
.1.3.6.1.4.1.25728.911.3.0 | npForceReboot | Integer | READ/WRITE | An immediate forced reboot of a device writing the value «1» (resetting a processor, like when switching a power supply on). |
3. Using an SMS command:
where:
- NETPING – is a function word that must be included in an SMS command and helps a device to distinguish commands from other SMS;
- RB20 – is a command code, in this case, a command to reboot a device;
- community_w – is a password that corresponds to an SNMP community for writing. It is set on the page «SETUP» of a device web interface. It is possible to use Latin letters, digits, a character «_» without quotes and spaces;
- kkkkk – is a request identifier (a random number from 3 to 9 digits). It is repeated in a response as well to establish a correspondence between a request and a response. It is an auxiliary element of a command. If there is no identifier in a command, there is no identifier in a response either.
Confirming a command execution:
Besides, a log record will appear about receiving a command to reboot a device. A reboot happens 20 seconds after receiving an SMS command by a device.