adGenY1731MegNameLengthAndName
ADTRAN-GEN-Y1731-MIB ·
.1.3.6.1.4.1.664.5.75.2.1.2.4.1.3
Object
column OctetString
If adGenY1731MegNameFormat is char-string or icc-umc -
The First octet represents the total length in octets of the MEG Name.
Octets 2-46 represent the MEG Name associated with the MEG.
If adGenY1731MegNameFormat is CFM - the adGenY1731MegNameLengthAndName field will be
overridden to contain the IEEE 802.1ag MAID -> MD Name Format + MD Name Length + MD Name
+ MA Name Format + MA Name Length + MA Name.
Context
- MIB
- ADTRAN-GEN-Y1731-MIB
- OID
.1.3.6.1.4.1.664.5.75.2.1.2.4.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- adGenY1731MegEntry
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 'ADTRAN-GEN-Y1731-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-Y1731-MIB::adGenY1731MegNameLengthAndName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GEN-Y1731-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-Y1731-MIB::adGenY1731MegNameLengthAndName.<adGenY1731MegLevel>.<adGenY1731MegNameFormat>.<adGenY1731MegNameLengthAndName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GEN-Y1731-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GEN-Y1731-MIB::adGenY1731MegNameLengthAndName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-46