All MIBs › IP-MIB › ipForwarding
ipForwarding
Module: IP-MIB
OID (symbolic): IP-MIB::ipForwarding
OID (numeric): 1.3.6.1.2.1.4.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The indication of whether this entity is acting as an IPv4 router in respect to the forwarding of datagrams received by, but not addressed to, this entity. IPv4 routers forward datagrams. IPv4 hosts do not (except those source-routed via the host).
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.1 snmpwalk -v2c -c public <target> IP-MIB::ipForwarding
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.4.1.1 snmpget -v2c -c public <target> IP-MIB::ipForwarding.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.4.1.1 i <value>