02-02-2005 07:49 AM - edited 03-02-2019 09:26 PM
What is the ios command to show network connections on ports going up and down? So if somebody plugs their computer in the link shows it goes up.
02-02-2005 03:16 PM
You can add the command "logging event link-status" to the interface configuration. This will log a message into the logging buffer of the IOS device and will generate a syslog message depending on your logging setup. In some circumstances, you will not see the command in the configuration as it is the default behavior (Catalyst 2950 for example). The messages that get logged look like:
1w0d: %LINK-3-UPDOWN: Interface FastEthernet0/9, changed state to up
1w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state to up
Steve
02-03-2005 08:03 AM
I'm trying to set this up on a 3745 and a 3560. That command won't work for the main interface. I'm thinking there is a system wide command that will monitor all the interfaces and not need to be applied to each one seperately. Thanks!
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