If you’re looking to gain IP address information for a Mitel 5312 IP Phone on your network, from the handset, try the following gleaned info:
Hold down the up and down buttons together and then release just the down button. While still pressing the up key dial 234 on the dial pad and then release the up key. Select Yes for Network Parameters, and select Yes to View current values.