hwGponDeviceSrvProfPortVlanCfgPortVlanSPriPolicy
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.3.68.1.11
Object
column r/w
Enumeration
This object indicates the s-vlan priority policy. Options: 1. specify(1) - Indicates that the s-vlan priority policy is specified 2. userCos(2) - Indicates that the s-vlan priority policy is userCos 3. dscpMapping(3) - Indicates that the s-vlan priority policy is dscpMapping 4. invalid(-1) - Indicates that the query fails or no information is detected
Context
- MIB
- HUAWEI-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.3.68.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwGponDeviceSrvProfPortVlanCfgEntry
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-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceSrvProfPortVlanCfgPortVlanSPriPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwGponDeviceSrvProfPortVlanCfgPortVlanSPriPolicy.<hwGponDeviceSrvProfPortVlanCfgSrvProfNameIndex>.<hwGponDeviceSrvProfPortVlanCfgOntPhyType>.<hwGponDeviceSrvProfPortVlanCfgOntPhyIndex>.<hwGponDeviceSrvProfPortVlanCfgPortCVlan>.<hwGponDeviceSrvProfPortVlanCfgPortVlanCPri>.<hwGponDeviceSrvProfPortVlanCfgEtherType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwGponDeviceSrvProfPortVlanCfgPortVlanSPriPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | specify |
2 | userCos |
3 | dscpMapping |