Tracing MBGP MVPN Traffic and Operations
To trace MBGP MVPN traffic, you can specify options with the traceoptions statement:
- Specify the name of one or move MVPN trace files using
the file option for the traceoptions at the [edit routing-instances routing-instance-name protocols mvpn] hierarchy level or at the [edit protocols
mvpn] hierarchy level:
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 renamedtrace-file.0
, thentrace-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.
Specify the flag option for the traceoptions statement:
The following trace flags display the operations associated with multicast VPNs:
all—All multicast VPN tracing options
cmcast-join—Multicast VPN C-multicast join routes
error—Error conditions
general—General events
inter-as-ad—Multicast VPN inter-AS automatic discovery routes
intra-as-ad—Multicast VPN intra-AS automatic discovery routes
leaf-ad—Multicast VPN leaf automatic discovery routes
mdt-safi-ad—Multicast VPN MDT SAFI automatic discovery routes
nlri—Multicast VPN advertisements received or sent by means of BGP
normal—Normal events
policy—Policy processing
route—Routing information
source-active—Multicast VPN source active routes
spmsi-ad—Multicast VPN SPMSI auto discovery active routes
state—State transitions
task—Routing protocol task processing
timer—Routing protocol timer processing
tunnel—Provider tunnel events
umh—Upstream multicast hop (UMH) events