hwSepBlockPortMode

HUAWEI-SEP-MIB · .1.3.6.1.4.1.2011.5.25.223.1.2.1.5

Object

column r/w Enumeration
The way to choose the port to be blocked.
if the value of the object is set 1, the optimal port.
if the value of the object is set 2, the middle port.
if the value of the object is set 3, the port with the designated hop(hwSepBlockPortHop).
if the value of the object is set 4, the port with the designated system name(hwSepBlockPortSysname) and port name(hwSepBlockPortIfname).
if the value of the object is set 5, the operation is delete configuration of the block port.
              
BlockPortMode          |                            BlockPortValue
                       |     active                                                     inactive
-----------------------|------------------------------------------------------------------------------
optimal(1)             |     (1)                                                          (2/3/4)
middle(2)              |     (2)                                                          (1/3/4)
hop(3)                 |     (3)(hwSepBlockPortHop)                                       (1/2/4)
name(4)                |     (4)(hwSepBlockPortSysname & hwSepBlockPortIfname)            (1/2/3)

Context

MIB
HUAWEI-SEP-MIB
OID
.1.3.6.1.4.1.2011.5.25.223.1.2.1.5
Type
column
Access
readwrite
Status
current
Parent
hwSepSegmentEntry
Groups
1

Walk 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::hwSepBlockPortMode'
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::hwSepBlockPortMode.<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::hwSepBlockPortMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1optimal
2middle
3hop
4name
5null

Conformance