nwIpFwdIfForwarding
CTRON-IP-ROUTER-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.2.2.1.1.1.7
Object
column mandatory
r/w
Enumeration
Controls forwarding of IP packets on the router port for which the entry exists. Enabled (3) causes IP packets to be forwarded. Disabled (2) prevents IP packets from being forwarded.
Context
- MIB
- CTRON-IP-ROUTER-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.2.2.1.1.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- nwIpFwdIfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-IP-ROUTER-MIB::nwIpFwdIfForwarding'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-IP-ROUTER-MIB::nwIpFwdIfForwarding.<nwIpFwdIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-IP-ROUTER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-IP-ROUTER-MIB::nwIpFwdIfForwarding'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |