R0106-HP MSR Router Series Interface Command Reference(V7)

65
Predefined user roles
network-admin
Parameters
hdlc: Specifies the HDLC data link layer protocol.
ppp: Specifies the PPP data link layer protocol.
Examples
# Configure the data link layer protocol of Serial 2/1/0 as hdlc.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] link-protocol hdlc
loopback
Use loopback to enable loopback on a serial interface.
Use undo loopback to restore the default.
Syntax
loopback
undo loopback
Default
Loopback is disabled.
Views
Serial interface view, asynchronous interface view, synchronous/asynchronous serial interface view
Predefined user roles
network-admin
Usage guidelines
Loopback is intended for testing only. Disable the feature when the interface is operating correctly.
Examples
# Enable loopback on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] loopback
# Enable loopback on Async 2/4/0.
<Sysname> system-view
[Sysname] interface async 2/4/0
[Sysname-Async2/4/0] loopback
mtu
Use mtu to set the MTU for an interface.
Use undo mtu to restore the default.