hwExistInterface
HUAWEI-LswVLAN-MIB ·
.1.3.6.1.4.1.2011.2.23.1.2.1.1.1.7
Object
column SNMPv2-TCTruthValue
Whether there is virtual interface.
Context
- MIB
- HUAWEI-LswVLAN-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.2.1.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwdot1qVlanMIBEntry
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-LswVLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswVLAN-MIB::hwExistInterface'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswVLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswVLAN-MIB::hwExistInterface.<hwdot1qVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswVLAN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswVLAN-MIB::hwExistInterface'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |