F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Access Control Command Reference-6PW100

126
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.
Usage guidelines
If an interface is specified with a NAS ID profile, the interface prefers to use 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 device uses the configured NAS ID as that of the interface.
Examples
# Specify NAS ID profile aaa for VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] portal nas-id-profile aaa
portal nas-ip
Use portal nas-ip to configure an interface to use a specific source IP address for outgoing portal
packets.
Use undo portal nas-ip to delete the specified source IP address.
Syntax
portal nas-ip ipv4-address
undo portal nas-ip
Default
No source IP address is specified for outgoing portal packets on an interface, and the interface uses the
IP address of the user access interface as the source IP address for outgoing portal packets.
Views
Interface view
Default command level
2: System level
Parameters
ipv4-address: Specifies a source IPv4 address for outgoing 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.
Examples
# Configure interface GigabitEthernet 0/1 to use 2.2.2.2 as the source IPv4 address for outgoing portal
packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] portal nas-ip 2.2.2.2
portal nas-port-id
Use portal nas-port-id to specify the NAS-Port-ID value carried in a RADIUS request.