From my manual (21 HP Model No. 917.273513):
Oil Type SAE 30 (above 32 F)
SAE 5W-30 (below 32 F)
Oil Capacity W/Filter 4.0 Pints
W/O Filter 3.75 Pints
Oil Change Procedure:
1. Warm up tractor
2. Remove oil cap/dipstick
3. Remove yellow cap from end of drain valve and install tube onto the fitting
4. Unlock drain valve by pushing inward slightly and turning clockwise.
5. To open, pull out drain valve
6. After oil has drained completely close and lock drain valve by pushing inward and turning clockwise until pin is in the locked position.
7. Remove drain tube, replace yellow end cap, and refill engine oil.
Steve, April 2007