[c-nsp] cisco 3560 layer3 performance

Łukasz Bromirski lukasz at bromirski.net
Tue Jan 22 03:09:08 EST 2008


Mark Kent wrote:

> Vlan201
>           Switching path    Pkts In   Chars In   Pkts Out  Chars Out
>                Processor      33574    4490938   10677629 10262551834
>              Route cache         26       1980         42      32196
>                    Total      33600    4492918   10677671 10262584030

It seems that all the traffic coming is process-switched (this is
the obvious part - IP Input causing major CPU load). Question is why
- can You check for:

'show ip cef 10.10.10.56 detail' - to check if CEF properly programmed
  rewrite string for default gateway for the 3560, then
'show platform ip unicast adjacency 10.10.10.56', and then
'show ip cef x.x.x.x detail' - where x.x.x.x is the IP of the server
  connected to properly-behaving 3560

The 'sh controllers cpu-interface' may be also helpful - look for any
non-zero values in any column other than 'retrieved' after ASIC
section (starts with the 'cpu-queue-frames'), and for number of
'sw forwarding' packets.

If you can spare a moment in service window, there's also option
to debug what hits the switch and counts as 'sw forwarding' - the
'debug platform cpu-queues software-fwd-q'.

-- 
"Don't expect me to cry for all the     |               Łukasz Bromirski
  reasons you had to die" -- Kurt Cobain |    http://lukasz.bromirski.net


More information about the cisco-nsp mailing list