From d346f393fd26aa08882e6f84e2b9a4b888430a30 Mon Sep 17 00:00:00 2001 From: Nobuhiro MIKI Date: Tue, 28 Feb 2023 18:30:09 +0900 Subject: docs: fixed to use unified "pcap trace" command Type: docs Fixes: 33909777c637 ("misc: unify pcap rx / tx / drop trace") Signed-off-by: Nobuhiro MIKI Change-Id: I049616cfad300658e62e5026c0655ee6f07a2421 --- src/plugins/dispatch-trace/main.c | 2 +- src/vnet/classify/vnet_classify.c | 6 +++--- src/vnet/interface_cli.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/plugins/dispatch-trace/main.c b/src/plugins/dispatch-trace/main.c index ce662dc0eea..40a87dde0f3 100644 --- a/src/plugins/dispatch-trace/main.c +++ b/src/plugins/dispatch-trace/main.c @@ -480,7 +480,7 @@ dispatch_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, * pcap dispatch capture on... * @cliexend * Example of how to display the status of a tx packet capture in progress: - * @cliexstart{pcap tx trace status} + * @cliexstart{pcap trace tx status} * max is 35, dispatch trace to file /tmp/vppTest.pcap * pcap tx capture is on: 20 of 35 pkts... * @cliexend diff --git a/src/vnet/classify/vnet_classify.c b/src/vnet/classify/vnet_classify.c index c610c466ebb..8ad8a6ad554 100644 --- a/src/vnet/classify/vnet_classify.c +++ b/src/vnet/classify/vnet_classify.c @@ -2054,7 +2054,7 @@ vlib_enable_disable_pkt_trace_filter (int enable) /*? * Construct an arbitrary set of packet classifier tables for use with - * "pcap rx | tx trace," and with the vpp packet tracer + * "pcap trace rx | tx," and with the vpp packet tracer * * Packets which match a rule in the classifier table chain * will be traced. The tables are automatically ordered so that @@ -2097,10 +2097,10 @@ vlib_enable_disable_pkt_trace_filter (int enable) * @cliexpar * Configuring the classify filter * - * Configure a simple classify filter, and configure pcap rx trace to use it: + * Configure a simple classify filter, and configure pcap trace rx to use it: * * @cliexcmd{classify filter rx mask l3 ip4 src match l3 ip4 src 192.168.1.11} - * pcap rx trace on max 100 filter + * pcap trace rx max 100 filter * * Configure another fairly simple filter * diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c index 1c553e25e97..e5122c8551f 100644 --- a/src/vnet/interface_cli.c +++ b/src/vnet/interface_cli.c @@ -2384,7 +2384,7 @@ pcap_trace_command_fn (vlib_main_t * vm, * packet capture are preserved, so 'any' can be used to reset * the interface setting. * - * - filter - Use the pcap rx / tx / drop trace filter, which + * - filter - Use the pcap trace rx / tx / drop filter, which * must be configured. Use classify filter pcap... to configure the * filter. The filter will only be executed if the per-interface or * any-interface tests fail. -- cgit 1.2.3-korg