hmRS2VlanMode
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.1.10.11.1
Object
scalar r/w
Enumeration
Enables/disables the VLAN mode on this device. When enabled the switch will operate in 802.1Q mode, else in 802.1d mode. After setting this variable the switch have to be reset. The default value is disable.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.1.10.11.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmRS2VlanGroup
Net-SNMP examples
How SNMP and these commands workScalars 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::hmRS2VlanMode.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::hmRS2VlanMode'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 0-63