R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101
78
You can also configure an address pool for PPP users in system view. An IP address pool configured in
system view is used to assign IP addresses to PPP users who do not need to be authenticated. To specify
the address pool used for assigning an IP address to the peer device, use the remote address command
in interface view.
An IP address pool configured in ISP domain view is used to assign IP addresses to the ISP domain’s PPP
users who must be authenticated. Configure IP address pools for ISP domains in scenarios where an
interface serves a great amount of PPP users but the address resources are inadequate. For example, an
Ethernet interface running PPPoE can accommodate up to 4096 users. However, only one address pool
with up to 1024 addresses can be configured on its virtual template (VT). This is obviously far from what
is required. To address the issue, configure address pools for ISP domains and assign addresses from
them to the PPP users by domain.
Examples
# Configure the IP address pool 0 with the address range of 129.102.0.1 to 129.102.0.10.
<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