rcIpDhcpRelayInformationOptionTrustState
IPDHCP-RELAY-MIB ·
.1.3.6.1.4.1.8886.6.1.30.2.3.1.2
Object
column r/w
Enumeration
The trust state of this port. It has two value,one is trusted (1), which indicates the port support DHCP Relay trust; the other is untrusted (2) that means the port doesn't support DHCP Relay trust. The default value is untrusted(2).
Context
- MIB
- IPDHCP-RELAY-MIB
- OID
.1.3.6.1.4.1.8886.6.1.30.2.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcIpDhcpRelayInformationOptionTrustEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IPDHCP-RELAY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPDHCP-RELAY-MIB::rcIpDhcpRelayInformationOptionTrustState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPDHCP-RELAY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPDHCP-RELAY-MIB::rcIpDhcpRelayInformationOptionTrustState.<rcIpDhcpRelayInformationOptionTrustPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPDHCP-RELAY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPDHCP-RELAY-MIB::rcIpDhcpRelayInformationOptionTrustState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | trusted |
2 | untrusted |