07-24-2017 07:44 AM - edited 03-05-2019 08:53 AM
Hi All,
I have 7206 router with NPE-G2. One interface is connected to ISP and another interface is connected to Cisco-2960. All other devices are connected to 2960.
Virtually there is no configuration present on the router other than default route to ISP and one ACL having few hundred lines.
ACL looks like this:
object-group network objInternalHosts
host 1.1.1.2
host 1.1.1.3
host 1.1.1.4
07-24-2017 11:31 PM
Hello,
which IOS version are you running ?
In a previous post on that issue it was suggested to make sure that you have 'ip cef' enabled (obviously) and to make sure that no 'ip route-cache' commands are configured on any of the interfaces. Also, automatic buffer tuning could help:
buffers tune automatic
07-25-2017 05:27 AM
Besides what Georg suggested, you might try using the Turbo ACL feature, if supported on your IOS, enabling flow cache on your interfaces and/or determine if there's any way you could group consecutive groups of host IPs into an address block.
07-25-2017 06:57 AM
Georg & Joseph,
Appreciate your help.
I tried changing the access list to turbo/compiled access list, it does lower the CPU usage but some how hacking attempts were able to pass through. I saw connections coming in from various IP's which were not supposed to come in. I have already changed the consecutive IP's to address block where ever possible.
I do see 'ip cef' in the global configuration but not see on the individual interfaces. 'ip route-cache' is not used anywhere in the configuration.
interface GigabitEthernet0/2
description X-Conn to C2960
ip address xxx.xxx.xxx.xxx 255.255.255.0
no ip redirects
no ip unreachables
load-interval 30
duplex auto
speed auto
media-type rj45
negotiation auto
arp timeout 120
!
interface GigabitEthernet0/3
description X-CONN to XO
ip address yyy.yyy.yyy.yyy 255.255.255.252
ip access-group 101 in
no ip redirects
no ip unreachables
load-interval 30
duplex full
speed 1000
media-type sfp
no negotiation auto
!
07-25-2017 08:03 AM
I tried changing the access list to turbo/compiled access list, it does lower the CPU usage but some how hacking attempts were able to pass through. I saw connections coming in from various IP's which were not supposed to come in.
Interesting! The lower CPU was expected, different results were not. Sounds like a bug you could work with Cisco (if there's still any support on this platform). Or, depending on how much CPU reduction you noted (i.e. if you think worth pursuing, maybe loading a later IOS version, if available, would resolve that issue).
'ip route-cache' is not used anywhere in the configuration.
That's fine. The interface command you would want would be "ip route-cache flow". NB: I'm hoping in your case, it will bring down CPU, but it can also drive it even higher.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide