Navigation
Related Documentation
- ACX, J, M, MX, PTX, T Series
- Tracing Interface Operations Overview
- ACX, M, MX, SRX, T Series
- traceoptions
- EX, J, M, MX, T Series
- Tracing Operations of an Individual Router or Switch Interface
Tracing Operations of the Interface Process
To trace the operations of the router or switch interface process, dcd, perform the following steps:
- In configuration mode, go to the [edit interfaces] hierarchy level:[edit]user@host# edit interfaces
- Configure the traceoptions statement.[edit interfaces]user@host# edit traceoptions
- Configure the no-remote-trace option to disable
remote tracing.[edit interfaces traceoptions]user@host# set no-remote-trace
- Configure the file filename option.[edit interfaces traceoptions]user@host# edit file
- Configure the files number option, match regular-expression option, size size option, and world-readable | no-world-readable option.[edit interfaces traceoptions file]user@host# set files numberuser@host# set match regular-expressionuser@host# set size sizeuser@host# set word-readable | no-world-readable
- Configure the tracing flag. [edit interfaces traceoptions]user@host# set flag flag-option
- Configure the disable option in flag flag-option statement to disable the tracing operation.
You can use this option to disable a single operation when you have
defined a broad group of tracing operations, such as all.[edit interfaces traceoptions]user@host# set flag flag-option disable
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 System Basics Configuration Guide.
Related Documentation
- ACX, J, M, MX, PTX, T Series
- Tracing Interface Operations Overview
- ACX, M, MX, SRX, T Series
- traceoptions
- EX, J, M, MX, T Series
- Tracing Operations of an Individual Router or Switch Interface
Published: 2013-02-12
Related Documentation
- ACX, J, M, MX, PTX, T Series
- Tracing Interface Operations Overview
- ACX, M, MX, SRX, T Series
- traceoptions
- EX, J, M, MX, T Series
- Tracing Operations of an Individual Router or Switch Interface