All MIBs › IP-MIB › ipDefaultTTL
ipDefaultTTL
Module: IP-MIB
OID (symbolic): IP-MIB::ipDefaultTTL
OID (numeric): 1.3.6.1.2.1.4.2
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description:
The default value inserted into the Time-To-Live field of the IPv4 header of datagrams originated at this entity, whenever a TTL value is not supplied by the transport layer
protocol.
When this object is written, the entity should save the change to non-volatile storage and restore the object from non-volatile storage upon re-initialization of the system. Note: a stronger requirement is not used because this object was previously defined.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.4.2 snmpwalk -v2c -c public <target> IP-MIB::ipDefaultTTL
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.4.2.1 snmpget -v2c -c public <target> IP-MIB::ipDefaultTTL.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.4.2.1 i <value>