All MIBs › HUAWEI-VLAN-MIB › hwDhcpOption82Switch
hwDhcpOption82Switch
Module: HUAWEI-VLAN-MIB
OID (symbolic): HUAWEI-VLAN-MIB::hwDhcpOption82Switch
OID (numeric): 1.3.6.1.4.1.2011.5.6.1.25.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates the VLAN-based DHCP option 82 function. Options: 1. enable(1) -indicates that the DHCP option 82 function is enabled. 2. disable(2) -indicates that the DHCP option 82 function is disabled. This leaf is optional for creating a VLAN service profile. The global DHCP option 82 function can be configured in hwDhcpOption82Status of HUAWEI-DHCP-Proxy-MIB. The final status of the DHCP option 82 function is determined by its global-level switch and VLAN-level switch. The DHCP option 82 function of a VLAN is enabled only when the switches at both levels are enabled.
What is hwDhcpOption82Switch?
Enables or disables DHCP option 82 (relay agent information) insertion for VLANs bound to this profile, again gated by the matching global switch in HUAWEI-DHCP-Proxy-MIB; option 82 lets the DHCP server learn which physical port/VLAN a client request came from.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.11 snmpwalk -v2c -c public <target> HUAWEI-VLAN-MIB::hwDhcpOption82Switch
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.11.1 snmpget -v2c -c public <target> HUAWEI-VLAN-MIB::hwDhcpOption82Switch.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.6.1.25.1.11.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwDhcpOption82Switch.1
Start monitoring Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-VLAN-MIB::hwDhcpOption82Switch OID value, configure state conditions and alerts, and monitor any Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) from a single console.
OID Breakdown
Upper-level ancestors (10 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.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.6 | hwVlan | HUAWEI-MIB |
| 1.3.6.1.4.1.2011.5.6.1 | hwVlanMngObject | HUAWEI-VLAN-IF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.6.1.25 | hwVlanSrvProfTable | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.25.1 | hwVlanSrvProfEntry | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.25.1.11 | hwDhcpOption82Switch | HUAWEI-VLAN-MIB |