hmNetVlanID

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.2.3.8

Object

scalar r/w SNMPv2-SMIInteger32
Vlan ID of the IP protocol stack. If the value is 0,
Traffic from all Vlans is accepted. Every other value means
that only traffic of the appropriate Vlan is accepted and outgoing
traffic uses this Vlan ID.

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.2.3.8
Type
scalar
Access
readwrite
Status
current
Parent
hmNetwork

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647