nwRtgProtocolIfIndex
CTRON-ROUTERS-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.2.2.2.1.1.1
Object
This ordinal value identifies the MIB2 ifIndex which identifies the router port for which the entry exists. All entries for the same router port will have the same value in nwRtgProtocolIfIndex.
Context
- MIB
- CTRON-ROUTERS-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.2.2.2.1.1.1- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- nwRtgProtocolIfEntry
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-ROUTERS-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-ROUTERS-MIB::nwRtgProtocolIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-ROUTERS-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-ROUTERS-MIB::nwRtgProtocolIfIndex.<nwRtgProtocolIfIndex>.<nwRtgProtocolIfRtrInstance>.<nwRtgProtocolIfInstance>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-ROUTERS-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-ROUTERS-MIB::nwRtgProtocolIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647