, PDU-SNMP-Response, , .
:
0020: 30 82 01 17 02 01
D 31 a2 82 01 09 02 04 35 97
Ac 59 02 01 00 02 01 00 30 81 fa 30 0f 06 08 2b
D4 70 30 11 06 0a
B 06 01 02 01 02 02 01 05 03 42 03 00 fa 00 30
F 06 0a 2b 06 01 02 01 02 02 01 08 03 02 01 01
F 06 0a 2b 06 01 02 01 02 02 01 09 03 43 01
A 2b 06 01 02 01 02 02 01 0a 03 41
00a0: 04 04 12 5a 5d 30 11 06 0a 2b 06 01 02 01 02 02
00b0: 01 0b 03 41 03 08 6f da 30 0f 06 0a 2b 06 01 02
00c0: 01 02 02 01 0c 03 41 01 07 30 0f 06 0a 2b 06 01
00d0: 02 01 02 02 01 0d 03 41 01 00 30 0f 06 0a 2b 06
00e0: 01 02 01 02 02 01 0e 03 41 01 00 30 12 06 0a 2b
00f0: 06 01 02 01 02 02 01 10 03 41 04 13 a1 03 ca 30
A 2b 06 01 02 01 02 02 01 11 03 41 03 08
D 32 30 0f 06 0a 2b 06 01 02 01 02 02 01 12 03
F 06 0a 2b 06 01 02 01 02 02 01 13
F 06 0a 2b 06 01 02 01 02 02 01
0140: 14 03 41 01 00
, SNMP PDU-Response:
30 82 01 17
02 01 00
D 31
a2 82 01 09
Ac 59
02 01 00
02 01 00
Fa
30 0f 06 08 2b 06 01 02 01 01 03 00 43 03 73 d4 70
30 11 06 0a 2b 06 01 02 01 02 02 01 05 03 42 03 00 fa 00
30 0f 06 0a 2b 06 01 02 01 02 02 01 08 03 02 01 01
30 0f 06 0a 2b 06 01 02 01 02 02 01 09 03 43 01 00
30 12 06 0a 2b 06 01 02 01 02 02 01 0a 03 41 04 04 12 5a 5d
30 11 06 0a 2b 06 01 02 01 02 02 01 0b 03 41 03 08 6f da
30 0f 06 0a 2b 06 01 02 01 02 02 01 0c 03 41 01 07
30 0f 06 0a 2b 06 01 02 01 02 02 01 0d 03 41 01 00
30 0f 06 0a 2b 06 01 02 01 02 02 01 0e 03 41 01 00
30 12 06 0a 2b 06 01 02 01 02 02 01 10 03 41 04 13 a1 03 ca
30 11 06 0a 2b 06 01 02 01 02 02 01 11 03 41 03 08 0d 32
30 0f 06 0a 2b 06 01 02 01 02 02 01 12 03 41 01 00
30 0f 06 0a 2b 06 01 02 01 02 02 01 13 03 41 01 00
30 0f 06 0a 2b 06 01 02 01 02 02 01 14 03 41 01 00
OID, , RFC-1213.
- - 03. , ().
.
.2.3.5.1 RFC-1213, , (. ):
=43 (01), 3 , TimeTicks.
=42 (01), 2 , Gauge ().
=41 (01), 1 , Counter ().
=02 UNI (00), 2 , Integer ().
|
|
2, .
:
1. -
2. MAC-
3. , Ethernet-
4.
5.
6. ( )
7.
8. (Dec )
9.
10.
11.
12.
13.
14. ( )
15.
16.
17. Community
18. PDU ( )
18.1. PDU Get-Request
18.1.1. - RequestID
18.1.2. ErrorStatus Errorlndex
18.1.3. ,
18.1.4. () *
18.2. PDU GetResponse
18.2.1. RequestID
18.2.2. ErrorStatus Errorlndex
18.2.3. ,
18.2.4. () *
18.2.5. () *
PDU Get-Response | ||
Hex | Dec | |
00 00 1d 00 20 af | Cabletron 3COM | |
00 20 af e8 e2 8e 00 00 1d 90 58 20 | MAC- MAC- | |
08 00 | IPv4 | |
4- | ||
000 | ||
01 37 | 311 | |
3e | TTL=62 | |
17 UDP | ||
d4 a4 c4 f6 | 212.164.196.246 | |
d4 a4 00 66 | 212.164.00.102 | |
c0 7c | 49351 - DP | |
00 a1 | 161 - SNMP | |
00 a1 | 161 - SNMP | |
01 23 | 291 | |
UNI, , (Sequence) | ||
81 fb | fbhex 251 | |
05 65 78 70 2d 31 | Community 5 , : exp-1 | |
a2 82 01 09 | PDU-SNMP. Get-Response (=a2). PDU 01 09hex 265dec | |
18.2.1 | 35 97 ac 59 | 899132505dec |
18.2.2 | 00 | |
18.2.3 | 81 fa | 250dec |
Get- Response ( 18.2.4 18.2.5 ):
(OID) | () | ||
Hex | 2b 06 01 02 01 01 03 00 | 73 d4 70 | |
Dec | 1.3.6.1.2.1.1.3.0 | 7591024*100 | |
iso.org.dod.internet.mgmt.mib.sys.sysUpTime.0 | |||
Hex | 2b 06 01 02 01 02 02 01 05 01 | fa 00 | |
Dec | 1.3.6.1.2.1.2.2.1.5.1 | 64 000 / | |
ifSpeed | |||
Hex | 2b 06 01 02 01 02 02 01 08 01 | ||
Dec | 1.3.6.1.2.1.2.2.1.8.1 | ||
ifOperStatus | - up | ||
Hex | 2b 06 01 02 01 02 02 01 09 01 | ||
Dec | 1.3.6.1.2.1.2.2.1.9.1 | ||
ifLastChange | |||
Hex | 2b 06 01 02 01 02 02 01 0a 01 | -//-//-//- | |
Dec | 1.3.6.1.2.1.2.2.1.10.1 | ||
ifInOctets | |||
.. (.. ) |
|
|
.
.3.3.
3.3 :
1. :
1.1.
1.2.
1.3.
1.4.
1.5.
2. ( )
3.
4. , :
PDU Get-Request | PDU Get-Response | |||
Hex | Dec | Hex | Dec | |
18.1.1 | ||||
18.1.2 | ||||
18.2.1 | ||||
18.2.2 | ||||
5. , (*) :
Get-Request ( 18.1.4 ):
(OID) | () | ||
Hex | |||
Dec | |||
Hex | |||
Dec | |||
Get-Response ( 18.2.4 18.2.5 ):
(OID) | () | ||
Hex | |||
Dec | |||
Hex | |||
Dec | |||
4.
SNMP - Simple Network Mangement Protocol
CMIP - Common Management Information Protocol
MIB - Management Information Base -
ASN.1 - Abstract Syntax Notation One - 1
BER - Basic Encoding Rules
IETF - Internet Engineering Task Force
ITU-T International Telecommunication Union (-)
NMS Network Management System
RFC Request for Comments () IETF
PDU Protocol Data Unit
OID Object Identifier
MSB Most Significant Bit
LSB Least Significant Bit
4. ,
1. .. . .:-, 2003. 288 .