Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write the first four octets of the SNMP engine ID in hexadecimal notation for th

ID: 3787697 • Letter: W

Question

Write the first four octets of the SNMP engine ID in hexadecimal notation for the four enterprises, for the following two versions:

Cisco: 9

Hp: 11

3Com: 43

Cabletron: 52

a. SNMPv1

b. SNMPv3

What I have so far:

a.            SNMPv1

(in hexadecimal)

Cisco:           0   9   ???   ???
HP:              0   B   ???   ???
3Com:           0   2B   ???   ???
Cabletron:   0   34   ???   ???

b.            SNMPv3

(also in hexadecimal)

Cisco:           1   9   ???   ???
HP:                1   B   ???   ???
3Com:           1   2B   ???   ???
Cabletron:       1   34   ???   ???

How do I determine the full four octets for the SNMP engine id? Do you just stick 0's in after the enterprise number?

Explanation / Answer

% snmptranslate -Tp -IR usmUserTable
+--usmUserTable(2)
|
+--usmUserEntry(1)
|
+-- ---- String usmUserEngineID(1)
| matter Convention: SnmpEngineID
| Size: five..32
+-- ---- String usmUserName(2)
| matter Convention: SnmpAdminString
| Size: one..32
+-- -R-- String usmUserSecurityName(3)
| matter Convention: SnmpAdminString
| Size: zero..255
+-- CR-- ObjID usmUserCloneFrom(4)
| matter Convention: RowPointer
+-- CR-- ObjID usmUserAuthProtocol(5)
| matter Convention: AutonomousType
+-- CR-- String usmUserAuthKeyChange(6)
| matter Convention: KeyChange
+-- CR-- String usmUserOwnAuthKeyChange(7)
| matter Convention: KeyChange
+-- CR-- ObjID usmUserPrivProtocol(8)
| matter Convention: AutonomousType
+-- CR-- String usmUserPrivKeyChange(9)
| matter Convention: KeyChange
+-- CR-- String usmUserOwnPrivKeyChange(10)
| matter Convention: KeyChange
+-- CR-- String usmUserPublic(11)
| Size: zero..32
+-- CR-- EnumVal usmUserStorageType(12)
| matter Convention: StorageType
| Values: other(1), volatile(2), nonVolatile(3), permanent(4), readOnly(5)
+-- CR-- EnumVal usmUserStatus(13)
matter Convention: RowStatus
Values: active(1), notInService(2), notReady(3), createAndGo(4), createAndWait(5), destroy(6)

Well, thats nice however what will it mean?

To summarize the foremost significantly every user incorporates a name (called a securityName) associate degree authentication sort (authProtocol) and a privacy sort (privProtocol) similarly as associated keys for every of those (authKey and privKey).

Authentication is performed by employing a users authKey to sign the message being sent. The authProtocol may be either MD5 or SHA at this point. authKeys (and privKeys) area unit generated from a passphrase that has got to be a minimum of eight characters long.

Authentication is performed by employing a users privKey to code the info portion the message being sent. The privProtocol may be either AES or DES.

Messages may be be sent unauthenticated, echt, or echt and encrypted by setting the securityLevel to use.

All of this info is passed to commands exploitation the instruction arguments delineated within the table below. in addition, you'll be able to place default values in your ~/.snmp/snmp.conf files exploitation the tokens per the third column.