dhcpSnoopInformationOptionPolicy
SMC6152L2-MIB ·
.1.3.6.1.4.1.202.20.66.1.46.1.4
Object
scalar r/w
Enumeration
This object indicates which reforwarding policy shall be used for DHCP snooping information option(option 82). A value of drop(1) means to drop the DHCP request packet which has the information option(option 82). A value of keep(2) means to keep the existing information option(option 82) of the DHCP request packet. A value of replace(3), which is the default value, means to replace the existing information option(option 82) of the DHCP request packet.
Context
- MIB
- SMC6152L2-MIB
- OID
.1.3.6.1.4.1.202.20.66.1.46.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dhcpSnoopGlobal
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 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::dhcpSnoopInformationOptionPolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMC6152L2-MIB::dhcpSnoopInformationOptionPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |