hm2NetVlanID

HM2-NETCONFIG-MIB · .1.3.6.1.4.1.248.11.20.1.1.7

Object

scalar r/w Integer32
VLAN-ID of the IP protocol stack. The VLAN-ID value means
that only traffic of the appropriate VLAN is accepted and
outgoing traffic uses this VLAN-ID.

Context

MIB
HM2-NETCONFIG-MIB
OID
.1.3.6.1.4.1.248.11.20.1.1.7
Type
scalar
Access
readwrite
Status
current
Parent
hm2NetStaticGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-NETCONFIG-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NETCONFIG-MIB::hm2NetVlanID.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-NETCONFIG-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-NETCONFIG-MIB::hm2NetVlanID'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-4042