action-profile (Network Management)
Syntax
action-profile profile-name {
event (jexec | lbt | lt-enter | lt-leave | mac-egress | mac-ingress | np-egress | np-ingress | pot) {
count;
packet-dump;
packet-summary;
trace;
}
module {
flow {
flag {
all;
}
}
}
preserve-trace-order;
record-pic-history;
}
Hierarchy Level
[edit security datapath-debug]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure the action profile options for data path debugging.
Options
action-profile name— Name of the action profile.event—Enable the events to trace the packet when the packet hit the events (jexec, lbt, lt-enter, lt-leave, mac-egress, mac-ingress, np-egress, np-ingress, pot)count—Number of times a packet hits the specified event.packet-dump—Capture the packet that hits the specified event.packet-summary—Print the source/destination IP address details with protocol number and IP length details along with trace message for the specified event.trace—Print the standard trace message when the packet hits the specified event.
module—Turn on the flow session related trace messages.flow—Trace flow session related messages.flag—Specify which flow message needs to be traced.all—Trace all possible flow trace messages.trace—Print the standard trace message when the packet hits the specified event.
preserve-trace-order—Preserve trace order.record-pic-history—Record the PICs in which the packet has been processed.
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Command introduced in Junos OS Release 10.0.