4948 not logging port events

Answered Question

I upgraded one of my old 3500 switches to a 4948. The log on the 4948 doesn't show port events like up/down events. All I see in the log is configuration changed events.

Is there a way to turn this on?

I have this in the config.

logging buffered 65536 debugging

logging trap debugging

logging source-interface Vlan1

logging 10.1.1.2

Thanks,

Chuck

I have this problem too.
0 votes
Correct Answer by glen.grant about 7 years 1 month ago

   Just follow Jon's advice and use the interface  range command and apply  " logging event link-status"  to all your ports .

Correct Answer by Jon Marshall about 7 years 1 month ago

[email protected]

My switch won't take that command.

itsw-4948(config)#logging event link-status global
Translating "event"...domain server (255.255.255.255)
                           ^
% Invalid input detected at '^' marker.

itsw-4948(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

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EWA4

Chuck

Apologies, the command was introduced in IOS version 12.2(25)SG so you would need to upgrade to have it available.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.8 (5 ratings)
Loading.
Jon Marshall Wed, 12/09/2009 - 12:48

[email protected]

I upgraded one of my old 3500 switches to a 4948. The log on the 4948 doesn't show port events like up/down events. All I see in the log is configuration changed events.

Is there a way to turn this on?

I have this in the config.

logging buffered 65536 debugging

logging trap debugging

logging source-interface Vlan1

logging 10.1.1.2

Thanks,

Chuck

Chuck

You need to enable "logging event link-status ..."  either globally for all interfaces or on a per-interface basis -

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/44sg/command/reference/int_sess.html#wp2089249

Jon

My switch won't take that command.

itsw-4948(config)#logging event link-status global
Translating "event"...domain server (255.255.255.255)
                           ^
% Invalid input detected at '^' marker.

itsw-4948(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

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EWA4

Correct Answer
Jon Marshall Wed, 12/09/2009 - 13:08

[email protected]

My switch won't take that command.

itsw-4948(config)#logging event link-status global
Translating "event"...domain server (255.255.255.255)
                           ^
% Invalid input detected at '^' marker.

itsw-4948(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

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EWA4

Chuck

Apologies, the command was introduced in IOS version 12.2(25)SG so you would need to upgrade to have it available.

Jon

Correct Answer
glen.grant Wed, 12/09/2009 - 16:47

   Just follow Jon's advice and use the interface  range command and apply  " logging event link-status"  to all your ports .

Actions

This Discussion