hwDhcpv6OptionSwitch

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.26

Object

column r/w Enumeration
Indicates the VLAN-based DHCPv6 option function.
Options:
1. enable(1)  -indicates that the DHCPv6 option 18 and optin 37 function are enabled.
2. disable(2) -indicates that the DHCPv6 option 18 and optin 37 function are disabled.
This leaf is optional for creating a VLAN service profile.
The global DHCPv6 option function can be configured in hwDhcpv6OptionStatus
of HUAWEI-DHCPV6-RELAY-MIB. The final status of the DHCPv6 option
function is determined by its global-level switch and VLAN-level switch.
The DHCPv6 option function of a VLAN is enabled only when
the switches at both levels are enabled.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.26
Type
column
Access
readwrite
Status
current
Parent
hwVlanSrvProfEntry

Walk 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::hwDhcpv6OptionSwitch'
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::hwDhcpv6OptionSwitch.<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::hwDhcpv6OptionSwitch'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enable
2disable