h3cSecureRalmAuthMode

H3C-PORT-SECURITY-MIB · .1.3.6.1.4.1.2011.10.2.26.1.1.4.4

Object

scalar r/w Enumeration
This controls how MAC addresses are authenticated.
          
papUsernameAsMacAddress(1)
    Authentication uses the RADIUS server by
    sending a PAP request with Username and
    Password both equal to the MAC address being
    authenticated.  This is the default.
          
papUsernameFixed(2)
    Authentication uses the RADIUS server by
    sending a PAP request with Username and
    Password coming from the h3cSecureRalmAuthUsername and
    h3cSecureRalmAuthPassword MIB objects.  In this mode
    the RADIUS server would normally take into account
    the request's calling-station-id attribute, which is
    the MAC address of the host being authenticated.

Context

MIB
H3C-PORT-SECURITY-MIB
OID
.1.3.6.1.4.1.2011.10.2.26.1.1.4.4
Type
scalar
Access
readwrite
Status
current
Parent
h3cSecureRalmObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureRalmAuthMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-PORT-SECURITY-MIB::h3cSecureRalmAuthMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1papUsernameAsMacAddress
2papUsernameFixed