hwOntDot1xPortControl
HUAWEI-8021X-EXT-MIB ·
.1.3.6.1.4.1.2011.5.22.1.4.2.1.5
Object
column r/w
Enumeration
Indicates the 802.1x port control. Options: 1. auto(1) - indicates that the 802.1x control is auto. 2. forceauthorized(2) - indicates that the 802.1x control is force-authorized. 3. forceunauthorized(3) - indicates that the 802.1x control is force-unauthorized. Default: auto(1)
Context
- MIB
- HUAWEI-8021X-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.22.1.4.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwOntDot1xPortProfileEntry
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-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-8021X-EXT-MIB::hwOntDot1xPortControl'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-8021X-EXT-MIB::hwOntDot1xPortControl.<hwOntDot1xPortProfName>.<hwOntDot1xOntPhyType>.<hwOntDot1xOntPhyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-8021X-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-8021X-EXT-MIB::hwOntDot1xPortControl'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | auto |
2 | forceauthorized |
3 | forceunauthorized |