You can perform Foundary Switch configuration using the following steps:
sflow enable
sflow agent-ip {INTERFACE_NAME}
sflow sample 256
sflow polling-interval 30
sflow destination {NETFLOW_SERVER_IP} {NETFLOW_SERVER_LISTENER_PORT}
Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable flow:
interface {INTERFACE_NAME}
sflow forwarding