Monitor Interfaces
This topic discusses about tracing operations of individual router interface, interface process, and pppd process.
Trace Interface Operations Overview
You can trace the operations of individual router interfaces and those of the interface process (dcd). For a general discussion of tracing and of the precedence of multiple tracing operations, see the Junos OS Administration Library for Routing Devices.
For information about the operations of Virtual Router Resolution Protocol (VRRP)-enabled interfaces, see the Junos OS High Availability User Guide.
See Also
Trace Operations of an Individual Router Interface
To trace the operations of individual router interfaces, perform the following steps:
You can specify the following interface tracing flags:
all
—Trace all interface operations.event
—Trace all interface events.ipc
—Trace all interface interprocess communication (IPC) messages.media
—Trace all interface media changes.
The interfaces traceoptions
statement does not support
a trace file. The logging is done by the kernel, so the tracing information
is placed in the system syslog
files.
For more information about trace operations, see Tracing Operations of the Interface Process.
See Also
Trace Operations of the Interface Process
To trace the operations of the router or switch interface process, dcd, perform the following steps:
You can specify the following flags in the interfaces
traceoptions
statement:
all
—Enable all configuration logging.change-events
—Log changes that produce configuration events.gres-events
—Log the events related to GRES.resource-usage
—Log the resource usage for different states.config-states
—Log the configuration state machine changes.kernel
—Log configuration IPC messages to kernel.kernel-detail
—Log details of configuration messages to kernel.select-events
—Log the events on select state machine.
By default, interface process operations are placed in the file named dcd and three 1-MB files of tracing information are maintained.
For general information about tracing, see the tracing and logging information in the Junos OS Administration Library for Routing Devices.