Execute the following steps to configure sFlow globally.
device# configure terminal
device (config)# sflow enable
device(config)# sflow collector 172.22.12.83 6343 use-vrf mgmt-vrf device(config)# sflow collector fdd1:a123:b123:c123:34:1:1:2 4713 use-vrf vrf2 device(config)# sflow collector fdd1:a123:b123:c123:112:1:1:2 5566 use-vrf default-vrf
device(config)# sflow polling-interval 35
device(config)# sflow sample-rate 4096
device(config)# end
device# show sflow
device# clear sflow statistics
Note
No specific configuration is required for MPLS other than enabling sflow on physical interfaces.