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
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.