ppp timer (Virtual template view)

Function

The ppp timer command sets the PPP negotiation timeout and the number of PPP retransmissions.

The undo ppp timer command restores the default.

By default, the PPP negotiation timeout time is 3 seconds and the number of PPP packet retransmissions is 10.

This command is supported only on the NetEngine 8000 F1A.

Format

ppp timer { negotiate seconds | retransmit retry-times } *

undo ppp timer negotiate

undo ppp timer retransmit

undo ppp timer { negotiate retransmit | retransmit negotiate }

Parameters

Parameter Description Value
negotiate

Specifies the value of negotiation timer (in second).

-

negotiate seconds

Specifies the negotiation timeout in seconds.

The value is an integer that ranges from 1 to 10 .

The default value is 3.

when a specified value is smaller than the default value, it may cause high CPU usage and overburden the system.

retransmit

Specifies the value of negotiation retransmit times.

-

retransmit retry-times

Specifies the number of PPP packet retransmissions.

The value is an integer that ranges from 1 to 30 .

The default value is 10.

when a specified value is smaller than the default value, it may cause high CPU usage and overburden the system.

Views

Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pppoebras write

Usage Guidelines

Usage Scenario

During the PPP negotiation, if the local end does not receive the response packet of the peer, PPP re-sends the packet. If you want to change the default, you can run the ppp timer command.

Configuration Impact

If the ppp timer command is run more than once in the same view, the latest configuration overrides the previous one.

Precautions

In VS mode, this command is supported only by the admin VS.

when a specified value is smaller than the default value, it may cause high CPU usage and overburden the system.

Example

# Set the PPP negotiation timeout interval to 5 seconds, and set the PPP retransmission times to 3.
<HUAWEI> system-view
[~HUAWEI] interface virtual-template 2
[*HUAWEI-Virtual-Template2] ppp timer negotiate 5 retransmit 3
Warning: The negotiate interval value is less than 3 or retransmit value is less than 10.
This operation may cause high CPU usage and overburden the system .Continue? [Y/N]:
# Set the PPP negotiation timeout interval to 5 seconds.
<HUAWEI> system-view
[~HUAWEI] interface virtual-template 2
[*HUAWEI-Virtual-Template2] ppp timer negotiate 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >