hh3cNSExportVlanOrIfIndex
HH3C-NS-MIB ·
.1.3.6.1.4.1.25506.2.20.1.1.7
Object
scalar Enumeration
This object describes the interface index at the exported packet. It can be interface index or vlan id according to the product.
Context
- MIB
- HH3C-NS-MIB
- OID
.1.3.6.1.4.1.25506.2.20.1.1.7- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hh3cNSMibScalarObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NS-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NS-MIB::hh3cNSExportVlanOrIfIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NS-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NS-MIB::hh3cNSExportVlanOrIfIndex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | vlanId |
2 | interfaceIndex |