Dear Pincio, thank you for updating your code, maybe you'd like to put this together in one command request like this: my @cmd = ("/routing/bgp/peer/print","=status=","?remote-address=". $ng->get('peer'),"=.proplist=prefix-count,state"); this way you can simp...