2-6DescriptionUse 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 asDTEs, set the clock mode to slave.When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clockmode to master at one end and to slave at the other end.Examples# Set the clock mode of ATM E1/T1 interface ATM 1/0/0 to master. system-view[Sysname] interface atm 1/0/0[Sysname-Atm1/0/0] clock mastercodeSyntaxIn ATM E1 interface view:code { ami | hdb3 }In ATM T1 interface view:code { ami | b8zs }undo codeViewATM E1 interface view, ATM T1 interface viewDefault Level2: System levelParametersami: Sets the ATM E1/T1 line coding format as AMI.hdb3: Sets the ATM E1 line coding format as HDB3.b8zs: Sets the ATM T1 line coding format as B8ZS.DescriptionUse 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 isB8ZS.Note that, before setting the line coding format to AMI, make sure that you have enabled payloadscrambling for the interface by using the scramble command.Related commands: scramble.Examples# Set the line coding format to AMI for interface ATM 2/0/0. system-view[Sysname] interface atm 2/0/0