- Table of Contents
-
- 01-Access Volume
- 01-CPOS Interface Commands
- 02-POS Interface Commands
- 03-Ethernet Interface Commands
- 04-WAN Interface Commands
- 05-Frame Relay Commands
- 06-HDLC Commands
- 07-PPP Commands
- 08-Logical Interface Commands
- 09-Modem Management Commands
- 10-ATM Interface Commands
- 11-ATM Commands
- 12-E-CPOS Interface Commands
- 13-VLAN Termination Commands
- 14-Port Mirroring Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
06-HDLC Commands | 17.68 KB |
HDLC Configuration Commands
link-protocol hdlc
Syntax
link-protocol hdlc
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the link-protocol hdlc command to configure HDLC encapsulation on the interface.
As a data link layer protocol, HDLC can carry network layer protocols, such as IP and IPX.
By default, PPP encapsulation is configured on an interface.
Related commands: timer hold.
Examples
# Configure HDLC encapsulation on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol hdlc
timer hold
Syntax
timer hold seconds
undo timer hold
View
Interface view
Default Level
2: System level
Parameters
seconds: Link status polling interval (in seconds), in the range 0 to 32767.
Description
Use the timer hold command to set the polling interval.
Use the undo timer hold command to restore the default.
By default, the link status polling interval is 10 seconds on the interface.
You should set the same polling interval on both the local and remote devices. Setting it to zero disables link status check.
Examples
# Set the link status polling interval to 100 seconds on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] timer hold 100