Specifying a nas id profile for an interface – H3C Technologies H3C SecPath F1000-E User Manual
Page 13

12
To do…
Use the command…
Remarks
Specify the NAS-Port-Type value
for the interface
portal nas-port-type
ethernet
Required
Not configured by default
Specifying a NAS ID Profile for an Interface
In some networks, users’ access points are identified by their access VLANs. Network carriers need to
use NAS-identifier to identify user access points. With a NAS ID profile specified on an interface, when
a user logs in from the interface, the access device will check the specified profile to obtain the NAS ID
that is bound with the access VLAN. The value of this NAS ID will be used as that of the NAS-identifier
attribute in the RADIUS packets to be sent to the RADIUS server.
A NAS ID profile defines the binding relationship between VLANs and NAS IDs. A NAS ID-VLAN
binding is defined by the nas-id id-value bind vlan vlan-id command.
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 interface will use the configured
NAS ID as that of the interface.
•
If the interface does not support NAS ID configuration or has no NAS ID configured, it will use the
device name as the interface NAS ID.
Follow these steps to configure a NAS ID profile for an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a NAS ID profile and enter
NAS ID profile view
aaa nas-id profile profile-name Required
Bind a NAS ID with a VLAN
nas-id nas-identifier bind vlan
vlan-id
Required
Return to system view
quit
—
Enter interface view
interface interface-type
interface-number
—
Specify a NAS ID profile for the
interface
portal nas-id-profile
profile-name
Required
By default, an interface is specified
with no NAS ID profile.
Specifying the Source IP Address for Outgoing
Portal Packets
After you specify the source IP address for outgoing portal packets, the IP address will be used for packet
exchanging between the access device and the portal server.
Follow these steps to specify the source IP address for outgoing portal packets: