Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
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

trace (EVPN-VXLAN)

date_range 15-Apr-24

Syntax

content_copy zoom_out_map
    trace {
    evpn-vxlan;
    }

Hierarchy Level

content_copy zoom_out_map
[edit services]
        

Description

Enable EVPN-VXLAN tracing in multiple modules and hierarchies. The trace command invokes a built-in commit script to generate the tracing configurations required for troubleshooting EVPN-VXLAN. The commit script for this feature, services_evpn_commit_script.py, is included with supported platforms.

Note:

Configure EVPN-VXLAN tracing and enable the commit-script using the following commands.

content_copy zoom_out_map
set services trace evpn-vxlan
set system scripts commit allow-transients
set system scripts commit file services_evpn_commit_script.py

See Commit Script Overview and Overview of Generating Persistent or Transient Configuration Changes Using Commit Scripts for more information about commit scripts.

When you commit the configuration, the commit script generates the following EVPN-VXLAN tracing configurations.

RPD/routing-instances tracing for each routing-instance configured.

content_copy zoom_out_map
set routing-instances routing-instance-name protocols evpn traceoptions file routing-instance-name.log
set routing-instances routing-instance-name protocols evpn traceoptions file size 50m
set routing-instances routing-instance-name protocols evpn traceoptions file files 50
set routing-instances routing-instance-name protocols evpn traceoptions flag all detail

BGP tracing for each BGP group configured.

content_copy zoom_out_map
set protocols bgp group bgp-group-name traceoptions file bgp-group-name.log
set protocols bgp group bgp-group-name traceoptions file size 50m
set protocols bgp group bgp-group-name traceoptions file files 50
set protocols bgp group bgp-group-name traceoptions flag all

L2ALD tracing for protocols l2-learning.

content_copy zoom_out_map
set protocols l2-learning traceoptions file l2ald.log
set protocols l2-learning traceoptions file size 50m
set protocols l2-learning traceoptions file files 50
set protocols l2-learning traceoptions level all
set protocols l2-learning traceoptions flag all

DHCP tracing when DHCP is configured.

content_copy zoom_out_map
set system processes dhcp-service traceoptions file dhcp_service.log
set system processes dhcp-service traceoptions file size 50m
set system processes dhcp-service traceoptions file files 50
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag all

Options

evpn-vxlan

Enable evpn-vxlan tracing

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 23.4R1 and Junos OS Evolved Release 23.4R1.

footer-navigation