logging events link-status (interface)
To enable the logging of link-status system logging (syslog) messages on a specific interface for virtual
interfaces and subinterfaces, use the
logging events link-status
command in the appropriate interface or
subinterface mode. To disable the logging of link status messages, use the
no
form of this command.
logging events link-status
no logging events link-status
Syntax Description
This command has no keywords or arguments.
Command Default
The logging of link-status messages is disabled for virtual interfaces and subinterfaces.
Command Modes
Interface configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Usage Guidelines
When the logging of link-status messages is enabled, the router can generate a high volume of link-status up
and down system logging messages. The
logging events link-status
command enables messages for virtual
interfaces and subinterfaces only.
The
logging events link-status
command allows you to enable and disable logging on a specific interface
for bundles, tunnels, and VLANs.
Use the
no logging events link-status
command to disable the logging of link-status messages.
Enabling the
logging events link-status
command on a specific interface overrides the global configuration
set using the
logging events link-status, on page 317
command in global configuration mode.
Note
Task ID
Operations
Task ID
read, write
logging
Examples
This example shows the results of turning on logging for a bundle interface:
RP/0/0/CPU0:router(config)#
int bundle-pos 1
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
319
Logging Services Commands
logging events link-status (interface)