ptopoConnIsUpStream
MY-PTOPO-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.33.1.1.1.1.6
Object
column Enumeration
Indicate whether the remote device and its port is the local device's upstream. if true the value of this object is upstream(1), otherwise nonupstream(2).
Context
- MIB
- MY-PTOPO-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.33.1.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptopoConnEntry
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 'MY-PTOPO-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-PTOPO-MIB::ptopoConnIsUpStream'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-PTOPO-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-PTOPO-MIB::ptopoConnIsUpStream.<ptopoConnIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-PTOPO-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-PTOPO-MIB::ptopoConnIsUpStream'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | upstream |
2 | nonupstream |