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.

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

This feature supports the following interfaces:

  • Layer 3 Ethernet interface and subinterface.

  • Layer 3 aggregate interface and subinterface.

  • L3VE interface and subinterface.

3. Configure subnet-leased users.

  • Configure an IPv4 subnet-leased user:
    ip subscriber subnet-leased ip
    ip-address { mask | mask-length } username name password { ciphertext | plaintext } string [ domain domain-name ]

  • Configure an IPv6 subnet-leased user:
    ipv6 subscriber subnet-leased ipv6
    ipv6-address prefix-length username name password { ciphertext | plaintext } string [ domain domain-name ]

By default, no subnet-leased user is configured.