Hello Munir,
Use the command examples (telnet or ssh) on the console of 100.10.10.50 to remotely manage the far switch 100.10.10.51. as you require access.
Think "remote-SecureCRT". You're going to like it.
A couple of caveats:
Assumes telnet has not been disabled
or
Assumes SSH is installed and enabled. SSH (secure shell) is encrypted, more secure, generally preferred.
.