logging event
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
logging event
Use the logging event command to log interface events. To disable logging of interface events, use the
no form of this command.
logging event port {link-status | trunk-status} {default | enable}
no logging event port {link-status | trunk-status} {default | enable}
Syntax Description
link-status
trunk-status
default
enable
Command Default
None
Command Modes
Configuration mode
Command History
Release
4.0(0)N1(1a)
Examples
This example shows how to log interface events:
switch# configure terminal
switch(config)# logging event link-status default
Related Commands
Command
show logging
Cisco Nexus 5000 Series Command Reference
7-8
Log all UP/DOWN and CHANGE messages.
Log all TRUNK status messages.
The default logging configuration is used by interfaces not explicitly
configured.
To enable logging overriding port level configuration.
Modification
This command was introduced.
Description
Displays the logging status.
Chapter 7
System Management Commands
OL-16599-01