adGenY1731MegNameFormat
ADTRAN-GEN-Y1731-MIB ·
.1.3.6.1.4.1.664.5.75.2.1.2.4.1.2
Object
column Enumeration
char-string - This is an IETF RFC 2579 DisplayString, with the
exception that the character codes 0-31 (decimal) are not used.
icc-umc - this consists of two subfields:
(1) The ITU Carrier Code (ICC) followed by a unique MEG ID code (UMC).
The ITU Carrier code consists of 1-6 left-justified characters,
alphabetic, or leading alphabetic with trailing numeric.
(2) The UMC code immediately follows the ICC and shall consist of 7-12
characters. The UMC shall be a matter for the organization to
which the ICC has been assigned, provided that uniqueness is
guaranteed.
cfm - indicates the MEG name will follow the formatting rules defined by
IEEE 802.1ag Connectivity Fault Management. It will comprise of two names: a Maintenance
Domain Name and a Maintenance Association Name. Each name will have an associated name
format.
Context
- MIB
- ADTRAN-GEN-Y1731-MIB
- OID
.1.3.6.1.4.1.664.5.75.2.1.2.4.1.2- 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::adGenY1731MegNameFormat'
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::adGenY1731MegNameFormat.<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::adGenY1731MegNameFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
2 | charString |
32 | iccUmc |
256 | cfm |