R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

233
Examples
# Enable HDLC encapsulation on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol hdlc
reset hdlc compression stac
Use reset hdlc compression stac to clear the HDLC compression-related statistics on an interface.
Syntax
reset hdlc compression stac [ interface interface-type interface-number ]
Views
User view
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number.
Examples
# Clear the compression-related statistics on Serial 2/0.
<Sysname> reset hdlc compression stac interface serial 2/0
timer hold
Use timer hold to set the link status polling interval on an interface.
Use undo timer hold to restore the default.
Syntax
timer hold seconds
undo timer hold
Default
The default link status polling interval is 10 seconds on an interface.
Views
Interface view
Default command level
2: System level
Parameters
seconds: Link status polling interval (in seconds), in the range 0 to 32767.
Usage guidelines
It is a good practice to set the same polling interval for the two ends of a link.
Setting the link status polling interval to zero disables link status check.