swCompoundAuthPortAuthMode
AUTH-MIB ·
.1.3.6.1.4.1.171.12.3.11.1.1.2
Object
column r/w
Enumeration
This object sets the authorization mode. Port-based: If one of the attached hosts passes the authentication, all the hosts on the same port will be granted access to the network. If the user fails the authorization, this port will keep trying the next authentication. Host-based: Every user can be authenticated individually. The client can start authentication on specific authentication VLAN(s).
Context
- MIB
- AUTH-MIB
- OID
.1.3.6.1.4.1.171.12.3.11.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swCompoundAuthPortEntry
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 'AUTH-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AUTH-MIB::swCompoundAuthPortAuthMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AUTH-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AUTH-MIB::swCompoundAuthPortAuthMode.<swCompoundAuthPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AUTH-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AUTH-MIB::swCompoundAuthPortAuthMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | hostbased |
2 | portbased |