optixMSTPPortStatus
OPTIX-PKT-MSTP-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.40.6.4.6
Object
scalar Enumeration
This object indicates the port status of the reported event. 0: discarding, 1: learning, 2: forwarding
Context
- MIB
- OPTIX-PKT-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.40.6.4.6- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- optixMSTPPortStatusTrapMember
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-MSTP-MIB::optixMSTPPortStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-MSTP-MIB::optixMSTPPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | discarding |
1 | learning |
2 | forwarding |