cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
2
Replies

link command

komputerguy
Level 1
Level 1

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.

2 Replies 2

sstudsdahl
Level 4
Level 4

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

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!

Review Cisco Networking for a $25 gift card