Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
7-8
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 7 System Management Commands
logging event
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
Command Default None
Command Modes Configuration mode
Command History
Examples This example shows how to log interface events:
switch# configure terminal
switch(config)# logging event link-status default
Related Commands
link-status Log all UP/DOWN and CHANGE messages.
trunk-status Log all TRUNK status messages.
default The default logging configuration is used by interfaces not explicitly
configured.
enable To enable logging overriding port level configuration.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show logging Displays the logging status.