hwSepBlockPortHop
HUAWEI-SEP-MIB ·
.1.3.6.1.4.1.2011.5.25.223.1.2.1.6
Object
column r/w
Integer32
The hop count of the preffered blocking port. If the value of the object is set 0, the operation is delete configuration. If the mode of block port is not hop(3), the value is not have effect.
Context
- MIB
- HUAWEI-SEP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.223.1.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSepSegmentEntry
- 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-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SEP-MIB::hwSepBlockPortHop'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SEP-MIB::hwSepBlockPortHop.<hwSepSegmentId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SEP-MIB::hwSepBlockPortHop'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-512
Conformance
Member of