system(" vmm ping "); print" Enter the Router you want to connect with "; $router = <>; chomp ($router); $cmd = " ssh $router traceroute 10.0.0.128 > output1.txt"; system ($cmd); system( "ssh $router cli edit"); system ("set routing-options static route 10.0.0.128 next-hop 10.0.0.110" );