Skip to content

tc mirroring

Roman Dodin edited this page Feb 26, 2021 · 1 revision
IF1=vxlan10
IF2=srl_e1-1
tc qdisc add dev $IF1 ingress
tc filter add dev $IF1 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev $IF2

tc qdisc add dev $IF2 ingress
tc filter add dev $IF2 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev $IF1
Clone this wiki locally