hwGponDeviceSrvProfPortVlanCfgPortCVlan
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.3.68.1.4
Object
column SNMPv2-SMIInteger32
This object indicates the user-side VLAN of port on the GPON service profile. Options: 1.user-vlan(0~4095) - Indicates the VLAN for user-side packets of an ONT port 2.transparent(65534) - Indicates the transparent transmission mode for packet forwarding. In this mode, packets are not processed and VLAN tags remain the same 3.untagged(65533) - Indicates that user-side packets before VLAN translation do not carry VLAN tags 4.other-all(65532) - Indicates that user-side packets before VLAN translation are ones that cannot be matched by specified VLAN or untagged VLAN 5.invalid(-1) - Indicates that there is no VLAN translation, or this port is not in VLAN translation mode, for example, user-side packets is in priority translation mode, not concerned VLAN ID.
Context
- MIB
- HUAWEI-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.3.68.1.4- Type
- column
- Access
- noaccess
- 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::hwGponDeviceSrvProfPortVlanCfgPortCVlan'
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::hwGponDeviceSrvProfPortVlanCfgPortCVlan.<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::hwGponDeviceSrvProfPortVlanCfgPortCVlan'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647