hh3cPexPortStatus
HH3C-PEX-MIB ·
.1.3.6.1.4.1.25506.2.129.2.1.1.5
Object
column Enumeration
Status of the PEX. offline: The PEX is absent or its configuration is incomplete. loading: The PEX is loading software. online: The PEX is operating correctly.
Context
- MIB
- HH3C-PEX-MIB
- OID
.1.3.6.1.4.1.25506.2.129.2.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cPexPortEntry
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 'HH3C-PEX-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-PEX-MIB::hh3cPexPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-PEX-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-PEX-MIB::hh3cPexPortStatus.<hh3cPexPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-PEX-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-PEX-MIB::hh3cPexPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | offline |
2 | loading |
3 | online |