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

Logging Ethernet connection and disconnection events

This should be an easy one, but it's driving me crazy. I have a Cat4506 with 3 48-port 10/100 blades. The switch is not generating a log event when new Ethernet connections are plugged in.

For example, on port fa4/47, I plug a connection in, and by doing a sho fa4/47 I see that the interface has transitioned from notconnect to connect. The system never generates a log event, though, and I need these logs.

Here's the result of my "sho logging":

dal-swc-i-1#sho logging

Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0 flushes, 0 overruns)

Console logging: level debugging, 7 messages logged

Monitor logging: level debugging, 0 messages logged

Buffer logging: level debugging, 7 messages logged

Exception Logging: size (40960 bytes)

Trap logging: level debugging, 12 message lines logged

Logging to 172.18.0.222, 12 message lines logged

I don't see the logs show on either the loghost or on the console. What's up?

--Peter

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Logging Ethernet connection and disconnection events

Logging of link up/down messages is disabled by default in Native IOS. You'll need to have "logging event link-status" configured if you want these messages

interface GigabitEthernet1/1

no switchport

ip address 10.1.1.1 255.255.255.0

logging event link-status <<<-----

3 REPLIES
Silver

Re: Logging Ethernet connection and disconnection events

do a show logging buffer 1024

Silver

Re: Logging Ethernet connection and disconnection events

also make sure you have

set port trap mod/port enable

you can also set udld on the ports

see this page

http://www.cisco.com/en/US/products/hw/switches/ps679/products_configuration_guide_chapter09186a008007ef3b.html

Cisco Employee

Re: Logging Ethernet connection and disconnection events

Logging of link up/down messages is disabled by default in Native IOS. You'll need to have "logging event link-status" configured if you want these messages

interface GigabitEthernet1/1

no switchport

ip address 10.1.1.1 255.255.255.0

logging event link-status <<<-----

179
Views
0
Helpful
3
Replies
CreatePlease to create content