trace (EVPN-VXLAN)
Syntax
trace { evpn-vxlan; }
Hierarchy Level
[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.
Configure EVPN-VXLAN tracing and enable the commit-script using the following commands.
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.
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.
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.
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.
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.