optixPktMirrorSrcType
OPTIX-PKT-MIRROR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.22.1.1.1.4
Object
column r/w
Enumeration
Type of source point of port mirror. 0: phyport, 1: V-UNI, 2: V-NNI, 3: flow
Context
- MIB
- OPTIX-PKT-MIRROR-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.22.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixPktMirrorEntry
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 'OPTIX-PKT-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-MIRROR-MIB::optixPktMirrorSrcType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-MIRROR-MIB::optixPktMirrorSrcType.<optixPktMirrorID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-MIRROR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-MIRROR-MIB::optixPktMirrorSrcType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | phyport |
1 | vuni |
2 | vnni |
3 | flow |