SUBJECT: Success Story of SunLink Products' Syncloop Test
DESCRIPTION:
0. Internal Loopback Test : DSU는 연결하지 않음.
+------------------------------------------------------------------------+
| |
| hyundai2# syncloop -s 56000 hih0 |
| [ Using /dev/ifd0 ] |
| [ iflayer ifd0 hih0 ] |
| Enter test type: |
| 1: Internal Test |
| (internal data loop, internal clocking) |
| 2: Test using loopback plugs |
| (external data loop, internal clocking) |
| 3: Test using local or remote modem loopback |
| (external data loop, external clocking) |
| 4: Other, previously set, special mode |
| > 1 |
| speed=55890, loopback=yes, nrzi=no, txc=baud, rxc=baud, break=on |
| [ checking for quiet line ] |
| [ syncinit hih0 56000 loop=yes txc=baud rxc=baud ] |
| packet received but none sent! |
| 이처럼 syncloop test가 실패하는 경우가 발생함. |
| quiesce other end before starting syncloop |
| 이 때는 몇 번 반복해서 syncloop를 돌려주거나 |
| DSU의 전원을 끄고 하면 되는 경우 많음. |
| |
| hyundai2# syncloop -s 56000 hih0 |
| [ Using /dev/ifd0 ] |
| [ iflayer ifd0 hih0 ] |
| Enter test type: |
| 1: Internal Test |
| (internal data loop, internal clocking) |
| 2: Test using loopback plugs |
| (external data loop, internal clocking) |
| 3: Test using local or remote modem loopback |
| (external data loop, external clocking) |
| 4: Other, previously set, special mode |
| > 1 |
| speed=55890, loopback=yes, nrzi=no, txc=baud, rxc=baud, break=on |
| [ syncinit hih0 56000 loop=yes txc=baud rxc=baud ] |
| [ checking for quiet line ] |
| [ Trying first packet ] |
| [ Trying many packets ] |
| 100 |
| 100 packets sent, 100 received |
| 0 CRC errors, 0 aborts, 0 overruns, 0 underruns |
| estimated line speed = 55216 bps |
| |
+------------------------------------------------------------------------+
1. Local Loopback Test
* DSU(KDC KD-56 DSU/AR) 상태
- Dip Switch On(=Upper)
3번 (Front Panel Enabled)
4번 (System Status ON)
7번 (RTS always ON)
8번 (Data During Local Lpbk)
10번 (Internal Timing)
- Front Panel
LL(Local Loopback)의 loopback mode enable (LED에 불이 들어옴)
* Device(hih0, zss0 ....)의 sync 초기화 상태:
SunLink Product의 "syncloop" utility는 local/remote loopback test에서
external(=modem) clock을 사용.
따라서 ineternal(=system) clock을 사용하려면,
"syncinit"로 txc=baud, rxc=baud로 미리 초기화 한 후
테스트 모드 4번(Other, previously set, specail mode)를 선택하여 사용한다.
+------------------------------------------------------------------------+
| hyundai2# syncinit hih0 |
| speed=55890, loopback=yes, nrzi=no, txc=baud, rxc=baud, break=on |
| |
| hyundai2# syncloop -s 56000 hih0 |
| [ Using /dev/ifd0 ] |
| [ iflayer ifd0 hih0 ] |
| Enter test type: |
| 1: Internal Test |
| (internal data loop, internal clocking) |
| 2: Test using loopback plugs |
| (external data loop, internal clocking) |
| 3: Test using local or remote modem loopback |
| (external data loop, external clocking) |
| 4: Other, previously set, special mode |
| > 4 |
| [ checking for quiet line ] |
| packet received but none sent! |
| 이처럼 syncloop test가 실패하는 경우가 발생함. |
| quiesce other end before starting syncloop |
| 이 때는 다시 syncloop를 돌려주면 되는 경우 많음. |
| |
| hyundai2# syncloop -s 56000 hih0 |
| [ Using /dev/ifd0 ] |
| [ iflayer ifd0 hih0 ] |
| Enter test type: |
| 1: Internal Test |
| (internal data loop, internal clocking) |
| 2: Test using loopback plugs |
| (external data loop, internal clocking) |
| 3: Test using local or remote modem loopback |
| (external data loop, external clocking) |
| 4: Other, previously set, special mode |
| > 4 |
| [ checking for quiet line ] |
| [ Trying first packet ] |
| [ Trying many packets ] |
| 100 |
| 100 packets sent, 100 received |
| 0 CRC errors, 0 aborts, 0 overruns, 0 underruns |
| estimated line speed = 55128 bps |
| |
+------------------------------------------------------------------------+
Revision History
작성일자 : 96.10.21
작성자 : 이진수