Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Log SNMP Information

Hello everyone,

Is there a way to log SNMP information to the local router and download it or access it at a later date? Looking to capture bandwith and CPU utilization as well as any error messages, etc but won't have an SNMP server set up for about a week.

Thanks in advance! All replies rated

3 REPLIES

Re: Log SNMP Information

There is no way to log the SNMP information and see it later about the counters as this is real time information.

Do you have a NAM module in your network?

New Member

Re: Log SNMP Information

Thanks. No NAM. What's the most I can do to capture information then? Just enable logging buffered?

Re: Log SNMP Information

Logging will capture you to a syslog the console messages. That wont have the counters you are looking for.

I was more thinking that you could run an rsh script from a server or linux end device and get periodically the show interface outputs for example. For that you need to enable rcmd on the router as per :

Or you could enable NBAR on the router and periodically over RSH get the show ip nbar protocol-discovery output that will have the 5 minutes counters per protocol.

Protocol counters also do come handy when you monitor traffic, it gives you a supplemental picture of what's happening.

Example of NBAR output:

Last clearing of "show ip nbar protocol-discovery" counters 4w5d

Input Output

----- ------

Protocol Packet Count Packet Count

Byte Count Byte Count

5min Bit Rate (bps) 5min Bit Rate (bps)

5min Max Bit Rate (bps) 5min Max Bit Rate (bps)

------------------------ ------------------------ ------------------------

http 1865324 1148110

2399109004 620270044

0 0

3970000 694000

bittorrent 348044 437191

300634149 42385104

0 0

1769000 58000

skype 725721 677595

298862503 115311935

0 0

579000 428000

edonkey 31721 18948

41515699 1545974

0 0

488000 11000

secure-http 229475 217413

171282588 54029522

0 0

294000 105000

h323 91130 117130

96943577 10974664

0 0

115000 9000

secure-imap 37244 52555

23380550 4683673

0 0

75000 7000

130
Views
14
Helpful
3
Replies
CreatePlease login to create content