dhcpSnoopingTrust
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.13.3.17.1.4
Object
column r/w
OctetString
Configure trust function on a port or vlan list string.If input the string 'all', then trust all the vlan. If input the string '1-2', then only trust the DHCP packets with that vlan ID is 1 or 2. If input string 'NULL', then close the trust function on the port.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.13.3.17.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dhcpSnoopingPortConfigEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::dhcpSnoopingTrust'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::dhcpSnoopingTrust.<dhcpSnoopingPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::dhcpSnoopingTrust'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.