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

193
Examples
# Enter POS 2/2/0 interface view.
<Sysname> system-view
[Sysname] interface pos 2/2/0
[Sysname-Pos2/2/0]
Related commands
link-protocol
link-protocol
Use link-protocol to set the data link layer protocol of an interface.
Syntax
link-protocol { hdlc | ppp }
Default
PPP is used.
Views
Standard POS interface view, POS channel interface view
Predefined user roles
network-admin
Parameters
hdlc: Specifies High-level Data Link Control (HDLC) as the data link layer protocol of the interface.
ppp: Specifies the Point-to-Point protocol (PPP) as the data link layer protocol of the interface.
Examples
# Specify HDLC as the data link protocol of POS 2/2/0.
<Sysname> system-view
[Sysname] interface pos 2/2/0
[Sysname-Pos2/2/0] link-protocol hdlc
loopback
Use loopback to enable loopback for a POS interface.
Use undo loopback to disable loopback.
Syntax
loopback { local | remote }
undo loopback
Default
Loopback is disabled.
Views
Standard POS interface view