Date created: 02/06/18 14:27:24. Last modified: 03/09/18 18:19:28

2960

See BRKCRS-3141.

Troubleshooting hardware issues on a 2960 switch.

Show packet drops per-queue per-asic:

show platform port-asic stats drop

! Possible queue mappings for the supervisor (punted packets/frames)...
Queue 0:rpc
Queue 1:stp
Queue 2:ipc
Queue 3:routing protocol
Queue 4:L2 protocol
Queue 5:remote console    
Queue 6:sw forwarding
Queue 7:host
Queue 8:broadcast
Queue 9:cbt-to-spt
Queue 10:igmp snooping
Queue 11:icmp
Queue 12:logging
Queue 13:rpf-fail
Queue 14:dstats
Queue 15:cpu heartbeat

Show which features are enabled at the ASIC level per-port:

show platform port-asic port-info fa0/22

PortInfo{0-25}
==========================
Entry{23}: 22E00016 900000E0 40000000 00000000


    Port Speed                0
    SecureDynamicPort         0
    PreventDup                1
    QosMode                   0
    DscpTranslationIndex      0
    TaggingMode               2
    AllowNative               1
    AllowPrioTagged           1
    AllowDotOneQ              1
    AllowIsl                  0
    PolicyAclPortLabel        0
    ClassAclPortLabel         0
    GlobalPortNumber          16
    MaxPolicerPktSize         2400
    LearningViolationMode     0
    PortMaskTag               0
    OutAclPortLabel           0
    AllowUnicast              1
    AllowMulticast            1
    AllowBroadcast            1
    InAclPortLabel            0
    ForceNonIpClassAcl        0
    ClassAclL4MapMode         1
    ClassAclPortOpSel         0
    ForceNonIpInAcl           0
    InAclL4MapMode            0
    InAclPortOpSel            0
    ForceNonIpOutAcl          0
    OutAclL4MapMode           0
    OutAclPortOpSel           0
    EtherChannel              0
    PolicyAclL4MapMode        0
    PolicyAclPortOpSel        0

Observe how a packet was parsed by the switch ASIC:

show platform port-asic packet-info-ram index 
! How can this be linked to a know frame?

Show the TCAM utilisation:

show platform tcam utilization

CAM Utilization for ASIC# 0                      Max            Used
                                             Masks/Values    Masks/values

 Unicast mac addresses:                       1040/8320         18/69
 IPv4 IGMP groups + multicast routes:           56/448           6/26
 IPv4 unicast routes:                            0/0             0/0
 IPv4 policy based routing aces:                 0/0             0/0
 IPv4 qos aces:                                384/384         260/260
 IPv4 security aces:                           384/384          43/43

Note: Allocation of TCAM entries per feature uses
a complex algorithm. The above information is meant
to provide an abstract view of the current TCAM utilization

show platform tcam usage

=============================================================================
                                  TCAM Table
 TCAM / SSRAM Table            TCAM            SSRAM
                                Start   Size X    Start   Size Y
=============================================================================
 Local Forwarding Table:            0   2240 1        0   2240   4
 Local Learning Table:              0   2240 1     8900   2240   2
 Secondary Forwarding Table:     2080    280 1     CD80    280   8
 QoS Table:                      2300    C00 1    10480    C00   4
 ACL Table:                      2F00    C00 1    13480    C00   4
 IPV6 Secondary Forwarding Tabl  3D50    180 2     E1C0     C0   8
 IPV6 Classification Table:      3ED0     80 2    164A0     40   4
 IPV6 ACL Table:                 3F50     A0 2    165A0     50   4
 Station Table:                     0      0 0    16700   2240   4
 MAC Address Table:                 0      0 0    1F000      2   8
 Multicast Expansion Table:         0      0 0    1F080    122  40
 VLAN List Table:                   0      0 0    23900     40  10
 Equal Cost Route Table:            0      0 0    23900      0  20

 X - Number of 144-bit TCAM entries per descriptor
 Y - Number of bytes per descriptor
=============================================================================
SDM template realignment scheme-2 in effect
Dummy SFD start: 0xF080, entries 0x280, size 8

 show controllers ethernet-controller port-asic statistics

Check to see if the ASIC output queue is something other than 14 with:

show plat for <src intf> <srcmac> <dstmac> ip <srcip> <dstip> <L4Prot>