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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cat4000 Display hosts connecting or disconnecting

Does any one know how to set the logging to see exactly when a host connects on a set/clear based switch?



Re: Cat4000 Display hosts connecting or disconnecting

Hello Jones

You can set the linkdown, linkup to generate SNMP traps for a particular switch. You need to set the right logging level to see this ..

snmp-server enable traps snmp linkdown linkup coldstart

snmp-server enable traps config



lots of such useful traps are available.. see if your switch supports this. After enabling SNMP trap, you can point to forward these messages to an external syslog server , instead of using the buffer memory...

For logging commands, refer to CCO..

Hope this helps.. all the best.. rate replies if found useful..


New Member

Re: Cat4000 Display hosts connecting or disconnecting

We don't manage this switch with snmp..

I remember a few years ago, by default when a connection came up or down, you could see it on your monitor .. the message read something like?? spantree port enable ...

Maybe what I'm looking for is the set logging spantree level (the one that shows spantree forwarding on a port)


Re: Cat4000 Display hosts connecting or disconnecting

I believe the logging option to actually see this is the PAGP logging option , just set to 6 . You can experment with it without actually setting . Use like "set logging level PAGP 6 . This will set it as a 6 level which is informational I believe , to set it permanently use "set logging level pagp 6 default" . Also make sure you have the option set logging telnet enable on .