optixQueryMACTablePortType
OPTIX-L2VPN-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.3.1.44.1.13
Object
column Enumeration
This object indicates the type of querying the port result.1:phyport,2:pw,3:qinq,10:invalid
Context
- MIB
- OPTIX-L2VPN-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.3.1.44.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixQueryMACTableEntry
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-L2VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2VPN-MIB::optixQueryMACTablePortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-L2VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-L2VPN-MIB::optixQueryMACTablePortType.<optixQueryMACTableMACAddr>.<optixQueryMACTableMACNumIndex>.<optixQueryMACTableMACFlag>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-L2VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-L2VPN-MIB::optixQueryMACTablePortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | phyport |
2 | pw |
3 | qinq |
10 | invalid |