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

101
clock (CT1/PRI interface)
Use clock to set the clock mode of a CT1/PRI interface.
Use undo clock to restore the default.
Syntax
clock { master | slave }
undo clock
Default
The clock mode is slave.
Views
CT1/PRI interface view
Predefined user roles
network-admin
Parameters
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
When the clock mode of a CT1/PRI interface is master, it uses the internal clock source.
When the clock mode of a CT1/PRI interface is slave, it uses the line clock source.
Set the clock mode for a CT1/PRI interface as follows:
When the CT1/PRI interface is operating in DCE mode, set its clock mode to master.
When the CT1/PRI interface is operating in DTE mode, set its clock mode to slave.
When two CT1/PRI interfaces on two routers are directly connected, configure the two ends with
different clock modes.
When the CT1/PRI interface on a router is connected to a switch, the CT1/PRI interface on the
router operates as a DTE. The switch operates as a DCE. Set the clock mode of the CT1/PRI
interface on the router to slave to accept the clock provided by the switch.
Examples
# Set the clock mode to master on T1 2/4/0.
<Sysname> system-view
[Sysname] controller t1 2/4/0
[Sysname-T1 2/4/0] clock master
code (CT1/PRI interface)
Use code to set the line code format for a CT1/PRI interface.
Use undo code to restore the default.
Syntax
code { ami | b8zs }
undo code