| Previous | Table of Contents | Next |
This example issues a SetRequest PDU for an object on the Proteon router, then issues a GetRequest for the same object (see Trace 4.4.3) to verify that the action was properly completed. Frames 1 and 2 retrieve the current value of ipDefaultTTL; Frames 3 and 4 set a new value for that object; Frames 5 and 6 verify the new value; Frames 7 and 8 set the value back to the original; and finally, Frames 9 and 10 verify the previous operation.
Looking at the details, notice that in Frame 1 the Value = NULL as in the previous example. The GetResponse PDU (Frame 2) contains the requested value (60) of ipDefaultTTL (the default value of the Time-to-Live field within the IP header). Frame 3 contains a SetRequest PDU, assigning Value = 64 to ipDefaultTTL. The router sends a confirming GetResponse PDU in Frame 4. Frame 5 issues a GetRequest PDU to verify that the SetRequest changed the value of ipDefaultTTL to 64 (Frame 6). Frame 7 issues a second SetRequest, this time with Value = 60, which is acknowledged in Frame 8. Frames 9 and 10 confirm that the operation was successful.
Trace 4.4.3. SNNP Set ipDefaultTTL details
Sniffer Network Analyzer data 11-Dec at 15:16:52 file SETIPTTL.ENC
Pg 1
--------------------------------- Frame 1 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get request
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = NULL
SNMP:
--------------------------------- Frame 2 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get response
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = 16862273 hundredths of a second
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = 1 (gateway)
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 60
SNMP:
--------------------------------- Frame 3 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Set request
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 64
SNMP:
--------------------------------- Frame 4 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get response
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 64
SNMP:
--------------------------------- Frame 5 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get request
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = NULL
SNMP:
--------------------------------- Frame 6 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get response
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = 16863228 hundredths of a second
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = 1 (gateway)
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 64
SNMP:
--------------------------------- Frame 7 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Set request
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 60
SNMP:
--------------------------------- Frame 8 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get response
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 60
SNMP:
--------------------------------- Frame 9 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get request
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = NULL
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = NULL
SNMP:
--------------------------------- Frame 10 -------------------------
SNMP: ----- Simple Network Management Protocol -----
SNMP:
SNMP: Version = 0
SNMP: Community = Brutus
SNMP: Command = Get response
SNMP: Request ID = 0
SNMP: Error status = 0 (No error)
SNMP: Error index = 0
SNMP:
SNMP: Object = {1.3.6.1.2.1.1.3.0} (sysUpTime.0)
SNMP: Value = 16863846 hundredths of a second
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.1.0} (ipForwarding.0)
SNMP: Value = 1 (gateway)
SNMP:
SNMP: Object = {1.3.6.1.2.1.4.2.0} (ipDefaultTTL.0)
SNMP: Value = 60
SNMP:
| Previous | Table of Contents | Next |