
Note: For information about Setting Up Trunks, refer to that section in the user manual.
A trunk can connect any combination of IPX, IGX, or BPX nodes. Trunk characteristics are:
| Physical line type: | T1 (including fractional), E1 (including fractional), Subrate, E3, T3, or OC3 (STM1) |
| Communication technology: | Asynchronous Transfer Mode (ATM) or StrataCom FastPackets |
Error messages such as "addtrk fails with no response from other node," "Comm Fail," or "unreachable nodes," can be attributed to a variety of causes. The information in this document can assist you in narrowing down the cause of the error message.
Note: It is assumed that the correct hardware and firmware versions are loaded. Refer to the Cisco WAN Switching Solutions user documentation for more information about the particular product you are using.
addtrk Failure
addtrk on a Physical TrunkNext enter a nwstats command on both nodes to look for errors.
nwstats c
On BPX you can also use srstats to find errors. Enter
to print networking-related stats.srstats n
Also look at the Peak VRAM Queue Depth. It should be no greater than one or two digits. If it is larger than two, clear the stats with:
and see whether the queue depth quickly increases. A four-digit Peak VRAM Queue Depth could mean cells are being dropped. If the number of BPX frames (Bframes) is significantly larger than the number of FastPackets, AAL5 traffic is flooding the segmentation and reassembly process (SAR). Try entering:nwstats c
The log might show some unexpected hardware failures.dsplog
In order to trace only the relevant cells, define a filter. The values are slightly different for BPX and IPX.
The other fields are left as "ANY". The first screen of the dnib command looks something like this:
Trunk: 0 1 2 3 4 ...... LogCd: - - 2 - 2 ...... Port: - - 1 - 0 ...... Vtrk: - - 1 - - ......
The number after "Trunk" is the number of logical trunk IDs; the next three lines contain the (logical) slot.port.vtrk numbers as displayed by the dsptrks command, with the notable exception that the port number is decremented by one.
We see virtual trunk 2.2.1 has the logical trunk ID of 2, and physical trunk 2.1 has the logical trunk ID of 4.
If you are on an IPX/IGX, the node number depends on the trunk. To figure out the blind node number used on your trunk, leave Node Num and Part Num at ANY and set the function code to 28. This will trace only the first message, but this is probably enough. In case you want to trace more messages, the trace of this first message tells you the Node Num to be used, and you can change the filter using nwtrace accordingly.
After entering nwtrace, type cnw to clear the network trace buffer on both sides. Then, type addtrk again.
Now display the trace with:
On the node where addtrk was issued, you will see one or more messages transmitted. The result could be "Ack", or probably, "Tmout." Determine whether the other node received any message.dnw
Check whether the transparent channel is programmed. This can be done with the dspchrte command:
slot.port is the same as for addtrk. chn is 0 for BNI cards or (port - 1) for BXM cards.dspchrte slot.port chn d
If the response indicates that the channel is deleted, you have found the cause. If the channel is not deleted, the data did not make it across the cross-bar switch, or else the firmware ignored it.
For BXM cards, the command:
might show something unusual (meaning non-zero numbers), which would indicate some indisposition of the firmware. This is a Resource problem. Check whether the cross-bar switch is programmed correctly, or whether something upset the card.dspchstats slot.port.chn 1
If cells were transmitted by the trunk card, see if those cells have looped back and whether the number of received cells is equal to the number of transmitted cells. If not, look at the other trunk card (on the other node) to see whether it received anything. Using a dsptrkstats command for a BPX should show the number of cells received, and the number should increase with every issued addtrk command.
If it shows that no cells were received, something may have happened on the trunk (this is not very likely). Otherwise, you might see a non-zero entry for "Cell header mismatch error count" and the VPI/VCI for that header. (This currently works only on BNI cards.)
Check whether channel 10 is programmed:
dspchrte slot.port 10 d
where chn is 42 for port 1, 312 for port 2, 582 for port 3, for example.dspchrte slot.port chn d
If the channels are programmed, there may be a firmware problem.
addtrk on a Virtual TrunkPayload scrambling has to be consistent between the trunk and the ASI card to which it is connected. The two ends of the trunk don't have to be the same. By default, E3 and OC3 ASI cards enable payload scrambling, and T3 disables it.
The virtual path identifier (VPI) values configured at the trunk ends must be consistent with the connection defined for this virtual trunk.
Again, nwstats and srstats might give some quick hints. See
the section Quick Checks of addtrk on a Physical
Trunk for details.
If the packets are lost between the two trunk end points, you can now look at the statistics for the ASI card whose trunks are connected too.
The following command will show where cells are going:
where port refers to the line port, and Network refers to cells going over the muxbus/crossbar switch of the BPX/IPX/IGX.dspchstats slot.port.network 1
If the cloud is not only a daxcon, but also involves a trunk, stats on the trunk can also be looked at (dsptrkstats for a BPX). Look for loss of connectivity between the ASI and this internal trunk. If this is the case, you have a Connection Management problem.
In this case, do not trace a message with function code 28; use function codes 63 and 64. These messages are also sent to the blind nib, so the addresses to trace are the same as for the addtrk problem.
Again, isolate the failure by following the path of the packets and looking at every intermediate link. Use the statistics command to see whether cells (packets) are being dropped.
The problem is most likely a Connection Management problem if data is being pumped across the trunks and overload is generated.
It is more likely a problem related to Resource when no overload is present. Qbins may not have been set up correctly.
As an example, consider a situation where node "B" becomes unreachable from node "A". A message is sent from node "A" to node "B", but no ACK is received by node "A". At this time, node "B" might still consider node "A" reachable. There is no periodic test, like the Comm Fail test, to test reachability. It is only after node "B" becomes unreachable from node "A" that there are Comm Break test messages.
Assume the message from node "A" does not reach node "B". In case the ACK was lost along the way, you can force a Comm Break for the other direction by VT-ing from node "B" to node "A", then try to find where the messages get lost from "B" to "A".
First, determine which route the packets take from "A" to "B". Then, to hop, you can use the same tools that you used to determine the cause for a Comm Fail. The drtop command shows the next hop for a packet destined for node "B". Then, log in the via node. Enter the drtop command to show the next one, and so forth.
If one of the trunks on the path is in Comm Fail state, this problem reverts to analyzing a Comm Fail problem.
setmrt 9 node_B_s_node_number
allows the via node to trace the forwarded packets for node B. The pktrace command has to be set up with VCI Msb as 9 and VCI Lsb as the node number of node B.
To clear the trace buffer, enter:
cpkTo display the trace buffer (in unstuffed format), enter:
If a BXM card is on the route, to actually see whether cells of the message from A to B go in the right direction, enter:dpk u
To display transmitted (to port) or received (from port) cells, enter:dspchstats
where chn is calculated asdspchstats slot.port.chn 1
47 + (port - 1) * 270 + node_num_of_B
If virtual trunks are involved, follow the procedure outlined in section on virtual trunks during Comm Fail.
The nwstats and srstats commands are only useful at the end node (node A and node B).
If you have tried all the troubleshooting information in this document and you are unable to locate the source of or resolve the problem, call Cisco TAC and open a case.
All contents are Copyright © 1992--2004 Cisco Systems Inc. All rights reserved. Important Notices and Privacy Statement.
| Updated: Sep 08, 2004 | Document ID: 10775 |