prtGenIfIndex
RAD-MIB ·
.1.3.6.1.4.1.164.3.3.3.1.1.1.4
Object
column SNMPv2-SMIInteger32
This attribute indicates the unique interface number assigned to the port. The specific interface of this attribute is the same as the interface identified by the value of ifindex in MIB-II.If there is no interface for the specific prtIdx, the value will be '7fffffff'h.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.3.3.3.1.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- prtGenEntry
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 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::prtGenIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::prtGenIfIndex.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::prtGenIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Enumerated Values
1 | p2E3m1 |
2 | p2E4m1 |
3 | p2E5m1 |
4 | p2E6m1 |
5 | p2E7m1 |
6 | p511 |
7 | p2E10m1 |
8 | p2047 |
9 | p2E15m1 |
10 | p2E17m1 |
11 | p2E18m1 |
12 | p2E20m1 |
13 | qrss |
14 | p2E21m1 |
15 | p2E22m1 |
16 | p2E23m1 |
17 | p2E25m1 |
18 | p2E28m1 |
19 | p2E29m1 |
20 | p2E31m1 |
21 | p2E32m1 |
22 | rj011 |
23 | p63 |
24 | p1M7S |
25 | p1S7M |
26 | alternate |
27 | mark |
28 | space |
29 | p2E11m1 |
255 | notApplicable |
Type Constraints
range: -2147483648..2147483647