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

Why didn't 4510R log port up/down information?

On 3750 or 6509,I can see interface up/down information after I plug fiber or UTP cable. But I can't see that on 4510R.

I have configed logging level to debugging.

4510R#sh ver

Cisco Internetwork Operating System Software

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(20)EWA3 RELEASE SOFTWARE (fc1)

4510R#sh log

Syslog logging: enabled (0 messages dropped, 155 messages rate-limited, 0 flush

s, 0 overruns)

Console logging: disabled

Monitor logging: level debugging, 227 messages logged

Logging to: vty4(27)

Buffer logging: level debugging, 1821 messages logged

Exception Logging: size (8192 bytes)

Count and timestamp logging messages: disabled

Trap logging: level informational, 8471 message lines logged

any comment is appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Why didn't 4510R log port up/down information?

Hi Henry,

Sorry, on the 4500 switches, it's an interface command:

4510-A(config-if)#logging event ?

link-status UPDOWN and CHANGE messages

nfas-status NFAS D-channel status messages

subif-link-status Sub-interface UPDOWN and CHANGE messages

trunk-status TRUNK status messages

HTH,

Bobby

5 REPLIES
Cisco Employee

Re: Why didn't 4510R log port up/down information?

Hi Henry,

In global config mode, you need to configure the following:

Router(config)#logging event link-status

HTH,

Bobby

*Please rate helpful posts

Community Member

Re: Why didn't 4510R log port up/down information?

But there isn't this command.

4510R(config)#logging ?

Hostname or A.B.C.D IP address of the logging host

buffered Set buffered logging parameters

cns-events Set CNS Event logging level

console Set console logging level

exception Limit size of exception flush output

facility Facility parameter for syslog messages

history Configure syslog history table

host Set syslog server host name or IP address

monitor Set terminal line (monitor) logging level

on Enable logging to all supported destinations

rate-limit Set messages per second limit

source-interface Specify interface for source address in logging

transactions

trap Set syslog server logging level

4510R(config)#logging event link-status

Translating "event"...domain server (255.255.255.255)

Cisco Employee

Re: Why didn't 4510R log port up/down information?

Hi Henry,

Sorry, on the 4500 switches, it's an interface command:

4510-A(config-if)#logging event ?

link-status UPDOWN and CHANGE messages

nfas-status NFAS D-channel status messages

subif-link-status Sub-interface UPDOWN and CHANGE messages

trunk-status TRUNK status messages

HTH,

Bobby

Community Member

Re: Why didn't 4510R log port up/down information?

I am not sure whether it is needed on other switch platform. Which platform need this command for loggin interface up/down information except 4500 ?

thanks!

Cisco Employee

Re: Why didn't 4510R log port up/down information?

Hi Henry,

I believe it is required for all switch platforms, although I will admit that we are not always consistent with this.

It's documented for the 6500:

"The link state messages (LINK-3-UPDOWN and LINEPROTO-5-UPDOWN) are disabled by default. Enter the logging event link status command on each interface where you want the messages enabled."

http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_guide_chapter09186a008007e716.html

HTH,

Bobby

*Please rate helpful posts

5607
Views
10
Helpful
5
Replies
CreatePlease to create content