hwElectroSwitchLocation0Info
HUAWEI-ELECTRO-SWITCH-MIB ·
.1.3.6.1.4.1.2011.5.14.15.1.3
Object
column OctetString
The available port description when electronic switch location is location-0, including frame index, slot index and port index. If the operation granularity is board-class, no port index is given. If the port is VOIP port, the description is VOIP.
Context
- MIB
- HUAWEI-ELECTRO-SWITCH-MIB
- OID
.1.3.6.1.4.1.2011.5.14.15.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwElectroSwitchEntry
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 'HUAWEI-ELECTRO-SWITCH-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ELECTRO-SWITCH-MIB::hwElectroSwitchLocation0Info'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ELECTRO-SWITCH-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ELECTRO-SWITCH-MIB::hwElectroSwitchLocation0Info.<hwElectroSwitchIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ELECTRO-SWITCH-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ELECTRO-SWITCH-MIB::hwElectroSwitchLocation0Info'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-96