hwDhcpv6OptionAntiIllegalOptionStatus
HUAWEI-DSLAM-DHCPV6-RELAY-MIB ·
.1.3.6.1.4.1.2011.5.111.1.3.1.8
Object
column r/w
Enumeration
Queries and sets DHCPv6 option switch status of anti-illegal-option. Options: 1. enable(1) -indicates that DHCPv6 option function of anti-illegal-option is enabled 2. disable(2) -indicates that DHCPv6 option function of anti-illegal-option is disabled Default: disable(2)
Context
- MIB
- HUAWEI-DSLAM-DHCPV6-RELAY-MIB
- OID
.1.3.6.1.4.1.2011.5.111.1.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpv6RelayConfigEntry
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-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6OptionAntiIllegalOptionStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6OptionAntiIllegalOptionStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6OptionAntiIllegalOptionStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |