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
fileoption for thetraceoptionsat the[edit routing-instances routing-instance-name protocols mvpn]hierarchy level or at the[edit protocols mvpn]hierarchy level:traceoptions { file filename <files number> <size size> <world-readable | no-world-readable>; }
The
fileoption 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 maximumsize, it is renamed trace-file.0, then trace-file.1, and so on, until the specified maximumnumberof 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 namedtrace-filereaches its maximum size, it is renamedtrace-file.0, thentrace-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
flagoption for thetraceoptionsstatement:traceoptions { flag flag <flag-modifier> <disable>; }
The following trace flags display the operations associated with multicast VPNs:
all—All multicast VPN tracing optionscmcast-join—Multicast VPN C-multicast join routeserror—Error conditionsgeneral—General eventsinter-as-ad—Multicast VPN inter-AS automatic discovery routesintra-as-ad—Multicast VPN intra-AS automatic discovery routesleaf-ad—Multicast VPN leaf automatic discovery routesmdt-safi-ad—Multicast VPN MDT SAFI automatic discovery routesnlri—Multicast VPN advertisements received or sent by means of BGPnormal—Normal eventspolicy—Policy processingroute—Routing informationsource-active—Multicast VPN source active routesspmsi-ad—Multicast VPN SPMSI auto discovery active routesstate—State transitionstask—Routing protocol task processingtimer—Routing protocol timer processingtunnel—Provider tunnel eventsumh—Upstream multicast hop (UMH) events