stpGlobalSetRootPort
NSCRTV-EPON-STP-MGM-MIB ·
.1.3.6.1.4.1.17409.2.3.9.1.1.8
Object
column OctetString
???˿ڣ??????ӱ????ź????ŵĶ˿ڣ????ṩ??·????????С The port is presented by three octets, in sequence of device ID, slot, and port. For ONU, device ID is meaningless and shall set 0. Slot and port shall be set to corresponding value. For OLT, device ID, slot, and port shall be set to corresponding value. For example, 01 02 03 means device 1, slot 2, port 3 is root port. 0x00 04 05 means ONU slot 4, port 5 is root port.
Context
- MIB
- NSCRTV-EPON-STP-MGM-MIB
- OID
.1.3.6.1.4.1.17409.2.3.9.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- stpGlobalSetEntry
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 'NSCRTV-EPON-STP-MGM-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-EPON-STP-MGM-MIB::stpGlobalSetRootPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NSCRTV-EPON-STP-MGM-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NSCRTV-EPON-STP-MGM-MIB::stpGlobalSetRootPort.<stpGlobalSetIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NSCRTV-EPON-STP-MGM-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NSCRTV-EPON-STP-MGM-MIB::stpGlobalSetRootPort'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 3-3