Configuring a PPPoE server
You can configure PPPoE servers on Ethernet ports or virtual Ethernet interfaces created on ADSL interfaces. For more information about configuring PPPoE servers on virtual Ethernet interfaces, see "Configuring ATM."
To configure a PPPoE server:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a VT interface. | interface virtual-template number | This operation also leads you to virtual template view. |
3. Set PPP parameters (including authentication type, IP address negotiation, and so on); specify the IP address to be allocated to the peer or define an IP address pool (optional). | Optional. | |
4. Enable MRU verification. | ppp lcp echo mru verify [ minimum value ] | Optional. By default, MRU verification is disabled. |
5. Return to system view. | quit | N/A |
6. Enter Ethernet interface view. | interface interface-type interface-number | N/A |
7. Enable PPPoE on the Ethernet interface and bind this interface to a specified VT interface. | pppoe-server bind virtual-template number | Disabled by default. |
8. Set a service name for the PPPoE server. | pppoe-server tag service-name name | Optional. By default, a PPPoE server does not have a service name. |
9. Return to system view. | quit | N/A |
10. Set the maximum number of PPPoE sessions allowed for a peer MAC address. | pppoe-server max-sessions remote-mac number | Optional. 100 by default. |
11. Set the maximum number of PPPoE sessions allowed for a local MAC address. | pppoe-server max-sessions local-mac number | Optional. 100 by default. |
12. Set the maximum number of PPPoE sessions allowed for a device. | pppoe-server max-sessions total number | Optional. 4096 by default. |
13. Set the upper threshold for the PPPoE abnormal offline event count. | pppoe-server abnormal-offline-count threshold number | Optional. 65535 by default. If the PPPoE abnormal offline event count in the last 5 minutes exceeds this threshold, the system outputs a trap message. |
14. Set the upper threshold for the PPPoE abnormal offline event percentage. | pppoe-server abnormal-offline-percent threshold number | Optional. 100 by default. If the PPPoE abnormal offline event percentage in the last 5 minutes exceeds this threshold, the system outputs a trap message. |
15. Set the lower threshold for the PPPoE normal offline event percentage. | pppoe-server normal-offline-percent threshold number | Optional. 0 by default. If the PPPoE normal offline event percentage in the last 5 minutes is lower than this threshold, the system outputs a trap message. |
16. Configure authentication and accounting on PPP users. | See Security Configuration Guide. | Optional. |
17. Disable PPP log displaying. | pppoe-server log-information off | Optional. Enabled by default. |
When you configure a static route on a VT interface, specify the next hop instead of the outgoing interface. If the outgoing interface is required, make sure the physical interface bound to the VT interface is effective to ensure normal transport of packets.