[c-nsp] Sup720 software forwarding

Peter Rathlev peter at rathlev.dk
Fri Mar 8 03:55:20 EST 2013


On Fri, 2013-03-08 at 07:59 +0000, Dobbins, Roland wrote:
> On Mar 8, 2013, at 2:46 PM, Peter Rathlev wrote:
> > 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?
> 
> sh fm sum and proc c sort might provide some clues.

Feature manager summary just says "ACTIVE inbound" and "up" for all
interfaces. A "show fm interface <N>" says what I see on other devices
with no problems for all interfaces, i.e.:

+----+-+---------------+---------------+-----+-----+---+---+-+---+------+----+------+
|Indx|T|  Dest Ip Addr | Source Ip Addr|DPort|SPort|Pro|RFM|X|ToS|MRTNPC|Adj.|  FM  |
+----+-+---------------+---------------+-----+-----+---+---+-+---+-----+----+------+

 1    V         0.0.0.0         0.0.0.0     0     0   0 --- 0   0 ----L- ---- SHORT  
      M         0.0.0.0         0.0.0.0     0     0   0 000 0   0
      TM_PERMIT_RESULT                   

    Feature OTHER Default Result Feature:
-----------------------------------------------------------------------------
FM_FEATURE_OTHER_DEFAULT 	i/f: Vl244 	 
=============================================================================
+----+-+--------------+--------------+----+----+
|Indx|T|   Dest Node  |  Source Node |EtTy|EtCo|
+----+-+--------------+--------------+----+----+

 1    V 0000.0000.0000 0000.0000.0000    0 0
      M 0000.0000.0000 0000.0000.0000    0 0
      TM_SOFT_BRIDGE_RESULT         

A "show processes cpu sort" doesn't really give us much information:

CPU utilization for five seconds: 64%/47%; one minute: 53%; five minutes: 54%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process 
 272  33231388761856195560       1790  5.83%  4.97%  4.44%   0 IP Input         
 582  2117585884  79951584      26485  1.67%  0.56%  0.56%   0 BGP Scanner      
  11  11735027961529271982        767  1.51%  1.97%  2.14%   0 ARP Input        
 487   8138829442867614150          0  1.35%  0.60%  0.56%   0 Port manager per 
 596        2608      1349       1933  1.35%  0.16%  0.07%   1 SSH Process      
 561   6203794201094863995        566  1.27%  0.73%  0.42%   0 HSRP IPv4        
 358   592877892 199862405       2966  1.11%  0.99%  1.05%   0 CEF: IPv4 proces 
  23   5709632123711598349          0  1.03%  0.25%  0.23%   0 IPC Seat Manager 
 572   727803796 798401932        911  0.47%  0.30%  0.51%   0 ISIS Adj         
 560    22483212 262767558         85  0.15%  0.06%  0.07%   0 HSRP Common      
 266    63115244 257641846        244  0.15%  0.08%  0.07%   0 CDP Protocol     
 274    86449056 448373427        192  0.07%  0.05%  0.05%   0 ADJ resolve proc 
  50     7250060  77748288         93  0.07%  0.05%  0.03%   0 Per-Second Jobs  
 338   307834324  91831550       3352  0.07%  0.16%  0.18%   0 IPC LC Message H 
 545   119843896 128249411        934  0.07%  0.22%  0.25%   0 DHCPD Receive    
 554    38523444  12876760       2991  0.07%  0.07%  0.07%   0 MFI LFD Stats Pr 
 592     6031040 107437369         56  0.07%  0.04%  0.02%   0 PIM Process      

AFAICT it looks like we're primarily software CEF-switching and not
process switching, since IP Input if (relatively) low. (I know you
generelly can't trust those numbers to add up.)

I was hoping there's some way to find out what exactly makes it punt
since there's no obvious reason.

-- 
Peter




More information about the cisco-nsp mailing list