All MIBs › H3C-DHCP4-MIB › h3cDhcpRelay2IfCheckMac
h3cDhcpRelay2IfCheckMac
Module: H3C-DHCP4-MIB
OID (symbolic): H3C-DHCP4-MIB::h3cDhcpRelay2IfCheckMac
OID (numeric): 1.3.6.1.4.1.2011.10.2.122.4.1.1.2
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: If the value is 'true', the function of checking MAC address of packets received from the interface would be enabled.
What is h3cDhcpRelay2IfCheckMac?
When true, the relay checks that a packet's source MAC address matches its DHCP client-hardware-address field on this interface, a spoofing/anti-abuse check.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.10.2.122.4.1.1.2 snmpwalk -v2c -c public <target> H3C-DHCP4-MIB::h3cDhcpRelay2IfCheckMac
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.10.2.122.4.1.1.2.1 snmpget -v2c -c public <target> H3C-DHCP4-MIB::h3cDhcpRelay2IfCheckMac.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.10.2.122.4.1.1.2.1 s <value>
Start monitoring H3C router/switch (DHCPv4 server/relay) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the H3C-DHCP4-MIB::h3cDhcpRelay2IfCheckMac OID value, configure state conditions and alerts, and monitor any H3C router/switch (DHCPv4 server/relay) 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.122 | h3cDhcp4 | H3C-DHCP4-MIB |
| 1.3.6.1.4.1.2011.10.2.122.4 | h3cDhcpRelay2Tables | H3C-DHCP4-MIB |
| 1.3.6.1.4.1.2011.10.2.122.4.1 | h3cDhcpRelay2IfConfigTable | H3C-DHCP4-MIB |
| 1.3.6.1.4.1.2011.10.2.122.4.1.1 | h3cDhcpRelay2IfConfigEntry | H3C-DHCP4-MIB |
| 1.3.6.1.4.1.2011.10.2.122.4.1.1.2 | h3cDhcpRelay2IfCheckMac | H3C-DHCP4-MIB |