swMacBasedAuthPortMode
Mac-Based-Authentication-MIB ·
.1.3.6.1.4.1.171.12.35.3.1.1.3
Object
column r/w
Enumeration
This object specifies the mode of this entry. port_based: All users connected to a port share the first authentication result. host_based: Each user can have its own authentication result.
Context
- MIB
- Mac-Based-Authentication-MIB
- OID
.1.3.6.1.4.1.171.12.35.3.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Default
port_based- Parent
- swMacBasedAuthPortEntry
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 'Mac-Based-Authentication-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Mac-Based-Authentication-MIB::swMacBasedAuthPortMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Mac-Based-Authentication-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Mac-Based-Authentication-MIB::swMacBasedAuthPortMode.<swMacBasedAuthPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Mac-Based-Authentication-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Mac-Based-Authentication-MIB::swMacBasedAuthPortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | port_based |
2 | host_based |