S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-103
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
logging event port
logging event port
To log events on an interface, use the
logging event port
command. 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
switch(config-if)#
Related Commands
link-status
Specifies to log all UP/DOWN and CHANGE messages.
trunk-status
Specifies to log all TRUNK status messages.
default
(Optional) Specifies the default logging configuration that is used by
interfaces not explicitly configured.
Release
Modification
5.0(3)U1(1)
This command was introduced.
Command
Description
show interface
Displays the interface configuration information.
show logging
Displays the logging status.