hpSwitchAliasCommand
HP-SWITCH-BASIC-CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.29.1.2.1.2
Object
column r/w
OctetString
CLI command for which 'hpSwitchAliasName' can be used in CLI. Maximum allowed length for alias command is 255 characters. This object is required to create an entry in the table.
Context
- MIB
- HP-SWITCH-BASIC-CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.29.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hpSwitchAliasEntry
- Groups
- 1
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 'HP-SWITCH-BASIC-CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SWITCH-BASIC-CONFIG-MIB::hpSwitchAliasCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SWITCH-BASIC-CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SWITCH-BASIC-CONFIG-MIB::hpSwitchAliasCommand.<hpSwitchAliasName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SWITCH-BASIC-CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SWITCH-BASIC-CONFIG-MIB::hpSwitchAliasCommand'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255
Conformance
Member of