Skip to content

Commit 40b5d00

Browse files
committed
OCPBUGS-36266: updating netobserv cli packet capture filter command
1 parent 7fd3288 commit 40b5d00

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

modules/network-observability-cli-capturing-packets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can capture packets using the Network Observability CLI.
1616
+
1717
[source,terminal]
1818
----
19-
$ oc netobserv packets --filter=tcp,80
19+
$ oc netobserv packets tcp,80
2020
----
2121
. Add filters to the `live table filter` prompt in the terminal to refine the incoming packets. An example filter is as follows:
2222
+

modules/network-observability-netobserv-cli-reference.adoc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,9 @@ $ oc netobserv packets [<option>]
185185

186186
.Packet capture filter option
187187
|===
188-
|Option| Description| Possible values| Mandatory| Default
189-
| `--filter`
190-
| Enable packet capture filtering.
191-
| `tcp`, `udp`, or `<port>` You can specify filtering options using a comma as delimeter. For example, `tcp,80` specifies the `tcp` protocol and port `80`.
188+
|Option| Description| Mandatory| Default
189+
| `<protocol>`,`<port>`
190+
| Capture packets from a specific protocol and port pair. Use a comma as delimiter. For example, `tcp,80` specifies the `tcp` protocol and port `80`.
192191
| Yes
193192
| -
194-
|===
195-
193+
|===

0 commit comments

Comments
 (0)