I want use this command :/ip route set [/ip route find dst-address=“172.16.99.1/32”] bg p-communities=0:88
But In RouterOS API. Not support this command.
I trying to use API type command. But return null.
I have seen GitHub wiki. they say: To emulate the subcommand operator (the “[” and “]”), you must execute the other command separately beforehand (with another Request object), and take its result MyAARPMedicare Login
$util = new RouterOS\Util($client = new RouterOS\Client($serverip,$username,$password));
$query = RouterOS\Query::where('dst-address',$dstAddress);
$addRequest = new RouterOS\Request('/ip/route/set');
$addRequest->setArgument('gateway',$gateway);
$addRequest->setArgument('bgp-communities',$bgpSetting);
$addRequest->setQuery(RouterOS\Query::where('dst-address',$dstAddress));
$responses = $client->sendSync($addRequest);
return $responses;
Anyone know where have a problem?