If it works like the 747 then it will climb or descend at your commanded airspeed to attempt to reach the selected altitude in two minutes. In the climb it will give you power up to your selected thrust limit (CON/CLB/CLB1/CLB2). In the descent it will reduce power to achieve the target in two minutes or will bring it all the way back to idle and just go for it.