
117
View
VLAN interface view
Default level
2: System level
Parameters
dial-bundle-number
number
: Specifies the dialer bundle number corresponding to a PPPoE session, in
the range of 1 to 255. A dialer bundle number uniquely identifies a PPPoE session, it can also be used
as a PPPoE session ID.
no-hostuniq
: Specifies the client not to carry the Host-Uniq field. By default, the Host-Uniq field
is carried.
diagnose
: Specifies the working mode of the PPPoE session to diagnostic.
interval
seconds
: Specifies the interval (in seconds) between two diagnostic PPPoE sessions. The
seconds
argument ranges from 5 to 65535. The default value is 120.
idle-timeout
seconds
: Specifies the PPPoE session idle time. The
seconds
argument ranges from 1 to
65535. If this option is specified, the PPPoE session works in packet-triggered mode; if this option and the
diagnose
keyword are not specified, the PPPoE session established works in permanent mode.
queue-length
packets
: Specifies the number of the packets that can be cached before the PPPoE session
is established. The
packets
argument ranges from 1 to 100 and defaults to 10. This option becomes valid
only when the
idle-timeout
keyword is configured.
Description
Use
pppoe-client
to establish a PPPoE session and specify the dialer bundle corresponding to the session.
Use
undo pppoe-client
to remove a PPPoE session.
By default, no PPPoE session is established.
You can establish multiple PPPoE sessions on a VLAN interface, or a VLAN interface can belong to
multiple dialer bundles. However, a dialer bundle can correspond to only one VLAN interface. Each
PPPoE session uniquely corresponds to a dialer bundle. If a VLAN interface in a dialer bundle of a dialer
interface is used to establish a PPPoE session, you cannot add any interfaces to the dialer bundle.
A PPPoE session works in one of these three modes: permanent, packet-triggered, and diagnostic.
•
Permanent mode: If you execute the
pppoe-client
command without specifying the
idle-timeout
seconds
option or the
diagnose
keyword, the device initiates a PPPoE call to establish a PPPoE
session immediately if the physical line is up. After the PPPoE session is established, it can only be
terminated by the
undo pppoe-client
command.
•
Packet-triggered mode: If you execute the
pppoe-client
command with the
idle-timeout
seconds
option specified, the device tries to establish the PPPoE session only when it has data to transmit. For
a PPPoE session working in this mode, if no data is transmitted across it within the period specified
by the
seconds
argument, the PPPoE session will be terminated automatically.
•
Diagnostic mode: If you execute the
pppoe-client
command with the
diagnose
keyword specified,
the device initiates a PPPoE call to establish a PPPoE session immediately after this command is
configured, and terminates the current PPPoE session and then establishes another PPPoE session
each time the interval specified by
interval
seconds
expires. By periodically establishing and
terminating PPPoE sessions, this function can be used to detect whether the PPPoE link is normal.
Only one diagnostic PPPoE session can be established on each device.
Related commands:
reset pppoe-client
.