hwDhcpProxySwitch
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.25.1.10
Object
column r/w
Enumeration
Indicates the VLAN-based DHCP proxy function. Options: 1. enable(1) -indicates that the DHCP proxy is enabled. 2. disable(2) -indicates that the DHCP proxy is disabled. This leaf is optional for creating a VLAN service profile. The global DHCP proxy function can be configured in hwDhcpProxyStatus of HUAWEI-DHCP-Proxy-MIB. The final status of the DHCP proxy function is determined by its global-level switch and VLAN-level switch. The DHCP proxy function of a VLAN is enabled only when the switches at both levels are enabled. When the DHCP mode of the VLAN is configured to L2 mode, the configuration data can be saved, but the configuration of the DHCP proxy function does not take effect.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.25.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanSrvProfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwDhcpProxySwitch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwDhcpProxySwitch.<hwVlanSrvProfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwDhcpProxySwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |