R3303-HP 6600/HSR6600 Routers Security Command Reference

Table Of Contents
179
Examples
# Specify the NAS ID of a RADIUS request to be sent on GigabitEthernet 3/0/1 as
0002053110000460.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] portal nas-id 0002053110000460
portal nas-id-profile
Use portal nas-id-profile to specify a NAS ID profile for the interface.
Use undo portal nas-id-profile to cancel the configuration.
Syntax
portal nas-id-profile profile-name
undo portal nas-id-profile
Default
An interface is not specified with any NAS ID profile.
Views
Interface view
Default command 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. For more information about this command, see "AAA configuration commands."
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:
If a NAS ID is configured using the portal nas-id command, the device uses the configured NAS ID
as that of the interface.
If the interface has no NAS ID configured, the device uses the device name as the interface NAS ID.
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.