xtmClassProtocols
XEDIA-TRAFFIC-MGMT-MIB ·
xedia variant
·
.1.3.6.1.4.1.838.3.2.1.2.1.47
Object
The range of IP protocols that match this class. The value '0'
'any protocol'.
Numeric strings, character strings, and combinations of the two
may be used. Valid strings include:
Numeric String Character String
______________ ________________
1 icmp
6 tcp
17 udp
89 ospf
Context
- MIB
- XEDIA-TRAFFIC-MGMT-MIB
- OID
.1.3.6.1.4.1.838.3.2.1.2.1.47- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- xtmClassEntry
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 'XEDIA-TRAFFIC-MGMT-MIB' -M '/opt/observium/mibs/xedia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XEDIA-TRAFFIC-MGMT-MIB::xtmClassProtocols'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XEDIA-TRAFFIC-MGMT-MIB' -M '/opt/observium/mibs/xedia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XEDIA-TRAFFIC-MGMT-MIB::xtmClassProtocols.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XEDIA-TRAFFIC-MGMT-MIB' -M '/opt/observium/mibs/xedia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XEDIA-TRAFFIC-MGMT-MIB::xtmClassProtocols'