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-9
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 7 System Management Commands
logging event port
logging event port
Use the logging event port command to log events on an interface. To disable logging of interface
events, use the no form of this command.
logging event port {link-status | trunk-status} [default]
no logging event port {link-status | trunk-status}
Syntax Description
Command Default None
Command Modes Interface configuration mode
Command History
Examples This example shows how to log interface events:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# logging event port link-status default
Related Commands
link-status Log all UP/DOWN and CHANGE messages.
trunk-status Log all TRUNK status messages.
default (Optional) The default logging configuration is used by interfaces not
explicitly configured.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show interface Displays the interface configuration information.
show logging Displays the logging status.