![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg1b5.png)
437
Example # Configure the link layer protocol and operating mode of Serial 2/0 as LAPB and
DCE.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol lapb dce
link-protocol x25
Syntax link-protocol x25 [ dce |dte ] [ ietf | nonstandard ]
View Interface view
Parameter dce: Specifies the DCE mode.
dte: Specifies the DTE mode.
letf: Encapsulates IP or other network protocols on the X.25 network based on
the standard stipulation of the IETF RFC 1356.
nonstandard: Nonstandard encapsulates IP or other network protocols on the
X.25 network.
Description Use the
link-protocol x25 command to encapsulate X.25 protocol on the
specified interface.
By default, the link-layer protocol for the interface is PPP. When the interface uses
X.25 protocol, it works in DTE IETF mode by default.
Note that:
When two Routers are connected via the X.25 public packet network, they shall
work as DTE and use IETF format.
If two Routers are directly connected, one Router shall work as DTE, the other as
DCE. Both parties should use the same data format.
If the X.25 switching function is used, the device should work as DCE.
In practice, select the IETF format if there is no special requirement.
Example # Specify X.25 as the link layer protocol of the interface Serial2/0 that works in
DTE IETF mode.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol x25 dte ietf
pad
Syntax pad x121-address