< Home

ipv4-address-avail

Function

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.

Format

ipv4-address-avail { not-available | available | port-restricted [ single-nat | double-nat ] | private { single-nat | double-nat } | unknown }

undo ipv4-address-avail

Parameters

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.
  • single-nat: Single-NATed and port-restricted IPv4 addresses are available.
  • single-nat: Double-NATed and port-restricted IPv4 addresses are available.

-

private { single-nat | double-nat }
Indicates that private IPv4 addresses are available.
  • single-nat: Single-NATed private IPv4 addresses are available.
  • double-nat: Double-NATed private IPv4 addresses are availables.

-

unknown

Indicates that availability of the IPv4 address type is not known.

-

Views

Hotspot2.0 profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set IPv4 addresses to available in hotspot2.0 profile hotspot.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] ipv4-address-avail available
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >