zxGponVlanId
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.8.20.1.1
Object
column Integer32
A value used to index per-VLAN tables: values of 0 and 4095 are not permitted; if the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095 then it represents a VLAN with scope local to the particular agent, i.e. one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q but it is convenient to be able to manage them in the same way using this MIB.
Context
- MIB
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.8.20.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- zxGponOmciVlanEthStatsEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponVlanId.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponUNIIndex>.<zxGponVlanId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponVlanId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4095