R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101

52
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] portal nas-id-profile aaa
portal nas-ip
Syntax
portal nas-ip ip-address
undo portal nas-ip
View
Interface view
Default level
2: System level
Parameters
ip-address: Source IP address to be specified for portal packets. This IP address must be a local IP
address, and cannot be 0.0.0.0, 255.255.255.255, a class D address, a class E address, or a loopback
address.
Description
Use the portal nas-ip command to configure the source IP address for portal packets to be sent.
Use the undo portal nas-ip command to restore the default.
By default, no source IP address is specified, and the IP address of the user access interface will be used
as the source IP address of the portal packets.
Examples
# Configure the source IP address for portal packets to be sent on GigabitEthernet 0/0 as 2.2.2.2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] portal nas-ip 2.2.2.2
portal server
Syntax
portal server server-name ip ip-address [ key key-string | port port-id | url url-string ] *
undo portal server server-name [ key | port | url ]
View
System view
Default level
2: System level
Parameters
server-name: Name of the portal server, a case-sensitive string of 1 to 32 characters.
ip-address: IP address of the portal server. If you configure the local portal server, the IP address specified
must be that of a Layer 3 interface on the firewall, and the interface must be reachable for the portal
clients.