hmSrmVlanID
HMRING-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.5.5.5.1.7
Object
column r/w
Integer32
VLAN identifier of the SRM domain. If value is set to 0 no VLAN is assigned.
Context
- MIB
- HMRING-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.5.5.5.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmSrmEntry
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 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMRING-MGMT-SNMP-MIB::hmSrmVlanID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMRING-MGMT-SNMP-MIB::hmSrmVlanID.<hmSrmRingID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMRING-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMRING-MGMT-SNMP-MIB::hmSrmVlanID'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4042