165
Predefined user roles
network-admin
Parameters
port-id: Specifies a destination UDP port number the access 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
# Configure the destination UDP port number as 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 }
Use portal { bas-ip | bas-ipv6 } to configure the BAS-IP or BAS-IPv6 attribute carried in the portal packets
sent to a portal authentication server on an interface.
Use undo portal { bas-ip | bas-ipv6 } to delete the BAS-IP or BAS-IPv6 attribute on the interface.
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 interface. The BAS-IPv6 attribute of an IPv6 portal notification packet sent to the portal
authentication server is the IPv6 address of the interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
ipv4-address: Specifies BAS-IP for portal packets sent by the interface. This attribute must be the device
address, and 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 by the interface. This attribute must be the device
address, and cannot be a multicast address, an all 0 address, or a link-local address.