hwDhcpv6ServerSelectMode
HUAWEI-DSLAM-DHCPV6-RELAY-MIB ·
.1.3.6.1.4.1.2011.5.111.1.3.1.7
Object
column r/w
Enumeration
Queries and sets DHCPv6 server relay mode. Options: 1. standard(1) -indicates that DHCPv6 server relay mode is standard 2. option16(2) -indicates that DHCPv6 server relay mode is option16 3. invalid(-1) -indicates the mode is not configured in the DHCPv6 L2 relay mode Default: standard(1)
Context
- MIB
- HUAWEI-DSLAM-DHCPV6-RELAY-MIB
- OID
.1.3.6.1.4.1.2011.5.111.1.3.1.7- 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::hwDhcpv6ServerSelectMode'
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::hwDhcpv6ServerSelectMode.<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::hwDhcpv6ServerSelectMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | standard |
2 | option16 |