Configuring the polling feature
The polling feature checks PPP link state.
On an interface that uses PPP encapsulation, the link layer sends keepalives at keepalive intervals to detect the availability of the peer. If the interface fails to receive keepalives when the keepalive retry limit is reached, it tears down the link and reports a link layer down event.
To set the keepalive retry limit, use the timer-hold retry command.
On a slow link, increase the keepalive interval to prevent false shutdown of the interface. This situation might occur when keepalives are delayed because a large packet is being transmitted on the link.
The keepalive interval must be smaller than the negotiation timeout time.
To disable sending of keepalives, set the keepalive interval to 0.
To configure the polling feature:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Set the keepalive interval. | timer-hold seconds | The default setting is 10 seconds. |
4. Set the keepalive retry limit. | timer-hold retry retries | The default setting is 5. |