hwDot1xPortAuthMode
HUAWEI-8021X-EXT-MIB ·
.1.3.6.1.4.1.2011.5.22.1.3.3.1.3
Object
column r/w
Enumeration
Indicates the control parameters of the controlled port. A port has three authorization control modes: force-authorized mode, force-unauthorized mode, and auto mode. According to different networks, different port control modes can be selected. By default, a port is in the unauthorized state, and users connected to the port cannot access network resources. If the authentication passes, the port state switches to the authorized state and users can access the network resources. Options: 1. forceUnauthorized(1) -indicates force-authorized mode 2. auto(2) -auto mode 3. forceAuthorized(3) -indicates force-unauthorized mode Default: auto(2)
Context
- MIB
- HUAWEI-8021X-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.22.1.3.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Default
auto- Parent
- hwDot1xPortConfigExtEntry
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::hwDot1xPortAuthMode'
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::hwDot1xPortAuthMode.<dot1xPaePortNumber>'
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::hwDot1xPortAuthMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | forceUnauthorized |
2 | auto |
3 | forceAuthorized |