See the solution below in Explanation:
Solution:-
Copy run start
OR
Solution:
R10
R20
Verification:
R1
config
flow exporter Export-NetFlowENCOR
transport udp 2055
ip sla schedule 100 life forever start-time now
wr
Sw1
monitor session 11 source interface e0/2
monitor session 11 destination interface et1/1
Default int range et0/0-1
Int range e0/0 – 1
Sw trunk encap dot1
Switch mode trunk
Channel-group 2 mode passive
No shut
Spanning-tree vlan 10 priority 0
Spanning-tree vlan 30 priority 0