hm2EtherNetIPVlan

HM2-INDUSTRIAL-PROTOCOLS-MIB · .1.3.6.1.4.1.248.11.101.1.3.1.9

Object

scalar r/w Integer32
Set the VLAN ID of EtherNet/IP. Possible values for the VLAN ID are -1 to 4042.
A value of -1 corresponds to management VLAN(the default). A value 0 is for priority tagging.
System supported values for VLAN ID are 1 to 4042. VLAN ID '1' is for untagged
EtherNet/IP traffic. Incoming Ethernet/IP traffic with other than configured VLAN 
is discarded. Outgoing Ethernet/IP traffic is tagged with configured VLAN ID.

Context

MIB
HM2-INDUSTRIAL-PROTOCOLS-MIB
OID
.1.3.6.1.4.1.248.11.101.1.3.1.9
Type
scalar
Access
readwrite
Status
current
Parent
hm2EthernetIPConfigGroup

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: -1-4042