swMacBasedAuthPortState
Mac-Based-Authentication-MIB ·
.1.3.6.1.4.1.171.12.35.3.1.1.2
Object
column r/w
Enumeration
This object enables or disables the authentication state of this port.
Context
- MIB
- Mac-Based-Authentication-MIB
- OID
.1.3.6.1.4.1.171.12.35.3.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- 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::swMacBasedAuthPortState'
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::swMacBasedAuthPortState.<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::swMacBasedAuthPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |