266
Parameters
ipv4-address
: Specifies BAS-IP for portal packets sent to the portal authentication server. This
attribute must be the IPv4 address of an interface on the device. It cannot be 0.0.0.0, 1.1.1.1, a class
D address, a class E address, or a loopback address.
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 or BAS-IPv6. If the attribute
is not configured, 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 GigabitEthernet 1/0/1, configure the BAS-IP attribute as
2.2.2.2
for portal packets sent to the
portal authentication server. (Wired application).
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal bas-ip 2.2.2.2
# On service template
service1
, configure the BAS-IP attribute as
2.2.2.2
for portal packets sent to
the portal authentication server. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] portal bas-ip 2.2.2.2
Related commands
display portal
portal { ipv4-max-user | ipv6-max-user }
Use
portal
{
ipv4-max-user
|
ipv6-max-user
} to set the maximum number of portal users allowed
on an interface or a service template.
Use
undo portal
{
ipv4-max-user
|
ipv6-max-user
} to restore the default.
Syntax
Interface view:
portal
{
ipv4-max-user
|
ipv6-max-user
}
max-number
undo portal
{
ipv4-max-user
|
ipv6-max-user
}
Service template view: