cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9300
Views
20
Helpful
5
Replies

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

henrybb
Level 1
Level 1

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

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

View solution in original post

5 Replies 5

Bobby Thekkekandam
Cisco Employee
Cisco Employee

Hi Henry,

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

Router(config)#logging event link-status

HTH,

Bobby

*Please rate helpful posts

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)

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

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!

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco