78
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] ip pool 0 129.102.0.1 129.102.0.10
nas-id bind vlan
Syntax
nas-id
nas-identifier
bind vlan
vlan-id
undo nas-id
nas-identifier
bind vlan
vlan-id
View
NAS ID profile view
Default level
2: System level
Parameters
nas-identifier
: NAS ID, a case-sensitive string of 1 to 20 characters
vlan-id
: ID of the VLAN to be bound with the NAS ID, in the range 1 to 4094.
Description
Use the
nas-id bind vlan
command to bind a NAS ID with a VLAN.
Use the
undo nas-id bind vlan
command to remove a NAS ID-VLAN binding.
By default, no NAS ID-VLAN binding exists.
In a NAS ID profile view, you can configure multiple NAS ID–VLAN bindings.
A NAS ID can be bound with more than one VLAN, but one VLAN can be bound with only one NAS ID.
If you bind a VLAN with different NAS IDs, only the last binding takes effect.
Related commands:
aaa nas-id profile
.
Examples
# Bind NAS ID 222 with VLAN 2.
<Sysname> system-view
[Sysname] aaa nas-id profile aaa
[Sysname-nas-id-prof-aaa] nas-id 222 bind vlan 2
self-service-url enable
Syntax
self-service-url
enable
url-string
undo self-service-url enable
View
ISP domain view
Default level
2: System level