h3cDvpnCurrentDeviceRole
H3C-DVPN-MIB ·
.1.3.6.1.4.1.2011.10.2.57.1.1.13
Object
scalar Enumeration
The current role of the device. The value is decided by the configuration of the tunnel-interface.
Context
- MIB
- H3C-DVPN-MIB
- OID
.1.3.6.1.4.1.2011.10.2.57.1.1.13- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- h3cDvpnMibGlobal
- Groups
- 1
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 'H3C-DVPN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DVPN-MIB::h3cDvpnCurrentDeviceRole.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DVPN-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DVPN-MIB::h3cDvpnCurrentDeviceRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | server |
3 | client |
4 | both |
Conformance
Member of