396
Configuring passwords for dynamic individual users
Passwords configured for dynamic individual users must be the same as those configured on the
AAA server.
If you configure multiple passwords for an DHCP user, the passwords are used in the following order:
1.
Password specified in Option 60 or Option 16 if the BRAS trusts Option 60 or Option 16.
2.
Password specified the
ip subscriber password
or
ipv6 subscriber password
command.
3.
Default system password.
To configure a password for a dynamic individual user:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure a password
for dynamic individual
users.
•
Configure a password for IPv4
dynamic individual users:
ip subscriber password
{
ciphertext
|
plaintext
}
string
•
Configure a password for IPv6
dynamic individual users:
ipv6 subscriber password
{
ciphertext
|
plaintext
}
string
The default password for dynamic
individual users is
vlan
.
4.
(Optional.) Specify a
string as the password
for DHCP users.
•
Specify a string from DHCPv4
packet information as the
password for IPv4 dynamic
individual users:
ip subscriber dhcp password
{
circuit-id mac
|
option60
[
offset offset
]
[
length length
]
}
•
Specify a string from the Option
16 as the password for IPv6
dynamic individual users:
ip
subscriber
dhcp
password
option16
[
offset
offset
] [
length
length
]
Configure DHCP Option 60, Option
82, or Option 16 as the trusted
DHCP options for the password
specified by this command to take
effect.
By default, the BRAS does not use
the password specified in DHCPv4
packets or Option 16 or for DHCP
users.
Configuring ISP domains for dynamic individual users
The following table shows how the BRAS selects ISP domains for dynamic individual users.
Dynamic individual
users
Order in selecting an ISP domain
DHCP user
•
Trusted ISP domain if the DHCPv4 Option 60, DHCPv6 Option 16, or
DHCPv6 Option 17 is trusted and contains the trusted ISP domain
•
ISP domain automatically selected from DHCPv4 Option 60, DHCPv6 Option
16, or DHCPv6 Option 17 if the option is trusted
•
Interface-specific ISP domain
•
Default system ISP domain
IPv6-ND-RS user
•
Interface-specific ISP domain
•
Default system ISP domain