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

Logging on Cisco 6509 Switch

I have a Syslog server configured in my network.The Cisco 6509 switch has been configured to send SNMP traps to the syslog server by using the command:

snmp-server host 10.40.70.1 public

Do i need to put in the following command as well :

logging 10.40.70.1

Dose'nt both the commands work the same way.

Thanks!

RPS

2 REPLIES
Blue

Re: Logging on Cisco 6509 Switch

the first command defines an SNMP host to receive SNMP traps generated by the 6509. the community used for these traps on this SNMP server is 'public'.

the second command defines logging to a specific Syslog host. this is not SNMP logging but device event logging. not all of these logging entries will be also logged by an SNMP trap. (some events would be; not all)

see this link for more info on the logging command:

http://www.cisco.com/en/US/products/ps5845/products_command_reference_chapter09186a008027eb8b.html#wp1017942

New Member

Re: Logging on Cisco 6509 Switch

Thanks ! i got ya.I also did a soul-searching on this subject and came out with the same conclusion.

Logging Buffered 6 command would send all the system logs with severity 6 and below to the internal buffer of the switch.

What i have observed with this is that it would send the messages for all the available facilities like SYS,AAA..etc.

Is there way to restrict this so that only few of them are logged.

Regards

RPS

421
Views
0
Helpful
2
Replies