To help the forest managers calculate the carbon sequestration amount, we first give the calculation method of carbon sequestration amount of trees, and then establish a parameterized forest model according to the carbon sequestration amount, volume and the products of the Chinese fir in Huitong County, Hunan province, to facilitate our simulation study. Through dynamic planning, the problem of optimal carbon sequestration can be transformed into a linear programming problem. Then we obtain the management plan that maximizes carbon sequestration amount. By studying the management plan, we find that the age of the trees harvested is concentrated in the 25-30 years old, and the optimal harvesting plan will change when the parameters of the forest change.