Navigation
Tracing LMP Traffic
To trace LMP protocol traffic, include the traceoptions statement at the [edit protocols link-management] hierarchy level:
[edit protocols link-management]traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>; }
Use the file statement to specify the name of the file that receives the output of the tracing operation. All files are placed in the directory /var/log.
The following trace flags display the operations associated with the sending and receiving of various LMP messages:
- all—Trace all available operations
- hello-packets—Trace hello packets on any LMP control channel
- init—Output from the initialization messages
- packets—Trace all packets other than hello packets on any LMP control channel
- parse—Operation of the parser
- process—Operation of the general configuration
- route-socket—Operation of route socket events
- routing—Operation of the routing protocols
- server—Server processing operations
- show—Servicing operations for show commands
- state—Trace state transitions of the LMP control channels and traffic engineering links
Each flag can carry one or more of the following flag modifiers:
- detail—Provide detailed trace information
- receive—Packets being received
- send—Packets being transmitted