swMacBasedAuthStateRemainTime
Mac-Based-Authentication-MIB ·
.1.3.6.1.4.1.171.12.35.2.2.1.7
Object
column minutes/secondsInteger32
Specifies the remaining MAC-based Access Control host's aging or block time. When host's authentication state is 'authenticated' in swMacBasedAuthStateAuthStatus, this object indicates the host's aging time, the units are in minutes. When host's authentication state is 'blocked' in swMacBasedAuthStateAuthStatus, this object indicates the host's block time, the units are in seconds. 0 indicates that the authenticated host on the port will never age out. -2 indicates the host aging or block timeout, but MAC-based Access Control will hold this entry as expired (for stacking performance) and after the time expired, the switch will delete it.
Context
- MIB
- Mac-Based-Authentication-MIB
- OID
.1.3.6.1.4.1.171.12.35.2.2.1.7- Type
- column
- Access
- readonly
- Status
- current
- Units
- minutes/seconds
- Parent
- swMacBasedAuthStateEntry
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::swMacBasedAuthStateRemainTime'
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::swMacBasedAuthStateRemainTime.<swMacBasedAuthStatePort>.<swMacBasedAuthStateOriginalVID>.<swMacBasedAuthStateMacAddr>'
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::swMacBasedAuthStateRemainTime'
Syntax
minutes/secondsInteger32
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647