hh3cMACsecDeviceRole

HH3C-MACSEC-MIB · .1.3.6.1.4.1.25506.2.163.2.1.1

Object

scalar Enumeration
The role of the local device role in MKA.
unknown : The device role is unknown.
server  : The device is the key server.
client  : The device is the client.

Context

MIB
HH3C-MACSEC-MIB
OID
.1.3.6.1.4.1.25506.2.163.2.1.1
Type
scalar
Access
notifyonly
Status
current
Parent
hh3cMACsecTrapOjbects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-MACSEC-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-MACSEC-MIB::hh3cMACsecDeviceRole.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-MACSEC-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-MACSEC-MIB::hh3cMACsecDeviceRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2server
3client