This function retrieves usage information for IPv6 addresses in an IPv6 range.
Note:
For all of cPanel & WHM's features to function properly on IPv6, the cpsrvd
daemon must listen on IPv6 addresses. To enable this functionality, select On for the Listen on IPv6 Addresses setting in the System section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings).
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ ipv6_range_usage \ name='TestRange'
{- "data": {
- "usage": {
- "forbidden": 65536,
- "free": 1000000,
- "used": 20
}
}, - "metadata": {
- "command": "ipv6_range_usage",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}