[c-nsp] Sup720 software forwarding

Peter Rathlev peter at rathlev.dk
Fri Mar 8 02:46:03 EST 2013


Theoretically, if one would happen to have a Sup720 that does software
forwarding, how is it that one can check what the reason for punts is?

A netdr capture shows packets like this:

------- dump of incoming inband packet -------
interface Vl212, routine mistral_process_rx_packet_inlin, timestamp 00:00:33
dbus info: src_vlan 0xD4(212), src_indx 0x142(322), len 0x47(71)
  bpdu 0, index_dir 0, flood 0, dont_lrn 0, dest_indx 0x380(896)
  3C020400 00D40400 01420000 47080000 00060050 860FFF7C 00000000 03800000 
mistral hdr: req_token 0x0(0), src_index 0x142(322), rx_offset 0x76(118)
  requeue 0, obl_pkt 0, vlan 0xD4(212)
destmac 00.00.0C.07.AC.02, srcmac 00.50.56.8A.49.15, protocol 0800
protocol ip: version 0x04, hlen 0x05, tos 0x98, totlen 53, identifier 6448
  df 1, mf 0, fo 0, ttl 128, src 10.83.12.125, dst 10.83.3.16
    tcp src 57615, dst 1531, seq 3896459602, ack 2194696301, win 509 off 5 checksum 0x849A ack psh

I just can't see why this packet is punted. We see ~80 kpps inbound on
the IBC interface. The only thing that seem out of place is this:

Swouter#remote command switch show tcam redirects

TCAM Redirect Indices
  offset: 0x7E00
  Indx 0 (0x7E00)  unique: 0 count_allocations: 0 entries: 0  Portlist: 
  Indx 1 (0x7E01)  unique: 0 count_allocations: 1 entries: 20  Portlist: 15/1 
  Indx 2 (0x7E02)  unique: 0 count_allocations: 1 entries: 0  Portlist: 15/1 
  Indx 3 (0x7E03)  unique: 0 count_allocations: 1 entries: 0  Portlist: 15/1 
  Indx 4 (0x7E04)  unique: 0 count_allocations: 1 entries: 0  Portlist: 
  Indx 5 (0x7E05)  unique: 1 count_allocations: 1 entries: 0  Portlist: 15/1 
  Indx 6 (0x7E06)  unique: 1 count_allocations: 1 entries: 0  Portlist: 15/1 
Swouter#

The "entries: 20" on Indx 1 confuses me. Redirects means, AFAIK, that
the switch punts packets. Is that true? And if so: How would one find
out what that is? Is there any way to reset this bar a full reload?

TIA.

-- 
Peter




More information about the cisco-nsp mailing list