Thread (7 messages) 7 messages, 5 authors, 2017-08-02

Re: [PATCH RFC, iproute2] tc/mirred: Extend the mirred/redirect action to accept additional traffic class parameter

flat view

From: Roopa Prabhu <hidden>
Date: 2017-08-02 18:41:59

On Mon, Jul 31, 2017 at 5:40 PM, Amritha Nambiar
[off-list ref] wrote:
The Mirred/redirect action is extended to accept a traffic
class on the device in addition to the device's ifindex.

Usage: mirred <DIRECTION> <ACTION> <dev DEVICENAME> <tc TC_INDEX>

Example:
# tc qdisc add dev eth0 ingress

# tc filter add dev eth0 protocol ip parent ffff: prio 1 flower\
  dst_ip 192.168.1.1/32 ip_proto udp dst_port 22\
  indev eth0 action mirred ingress redirect dev eth0 tc 1

Can we call the new parameter tclass or something else ?.
with this 'tc' appears twice in the command :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help