hwPppAuthMode
HUAWEI-BRAS-PPPoX-MIB ·
.1.3.6.1.4.1.2011.5.25.40.2.1.1.1.2
Object
column r/w
Enumeration
This object indicates the PPP user authentication mode. 0 (PAP): indicates PAP authentication. In this mode, the user name and password are transmitted in plaintext. 1 (CHAP): indicates CHAP authentication. In this mode, the user name and password are transmitted in ciphertext. 2 (Auto): indicates the autonegotiation mode. If the device and PPP dialer have different authentication modes, the authentication mode of the device is adjusted to be the same as that of the PPP dialer. 3 (mschapv1): indicates MSCHAPv1 authentication. In this mode, the user name and password are transmitted in ciphertext. 4 (mschapv2): indicates MSCHAPv2 authentication. In this mode, the user name and password are transmitted in ciphertext.
Context
- MIB
- HUAWEI-BRAS-PPPoX-MIB
- OID
.1.3.6.1.4.1.2011.5.25.40.2.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPppConfigEntry
- 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-BRAS-PPPoX-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BRAS-PPPoX-MIB::hwPppAuthMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BRAS-PPPoX-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BRAS-PPPoX-MIB::hwPppAuthMode.<hwVtIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BRAS-PPPoX-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BRAS-PPPoX-MIB::hwPppAuthMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | pap |
1 | chap |
2 | auto |
3 | mschapv1 |
4 | mschapv2 |
Conformance
Member of