114 CHAPTER 2: IMA-E1/T1 INTERFACE CONFIGURATION COMMANDS
slave: Sets the clock mode as slave.
Description Use the clock command to set the clock mode for an ATM E1/T1 interface.
Use the undo clock command to restore the default, that is, the slave clock
mode.
For ATM E1/T1 interfaces operating as DCEs, set the clock mode to master. For
interfaces operating as DTEa, set the clock mode to slave.
When the ATM interfaces on two routers are connected directly through a
fiber-optic cable, set the clock mode to master at one end and to slave at the other
end.
Example # Set the clock mode of ATM E1/T1 interface 5/0 to master.
<Sysname> system-view
[Sysname] interface atm 5/0
[Sysname-Atm5/0] clock master
code
Syntax In ATM E1 interface view:
code { ami | hdb3 }
In ATM T1 interface view:
code { ami | b8zs}
undo code
View ATM E1/T1 interface view
Parameter ami: Sets the ATM E1/T1 line coding format as AMI.
hdb3: Sets the ATM E1/T1 line coding format as HDB3.
b8zs: Sets the ATM E1/T1 line coding format as B8ZS.
Description Use the code command to set the line coding format for an ATM E1/T1 interface.
Use the undo code command to restore the default line coding format.
By default, the line coding format of an ATM E1 interface is HDB3, and that of an
ATM T1 interface is B8ZS.
Use the code command to set the line coding format for an ATM E1/T1 interface.
Use the undo code command to restore the default line coding format.