Configuring a synchronous serial interface
This section only describes the interface properties configuration. Depending on the network
requirements, you might also need to configure the data link layer protocol, DDR, IP address, firewall,
and interface backup.
To configure a synchronous serial interface:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter synchronous serial
interface view.
interface serial interface-number N/A
3. Configure a synchronous or
asynchronous serial interface
to operate as a synchronous
serial interface.
physical-mode sync
By default, a synchronous or
asynchronous serial interface
operates as a synchronous serial
interface.
4. (Optional.) Set the interface
description.
description text
By default, the description of a
synchronous serial interface is
interface name Interface, for
example, Serial2/1/0 Interface.
5. Set the link layer protocol.
link-protocol { hdlc | ppp } The default is PPP.
6. Set the digital signal coding
format.
code { nrz | nrzi }
The default is non-return-to-zero
(NRZ).
7. Set the baud rate.
baudrate baudrate
virtualbaudrate virtualbaudrate
The default is 64000 bps.
Use the baudrate and
virtualbaudrate commands at the
DCE and DTE ends, respectively.
8. Set the clock selection mode.
• On DTE side:
clock { dteclk1 | dteclk2 |
dteclk3 | dteclk4 | dteclk5 |
dteclkauto }
• On DCE side:
clock { dceclk1 | dceclk2 |
dceclk3 }
The default is dceclk1 for the DCE
side and dteclk1 for the DTE side.
9. (Optional.) Set transmit-clock
or receive-clock signal
inversion on the DTE side.
invert { transmit-clock |
receive-clock }
By default, clock signal inversion is
disabled.
10. Set the MTU.
mtu size The default is 1500 bytes.
11. Set the CRC mode.
crc { 16 | 32 | none } The default is 16-bit CRC.
12. Set the number of interframe
filling tags.
itf number number The default is four.
13. (Optional.) Enable level
detection.
detect dsr-dtr
By default, level detection is
enabled.
14. (Optional.) Enable data
carrier detection (DCD).
detect dcd By default, DCD is enabled.
15. (Optional.) Enable local
loopback.
loopback
By default, local loopback is
disabled.
16