layer-2-only

This command allows the device's underlying interfaces (e.g., Gigabit Ethernet) using PPPoE to start the establishment of the PPPoE connection after Layer 2 of the underlying interface (e.g., when the cable is connected). This is instead of waiting for the PPPoE process to start after Layer 3 of the underlying interface has established.

Syntax

layer-2-only

Default

By default, this is disabled.

Command Mode

Privileged User

Example

This example enables this feature on the Gigabit Ethernet interface 0/0 using PPPoE:

# configure data
(config-data)# interface pppoe 0
(conf-pppoe-0)# underlying gigabitethernet 0/0 ((conf-pppoe-0)# layer-2-only