405
Configuring interface-leased users
You can configure up to one IPv4 interface-leased user and one IPv6 interface-leased user on an
interface. When leased users are in Layer 2 access mode, all IP users who access the BRAS
through an IPoE interface are called subusers. Use the
display
or
reset
commands to view or delete
the subuser information. For more information about viewing and deleting subuser information, see
IPoE commands in
User Access Command Reference
.
Interface-leased subusers support the DHCP user, unclassified-IP user, and IPv6-ND-RS user.
To configure interface-leased users:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure
interface-leased
users.
•
Configure an IPv4 interface-leased
user:
ip subscriber interface-leased
username
name
password
{
ciphertext | plaintext
}
string
[
domain
domain-name
]
•
Configure an IPv6 interface-leased
user:
ipv6 subscriber interface-leased
username
name
password
{
ciphertext | plaintext
}
string
[
domain
domain-name
]
By default, no interface-leased
user is configured.
Configuring subnet-leased users
You can configure multiple subnet-leased users on an interface. Different subnets must have the
same mask length. Each subnet can be bound to only one subnet-leased user. When leased users
are in Layer 2 access mode, all IP users who access the BRAS through an IPoE interface are called
subusers. Use the
display
or
reset
commands to view or delete the subuser information. For more
information about viewing and deleting subuser information, see IPoE commands in
User Access
Command Reference
.
Subnet-leased subusers support only the unclassified-IP user.
To configure subnet-leased users:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A