Collection of RouterOS commands via command line interface
[i=s] 本帖最後由 角色 於 2018-2-26 22:23 編輯 [/i]因为有GUI去改RouterOS settings,是非常方便的,但是有的时候根本开不到GUI,一定要用commands才能进行settings,所以希望开个新帖子,把比较重要的commands列出来,那么大家也可以参考。这个主要用于VirtualBox里RouterOS VM。 [i=s] 本帖最後由 角色 於 2018-2-28 23:29 編輯 [/i]
Static IP[code]/ip address add address=10.10.10.1/24 interface=ether1[/code]#
Static route[code]/ip route add dst-address=10.10.10.0/24 gateway=10.10.20.1[/code]Creat a bridge[code]/interface bridge add name=Bridge1[/code]#
Attach interfaces to the above port[code]/interface bridge port add interface=ether2 bridge=Bridge1
/interface bridge port add interface=ether3 bridge=Bridge1
/interface bridge port add interface=ether4 bridge=Bridge1
/interface bridge port add interface=ether5 bridge=Bridge1
/interface bridge port add interface=ether6 bridge=Bridge1
/interface bridge port add interface=ether7 bridge=Bridge1
/interface bridge port add interface=ether8 bridge=Bridge1
[/code]# 备用帖子3 备用帖子3 备用帖子4 备用帖子5 备用帖子6 备用帖子7 备用帖子8 备用帖子9 备用帖子10 备用帖子11 备用帖子12 备用帖子13 备用帖子14 备用帖子15
頁:
[1]