HP MSR2000/3000/4000 Router Series Interface Command Reference
100
When the CT1/PRI interfaces on two routers are directly connected, one interface must operate in master
clock mode to provide the clock source and the other in slave clock mode to accept.
When the CT1/PRI interface on your router is connected to a switch, it is operating as a DTE and
therefore must be configured with the slave clock mode to accept the line clock provided by the switch
operating as a DCE.
Examples
# Use the internal clock as the clock source on CT1/PRI interface T1 2/0.
<Sysname> system-view
[Sysname] controller t1 2/0
[Sysname-T1 2/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
Default
The line code format for a CT1/PRI interface is B8ZS.
Views
CT1/PRI interface view
Predefined user roles
network-admin
Parameters
ami: Adopts AMI line code format.
b8zs: Adopts bipolar 8-zero substitution (B8ZS) line code format.
Usage guidelines
Keep the line code format of the interface in consistency with the one used on the remote device.
To ensure normal operation of the interface, configure the data-coding inverted command on it when its
line code format is set to AMI.
Examples
# Set the line code format of the interface T1 2/0 to AMI.
<Sysname> system-view
[Sysname] controller t1 2/0
[Sysname-T1 2/0] code ami
Related commands
data-coding