Title: Can Ruijie EG support PPPoE server? [Print this page] Author: admin Time: 2022-6-14 10:17 Title: Can Ruijie EG support PPPoE server? Requirements
The EG device is egress and the PPPoE server Local-Account function is enabled on it. Down link terminals and devices access the Internet through PPPoE dial-up access authentication.
Topology
Configuration Points
(1) Enable PPPoE Server function on Ruijie EG
(2) Configure PPPoE account
Configuration Steps
1. PPPoE Server configuration:
# Enable PPPoE Server function
Ruijie(config)#pppoe-server enable
# Configure PPPoE Server dialup group
Ruijie(config)#bba-group pppoe pppoe-server0
Ruijie(config-bba-group)#virtual-template 50
Ruijie(config-bba-group)#exit
# Configure AAA authentication method as subslocal authentication
Ruijie(config)#aaa new-model
Ruijie(config)#aaa authentication ppp defaultsubs
# Clear the previous address pool and interface configurations
# Specify the internal network interface toenable PPPoE Server (associated with PPPoE Server dial-up group)
Ruijie(config)#interface Gi0/2
Ruijie(config-if-GigabitEthernet0/0)#pppoe-server enable group pppoe-server0
Ruijie(config-if-GigabitEthernet 0/0)#exit
#Configure account notification function, thisfunction is used to early notification of account expiry. It is turned off bydefault and can be turned on manually if necessary.
Ruijie(config)#local-account notice enable
Ruijie(config)#local-account notice date-rule48 60 //Announcement starts 48 hoursbefore account expiration, The interval between each announcement is 60minutes.
Notice: Use the following command todisable account notification function.
# Configure the account and password by subsauthentication
Ruijie(config)#subscriber static name testparent /PPPoE_Server_Group password test
Notice: An account can only be used by oneclient. If two clients use the same account, the second client cannot goonline.
#Configure Account Billing Policy
Ruijie(config)#local-account user test
Ruijie(local-account-user)#policy date 2022 125 //The account will expire after 2022/12/5 and cannot go online.
Ruijie(local-account-user)#mac auto //Enable the automatic mac binding, theclient's MAC address will be automatically bound when the account goes online.
Ruijie(local-account-user)#exit
#Delete the PPPoE account
Ruijie(config)#no subscriber static name test
Ruijie(config)#no local-account user test
3. Verification
1.
Using 'show pppoe-serverconfig web' to PPPoE Server setting
2.
Using 'show run | in pool' tocheck PPPoE IP addresses pool setting
3.
Using 'show local-accountconfig' to check account notification function setting
4.
Check the account setting
5.
Check special account setting
Welcome to Ruijie Community (https://community.ruijienetworks.com/)