R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

70
PPPoE client commands
dialer diagnose
Use dialer diagnose to configure DDR to operate in diagnostic mode.
Use undo dialer diagnose to restore the default.
Syntax
dialer diagnose [ interval interval ]
undo dialer diagnose
Default
DDR operates in non-diagnostic mode.
Views
Dialer interface view
Predefined user roles
network-admin
Parameters
interval: Specifies the diagnostic interval in the range of 5 to 65535 seconds. The default is 120 seconds.
Usage guidelines
This command takes effect only when a dialer interface is used with PPPoE client application.
In diagnostic mode, the device does the following:
Dials a PPPoE connection immediately after the device configurations are complete.
Automatically terminates the connection.
Starts the auto-dial timer after a configurable diagnostic interval.
Redials a connection when the auto-dial timer expires.
By establishing and terminating PPPoE sessions periodically, you can monitor the operating status of the
PPPoE link.
In diagnostic mode, the link idle-timeout timer is ignored.
Examples
# Configure interface Dialer 1 to operate in diagnostic mode, with a diagnostic interval of 300 seconds.
<Sysname> system-view
[Sysname] interface dialer 1
[Sysname-Dialer1] dialer diagnose interval 300
Related commands
dialer timer autodial
dialer timer idle
display pppoe-client session packet
Use display pppoe-client session packet to display the protocol packet statistics for a PPPoE session.