hm2GlobalPortLockingMethod
HM2-PORTLOCKING-MIB ·
.1.3.6.1.4.1.248.11.250.1.1.15
Object
scalar r/w
Enumeration
Selects the global locking method when locking is enabled via hm2GlobalPortLockingMode. The value lockMacAndDisableUnusedPorts locks the MAC addresses and disables all unused ports. The value disableUnusedPortsOnly disables only the unused ports and performs no MAC locking. The value lockMacOnly locks only the MAC addresses.
Context
- MIB
- HM2-PORTLOCKING-MIB
- OID
.1.3.6.1.4.1.248.11.250.1.1.15- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2PortLockingGroup
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 'HM2-PORTLOCKING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PORTLOCKING-MIB::hm2GlobalPortLockingMethod.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PORTLOCKING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PORTLOCKING-MIB::hm2GlobalPortLockingMethod'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | lockMacAndDisableUnusedPorts |
1 | disableUnusedPortsOnly |
2 | lockMacOnly |