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

332
Default command level
2: System level
Parameters
dce: Specifies DCE mode of LAPB.
dte: Specifies DTE mode of LAPB.
ip: Specifies the upper layer protocol as IP.
multi-protocol: Specifies the upper layer protocol as multi-protocol.
Usage guidelines
When the link layer protocol is LAPB, the default operating mode is DTE, and the upper layer protocol is
IP.
Though LAPB is a layer-2 protocol of X.25, it can act as an independent link-layer protocol for simple
data transmission. LAPB can be used when two routers are directly connected with a dedicated line. At
that time one end operates in the DTE mode, and the other in the DCE mode.
Examples
# 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
reset lapb statistics
Use reset lapb statistics to clear LAPB statistics.
Syntax
reset lapb statistics
Views
Interface view
Default command level
2: System level
Examples
# Clear the LAPB statistics on Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] reset lapb statistics
X.25 configuration commands
channel
Use channel to add an X.25 interface, Annex G DLCI or XOT channel to the current hunt group.
Use undo channel to remove the specified interface, Annex G DLCI or XOT channel from the current hunt
group.