h3cSshService
H3C-USER-MIB ·
.1.3.6.1.4.1.2011.10.2.12.1.2.1.13
Object
SSH service:
enable
Setting this object to the value enable has the
effect of enabling the SSH service for the corresponding entry in the
h3cUserAttributeTable.
disable
Setting this object to the value disable has the
effect of disabling the SSH service for the corresponding entry in the
h3cUserAttributeTable.
The default value is disable.
Context
- MIB
- H3C-USER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.12.1.2.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cUserAttributeEntry
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 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cSshService'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cSshService.<h3cUserIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-USER-MIB::h3cSshService'
Syntax
- Source
- ServiceType
- Base type
Enumeration
Values & Constraints
Type Values
1 | enable |
2 | disable |