9-156
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter9 Troubleshooting Commands
tstdelay
Attributes
Example
On the AXSM slot, get the round-trip delay for connection 1 10 100. This example contains four
command executions to illustrate how to obtain a list of logical ports; obtain a connection number; start
the test; and view the results . t he commands are dspports, dspcons, tstdel ay, and dspcon.
Step 1 Identify the logical ports on the card by executing dspports. For this example, the logical port (ifNum
in the display) is 1.
node19.1.AXSM.a > dspports
ifNum Line Admin Oper. Guaranteed Maximum Port SCT Id ifType VPI
State State Rate Rate (VNNI only)
----- ---- ----- ----- ---------- --------- ----------------- ------ ----------
1 1.1 Up Up 1412831 1412831 6 UNI 0
Step 2 Get the connection ID to pr ovide to tstdelay. The connection identifier appears in NSA P format. In this
example, assume tstdelay execution occurs at the slave end of th e S PV C. Take the significant digits
from the Identifier (01.0010.001 00) to get the logical port, VPI, and VCI for tstdelay. These values are
1, 10, and 100.
node19.1.AXSM.a > dspcons
record Identifier Type SrvcType M/S Upld Alarm
------ ---------- ---- -------- --- ---- -----
0 01.0010.00100 VCC ubr1 S 0000ebfb none
1 01.0011.00101 VCC ubr1 M 0000ec27 none
Step 3 Execute tstdelay for logical port 1, vpi 10, vci 100. The syst em resp onse sho ws tha t the co mmand st arted
correctly and directs you to use dspcon or dspchantests to see the results.
node19.1.AXSM.a > tstdelay 1 10 100
Test started; Use dspcon/dspchantests to see test results
Step 4 Execute dspchantests to see the results as display ed by th is command. The units of meas ure for the
round trip delay is microseconds.
node19.1.AXSM.a > dspchantests 1 10 100
Connection Id Test Type Direction Result Round Trip Delay
============= ========= ========= ======= ================
01.0010.00100: OAM Lpbk ingress Success 30000
Step 5 Execute dspcon to see the results as displayed by this command. The line with test results appears
towards the end of the display and begins with Loopback Type. The Direction field shows ingress,
indicating the tstdelay command produced th ese re s ults . (I f tstconseg had been the l as t test co m man d ,
this field would say egress.) The RTD (round trip delay) field shows 30000 microseconds.
node19.1.AXSM.a > dspcon 1 10 100
--------------------------------------------------------------------------
Local : NSAP Address port vpi vci
(S) 4700918100000000001A53C82D00000101180100 1.01.01 10 100
Remote : NSAP Address port vpi vci
(M) 4700918100000000001A53C82D00000101180100 1.01.01 11 101
--------------------------------------------------------------------------
Conn. Type : VCC Admn Status : ADMN-UP
Service Type : ubr1 Rtng Status : -67372037
Controller : 2
Log: log State: active Privilege: GROUP1