notification packet sent to the portal authentication server is the IPv6 address of the packet's output
interface.
Views
Interface view
Service template view
Predefined user roles
network-admin
Parameters
bas-ip ipv4-address: Specifies BAS-IP for portal packets sent to the portal authentication server.
The ipv4-address argument 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.
bas-ip6 ipv6-address: Specifies BAS-IPv6 for portal packets sent to the portal authentication server.
The ipv6-address argument 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 or
service template if the following conditions are met:
•
The portal authentication server is an H3C IMC server or the portal authentication mode 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.
318