All MIBs › H3C-DHCP-SNOOP2-MIB › h3cDhcpSnoop2IfCheckMac
h3cDhcpSnoop2IfCheckMac
Module: H3C-DHCP-SNOOP2-MIB
OID (symbolic): H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfCheckMac
OID (numeric): 1.3.6.1.4.1.2011.10.2.124.2.2.1.2
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: If the value is 'true', MAC address of DHCP packets received on the port will be checked.
What is h3cDhcpSnoop2IfCheckMac?
When true, DHCP snooping verifies that the source MAC address in the Ethernet header matches the client hardware address field of the DHCP packet on this port, defaulting to false. Enable this on access ports to catch spoofed DHCP requests using a mismatched MAC.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.10.2.124.2.2.1.2 snmpwalk -v2c -c public <target> H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfCheckMac
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.10.2.124.2.2.1.2.1 snmpget -v2c -c public <target> H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfCheckMac.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.10.2.124.2.2.1.2.1 s <value>
Start monitoring H3C access-layer switch (DHCP Snooping v2) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfCheckMac OID value, configure state conditions and alerts, and monitor any H3C access-layer switch (DHCP Snooping v2) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.10 | h3c | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.10.2 | h3cCommon | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.10.2.124 | h3cDhcpSnoop2 | H3C-DHCP-SNOOP2-MIB |
| 1.3.6.1.4.1.2011.10.2.124.2 | h3cDhcpSnoop2Tables | H3C-DHCP-SNOOP2-MIB |
| 1.3.6.1.4.1.2011.10.2.124.2.2 | h3cDhcpSnoop2IfConfigTable | H3C-DHCP-SNOOP2-MIB |
| 1.3.6.1.4.1.2011.10.2.124.2.2.1 | h3cDhcpSnoop2IfConfigEntry | H3C-DHCP-SNOOP2-MIB |
| 1.3.6.1.4.1.2011.10.2.124.2.2.1.2 | h3cDhcpSnoop2IfCheckMac | H3C-DHCP-SNOOP2-MIB |