aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/developers
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-12-04 17:19:12 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-12-05 15:31:57 +0000
commit87d24db65facb89ca524c951b8379ca2ec4dbc7a (patch)
treebfc7ca3b5abe0b55277e6447cd23f1d779d92b1c /docs/gettingstarted/developers
parent17478e4eb81d384f171ca27c9110a051cd434f16 (diff)
classify: vpp packet tracer support
Configure n-tuple classifier filters which apply to the vpp packet tracer. Update the documentation to reflect the new feature. Add a test vector. Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Iefa911716c670fc12e4825b937b62044433fec36
Diffstat (limited to 'docs/gettingstarted/developers')
-rw-r--r--docs/gettingstarted/developers/vnet.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/gettingstarted/developers/vnet.md b/docs/gettingstarted/developers/vnet.md
index a5cd9e73594..d9bd7b54de7 100644
--- a/docs/gettingstarted/developers/vnet.md
+++ b/docs/gettingstarted/developers/vnet.md
@@ -526,10 +526,10 @@ These commands have the following optional parameters:
## packet trace capture filtering
-The "classify filter pcap | <interface-name> " debug CLI command
+The "classify filter pcap | <interface-name> | trace" debug CLI command
constructs an arbitrary set of packet classifier tables for use with
"pcap rx | tx | drop trace," and with the vpp packet tracer on a
-per-interface basis.
+per-interface or system-wide basis.
Packets which match a rule in the classifier table chain will be
traced. The tables are automatically ordered so that matches in the
@@ -575,10 +575,17 @@ Note that per-interface capture filters are _always_ applied.
pcap trace tx max 100 filter
```
+### Configure a vpp packet tracer filter
+
+```
+ classify filter trace mask l3 ip4 src dst match l3 ip4 src 192.168.1.10 dst 192.168.2.10
+ trace add dpdk-input 100 filter
+```
+
### Clear all current classifier filters
```
- classify filter del
+ classify filter [pcap | <interface> | trace] del
```
### To inspect the classifier tables