portCLImode
IMM-MIB ·
.1.3.6.1.4.1.2.3.51.3.3.1.2.18
Object
scalar mandatory
r/w
Enumeration
Use this field to select the CLI (command line interface) mode for this port. The CLI mode disablies serial redirect, or pecifies the type of keystroke sequences to use for entering (returning to) the CLI from the system console.
Context
- MIB
- IMM-MIB
- OID
.1.3.6.1.4.1.2.3.51.3.3.1.2.18- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- serialPortCfg
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::portCLImode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IMM-MIB::portCLImode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | cliDisable |
1 | cliWithEMScompatibleKeystrokeSeq |
2 | cliWithUserDefinedKeystrokeSeq |