Configuring the properties of a synchronous serial interface
In practice, many types of SNA devices differing from one another significantly exist. To ensure the compatibility among different devices, tune some commonly used parameters.
Configure the encoding scheme of the synchronous serial interface.
Two encoding schemes, NRZI and NRZ, are available for synchronous serial interface. The NRZ encoding scheme is used for synchronous serial interfaces of routers. The serial interfaces of some SNA devices, however, use the NRZI encoding scheme. The encoding scheme of synchronous serial interfaces should be changed according to the encoding schemes used on the connected devices.
Configure the idle-time encoding scheme of the synchronous serial interface.
Most SDLC devices use "0x7E" (flags) to indicate "idle" space between frames, but some other SDLC devices use "0xFF" (marks) for this indication. For compatibility with different types of devices, configure the router to send either flags (default) or marks to indicate its idle state.
It is not required to change the idle-time encoding scheme of a synchronous serial interface, except when the synchronous serial interface is connected to an AS/400 device.
To configure the properties of the synchronous serial interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Configure the baud rate of the synchronous serial interface. | baudrate baudrate | Optional. 9600 bps by default. |
4. Configure the synchronous serial interface to use NRZI encoding. | code { nrz | nrzi } | Optional. NRZ encoding by default. |
5. Configure the synchronous serial interface to send 0xFF (marks) during idle state. | idle-mark | Optional. 0x7E by default. |