pmRoleString

POLICY-BASED-MANAGEMENT-MIB · .1.3.6.1.2.1.124.4.1.4

Object

column OctetString
The role string that is associated with an element through
this table.  All role strings must have been successfully
transformed by Stringprep RFC 3454.  Management stations
must perform this translation and must only set this object
to string values that have been transformed.
              
A role string is an administratively specified characteristic
of a managed element (for example, an interface).  It is a
selector for policy rules, that determines the applicability of
the rule to a particular managed element.

Context

MIB
POLICY-BASED-MANAGEMENT-MIB
OID
.1.3.6.1.2.1.124.4.1.4
Type
column
Access
noaccess
Status
current
Parent
pmRoleEntry

Walk 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 'POLICY-BASED-MANAGEMENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'POLICY-BASED-MANAGEMENT-MIB::pmRoleString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'POLICY-BASED-MANAGEMENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'POLICY-BASED-MANAGEMENT-MIB::pmRoleString.<pmRoleElement>.<pmRoleContextName>.<pmRoleContextEngineID>.<pmRoleString>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'POLICY-BASED-MANAGEMENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'POLICY-BASED-MANAGEMENT-MIB::pmRoleString'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-64