dhcpSnoopingClearBinding
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.13.3.16
Object
scalar r/w
OctetString
Clear the dhcp snooping bindings, the user can specify the mac address and vlan ID, or interface name and vlan ID ,or vlan ID, if input 'all' string, then clear all of the bindings,if input 'mac 00-24-e3-3a-f3-24 vlan 2', then clear the bindings with mac address 00-24-e3-3a-f3-24 in the vlan 2, if input 'interface ethernet0/0/1 vlan 2', then clear all of the bidings on the interface ethernet0/0/1 in the vlan 2, if input 'vlan 1' string ,then clear all of bindings in the vlan 1.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.13.3.16- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dhcpSnooping
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::dhcpSnoopingClearBinding.0'
More examples
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::dhcpSnoopingClearBinding'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-64