323
Restrictions and guidelines
When you configure the BAS-IP or BAS-IPv6 attribute for portal packets sent to the portal
authentication server, follow these restrictions and guidelines:
•
During a re-DHCP portal authentication or mandatory user logout process, the device sends
portal notification packets to the portal authentication server. For the authentication or logout
process to complete, make sure the BAS-IP/BAS-IPv6 attribute is the same as the device IP or
IPv6 address specified on the portal authentication server.
•
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 H3C IMC server.
{
The portal device IP address specified on the portal authentication server is not the IP
address of the portal packet output interface.
Procedure
To configuring the BAS-IP or BAS-IPv6 attribute:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the BAS-IP
attribute.
portal
bas-ip ipv4-address
By default:
•
The BAS-IP attribute of an IPv4
portal reply packet sent to the portal
authentication server is the source
IPv4 address of the packet.
•
The BAS-IP attribute of an IPv4
portal notification packet sent to the
portal authentication server is the
IPv4 address of the packet's output
interface.
4.
Configure the BAS-IPv6
attribute.
portal
bas-ipv6 ipv6-address
By default:
•
The BAS-IPv6 attribute of an IPv6
portal reply packet sent to the portal
authentication server is the source
IPv6 address of the packet.
•
The BAS-IPv6 attribute of an IPv6
portal notification packet sent to the
portal authentication server is the
IPv6 address of the packet's output
interface.
Specifying the device ID
The portal authentication server uses device IDs to identify the devices that send protocol packets to
the portal server.
Make sure the configured device ID is different than any other access devices communicating with
the same portal authentication server.
To specify the device ID:
Step Command
Remarks
1.
Enter system view.
system-view
N/A