swSSHUserCtrlHostIp
SSH-MIB ·
.1.3.6.1.4.1.2272.1.201.1.5.3.1.4
Object
This object indicates the host IP address. If the swSSHUserCtrlAuthMode is not hostbased(4), it must be 0.0.0.0.
Context
- MIB
- SSH-MIB
- OID
.1.3.6.1.4.1.2272.1.201.1.5.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swSSHUserCtrlEntry
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 'SSH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SSH-MIB::swSSHUserCtrlHostIp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SSH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SSH-MIB::swSSHUserCtrlHostIp.<swSSHUserCtrlUserName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SSH-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SSH-MIB::swSSHUserCtrlHostIp'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4