R2511-HP MSR Router Series Security Command Reference(V5)

40
nas-id bind vlan
Use nas-id bind vlan to bind a NAS ID with a VLAN.
Use undo nas-id bind vlan to remove a NAS ID-VLAN binding.
Syntax
nas-id nas-identifier bind vlan vlan-id
undo nas-id nas-identifier bind vlan vlan-id
Default
No NAS ID-VLAN binding exists.
Views
NAS ID profile view
Default command level
2: System level
Parameters
nas-identifier: Specifies the NAS ID, a case-sensitive string of 1 to 20 characters
vlan-id: Specifies the ID of the VLAN to be bound with the NAS ID. The value range is 1 to 4094.
Usage guidelines
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.
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
Related commands
aaa nas-id profile
self-service-url enable
Use self-service-url enable to enable the self-service server location function and specify the URL of the
self-service server.
Use undo self-service-url enable to restore the default.
Syntax
self-service-url enable url-string
undo self-service-url enable
Default
The self-service server location function is disabled.