hm2AgentDhcpL2RelayAdminMode
HM2-PLATFORM-SWITCHING-MIB ·
.1.3.6.1.4.1.248.12.1.2.8.24.1
Object
This object indicates whether DHCP L2 Relay
is enabled globally.
If this object is set to 'true',admin mode
is enabled globally.
If this object is set to 'false',admin mode
is disabled globally.
Context
- MIB
- HM2-PLATFORM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.248.12.1.2.8.24.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentDhcpL2RelayConfigGroup
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 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentDhcpL2RelayAdminMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentDhcpL2RelayAdminMode'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |