Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    traceoptions (Individual Interfaces)

    Syntax

    traceoptions {
    flag flag;
    }

    Hierarchy Level

    [edit interfaces interface-name]

    Release Information

    Statement introduced in Junos OS Release 11.1 for the QFX Series.

    Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

    Description

    Define tracing operations for individual interfaces.

    To specify more than one tracing operation, include multiple flag statements.

    The traceoptions statement for interfaces does not support a trace file. The logging is done by the kernel, so the tracing information is placed in the system syslog file in the directory /var/log.

    Note: The traceoptions statement is not supported on the QFX3000 QFabric system.

    Default

    If you do not include this statement, no interface-specific tracing operations are performed.

    Options

    flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements. The following are the interface-specific tracing options.

    • all—All interface tracing operations

    • event—Interface events

    • ipc—Interface interprocess communication (IPC) messages

    • media—Interface media changes

    • q921—ISDN Q.921 frames

    • q931—ISDN Q.931 frames

    Required Privilege Level

    interface—To view this statement in the configuration.

    interface-control—To add this statement to the configuration.

    Modified: 2017-09-13