Step
1.
Enter system view.
2.
Create a NAS-ID profile
and enter NAS-ID profile
view.
3.
Configure a NAS-ID and
VLAN binding in the
profile.
Setting the NAS-ID on an interface
The NAS-ID on an interface is applicable only to portal, PPP, and IPoE users that access the network
through the interface.
If you set a NAS-ID on an interface and specify a NAS-ID profile for the interface, the NAS and VLAN
binding in the NAS-ID profile has higher priority.
To set the NAS-ID on an interface:
Step
1.
Enter system view.
2.
Enter Layer 3 interface
view.
3.
Set the NAS-ID on the
interface.
Setting the NAS-ID in an ISP domain
Step
1.
Enter system view.
2.
Enter ISP domain view
Command
system-view
aaa nas-id profile profile-name
nas-id nas-identifier bind { { c-vid
vlan-id | s-vid vlan-id } * | vlan
vlan-id }
Command
system-view
interface interface-type
interface-number
•
Specify a NAS-ID on the
interface:
aaa nas-id nas-identifier
•
Specify a NAS-ID profile for the
interface:
aaa nas-id-profile profile-name
Command
system-view
domain isp-domain
67
Remarks
N/A
By default, no NAS-ID profiles
exist.
By default, no NAS-ID and VLAN
bindings exist.
In a QinQ network, specify an
inner VLAN ID, outer VLAN ID, or
both in a binding as a best
practice. In a non-QinQ network,
you can only specify a VLAN ID
in a binding by specifying the
vlan vlan-id option.
Remarks
N/A
N/A
By default, no NAS-ID or NAS-ID
profile is specified on an
interface. The NAS-ID on an
interface is the device name (set
by using the sysname
command).
For portal users on an interface,
the NAS-ID profile specified by
using the portal nas-id-profile
command takes precedence
over the NAS-ID profile specified
by using the aaa nas-id-profile
command. For more information
about the portal nas-id-profile
command, see User Access
Command Reference.
Remarks
N/A
N/A