hwAggPortStatus
HUAWEI-LACP-MIB ·
.1.3.6.1.4.1.2011.5.102.1.2.1.7
Object
column Enumeration
Indicates the port status. Options: 1. forwarding(1) -indicates packets on the port can be forwarded 2. block(2) -indicates the port is blocked
Context
- MIB
- HUAWEI-LACP-MIB
- OID
.1.3.6.1.4.1.2011.5.102.1.2.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwAggPortEntry
- Groups
- 1
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 'HUAWEI-LACP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LACP-MIB::hwAggPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LACP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LACP-MIB::hwAggPortStatus.<hwAggPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LACP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LACP-MIB::hwAggPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | forwarding |
2 | block |
Conformance
Member of