portLoopdetectStatus
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.2.4.1.17
Object
column OctetString
Loopdetect status of the port.The first character means: 0 : port_notInTrunk_down 1 : port_notInTrunk_up_loopdetDisable 2 : port_notInTrunk_up_loopdetEnable_noLoop 3 : port_notInTrunk_up_loopdetEnable_Loop_noBlock 4 : port_notInTrunk_up_loopdetEnable_Loop_Block 5 : port_InTrunk_down 6 : port_InTrunk_up_loopdetDisable 7 : port_InTrunk_up_loopdetEnable_noLoop 8 : port_InTrunk_up_loopdetEnable_Loop_noBlock 9 : port_InTrunk_up_loopdetEnable_Loop_Block when being 4 or 9,the following characters have the format of 4-3 which means the port is looped and blocked in vlan 3.
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.2.4.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portEntry
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 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::portLoopdetectStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::portLoopdetectStatus.<portId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Es2952-MIB::portLoopdetectStatus'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-200