hm2AgentPortSecurityStaticIPs
HM2-PLATFORM-PORTSECURITY-MIB ·
.1.3.6.1.4.1.248.12.20.1.2.1.250
Object
column OctetString
This variable displays the statically locked IP addresses for port. The list displayed in a particular fashion : 2 100.1.1.200, 11 110.2.2.100.
Context
- MIB
- HM2-PLATFORM-PORTSECURITY-MIB
- OID
.1.3.6.1.4.1.248.12.20.1.2.1.250- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2AgentPortSecurityEntry
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 'HM2-PLATFORM-PORTSECURITY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityStaticIPs'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-PORTSECURITY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityStaticIPs.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-PORTSECURITY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityStaticIPs'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-1536