HP MSR2000/3000/4000 Router Series Security Command Reference
430
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.
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. Otherwise the
source IP address of the packets is the IP address of the interface.
If re-DHCP portal authentication is enabled on the interface, the portal device IPv4 or IPv6 address
specified on the portal authentication server and the IPv4 or IPv6 address of the interface must be the