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

89
Usage guidelines
When automatic clock mode switchover is enabled, the interface automatically switches to the master
clock mode when both of the following conditions are true:
The interface uses the slave clock mode.
The interface receives an alarm indication signal (AIS), loss of signal (LOS), or loss of frame (LOF)
alarm.
After the alarm is cleared, the interface automatically switches back to the user-configured clock mode.
When automatic clock mode switchover is disabled, the interface uses the user-configured clock mode.
Examples
# Enable automatic clock mode switchover for E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] clock-change auto
Related commands
clock
code (CE1/PRI interface)
Use code to set the line code format for a CE1/PRI interface.
Use undo code to restore the default.
Syntax
code { ami | hdb3 }
undo code
Default
The line code format is HDB3 for the CE1/PRI interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
ami: Specifies the alternate mark inversion (AMI) line code format.
hdb3: Specifies the high-density bipolar 3 (HDB3) line code format.
Usage guidelines
A CE1/PRI interface must use the same line code format as its remote end.
If the AMI format is used, configure the data-coding inverted command on the interface to improve link
performance.
Examples
# Set the line code format of E1 2/3/0 to AMI.
<Sysname> system-view
[Sysname] controller e1 2/3/0