Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
EVPN User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Tracing EVPN Traffic and Operations

date_range 20-Dec-24

To configure the EVPN routing instance to trace a variety of different parameters related to EVPN operation:

  1. Specify the name of one or more EVPN trace files using the file option for the traceoptions statement at the [edit routing-instances routing-instance-name protocols evpn] hierarchy level:
    content_copy zoom_out_map
    traceoptions {
        file filename <files number> <size size> <world-readable | no-world-readable>;
    }
    

    The file option includes the following sub-options:

    • filename—Specify the name of the file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log.

    • files number—(Optional) Maximum number of trace files. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the specified maximum number of trace files specified is reached. Then the oldest trace file is overwritten.

    • size size—(Optional) Maximum size of each trace file. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum number of trace files is reached. Then the oldest trace file is overwritten.

    • world-readable | no-world-readable—(Optional) Enable unrestricted file access or restrict file access to the user who created the file.

  2. Specify the flag option for the traceoptions statement:
    content_copy zoom_out_map
    traceoptions {
        flag flag <flag-modifier> <disable>;
    }
    

    The flag option allows you to specify the scope of the trace by including one of the following sub-options:

    • all—All EVPN tracing options

      error—Error conditions

    • gbptagdb—GBP tag database related messages

    • general—General events

    • mac-database—MAC route database in the EVPN routing instance

    • nlri—EVPN advertisements received or sent by means of the BGP

    • normal—Normal events

    • oam—OAM messages

    • policy—Policy processing

    • route—Routing information

    • state—State transitions

    • task—Routing protocol task processing

    • timer—Routing protocol timer processing

    • topology—EVPN topology changes caused by reconfiguration or advertisements received from other PE routers using BGP

    You can also specify one of the following modifiers for any of the traceoptions flags:

    • detail—Provide detailed trace information.

    • disable—Disable this trace flag.

    • receive—Trace received packets.

    • send—Trace sent packets.

footer-navigation