From 0f5edef014cc4ca701dab6006e9f59d24adad266 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 22 Apr 2013 21:15:25 -0700 Subject: [PATCH] FAQ: Explain how to drop packets. This question keeps coming up. Signed-off-by: Ben Pfaff --- FAQ | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/FAQ b/FAQ index e7249cf00..186f3ac4a 100644 --- a/FAQ +++ b/FAQ @@ -838,8 +838,8 @@ A: Do you have a controller configured on br0 (as the commands above can refer to the answer there for more information. -Controllers ------------ +Using OpenFlow (Manually or Via Controller) +------------------------------------------- Q: What versions of OpenFlow does Open vSwitch support? @@ -1100,6 +1100,23 @@ A: To debug network behavior problems, trace the path of a packet, problem. If not, then follow the ARP reply back to the origin, in reverse. +Q: How do I make a flow drop packets? + +A: An empty set of actions causes a packet to be dropped. You can + specify an empty set of actions with "actions=" on the ovs-ofctl + command line. For example: + + ovs-ofctl add-flow br0 priority=65535,actions= + + would cause every packet entering switch br0 to be dropped. + + You can write "drop" explicitly if you like. The effect is the + same. Thus, the following command also causes every packet + entering switch br0 to be dropped: + + ovs-ofctl add-flow br0 priority=65535,actions=drop + + Contact ------- -- 2.47.0