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

4948 not logging port events

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

Everyone's tags (2)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Super Blue

Re: 4948 not logging port events

carock@epconline.com

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

Purple

Re: 4948 not logging port events

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

5 REPLIES
Hall of Fame Super Blue

Re: 4948 not logging port events

carock@epconline.com

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

Community Member

Re: 4948 not logging port events

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

Hall of Fame Super Blue

Re: 4948 not logging port events

carock@epconline.com

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

Purple

Re: 4948 not logging port events

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

Community Member

Re: 4948 not logging port events

That worked!

I didn't think to try the port level commands.

Thank you.

Chuck

4536
Views
14
Helpful
5
Replies
CreatePlease to create content