STM1 Link Check
Â
Configure all wanpipe links for MASTER clocking.
wancfg_tdmapi --fe_media=T1 --fe_clock=MASTER --silent  Â
or
wancfg_tdmapi --fe_media=E1 --fe_clock=MASTER --silent
ÂStart Driver
wanrouter startÂLog into the MUX using telnet (or console) and do the following.
-> 2 for "Channel Interface"
-> 3 for "Channel Configuration"
-> a for "Set for All Spans"
-> 3 for "Clock"
-> 1 for "Normal"
-> q for "Exit"
-> s for "Save configuration on non-volatile storage"
-> q for "Exit"
-> r for "Restart All Spans (apply current configuration)"
-> q for "Exit"
-> q for "Exit" (Again)Â
-> 3 for "Uplink Interface"
-> 3 for "Uplink Loopback"
->5 for "Digital Loopback"Â
ÂVerify the Current Loopback state reads "DLOOP".
ÂDisable the DSP.
/etc/wanpipe/scripts/mpd.shÂ
ÂVerify Layer 1 is up.
wanrouter status  #This should show the port as CONNECTED
ÂRun the BERT application.
cd /etc/wanpipe/api/libsangoma/examples/hdlc_test/
./tdm_hdlc_test.sh "1 2 3 4 5 6 7 8" Â Â #This will run the test on every channel on all 8 spans./tdm_hdlc_test.sh 1 2Â Â #This will run the test on span 1 channel 2 only
Usage:Â ./tdm_hdlc_test.sh <spans> <chans> <timeout>Â
Note: ./tdm_hdlc_test.sh might need to be made executable : chmod +x  tdm_hdlc_test.sh and then make
More Info
This test is to connect a complete A108 to the STM1 mux then loop the fiber link. The loop however is done internally on the MUX using the steps in step #3. You can add more A108's to test the complete mux or run the test multiple times with a single A108. As well you could use a lower density card, even a A101. Once this test completes successfully you know your STM1 is working well. Â
Â