hh3cMLagRolePeerConfiguredRole
HH3C-MLAG-MIB ·
.1.3.6.1.4.1.25506.2.176.1.2.6
Object
scalar Enumeration
M-LAG role calculated based on the role priority and bridge MAC address of the peer M-LAG member device.
Context
- MIB
- HH3C-MLAG-MIB
- OID
.1.3.6.1.4.1.25506.2.176.1.2.6- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hh3cMLagRoleGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-MLAG-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-MLAG-MIB::hh3cMLagRolePeerConfiguredRole.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-MLAG-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-MLAG-MIB::hh3cMLagRolePeerConfiguredRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | primary |
2 | secondary |