524CHAPTER 31: PPP AND MP CONFIGURATION COMMANDS

Example # Configure Interface Serial 1/0 to allocate IP address 10.0.0.1 to its peer device.

<Sysname> system-view

[Sysname] interface serial 1/0

[Sysname-Serial1/0] remote address 10.0.0.1

timer hold

Syntax timer hold seconds

undo timer hold

View Interface view

Parameter seconds: Time interval for the interface to send keepalive packet in seconds. The value ranges from 0 to 32767 and defaults to 10. If the value is set to 0, keepalive packet will not be sent.

Description Use the timer hold command to set the timer to send keepalive packet.

Use the undo timer hold command to restore the default value, or 10 seconds.

If the timer is set to 0 seconds, this means keepalive packets will not be sent out.

On slow links, the seconds argument must not be too small. As a slow link takes long to transmit large packets, this may cause the sending and receiving of keepalive packet to be postponed. If an interface does not receive keepalive packet from the peer device for many keepalive periods, it regards the link to be bad. If this period exceeds the value specified by the seconds argument, the link will be shut down.

When the interfaces are configured with PPP, the same keepalive interval should be configured on both sides of the link.

Example # Set the period to send keepalive packet on interface Serial 1/0 to 20 seconds.

<Sysname> system-view

[Sysname] interface serial 1/0

[Sysname-Serial1/0] timer hold 20

Page 524
Image 524
3Com MSR 30, MSR 50 manual Timer hold