The ipv4-address-avail command configures available types of IPv4 addresses on a Hotspot2.0 network.
The undo ipv4-address-avail command deletes available types of IPv4 addresses on a Hotspot2.0 network.
By default, no available type of IPv4 addresses is configured.
ipv4-address-avail { not-available | available | port-restricted [ single-nat | double-nat ] | private { single-nat | double-nat } | unknown }
undo ipv4-address-avail
Parameter |
Description |
Value |
---|---|---|
not-available |
Indicates that IPv4 addresses are not available. |
- |
available | Indicates that IPv4 addresses are available. |
- |
port-restricted [ single-nat | double-nat ] | Indicates port restricted IPv4 addresses are available.
|
- |
private { single-nat | double-nat } | Indicates that private IPv4 addresses are available.
|
- |
unknown | Indicates that availability of the IPv4 address type is not known. |
- |
Usage Scenario
When user terminals connect to a Hotspot2.0 network, Hotspot2.0 can transfer available IPv4 address types as ANQP parameters to the user terminals through APs. In this way, the user terminals can know the IP address types they can obtain after connecting to the network.