prtXCliPortString
RAD-GEN-MIB ·
.1.3.6.1.4.1.164.6.2.15.5.2.1.1
Object
The exact string that is used by the CLI to identify this interface.
The string includes the port type and the port identifier.
Example port strings:
'ethernet main-a/1'
'ethernet 1'
'logical-mac 2'
Context
- MIB
- RAD-GEN-MIB
- OID
.1.3.6.1.4.1.164.6.2.15.5.2.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- prtXEntry
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 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::prtXCliPortString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-GEN-MIB::prtXCliPortString.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-GEN-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-GEN-MIB::prtXCliPortString'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255