Enabling IPoE and setting the IPoE access mode

You must enable IPoE for all IPoE configurations to take effect.

To enable IPoE and set the IPoE access mode:

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. Enable IPoE and set the IPoE access mode.

  • Enable IPoE and set the IPoE access mode on an IPv4 interface:ip subscriber { l2-connected | routed } enable

  • Enable IPoE and set the IPoE access mode on an IPv6 interface:
    i
    pv6 subscriber { l2-connected | routed } enable

By default, IPoE is disabled.

To change the IPoE access mode, disable access IPoE, and then set the new IPoE mode when you enable IPoE.