Example of Static IPoE configuration that was configured on the NE 8000 M8.
The configuration roadmap is as follows:
Configure an authentication scheme.
Configure an address pool.
Configure an authentication domain.
Configure a BAS interface and an upstream interface.
Configure a static user.
_________________________________________________________________________
Configure an authentication scheme.
Configure an authentication scheme.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] authentication-scheme local
[*HUAWEI-aaa-authen-local] authentication-mode local
[*HUAWEI-aaa-authen-local] commit
[~HUAWEI-aaa-authen-local] quit
Configure the modes for generating usernames and passwords.
[~HUAWEI-aaa] default-user-name include mac-address .
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] default-password cipher Root@123
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] quit
Configure a local account.
[~HUAWEI] local-aaa-server
[*HUAWEI-local-aaa-server] user 00e0-fc12-3456@isp1 password cipher Root@123 authentication-type b
[*HUAWEI-local-aaa-server] commit
[~HUAWEI-local-aaa-server] quit
Configure an address pool.
[~HUAWEI] ip pool pool1 bas local
[~HUAWEI-ip-pool-pool1] gateway 100.64.124.1 255.255.252.0
[~HUAWEI-ip-pool-pool1] section 0 100.64.124.2 100.64.127.254
[~HUAWEI-ip-pool-pool1] excluded-ip-address 100.64.127.253
[~HUAWEI-ip-pool-pool1] dns-server 8.8.8.8 8.8.4.4
[~HUAWEI-ip-pool-pool1] quit
Configure a domain.
[~HUAWEI] aaa
[~HUAWEI-aaa] domain isp1
[*HUAWEI-aaa-domain-isp1] authentication-scheme local
[*HUAWEI-aaa-domain-isp1] accounting-scheme default0
[*HUAWEI-aaa-domain-isp1] commit
[~HUAWEI-aaa-domain-isp1] ip-pool pool1
[~HUAWEI-aaa-domain-isp1] quit
[~HUAWEI-aaa] quit
Configure a BAS interface.
[~HUAWEI] interface GigabitEthernet0/8/4
[~HUAWEI-GigabitEthernet0/4/0] bas
[~HUAWEI-GigabitEthernet0/4/0-bas] access-type layer2-subscriber
[~HUAWEI-GigabitEthernet0/4/0-bas] authentication-method bind
[~HUAWEI-GigabitEthernet0/4/0-bas] default-domain authentication isp1
[~HUAWEI-GigabitEthernet0/4/0-bas] ip-trigger
[~HUAWEI-GigabitEthernet0/4/0-bas] arp-trigger
[~HUAWEI-GigabitEthernet0/4/0-bas] quit
[~HUAWEI-GigabitEthernet0/4/0] quit
Configure a static user.
static-user 100.64.127.253 interface GigabitEthernet 0/8/4 mac-address 00e0-fc12-3456 detect
Verify the configuration.
After the configuration is complete, you can run the display access-user domain command to view information about online users in the domain.
<HUAWEI> display access-user domain isp1

