cienaCesDhcpRelayAgentL2State
CIENA-CES-DHCP-RELAY-MIB ·
.1.3.6.1.4.1.1271.2.3.6.1.1.3
Object
scalar r/w
Enumeration
Specifies the global administrative state of the DHCP L2 relay agent.
Context
- MIB
- CIENA-CES-DHCP-RELAY-MIB
- OID
.1.3.6.1.4.1.1271.2.3.6.1.1.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- cienaCesDhcpRelayAgentGlobalAttrs
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 'CIENA-CES-DHCP-RELAY-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIENA-CES-DHCP-RELAY-MIB::cienaCesDhcpRelayAgentL2State.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CIENA-CES-DHCP-RELAY-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CIENA-CES-DHCP-RELAY-MIB::cienaCesDhcpRelayAgentL2State'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |