lanrangerSpoofingAction
RAD-LanRger-MIB ·
.1.3.6.1.4.1.164.4.2.1.7.1
Object
Spoofing action is applied by bit code:
enable : bit 0 set (disable: bit 0 is 0)
keepAlive : bit 1
... : bit 2
and so on.
For the above example, to set spoofing to keepAlive action,
the object's value will be 3 = [ 2**0 + 2**1 ]
Only the Remote LANRANger will accept this object !
-------
Context
- MIB
- RAD-LanRger-MIB
- OID
.1.3.6.1.4.1.164.4.2.1.7.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- lanrangerSpoofingInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-LanRger-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-LanRger-MIB::lanrangerSpoofingAction.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-LanRger-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-LanRger-MIB::lanrangerSpoofingAction'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647