hm2IfaceLayoutFormat
HM2-DEVMGMT-MIB ·
.1.3.6.1.4.1.248.11.10.1.6.2.1.6
Object
This specifies a format string that can be used to determine the textual representation of an interface in this block. following wildcards are supported: %i the absolute interface number according to 'IfEntry'. %p the relative number based on hm2IfaceLayoutStartIfIndex %s the block number from 'hm2IfaceLayoutIndex' %vid the vlan of the routing interface %lre the name of the redundancy port (prp or hsr)
Context
- MIB
- HM2-DEVMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.10.1.6.2.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2IfaceLayoutEntry
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-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2IfaceLayoutFormat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DEVMGMT-MIB::hm2IfaceLayoutFormat.<hm2IfaceLayoutIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DEVMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DEVMGMT-MIB::hm2IfaceLayoutFormat'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255