R2511-HP MSR Router Series Terminal Access Command Reference(V5)

28
Examples
# Create terminal template abc and enter terminal template view.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc]
rta terminal
Use rta terminal to apply a template on the interface.
Use undo rta terminal to cancel the template application.
Syntax
rta terminal template-name terminal-number [ backup ] [ transparent ]
undo rta terminal
Default
No template is applied on the interface.
Views
Interface view
Default command level
2: System level
Parameters
template-name: Specifies a terminal template by its name, a string of 1 to 15 characters.
terminal-number: Specifies a terminal by its number, in the range of 1 to 255.
backup: Specifies the interface as a backup interface.
transparent: Enables the transparent transmission mode for the synchronous interface. By default, the
HDLC mode is used. In HDLC mode, when the synchronous interface receives a frame, the router checks
for and removes the end flag (0x7e) of the frame before it forwards the frame. In transparent transmission
mode, the router directly forwards the frame.
Usage guidelines
You can specify the transparent keyword only when you apply a terminal template to a synchronous
interface.
An interface can use only one template, but a template can be applied to multiple interfaces. When
multiple interfaces use one template, the interface serves as the primary interface if the backup keyword
is not configured, and the interface serves as the backup interface if the backup keyword is configured.
The system detects the primary interface every five seconds. If one of the following situations occurs, the
system changes the backup interface to the primary interface, and the original primary interface
becomes a backup interface. The system detects the new primary interface in the same way.
The primary interface does not receive data within five seconds.
The primary interface receives five or more CRC error packets within five seconds.
The primary interface goes down.