hwIpDslamAddressAllocationMode
HUAWEI-IPDSLAM-SECURITY-MIB ·
.1.3.6.1.4.1.2011.6.47.26.11
Object
scalar Enumeration
The allocation mode of IP Address or IPv6 Address. Options: 1. dhcp(1) -indicates IP Address is allocated by DHCP 2. dhcpv6(2) -indicates IPv6 Address is allocated by DHCPv6 3. slaac(3) -indicates IPv6 Address is allocated by SLAAC
Context
- MIB
- HUAWEI-IPDSLAM-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.6.47.26.11- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwIpDslamTrapsVbOids
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-SECURITY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-SECURITY-MIB::hwIpDslamAddressAllocationMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-SECURITY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-SECURITY-MIB::hwIpDslamAddressAllocationMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dhcp |
2 | dhcpv6 |
3 | slaac |