serviceCommandsRestart
MX-SCM-MIB ·
.0.400.1.200.1.200
Object
column r/w
Enumeration
Restart
Restarts the service.
Context
- MIB
- MX-SCM-MIB
- OID
.0.400.1.200.1.200- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- serviceCommandsEntry
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 'MX-SCM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SCM-MIB::serviceCommandsRestart'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-SCM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SCM-MIB::serviceCommandsRestart.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SCM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SCM-MIB::serviceCommandsRestart'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.