hwOntUpdateState

HUAWEI-LOAD-BACKUP-MIB · .1.3.6.1.4.1.2011.6.6.1.7.1.5

Object

column SNMPv2-TCDisplayString
ONT update state.
data structure: ONT IP + ONT update state
----------------------------------------------------------------------
|  ONT NUM |  ONT IP  | ONT update  |  ONT IP  | ONT update | _  _   |
|   (2B)   |   (4B)   |  state (1B) |   (2B)   |  state(1B) |        |
----------------------------------------------------------------------
state enum:
Loading is successful(1): The ont-packetfile is loaded to the ONT successfully.
Loading fails(2): Loading the ont-packetfile to the ONT failed.
Not upgrade(3): Upgrading the ONT does not start.
Loading(4): The ONT is being loaded with ont-packetfile.
Resetting(5): The ONT is being reset.
Upgrade fails(6): Upgrading the ONT fails.
Upgrade is successful(7): Upgrading the ONT is successful.
              
Because of the restrictions on the SNMP packet, the packet of up to 8 KB can be transmitted.
When the size of the packet to be reported exceeds 8 KB, the packet must be compressed.
The compress format of the packet is shown in the following figure.
-----------------------------------------------------------------------
| DATA-LENGTH | FLAG  |  TLV-NUM  |  TYPE  |  LEN  |  CRC  |          |
------------------------------------------------------------          |
|                                                                     |
|                                                                     |
|                                                                     |
-----------------------------------------------------------------------
In the compressed packet:
DATA-LENGTH occupies four bytes to store the whole length of the file, including the header structure.
FLAG occupies two bytes to store the flag, which indicates the format of the file contents.
In this compressed packet, the flag indicates that the format of the file contents is compressed.
0xFEFE indicates compress and 0 indicates non-compress.
TLV-NUM indicates the number of TLVs that the file carries. In this compressed packet, TLV-NUM is 1,
indicating the CRC value of the compressed content. The following continuous bytes TYPE, LEN, and CRC
are data in the TLV format. Each of TYPE, LEN, and CRC occupies two bytes. In this compressed packet,
TYPE, LEN, and CRC record the CRC value of the compressed content. TYPE indicates the CRC type.
LEN indicates the number of bytes that the CRC occupies and the actual value is 2.
CRC stores the CRC value of the compressed content.
The actual returned content is compressed in the .zip format and stored in the final field of compressed
content.

Context

MIB
HUAWEI-LOAD-BACKUP-MIB
OID
.1.3.6.1.4.1.2011.6.6.1.7.1.5
Type
column
Access
readonly
Status
current
Parent
hwAgentUpdateOntEntry
Table
hwAgentUpdateOntTable
Siblings
5

Syntax

SNMPv2-TCDisplayString
Source
SNMPv2-TCDisplayString
Base type
OctetString

Values & Constraints

Type Constraints
range: 0..255

Related Objects

Sibling Objects