Age-related macular degeneration and keratoconus are two ocular diseases occurring in the posterior and anterior eye, respectively. In both conditions, the mechanical elasticity of the respective tissues changes during the early onset of disease. It is necessary to detect these differences and treat the diseases in their early stages to provide proper treatment. Acoustic radiation force optical coherence elastography is a method of elasticity mapping using confocal ultrasound waves for excitation and Doppler optical coherence tomography for detection. We report on an ARF-OCE system that uses modulated compression wave based excitation signals, and detects the spatial and frequency responses of the tissue. First, all components of the system is synchronized and triggered such that the signal is consistent between frames. Next, phantom studies are performed to validate and calibrate the relationship between the resonance frequency and the Young’s modulus. Then the frequency responses of the anterior and posterior eye are detected for porcine and rabbit eyes, and the results correlated to the elasticity. Finally, spatial elastograms are obtained for a porcine retina. Layer segmentation and analysis is performed and correlated to the histology of the retina, where five distinct layers are recognized. The elasticities of the tissue layers will be quantified according to the mean thickness and displacement response for the locations on the retina. This study is a stepping stone to future in-vivo animal studies, where the elastic modulus of the ocular tissue can be quantified and mapped out accordingly.