找回密码
 立即注册
firewall导出The指令 | OA系统 2022-06-26 91 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
routerOS2.9.27的导出导入指令环境:wan接口ip:192.168.251.222lan接口ip:192.168.88.222lan网段192.168.88.0/24步骤:1、导出指令ExportExport指令用于导出脚本配置信息,这个命令可以在任何目录被激活。导出的脚本配置信息同样也可以通过file生成脚本配置文件,可用FTP下载下来。指令描述from=[number]–指定需要导出的项目编号file=[filename]–保存的文件名称。例子:[admin@MikroTik]>ipfirewallexportfile=ip_firewall?????? (导出ip-->firewall下的所有配置到文件ip_firewall.rsc中)[admin@MikroTik]>fileprint???????????????(查看文件,是否有刚导出的ip_firewall.rsc)#NAME??????TYPE??????SIZE??CREATION-TIME........19ip_firewall.rsc?? script?????2574??jun/14/200815:08:53好了,我们导出的脚本配置信息也可以下载到本地以后上传使用或者发别人共享等等2、恢复指令import先来破坏一些数据,好了我们去看看数据是否恢复了操作路径:/import在根目录使用/importfile_name指令还原指定的导出文件。这种还原是用于部分的配置丢失。注:导入指令不可能导入收有的路由器配置只能导入部分的配置如,firewallrules中的策略例子:[admin@MikroTik]>fileprint???????????????(首先保证你fileprint可以看到你以前导出脚本配置文件
.rsc,例如我们想恢复ip_firewall.rsc)#NAME??????TYPE??????SIZE??CREATION-TIME........19ip_firewall.rsc?? script?????2574??jun/14/200815:08:53[admin@MikroTik]>importip_firewall.rscOpeningscriptfileip_firewall.rscScriptfileloadedandexecutedsuccessfully本资料共包含以下附件:
routerOS2.9.27的导出导入指令.rar....

(The export and import instruction environment of routeros2.9.27: WAN interface ip:192.168.251.222lan interface ip:192.168.88.222lan network segment 192.168.88.0/24 steps: 1. The export instruction exportexport instruction is used to export script configuration information. This command can be activated in any directory. The exported script configuration information can also generate a script configuration file through file, which can be downloaded via FTP. Instruction description from=[number] – specifies the item number to be exported file=[filename] – the name of the saved file. Example:[ admin@MikroTik ]& amp; gt; ipfirewallexportfile=ip_ firewall??????& amp; amp; nbsp; (export all configurations under ip--& amp; gt; firewall to the file ip_firewall.rsc)[ admin@MikroTik ]& amp; gt; fileprint??????????????? (check the file to see if there is an ip\u firewall.rsc just exported) \name?????? TYPE?????? SIZE?? CREATION-TIME........ 19ip_ firewall. rsc??& amp; amp; nbsp; script????? 2574?? Jun/14/200815:08:53 OK. The exported script configuration information can also be downloaded locally and uploaded for use or shared by others. 2. The recovery command import destroys some data first. OK, let's go to see if the data has recovered the operation path: /import use /importfile in the root directory_ The name directive restores the specified export file. This restore is used for partial configuration loss. Note: the import instruction cannot import the received router configuration. Only some configurations can be imported. For example, the policy example in firewallrules:[ admin@MikroTik ]& amp; gt; fileprint??????????????? (first, make sure that you can see the script configuration file you exported before in fileprint
. RSC, for example, we want to restore IP_ firewall. rsc)#NAME?????? TYPE?????? SIZE?? CREATION-TIME........ 19ip_ firewall. rsc??& amp; amp; nbsp; script????? 2574?? jun/14/200815:08:53[ admin@MikroTik ]& amp; gt; importip_ firewall. rscOpeningscriptfileip_ firewall. Rscscriptfileloadedandexecutedsuccessfully this document contains the following attachments:
Export and import instructions of routeros2.9.27 rar....)

[下载]11100336941.rar




上一篇:远程协助软件
下一篇:routerOS2.9.27封堵某内网用户的端口(视频)