R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101
63
Default level
2: System level
Parameters
profile-name: Name of the profile that defines the binding relationship between VLANs and NAS IDs, a
case-insensitive string of 1 to 16 characters. The profile can be configured by using the aaa nas-id profile
command.
Description
Use portal nas-id-profile to specify a NAS ID profile for the interface.
Use undo portal nas-id-profile to cancel the configuration.
By default, an interface is not specified with any NAS ID profile.
If an interface is specified with a NAS ID profile, the interface prefers the binding defined in the profile.
If no NAS ID profile is specified for an interface or no matching binding is found in the specified profile,
the firewall uses the system name as the interface NAS ID.
Examples
# Specify NAS ID profile aaa for GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] 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 portal nas-ip to configure the source IP address for the interface to use for portal packets to be sent.
Use undo portal nas-ip to restore the default.
By default, no source IP address is specified, and the IP address of the user access interface is 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/1 as 2.2.2.2.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1