264
Predefined user roles
network-admin
mdc-admin
Parameters
port-number
: Specifies a destination UDP port number the device uses to send unsolicited portal
packets to the portal authentication server. The value range for this argument is 1 to 65534.
Usage guidelines
The specified port must be the port that listens to portal packets on the portal authentication server.
Examples
# Set the destination UDP port number to
50000
for the device to send unsolicited portal packets to
portal authentication server
pts
.
<Sysname> system-view
[Sysname] portal server pts
[Sysname-portal-server-pts] port 50000
Related commands
portal server
portal { bas-ip | bas-ipv6 } (interface view)
Use
portal
{
bas-ip
|
bas-ipv6
} to configure the BAS-IP or BAS-IPv6 attribute carried in the portal
packets sent to the portal authentication server.
Use
undo portal
{
bas-ip
|
bas-ipv6
} to restore the default.
Syntax
portal
{
bas-ip ipv4-address
|
bas-ipv6 ipv6-address
}
undo portal
{
bas-ip
|
bas-ipv6
}
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-IPv6 attribute of an IPv6 portal reply packet sent to the
portal authentication server is the source IPv6 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. 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.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
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.