R3102-R3103-HP 6600/HSR6600 Routers Interface Command Reference
91
[Sysname] controller e1 2/0/0
[Sysname-E1 2/0/0] clock-change auto
Related commands
clock
code (CE1 interface)
Use code to set the line code format for a CE1 interface.
Use undo code to restore the default.
Syntax
code { ami | hdb3 }
undo code
Default
The line code format for a CE1 interface is HDB3
Views
CE1 interface view
Default command level
2: System level
Parameters
ami: Adopts alternate mark inversion (AMI) line code format.
hdb3: Adopts high density bipolar 3 (HDB3) line code format.
Usage guidelines
Keep the line code format of the interface in consistency with that used by 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 interface E1 2/0/0 to AMI.
<Sysname> system-view
[Sysname] controller e1 2/0/0
[Sysname-E1 2/0/0] code ami
Related commands
data-coding
controller e1
Use controller e1 to enter CE1 interface view.
Syntax
controller e1 number










