routeros/unsupported-capability
The --via protocol cannot do what the command needs, so
centrs refused it before connecting. Nothing was sent.
Emitted by
retrievewith--via ssh,mac-telnet,mndp,romonorwinbox-terminal(code).retrieve --via snmpfails asrouteros/protocol-not-implementedinstead, andretrieve --via btestassettings/invalid-via.executewith--via snmp,mndporbtest(code).apiwith any known--viaprotocol other thanrest-apiornative-api, such assshormac-telnet(code). A value that is not a protocol at all fails assettings/invalid-via.apiis a structured passthrough, and the console transports run commands throughexecuteandterminal.
Context
via: the protocol asked for.capability: what the command needed (retrieve,executeorapi).
Fix
Pick a transport that has the capability. retrieve and
api run over rest-api or
native-api; execute runs over those two,
ssh and mac-telnet. To run a console command
over ssh or mac-telnet, use
centrs execute <router> --via ssh -- '<command>'.
The protocol matrix lists every cell. If
the --via came from CENTRS_VIA or the device's
saved via= property, override it with an explicit
--via.
Related
routeros/protocol-not-implemented: the pairing is planned but not built.settings/invalid-via: the--viavalue is not a protocol at all.