aluisiora / node-routeros

Mikrotik Routerboard RouterOS API for NodeJS
MIT License
99 stars 43 forks source link

its gives no such command,since its valid command in mikrotik router #29

Closed melsonmascarenhas closed 4 years ago

melsonmascarenhas commented 4 years ago

conn.write("/interface/bridge/vlan/print/terse")

aluisiora commented 4 years ago

Not every command available from mikrotik's cli is available for the api part. Even though there are some available for the api (like /interface/bridge/vlan/getall I think) that you don't get using the console.

The message you are seeing actualy came from RouterOS itself, not from this lib.

You can find out more about the mikrotik api on this link: https://wiki.mikrotik.com/wiki/Manual:API