h3cNSExportVlanOrIfIndex

H3C-NS-MIB · .1.3.6.1.4.1.2011.10.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
H3C-NS-MIB
OID
.1.3.6.1.4.1.2011.10.2.20.1.1.7
Type
scalar
Access
readonly
Status
current
Parent
h3cNSMibScalarObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-NS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-NS-MIB::h3cNSExportVlanOrIfIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-NS-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-NS-MIB::h3cNSExportVlanOrIfIndex'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1vlanId
2interfaceIndex