Field |
Description |
---|---|
version |
Version number of the format in which NetStream packets are exported. Value 0x05 indicates the V5 format. |
count |
Number of stream records in the existing NetStream packet. The value ranges from 1 to 30. |
system up time |
Period (in milliseconds) from the time the system is booted to the time a NetStream packet was generated. |
unix_secs |
Integer number of seconds elapsed from 00:00:00, January 1st, 1970 to the time a NetStream packet was generated. |
unix_nsecs |
Integer number of nanoseconds equal to the time the packet was generated minus unix_secs. |
flow sequence |
Sequence number of an exported stream record: In the first NetStream packet, the value is 0, and the count of streams in the NetStream packet is c1 (count = c1). In the second NetStream packet, the value is c1, and the count of streams in the NetStream packet is c2 (count = c2). In the third NetStream packet, the value is c2 + c1. ... In the n - 1 NetStream packet, the value is fs(n - 1), and the count of streams in the NetStream packet is c(n - 1). In the Nth NetStream packet, the value is fs(n - 1) + c(n - 1). You can check whether a NetStream packet is dropped based on the flow sequence value. When the stream sequence number overflows, NetStream packets transmission continues. |
engine type |
Type of the flow switching engine. The value is the device type. |
engine id |
Slot number of the switching engine. The value is the slot number of the NetStream board. |
reserved |
Reserved field, which is all 0s. |
Information carried in an NetStream packet exported in V5 format is marked dark as shown in Figure 2.
UDP packets of version 5 carrying NetStream outbound statistics and inbound statistics are generated independently.