265
ipv6-address
: Specifies BAS-IPv6 for portal packets sent to the portal authentication server. This
attribute must be the IPv6 address of an interface on the device. It cannot be a multicast address, an
all-0 address, or a link-local address.
Usage guidelines
If the device runs Portal 2.0, unsolicited portal packets (such as a logout notification packet) sent to
the portal authentication server must carry the BAS-IP attribute. If the device runs Portal 3.0,
unsolicited portal packets sent to the portal authentication server must carry the BAS-IP or BAS-IPv6
attribute.
After this command takes effect, the source IP address for unsolicited notification portal packets the
device sends to the portal authentication server is the configured BAS IP address. Otherwise, the
source IP address of the packets is the IP address of the packet output interface.
You must configure the BAS-IP or BAS-IPv6 attribute on a portal authentication-enabled interface if
the following conditions are met:
•
The portal authentication server is an HPE IMC server or the portal authentication mode on the
interface is re-DHCP.
•
The portal device IP address specified on the portal authentication server is not the IP address
of the portal packet output interface.
Examples
# On interface VLAN-interface 100, configure the BAS-IP attribute as
2.2.2.2
for portal packets sent
to the portal authentication server.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal bas-ip 2.2.2.2
Related commands
display portal
portal { ipv4-max-user | ipv6-max-user } (interface view)
Use
portal
{
ipv4-max-user
|
ipv6-max-user
} to set the maximum number of portal users allowed
on an interface.
Use
undo portal
{
ipv4-max-user
|
ipv6-max-user
} to restore the default.
Syntax
portal
{
ipv4-max-user
|
ipv6-max-user
}
max-number
undo portal
{
ipv4-max-user
|
ipv6-max-user
}
Default
The maximum number of portal users allowed on an interface is not limited.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
max-number
: Specifies the maximum number of IPv4 or IPv6 portal users allowed on an interface, in
the range of 1 to 4294967295.